Operating System - HP-UX
1823228 Members
4309 Online
109648 Solutions
New Discussion юеВ

Networking: how to block port from broadcasting in HP-UX

 
SOLVED
Go to solution
Avinash20
Honored Contributor

Networking: how to block port from broadcasting in HP-UX

I need to block some of the ports which are broadcasting, due to which my network is getting congested.
All are in intranet, and dont go via firewall.

Is is possible to block port from broadcasting.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: Networking: how to block port from broadcasting in HP-UX

Shalom,

netstat -an will list the applications and what ports they are using. The best way to stop this activity is to identify and configure the application doing the broadcasting to stop doing so.

Using netfilter firewall for HP-UX will probably break the application that is misbehaving. Of course then you will have identified the application.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Avinash20
Honored Contributor

Re: Networking: how to block port from broadcasting in HP-UX

The port that is used by the udp is Randomly selected. This is not a well known port and don't have any entry in /etc/services file.
See the output of netstat command below:

#netstat -an | grep *.53455
udp 0 0 *.53455 *.*

How to check which application is using the port ??

Will lsof help me ??
Could you suggest any other HP-UX in-built command which will help me to find the application which is using the port ??
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Kenan Erdey
Honored Contributor

Re: Networking: how to block port from broadcasting in HP-UX

Hi,

try lsof -i:port_number.

Kenan.
Computers have lots of memory but no imagination
Avinash20
Honored Contributor

Re: Networking: how to block port from broadcasting in HP-UX

Can block by using IP Filter
Application team needs to check why the port is broadcasting.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Networking: how to block port from broadcasting in HP-UX

check above
"Light travels faster than sound. That's why some people appear bright until you hear them speak."