[1928] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: IP firewalling TOS setting

daemon@ATHENA.MIT.EDU (Jos Vos)
Thu Feb 15 14:06:06 1996

From: Jos Vos <jos@xos.nl>
To: apenwarr@foxnet.net (Avery Pennarun)
Date: 	Thu, 15 Feb 1996 12:36:26 +0100 (MET)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960214141827.32146A-100000@wingnut.foxnet.net> from "Avery Pennarun" at Feb 14, 96 02:20:39 pm

> This patch ought to improve things for those of us trying to set the IPTOS
> option on packets as they cross the firewall.
> 
> --- net/ipv4/ip_fw.c-1.3.61	Mon Feb 12 16:14:19 1996
> +++ net/ipv4/ip_fw.c	Mon Feb 12 16:14:42 1996
> @@ -487,8 +487,10 @@
>  		tosxor=f->fw_tosxor;
>  	}
>  	else
> +	{
>  		tosand=0xFF;
>  		tosxor=0x00;
> +	}
>  
>  	if(opt != 1) 
>  	{

This bug fix was already included in a small patch (with some other things)
I've sent last sunday to Linus and Alan.  Don't know why it didn't show up
in 1.3.63, maybe Linus is too busy with all the patches sent to him...

-- 
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


home help back first fref pref prev next nref lref last post