Re: insight on S10 ipfilter patch 125014-02?

This is a discussion on Re: insight on S10 ipfilter patch 125014-02? within the IPFilter forums, part of the System Security and Security Related category; Jeff A. Earickson wrote: > Darren, > > If I change my port 25 rule from: > > pass in ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2007
Carson Gaspar
 
Posts: n/a
Default Re: insight on S10 ipfilter patch 125014-02?

Jeff A. Earickson wrote:
> Darren,
>
> If I change my port 25 rule from:
>
> pass in quick proto tcp from any to 137.146.28.72 port = 25 flags S
> keep state keep frags
> pass out quick proto tcp from 137.146.28.72 to any port = 25 flags S
> keep state keep frags
>
> to:
>
> pass in quick proto tcp from any to 137.146.28.72 port = 25
> pass out quick proto tcp from 137.146.28.72 to any port = 25
>
> Then all/most of my email traffic halts. I am using Sun multipathing,


If you want stateless rules, then you need to allow reply packets, which
you haven't done. Try the following (syntax from memory, so...):

pass out quick proto tcp from 137.146.28.72 to any port = 25
pass in quick proto tcp from any port = 25 to 137.146.28.72 port >
32767 flags A/A
pass in quick proto tcp from any to 137.146.28.72 port = 25
pass out quick proto tcp from 137.146.28.72 port = 25 to any port > 1023
flags A/A

You'll note that the inbound rule is more restrictive with ports. You've
said you're running Solaris, so the anonymous port range is
32768-65535 (unless you've changed it). The Internet has a much broader
range of anonymous ports (but always >= 1024, in my experience).
Personally, I'd get rid of the outbound ACK rule port restriction
entirely, unless you have naughty users running things on your mail
server...

--
Carson
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0