Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I been looking around for Tutorials on Securing Slack 10 and i found a few, but tonight i decided to run netstat and i got these when i typed in the command.
Can these be security risks in any way? And if so how can i secure them? I been looking around /etc/inetd.conf and /etc/rc.d and i havent seen anything so i am not sure what to think right now.
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*
Ports 25 and 587 are used from sendmail (mail server)
Port 6000 is the X-server
As for port 68 according to /etc/services is used by bootpc.
If you don't use sendmail and bootpc you should disable them, or use a firewall to block respective ports.
sendmail is started from /etc/rc.d/rc.M but I don't know about bootpc.
Try:
Code:
fuser -v -n tcp 68
to see if it tells you how bootpc is started (from inetd or standalone)
Originally posted by chort And you should set your X to start with nolisten -tcp. If you only use X locally, there's no reason to allow TCP/IP connections to it.
The UNIX domain sockets are all local to your machine and are not available across the network.
Thats if you dont connect remotely to your own machine, right? Where do you put nolisten -tcp?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.