Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 13:47:53 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: "established" on { tcp or udp } rules
Message-ID:  <47E17BF9.1030403@elischer.org>
In-Reply-To: <200803191334.54510.fjwcash@gmail.com>
References:  <200803191334.54510.fjwcash@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Freddie Cash wrote:
> Just curious if the following rule will work correctly.  It is accepted by 
> the ipfw command.  In the process of working out a test for it, but 
> thought I'd ask here as well, just to be sure.
> 
> ipfw add { tcp or udp } from me     to any 53 out xmit fxp0
> ipfw add { tcp or udp } from any 53 to me     in  recv fxp0 established
> 
> Will the UDP packets go through correctly, even though "established" has 
> no meaning for UDP streams, and the ipfw command will barf if you use it 
> with just "ipfw add udp" rules?
> 

well, an action to do would be good..
  as for the question of whether UDP ... established evaluates to true 
or false, I would guess false but you'll have to test.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E17BF9.1030403>