Unix Technical Forum

fix pf.conf prototype

This is a discussion on fix pf.conf prototype within the lucky.openbsd.tech forums, part of the OpenBSD category; --> In rev 1.29 of /etc/pf.conf, "pass quick" has been replaced by "set skip" for lo and $int_if. I think ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 12:04 PM
=?ISO-8859-1?Q?C=E9dric_Berger?=
 
Posts: n/a
Default fix pf.conf prototype

In rev 1.29 of /etc/pf.conf, "pass quick" has been replaced
by "set skip" for lo and $int_if.

I think that for lo, it makes a lot of sense to use set skip,
but for $int_if, it is a poor default choice, because it break
the subsequent ftp-proxy line:

#rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021

if you uncomment the above line using /etc/pf.conf prototype, it
won't work and it's not obvious why. I therefore suggest
reverting part of the previous patch.

Cedric


--- pf.conf.orig Thu Aug 25 20:00:51 2005
+++ pf.conf Thu Aug 25 20:01:47 2005
@@ -10,7 +10,7 @@
#table <spamd> persist
#table <spamd-white> persist

-#set skip on { lo $int_if }
+#set skip on { lo }

#scrub in

@@ -24,6 +24,7 @@
#block in
#pass out keep state

+#pass quick on { $int_if }
#antispoof quick for { lo $int_if }

#pass in on $ext_if proto tcp to ($ext_if) port ssh keep state

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com