What are these ports and how can they be disabled?
![](https://seccdn.libravatar.org/avatar/ccc58d675671d029c15ff2db569d3946.jpg?s=120&d=mm&r=g)
What are these ports and how can they be disabled? Cannot find them in inetd.conf My localhost name is not "talarian" udp 0 0 *:snmp *:* udp 0 0 *:bootps *:* udp 0 0 linux.local:netbios-dgm *:* udp 0 0 linux.local:netbios-ns *:* udp 0 0 *:netbios-dgm *:* udp 0 0 *:netbios-ns *:* udp 0 0 *:pftp *:* udp 0 0 *:859 *:* udp 0 0 *:sunrpc *:* tcp 0 0 localho:talarian-mcast3 *:* LISTEN tcp 0 0 localho:talarian-mcast2 *:* LISTEN tcp 0 0 5dyn44.a:mapper-ws_ethd pccws10.pcconn:www-http ESTABLISHED tcp 0 0 *:blackjack *:* LISTEN tcp 0 0 *:6000 *:* LISTEN tcp 0 0 *:mysql *:* LISTEN tcp 0 0 *:netbios-ssn *:* LISTEN tcp 0 0 *:http-rman *:* LISTEN tcp 0 0 *:pop3 *:* LISTEN tcp 0 0 *:exec *:* LISTEN tcp 0 0 *:telnet *:* LISTEN tcp 0 0 *:ftp *:* LISTEN tcp 0 0 *:www-http *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN raw 0 0 *:tcp *:* 7
![](https://seccdn.libravatar.org/avatar/eb159164502bc1e2efb75ca7172805a0.jpg?s=120&d=mm&r=g)
Quoting jayhen
What are these ports and how can they be disabled? Cannot find them in inetd.conf
My localhost name is not "talarian"
udp 0 0 *:snmp *:* udp 0 0 *:bootps *:*
You appear to be running a DHCP server.
udp 0 0 linux.local:netbios-dgm *:* udp 0 0 linux.local:netbios-ns *:* udp 0 0 *:netbios-dgm *:* udp 0 0 *:netbios-ns *:*
These are Samba.
udp 0 0 *:pftp *:* udp 0 0 *:859 *:* udp 0 0 *:sunrpc *:*
A number of things use this port, NFS, rlogin, rsh, rcp.
tcp 0 0 localho:talarian-mcast3 *:* LISTEN tcp 0 0 localho:talarian-mcast2 *:* LISTEN tcp 0 0 5dyn44.a:mapper-ws_ethd pccws10.pcconn:www-http ESTABLISHED
This is you surfing the Web.
tcp 0 0 *:blackjack *:* LISTEN tcp 0 0 *:6000 *:* LISTEN
This is the X server. You can stop it listening on TCP/IP by starting with startx -- -nolisten tcp.
tcp 0 0 *:mysql *:* LISTEN
The MySQL database.
tcp 0 0 *:netbios-ssn *:* LISTEN
Samba again.
tcp 0 0 *:http-rman *:* LISTEN tcp 0 0 *:pop3 *:* LISTEN
You are running a POP3 server.
tcp 0 0 *:exec *:* LISTEN
Part of the Sun utilities, IIRC.
tcp 0 0 *:telnet *:* LISTEN tcp 0 0 *:ftp *:* LISTEN tcp 0 0 *:www-http *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN
Telnet server, FTP server, Web server, and Sun RPC.
raw 0 0 *:tcp *:* 7
You appear to have installed and started just about every server there is. You can disable most of them in /etc/rc.config. You will need to reboot for this to take effect. You can stop most of them with rcsmb stop rcmysql stop .... Or go to /etc/rc.d and do the equivalent: ./smb stop ./mysql stop ... Then go read RTFM and other docs on networking, security, etc. -- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
![](https://seccdn.libravatar.org/avatar/9bff1b77cebea002c7ffd54acc7c7851.jpg?s=120&d=mm&r=g)
Hi,
What are these ports and how can they be disabled? Cannot find them in inetd.conf
try netstat -tunp, this will list you the port numbers, and the process that is bound to it (when available)
My localhost name is not "talarian"
talarian is a port name, as it comes after the colon ":" as someone else has already explained what each port is, i won't do it again :), but some of then are in /etc/inetd.conf (rsh, rexec, pop3, telnet, http-rman, ftp[maybe]) the rest must have the process start disabled in /etc/rc.config (snmp, bootps, samba, portmap, nfs, apache, mysql, etc ) Regards, Adilson
participants (3)
-
Adilson Guilherme Vasconcelos Ribeiro
-
jayhen
-
Jeffrey Taylor