Re: [FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico Joao Rocha Braga Filho
On 9/5/06, Renato Botelho <[EMAIL PROTECTED]> wrote:
> m3 BSD wrote:
> > coloca:
> >
> > options IPFIREWALL_FORWARD_EXTENDS
>
> Se não estou enganado, essa opção não existe mais, teve alguém com
> problemas há pouco tempo atrás.

Fui eu que esbarrei nisto.

João Rocha.

>
> --
> Renato Botelho 
>
> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
"Sempre se apanha mais com as menores besteiras. Experiência própria."

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.goffredo.eti.br
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico Joao Rocha Braga Filho
On 9/5/06, m3 BSD <[EMAIL PROTECTED]> wrote:
> coloca:
>
> options IPFIREWALL_FORWARD_EXTENDS

Não coloque. Ela não existe mais, se usar o 6.1 mais atual.

>
> e o aviso (warning) eh que eh pra usar delete ao inves de del
> porem, o del ainda funciona, mas da o aviso :)

o del está "sendo aposentado". :^) O delete está assumindo o lugar.

>
> Em 05/09/06, Helizonaldo Alves de Morais<[EMAIL PROTECTED]> escreveu:
> > Alguem pode me ajudar nesse problema instalei recentemente o FreeBSD 6.1 e
> > estou tendo problemas no meu Firewall ipfw
> >
> > quando crio essa regra:
> >
> > #ipfw add fwd 127.0.0.1,3128 dst-port 80 src-ip 192.168.1.0/24

O abaixo é o correto.

ipfw add fwd 127.0.0.1,3128 tcp from 192.168.1.0/24 to any 80


Abraços,
João Rocha.

> >
> > recebo isso:
> >
> > #ipfw: getsockopt(IP_FW_ADD): Invalid argument
> >
> > e quando tento deletar uma regra recebo isso:
> >
> > #ipfw del 60
> >
> > #"DEPRECATED: 'del' matched 'delete' as a substring"
> >
> > meu kernel esta configurado assim:
> >
> >
> > options IPFILTER
> > options IPFILTER_LOG
> > options IPFIREWALL
> > options IPFIREWALL_VERBOSE
> > options IPFIREWALL_VERBOSE_LIMIT=100
> > options IPFIREWALL_FORWARD
> > options IPDIVERT
> > options DUMMYNET
> > options HZ=1000
> > options SYSVSHM
> > options SHMSEG=16
> > options SHMMNI=32
> > options SHMMAX=2097152
> > options SHMALL=4096
> > options SYSVMSG
> > options SYSVSHM
> > options SHMSEG=16
> > options SHMMNI=32
> > options SHMMAX=2097152
> > options SHMALL=4096
> > options SYSVMSG
> > options MSGMNB=16384
> > options MSGMNI=41
> > options MSGSEG=2049
> > options MSGSSZ=64
> > options MSGTQL=2049
> > options MAXDSIZ=(1024UL*1024*1024)
> > options MAXSSIZ=(128UL*1024*1024)
> > options DFLDSIZ=(1024UL*1024*1024)
> >
> >
> >
> >
> > grato
> >
> >
> >
> > Helizonaldo Alves de Morais
> > Teresina-PI Brasil.
> > +-+
> >o  _ _ _
> >_o /\_   _ \\o  (_)\__/o  (_)
> > _< \_   _>(_) (_)/<_\_| \   _|/' \/
> > (_)>(_) (_)(_)   (_)(_)'  _\o_
> >
> >
> > -
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
> --
> Atenciosmente
>
> Mario Augusto Mania 
> ---
> [EMAIL PROTECTED]
> Cel.: (43) 9938-9629
> Msn: [EMAIL PROTECTED]
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
"Sempre se apanha mais com as menores besteiras. Experiência própria."

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.goffredo.eti.br
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico m3 BSD
boa garga... eh verdade :)
eh que nao mantenho meus server na "mais atual versao" hehehehhe
ae acontece essas coisas :)

Obrigado pela dica

Em 05/09/06, Renato Botelho<[EMAIL PROTECTED]> escreveu:
> m3 BSD wrote:
> > coloca:
> >
> > options IPFIREWALL_FORWARD_EXTENDS
>
> Se não estou enganado, essa opção não existe mais, teve alguém com
> problemas há pouco tempo atrás.
>
> --
> Renato Botelho 
>
> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
Atenciosmente

Mario Augusto Mania 
---
[EMAIL PROTECTED]
Cel.: (43) 9938-9629
Msn: [EMAIL PROTECTED]
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico Renato Botelho
m3 BSD wrote:
> coloca:
> 
> options IPFIREWALL_FORWARD_EXTENDS

Se não estou enganado, essa opção não existe mais, teve alguém com
problemas há pouco tempo atrás.

-- 
Renato Botelho 
   
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico m3 BSD
coloca:

options IPFIREWALL_FORWARD_EXTENDS

e o aviso (warning) eh que eh pra usar delete ao inves de del
porem, o del ainda funciona, mas da o aviso :)

Em 05/09/06, Helizonaldo Alves de Morais<[EMAIL PROTECTED]> escreveu:
> Alguem pode me ajudar nesse problema instalei recentemente o FreeBSD 6.1 e
> estou tendo problemas no meu Firewall ipfw
>
> quando crio essa regra:
>
> #ipfw add fwd 127.0.0.1,3128 dst-port 80 src-ip 192.168.1.0/24
>
> recebo isso:
>
> #ipfw: getsockopt(IP_FW_ADD): Invalid argument
>
> e quando tento deletar uma regra recebo isso:
>
> #ipfw del 60
>
> #"DEPRECATED: 'del' matched 'delete' as a substring"
>
> meu kernel esta configurado assim:
>
>
> options IPFILTER
> options IPFILTER_LOG
> options IPFIREWALL
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=100
> options IPFIREWALL_FORWARD
> options IPDIVERT
> options DUMMYNET
> options HZ=1000
> options SYSVSHM
> options SHMSEG=16
> options SHMMNI=32
> options SHMMAX=2097152
> options SHMALL=4096
> options SYSVMSG
> options SYSVSHM
> options SHMSEG=16
> options SHMMNI=32
> options SHMMAX=2097152
> options SHMALL=4096
> options SYSVMSG
> options MSGMNB=16384
> options MSGMNI=41
> options MSGSEG=2049
> options MSGSSZ=64
> options MSGTQL=2049
> options MAXDSIZ=(1024UL*1024*1024)
> options MAXSSIZ=(128UL*1024*1024)
> options DFLDSIZ=(1024UL*1024*1024)
>
>
>
>
> grato
>
>
>
> Helizonaldo Alves de Morais
> Teresina-PI Brasil.
> +-+
>o  _ _ _
>_o /\_   _ \\o  (_)\__/o  (_)
> _< \_   _>(_) (_)/<_\_| \   _|/' \/
> (_)>(_) (_)(_)   (_)(_)'  _\o_
>
>
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
Atenciosmente

Mario Augusto Mania 
---
[EMAIL PROTECTED]
Cel.: (43) 9938-9629
Msn: [EMAIL PROTECTED]
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


[FUG-BR] Problemas no firewall do FreeBSD 6.1

2006-09-05 Por tôpico Helizonaldo Alves de Morais
Alguem pode me ajudar nesse problema instalei recentemente o FreeBSD 6.1 e 
estou tendo problemas no meu Firewall ipfw

quando crio essa regra:

#ipfw add fwd 127.0.0.1,3128 dst-port 80 src-ip 192.168.1.0/24

recebo isso:

#ipfw: getsockopt(IP_FW_ADD): Invalid argument

e quando tento deletar uma regra recebo isso:

#ipfw del 60

#"DEPRECATED: 'del' matched 'delete' as a substring"

meu kernel esta configurado assim:


options IPFILTER
options IPFILTER_LOG
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET
options HZ=1000
options SYSVSHM
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
options SYSVMSG
options SYSVSHM
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
options SYSVMSG
options MSGMNB=16384
options MSGMNI=41
options MSGSEG=2049
options MSGSSZ=64
options MSGTQL=2049
options MAXDSIZ=(1024UL*1024*1024)
options MAXSSIZ=(128UL*1024*1024)
options DFLDSIZ=(1024UL*1024*1024)




grato



Helizonaldo Alves de Morais
Teresina-PI Brasil.
+-+
   o  _ _ _
   _o /\_   _ \\o  (_)\__/o  (_)
_< \_   _>(_) (_)/<_\_| \   _|/' \/
(_)>(_) (_)(_)   (_)(_)'  _\o_


-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd