I found out that the problem was that since I included
port 22 (in $tcp_services) in the last line of pf.conf
file, it took precedence over my previous port 22
rule, so it wouldn't log it. Thanks for the help
anyway.

--- Wouter Coene <[EMAIL PROTECTED]> wrote:
> phusion wrote:
> > Hi, I've been having a problem logging port 22
> > traffic. Here is some of my pf.conf file. Let me
> know
> > what you think. Thanks.
> 
> So what's the problem exactly? Or do you expect us
> to somehow 
> "magically" guess your problems?
> 
> > pass in log on $ext_if inet proto tcp from any to
> $ext_if \
> >     port 22 $tcp_options
> > pass out on $ext_if inet proto tcp from $ext_if to
> any \
> >     $tcp_options
> > pass in  on $ext_if inet proto tcp from any to
> $ext_if \
> >     port $tcp_services $tcp_options
> 
> My guess is you forgot a "quick" keyword.
> 
> Wouter
> 



                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

Reply via email to