- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is it possible block certain port ? (HP-UX 11)
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
12-03-2001 02:23 AM
12-03-2001 02:23 AM
Is it possible block certain port ? (HP-UX 11)
Is it possible to block certain traffic based on port? For example, only http traffic is allowed from this machine but no ftp traffic is allowed?
I know it could be done by implementing external firewall?
Is it possible to implement this at HP-UX itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 02:51 AM
12-03-2001 02:51 AM
Re: Is it possible block certain port ? (HP-UX 11)
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 03:02 AM
12-03-2001 03:02 AM
Re: Is it possible block certain port ? (HP-UX 11)
On Santosh's solution, I can add 'and mount their home directories partition with 'no exec' option' but this is beginning to be BOFH ;)
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 03:09 AM
12-03-2001 03:09 AM
Re: Is it possible block certain port ? (HP-UX 11)
Ostensibly its for creating secure connections, and doing VPN tunneling, but if you look at how the rules work, its entirely possible to define rules that just completely block outgoing connections on certain ports...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 03:48 AM
12-03-2001 03:48 AM
Re: Is it possible block certain port ? (HP-UX 11)
http://docs.hp.com/hpux/internet/#IPFilter/9000
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6cfca12d6d27d5118fef0090279cd0f9,00.html
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 04:45 AM
12-03-2001 04:45 AM
Re: Is it possible block certain port ? (HP-UX 11)
This is very much possible. Go to /etc/inetd.conf and comment out the ftp line. Get the daemon to re-read the inetd.conf file by isssuing a command
inetd -c
You can do this for other services too.
Other than this if you want to restrict access to a chosen no of hosts you can use TCP Wrappers
ftp://ftp.cerias.purdue.edu/pub/tools/unix/netutils/tcp_wrappers/tcp_wrappers_7.6.tar.gz
the above applies to services started by inetd. For all other services(standalone) you can stop and disable them manualy in the files (most of them) in /sbin/init.d directory.
Hope this helps..
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 05:13 AM
12-03-2001 05:13 AM
Re: Is it possible block certain port ? (HP-UX 11)
As I understand the question, the author is asking how to block outbound connections, i.e. a user telnetting out of the machine to another machine...which is very different from blocking inbound connections, i.e. a user telnetting into the machine.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 05:29 AM
12-03-2001 05:29 AM
Re: Is it possible block certain port ? (HP-UX 11)
also, consider reading and implementing this:
http://people.hp.se/stevesk/bastion.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 05:31 AM
12-03-2001 05:31 AM
Re: Is it possible block certain port ? (HP-UX 11)
If you are trying to block connections initiated from a remote system to your HP server, check into using /var adm/inetd.sec (man inetd.sec) on the HP.
Darrell