login
Header Space

 
 

Re: PF Config problem

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Friday, July 20, 2007 - 4:49 am

>>> On 19 July 2007 at 23:52, in message
<20070719225255.GC3317@bootes.spacehopper.org>, Stuart Henderson
<stu@spacehopper.org> wrote:

Made a little bit of progress..

If I change

pass in on $int_if proto tcp from 172.16.2.34 to 192.168.249.3 keep state

to:

pass proto tcp from 172.16.2.34 to 192.168.249.3 keep state

Then that works fine. Now I can half see why this does work: I've not
specified a direction or interface for the rule. For a simple two-interface
firewall, that's should be OK. My thoughts turn to when I have a firewall with
more than two interfaces: What would happen to a spoofed packet appearing on a
"wrong" interface ? As the rule no longer specifies interfaces, I could see
that PF would allow the packet through... Would the solution be to create
rules that only allow "valid" addresses to come in to interfaces ? Or am I
being paranoid ?

GTG
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PF Config problem, Gordon Ross, (Thu Jul 19, 10:38 am)
Re: PF Config problem, Stuart Henderson, (Thu Jul 19, 6:52 pm)
Re: PF Config problem, Gordon Ross, (Fri Jul 20, 4:49 am)
Re: PF Config problem, Gordon Ross, (Fri Jul 20, 3:45 am)
Re: PF Config problem, Stuart Henderson, (Fri Jul 20, 5:04 am)
Re: PF Config problem, Gordon Ross, (Fri Jul 20, 5:46 am)
Re: PF Config problem, Stuart Henderson, (Fri Jul 20, 6:33 am)
Re: PF Config problem, Dag Richards, (Thu Jul 19, 11:55 am)
speck-geostationary