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/*

No comments: