LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   netstat -l output help (https://www.linuxquestions.org/questions/linux-security-4/netstat-l-output-help-69316/)

dai 07-01-2003 12:29 PM

netstat -l output help
 
hi all the following are the daemons running on boot that are listening to the network

tcp 0 0 *:3306 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 *:biff *:*
udp 0 0 *:sunrpc *:*


could somebody tell me whether I need auth, biff and sunrpc also what are they and how do I disable them if thier not needed.

Also why is X11 listening and how do I stop my X windows aaccepting remote logins????

unSpawn 07-02-2003 06:44 AM

could somebody tell me whether I need(..)
Temporarily disable the services and find out. "netstat -anp" gives you the Process ID (PID), trace that to the binary that's run, and scan /etc/rc.d/init.d and /etc/xinetd.d for the initscripts. In init.d use "stop" argument when calling script, in xinetd.d add "disable" to the service arguments and restart xinetd ("man xinetd.conf" for more).

* Check out the LQ FAQ: Security references, start at post #1 under "Checklists".

dai 07-02-2003 03:40 PM

Cheers,

Ill check the FAQ again (Ive been reading thru it quite a lot but obvioulsy ive missed a few points.

Again thanks for the help


All times are GMT -5. The time now is 06:11 PM.