The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 ipfilter - "log" needs a protocol if a port is used
Author: parv 
Date:   10-05-02 10:05

after upgrading to freebsd-stable may 2 2002 (from last -stable mar. 16 2002), i discovered that in ipf rules a protocol needs to be defined if a port is used.

observe. both of the following rules were wrorking before may 2...

block in log quick from any to any port < 1025
log in from any to any port < 1025

...after may 2, i needed them to be updated to...


block in log quick proto tcp/udp from any to any port < 1025
log in proto tcp/udp from any to any port < 1025

...of course, there is no point in having both the rules at the same time being active; they are given just as examples to make the point.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 ipfilter - &quot;log&quot; needs a protocol if a port is used   new
parv 10-05-02 10:05 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org