- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to block a single IP Address
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
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
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
тАО04-11-2003 01:52 PM
тАО04-11-2003 01:52 PM
Trying to block a single IP Address
example I Have a private IP Address of 10.23.206.52 and want to block incoming traffic from 10.23.249.50.
Any info on this would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 02:00 PM
тАО04-11-2003 02:00 PM
Re: Trying to block a single IP Address
You can explicitly allow or deny use of most networking services by listing them on a per-machine or per-subnet basis. The syntax of entries in /var/adm/inetd.sec is:
service-name allow|deny { host-address| host-name}...
The service-nameis the official name (not an alias) of a valid service in the file /etc/services. The service-name for RPC-based services(NFS) is the official name (not an alias) of a valid service in the file
/etc/rpc. The wildcard character * and the range character - are permitted in addresses.
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 02:03 PM
тАО04-11-2003 02:03 PM
Re: Trying to block a single IP Address
The man page gives some good example on the syntax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 02:13 PM
тАО04-11-2003 02:13 PM
Re: Trying to block a single IP Address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 02:34 PM
тАО04-11-2003 02:34 PM
Re: Trying to block a single IP Address
I believe if you install (or have installed) tcp_wrappers, you can add an entry in /etc/hosts.deny of
ALL : 10.23.249.50
Not sure of a shotgun way to do it with inetd.sec
Good luck,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 04:33 PM
тАО04-11-2003 04:33 PM
Re: Trying to block a single IP Address
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 06:35 PM
тАО04-11-2003 06:35 PM
Re: Trying to block a single IP Address
On the HP-UX server
#route add 10.23.206.52 xx.xx.xxx.xxx 1
Here xx.xx.xxx.xxx is an unused IP address in your local network.
Now that particular client will be blocked.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2003 06:44 PM
тАО04-11-2003 06:44 PM
Re: Trying to block a single IP Address
This should also work
#route add 10.23.206.52 127.0.0.1
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2003 10:03 AM
тАО04-13-2003 10:03 AM
Re: Trying to block a single IP Address
since aou already use "IP Filter" I guess you simply missed the obvious: use the netmask "/32" and be done...
FWIW,
Wodisch