On Thursday 26 May 2005 13:21, Richard Tector wrote:
> Max Laier wrote:
> >With the patch attached you can now do:
> >
> >  ipfw add 100 deny ipv4 from any to any
> >or
> >  ipfw add 100 deny ipv6 from any to any
> >
> >to block IPv4 or IPv6.
>
> How would you, for example, deny all udp traffic over ipv4 but not ipv6?
> Is this possible with ipfw2 as it stands?

  ipfw add 100 deny ipv4 from any to any proto udp

should do the trick, but unfortunately this comes back as:

  100 deny udp from any to any

so I have to fix ipfw show for these cases.  Thanks for bringing this up.

-- 
/"\  Best regards,                      | [EMAIL PROTECTED]
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Attachment: pgpc3yNwi7QuV.pgp
Description: PGP signature

Reply via email to