Great Circle Associates Firewalls
(March 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: IP_FORWARDING
From: Mark Verber <verber @ parc . xerox . com>
Date: Fri, 4 Mar 1994 17:11:19 PST
To: verber @ parc . xerox . com, jpf @ mig . com
Cc: firewalls @ greatcircle . com

> >
> >The file that ip_forwarding is declared in is /sys/netinet/ip_proto.c.
> >Note: unless 4.1.3.U1 has changed from 4.1.3, turning off ip forwarding
> >*does not* turn off source routing.  If you have full sources you need
> >to modify /sys/netinet/ip_input.c or get a patch from Sun to disable
> >source routes.  The default Sun configuration makes it trival for someone
> >who has a modern telnet (like BSD 4.4 or NeXT's) to telnet through you
> >firewall and into your internal network.
> >
> 
> Excuse me, please correct me if I am wrong.  However, since this is
> a BSD derived system, I thimk you might prefer to set 
> 
> options	IPFORWARDING
> 
> in your kernel config file rather than mucking about in
> /sys/netinet/ip_proto.c.  This sets a manafest constant which
> should do much more.

Yes, setting IPFORWARDING properly in options or changing ip_forwarding
with adb works just as well as editing ip_proto.c.  Once again, my primary
warning is that  source routing happens whether you have IPfowarding on
or off.

--mark



Follow-Ups:
Indexed By Date Previous: Re: IP_FORWARDING
From: jpf @ mig . com (Jack Flory)
Next: Re: IP_FORWARDING
From: kannan @ catarina . usc . edu
Indexed By Thread Previous: Re: IP_FORWARDING
From: Bill Gianopoulos <wag @ sccux1 . msd . ray . com>
Next: Re: IP_FORWARDING
From: kannan @ catarina . usc . edu

Google
 
Search Internet Search www.greatcircle.com