[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS: cvs.openbsd.org: src



Oops, forgot: ok henning@ dhartmei@

On Mon, Jun 09, 2003 at 05:14:47AM -0600, Ryan Thomas McBride wrote:
> CVSROOT:	/cvs
> Module name:	src
> Changes by:	mcbride_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/06/09 05:14:46
> 
> Modified files:
> 	sys/net        : pf.c pfvar.h 
> 	sbin/pfctl     : parse.y pfctl_parser.c 
> 
> Log message:
> Attempt to resolve byte order confusion in nat code once and for all.
> 
> - pf_get_sport() leaves the translated port in the packet in network byte order
> - merge code for the p1=0 p2=0 case and static-port case in pr_get_sport()
> 
> NOTE: people who use the static-port keyword in their pf.conf need to make sure pfctl is updated along with their kernel.



Visit your host, monkey.org