LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-01-2003, 12:29 PM   #1
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
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????
 
Old 07-02-2003, 06:44 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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".
 
Old 07-02-2003, 03:40 PM   #3
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netstat output Raafi Linux - Security 4 05-24-2005 10:14 PM
netstat -r command output juanb Linux - Networking 1 10-28-2004 02:30 PM
unfamiliar netstat output TreeHugger Linux - Security 4 02-28-2004 11:33 AM
What does this netstat output mean? Kovacs Linux - Security 2 01-25-2004 06:32 PM
netstat output... WeNdeL Linux - Networking 3 03-20-2003 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration