Search This Blog

Monday, November 30, 2009

FreeBSD, sockstat to check listening ports

FreeBSD can check the listening ports for you. Be sure to understand that your computer is offering services that are secure and reliable.

sockstat -l

(netstat | grep LISTEN)

To check your login log,
grep -ir ssh /var/log/*
grep -ir breakin /var/log/*
grep -ir security /var/log/*




http://www.cyberciti.biz/tips/freebsd-lists-open-internet-unix-domain-sockets.html
http://www.linuxforums.org/forum/linux-security/75742-where-sshd-logs-kept.html

No comments: