- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: IPFilter
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 02:46 AM
09-06-2002 02:46 AM
I have just installed the above and have a problem understanding how to inteprete SMNP traffic. The rule I have defined is as follows :
pass in quick on lan1 proto udp from any to ###.###.###.### port = 161 keep state
But I am finding the following entries in the logfile :
06/09/2002 11:49:36.593635 lan1 @0:22 p ###.###.71.3,161 -> ###.###.71.6,56825 PR udp len 20 111 IN
Now I was under the impression that the rule would accept a connection on port 161 and then when this is handed off to another port the IPFilter would keep a track of all further communication. The entry in the logfile seems otherwise. Am I missing something?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 03:42 AM
09-06-2002 03:42 AM
Re: IPFilter
"state" is not that usefull on UDP, especially SNMP. and "SNMP-Traps" come in on UDP/162, UDP/161 is for get/set commands.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:19 AM
09-06-2002 05:19 AM
Re: IPFilter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:21 AM
09-06-2002 05:21 AM
Re: IPFilter
pass in quick log first ...
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:28 AM
09-06-2002 05:28 AM
Re: IPFilter
pass in log on lan1 from any to ###.###.71.6 # Log all other traffic!
So as I define my ruleset it should log everything else. So based on the SNMP rule I have it should not log anything. As I said it seems that the initial connection on port 161 occurs, it hands off the connection to another port, and then IPfilter picks this up and reports it. All the requests are coming from Cisco switches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:34 AM
09-06-2002 05:34 AM
Re: IPFilter
Also, beware of the version you are using, get the lastest possible 3.05.04, although the website says you are downloading 3.05.05, there are kernel panic issues with the earlier versions that have cause some of my servers to reboot.
Anything else let us know.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:24 AM
09-06-2002 06:24 AM
Re: IPFilter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:28 AM
09-06-2002 06:28 AM
Re: IPFilter
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:58 AM
09-06-2002 06:58 AM
Re: IPFilter
pass out quick proto tcp from ###.###.71.6 to any keep state # Allow all outbound TCP traffic
pass out quick proto udp from ###.###.71.6 to any keep state # Allow all outbound UDP traffic
pass out quick proto icmp from ###.###.71.6 to any keep state # Allow all outbound ICMP traffic
pass in quick on lan1 proto icmp from any to ###.###.71.6 icmp-type echo # Allow Ping ICMP
pass in quick on lan1 proto icmp from any to ###.###.71.6 icmp-type echorep # Allow Ping ICMP
pass in quick on lan1 proto icmp from any to ###.###.71.6 icmp-type 11 # Allow Traceroute ICMP
pass in quick on lan1 proto tcp from any to ###.###.71.6 port = 2531 # HP Operations Java GUI
pass in quick on lan1 proto tcp from any to ###.###.71.6 port = 5555 # HP OmniBack
pass in quick on lan1 proto tcp from any to ###.###.71.6 port = 25 # SMTP Traffic
pass in quick on lan1 proto tcp/udp from ###.###.71.62 to ###.###.71.6 port = 53 # Allow DNS traffic from ns1.###.###
pass in quick on lan1 proto tcp/udp from ###.###.71.63 to ###.###.71.6 port = 53 # Allow DNS traffic from ns2.###.###
pass in quick on lan1 proto tcp/udp from ###.###.164.104 to ###.###.71.6 port = 53 # Allow DNS traffic from NT Primary DNS
pass in quick on lan1 proto tcp/udp from ###.###.164.116 to ###.###.71.6 port = 53 # Allow DNS traffic from NT Secondary DNS
pass in quick on lan1 proto tcp/udp from ###.###.164.132 to ###.###.71.6 port = 53 # Allow DNS traffic from Win2K ADS Primary
pass in quick on lan1 proto tcp/udp from ###.###.164.133 to ###.###.71.6 port = 53 # Allow DNS traffic from Win2K ADS Secondary
pass in quick on lan1 proto udp from any to ###.###.71.6 port = 161 keep state # Allow SNMP traffic
pass in quick on lan1 proto tcp/udp from any to ###.###.71.6 port = 6000 keep state # Allow X11 traffic
pass in quick on lan1 proto tcp from any to ###.###.71.6 port = 23 flags S keep state # Allow Telnet traffic
pass in quick on lan1 proto tcp from any to ###.###.71.6 port = 1529 flags S keep state # Allow OEM traffic
block in quick on lan1 proto 54 from any to ###.###.71.6 # Block Protocol 54
block in quick on lan1 proto icmp from any to ###.###.71.6 # Block all other ICMP traffic
block in quick on lan1 proto tcp/udp from any to ###.###.71.6 port = 137 # Block NetBios
block in quick on lan1 proto tcp/udp from any to ###.###.71.6 port = 513 # Block inbound rlogin
block in quick on lan1 proto tcp/udp from any to ###.###.71.6 port = 514 # Block inbound rsh
block in log quick on lan1 proto tcp/udp from any to ###.###.71.6 port = 53 # Block other DNS traffic
block in quick on lan1 proto tcp from any to ###.###.71.6 with short # Block short packets
pass in log first quick on lan1 from any to ###.###.71.6 # Log all other traffic!
Line 24 would point to the last line if you exclude the pass outs at the top. So it would seem like a little buglet that needs ironing out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 04:50 AM
09-08-2002 04:50 AM
Re: IPFilter
http://forums.itrc.hp.com/cm/TopSolutions/1,,BR669256!1!questions,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 11:45 PM
09-08-2002 11:45 PM
Re: IPFilter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:42 AM
09-09-2002 01:42 AM
Re: IPFilter
ioctl(add/insert rule): No such process
As soon as I take out the group entries it works fine ?