1827787 Members
3168 Online
109969 Solutions
New Discussion

port open

 
SOLVED
Go to solution
zenus
Occasional Advisor

port open

how can i know all ports opened under hp -ux?
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: port open

try lsof

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123


Please read this too:

http://forums11.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: port open

Shalom,

Externally you can run a portscan.

You can run nmap from a Linux box or even install the same program on HP-UX.

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
zenus
Occasional Advisor

Re: port open

Do you know the name of this program?
How can i close ftp for exemple?
Torsten.
Acclaimed Contributor
Solution

Re: port open

When is a port open?

If "somebody" is listening to that port and waits for incoming connections.

Regarding ftp - this is started by the inetd - to disable edit the /etc/inetd.conf file and disable the ftp line. Now re-read the inetd config

# inetd -c

To secure your system you can also use bastille.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6849AA

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sp4admin
Trusted Contributor

Re: port open

Zenus,

Like Torsten said you can disable the ftp in /etc/inet.conf. You will need some other file transfer protocal if you want to copy files to other server. You can use SFTP if you have ssh installed.

sp,
Jeeshan
Honored Contributor

Re: port open

you may run
#netswtat -an|more
to see which ports are opened or extablished.or you can run tcpdump to see the which ports are open.
a warrior never quits