+ Responder ao Tópico



  1. #1

    Padrão Fedora 11 - Iptables - cbq - dhcpd (informacao e duvida)

    Hoje resolvi testar o fedora 11

    tive alguns probleminhas para instalar, dava uns erros na hora de gravar em disco.... mas no final deu tudo certo.

    comecei a configurar o compartilhamento de conexao entre as placas...
    e me deparei com 1 diferenca em relacao as versoes anteriores.
    no carregamento dos modulos...

    antes eu carregava os seguintes modulos:
    # Carregando Modulos
    modprobe iptable_nat
    modprobe ip_conntrack_ftp
    modprobe ip_nat_ftp
    modprobe ipt_MASQUERADE
    modprobe ipt_MARK
    modprobe ipt_mark
    modprobe ipt_mac
    modprobe ipt_tos
    modprobe iptable_mangle
    na qual, nessa versao... ja nao eh mais necessario

    a 2 diferenca eh em relacao ao redirecionamento para o squid...
    antes usava a regra:
    # Redireciona o trafego http(80) para o squid (3128)
    iptables -t nat -A PREROUTING -i eth1 -p TCP -d ! 200.201.0.0/16 --dport 80 -j REDIRECT --to-port 3128
    a qual, no fedora 11... deve ficar assim:
    # Redireciona o trafego http(80) para o squid (3128)
    iptables -t nat -A PREROUTING -i eth1 -p TCP ! -d 200.201.0.0/16 --dport 80 -j REDIRECT --to-port 3128
    a 3 diferenca, se diz em relacao ao servidor dhcp, apenas a localizacao
    o mesmo nao se encontra mais em: /etc/dhcpd.conf
    mas sim em: /etc/dhcp/dhcpd.conf

    a 4 diferenca, se diz em relacao ao cbq.
    porem essa, eu ainda nao consegui resolver...

    qdo dou o seguinte comando:
    #cbq start

    ele retorna a seguinte mensagem:
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

    find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
    mas o engracado, eh que ele funciona normalmenter, faz o seu servico...
    controla a banda...
    mas eh chato essas mensaginhas... alguem ai tem algum dica para acabar com essas mensaginhas???

  2. #2

    Padrão

    ninguem ai sabe dizer quais linhas devem ser alteradas no script cbq para que o mesmo nao de a seguinte mensagem:
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.


    ????