Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Anderson, Greg <greg.anderson@cplc.com>
Subject: RE: Firewall bug in 2.0.27 kernel
Date: Thu, 10 Apr 1997 10:24:37 -0400	[thread overview]
Message-ID: <97Apr10.110824edt.48419-3@gatekeeper.cplc.com> (raw)

>Alvin Starr wrote:
>
>Just gotta love C for its ability to do address calculations
>
>in "ip_fw.c" you will find

[snip]

>The problem is that the address calculation multiplies the ihl value by 8 
>due to the fact that it points to an "unsigned long". This calculation 
>should be infact 
>	((char *)ip)+(ip->ihl<<2)

Is this only a problem on Alpha?  What problems does this cause, bogus
filtering?  I'm setting up firewalling on 2.0.27 Intel box and the code
is the same.  Should I apply your patch to it?

Greg A.
- free yourself of paranoia, but trust no one - 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-04-10 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-10 14:24 Anderson, Greg [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-04-10 18:31 Firewall bug in 2.0.27 kernel Anderson, Greg
     [not found] <Pine.OSF.3.91.970410113452.29178C-100000@caesar.iplink.net>
1997-04-10 16:30 ` Robert Drotar
1997-04-10 14:24 Anderson, Greg
1997-04-10 14:24 Anderson, Greg
1997-04-10 15:43 ` Alvin Starr
1997-04-10  0:41 Alvin Starr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox