- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: IPfilter error
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
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
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
тАО03-10-2010 12:39 AM
тАО03-10-2010 12:39 AM
I'm having rx7640 server running on HPUX 11.31 version. I've already installed HP IPFilter 3.5alpha5. I want to allow access to some ip's & other ip's must be blocked and i configure the following rule.
block in from any to any
pass in from 127.0.0.1/32 to 127.0.0.1/32
pass in from 10.123.161.48/32 to any
block out from any to any
pass out from any to 127.0.0.1/32
pass out from any to 10.123.161.48/32
But the problem is after enabling the rule within 3 minutes server was not accessible
We try to ping the server and the output is request timeout. What we do just to access the server is using console. We'll stop the module and remove the rule.
Please help us on what to do. Do we have any setting or kernel parameters to configure?
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 12:56 AM
тАО03-10-2010 12:56 AM
SolutionCheck below thread,
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1408066
also you consider, using the /var/adm/inetd.sec
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:11 AM
тАО03-10-2010 01:11 AM
Re: IPfilter error
For your reference also below is the settings of /etc/rc.config.d/ipfconf
# cat /etc/rc.config.d/ipfconf
#
# Directory where IP Filter configuration files are kept
#
IPF_CONFDIR=/etc/opt/ipf
#
# Packet filtering configuration file for IPv4
#
IPF_CONF=${IPF_CONFDIR}/ipf.conf
#
# Packet filtering configuration file for IPv6
#
IPF6_CONF=${IPF_CONFDIR}/ipf6.conf
#
# Network address translation configuration file
#
IPNAT_CONF=${IPF_CONFDIR}/ipnat.conf
#
# Load the ipfilter module ?
# 1 = Start, 0 = Do not start
#
IPF_START=1
#
# Set DCA mode ?
# 1 = Set DCA mode, 0 = Do not set DCA mode
#
DCA_START=0
#
# Start ipmon ?
# 1 = Start, 0 = Do not start
#
IPMON_START=1
#
# Options to start ipmon with
#
IPMON_FLAGS=-sD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:26 AM
тАО03-10-2010 01:26 AM
Re: IPfilter error
Can please check above line which you posted
I am not sure , if rules will follow backwards
pass in from 10.123.161.32/48 to any
Looks to me may its incorrect , well you give a try.. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:48 AM
тАО03-10-2010 01:48 AM
Re: IPfilter error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:53 AM
тАО03-10-2010 01:53 AM
Re: IPfilter error
>Sir 10.123.161.48 is my IP address.
block in from any to any
pass in from 127.0.0.1/32 to 127.0.0.1/32
pass in from 10.123.161.48/32 to any
block out from any to any
pass out from any to 127.0.0.1/32
pass out from any to 10.123.161.48/32
So you are denying traffic from other servers except from your local server. This would definitively conduct to:
>server was not accessible
We try to ping the server and the output is request timeout. What we do just to access the server is using console.
You would have a real problem if you woun't have physical access to the console.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 07:03 PM
тАО03-10-2010 07:03 PM
Re: IPfilter error
Yes were trying to block some ip & others are allowed to access the server using IPFilter.
Just for the sake of testing I define 1 IP w/c is 10.123.161.48. When i apply the rule, it run smoothly no one can access the server except for the 10.123.161.48
But after 3 minutes, all connections was block no one can access the server.
My question are:
Is my rules correct, Do i need to configure any setting or kernel parameters to adjust.
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2010 09:29 PM
тАО03-14-2010 09:29 PM
Re: IPfilter error
Any idea on the case. Please help us.
thanks.