Hacker News new | past | comments | ask | show | jobs | submit login

The problem is rarely at installation time. The problem is three years later, when you know that you've got rsync because it's so useful, but you don't remember that you left rsyncd running.

Internal and external nmap sweeps: always a good idea*

*If you don't own the network, get permission first.




If you have system monitoring tools, then you could make on of the things it monitors a script that does netstat -plan | grep -v 127.0.0.1 | grep -v ::1 | grep -v ssh | grep -v <anything you know should be running> | wc -l


Don't use -a though :)

Use -t to avoid listing local sockets.

So -pltn not -plan




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: