close

 

/usr/ports/security/sshit

make install clean ;rehash


#################
#
#  How to use it:
#
#  Edit the configure file located at /usr/local/etc/sshit.conf
#  run it   /usr/local/sbin/sshit  /usr/local/etc/sshit.conf    

    
#  Test it first by running /path/to/sshit | tail -f -2 /var/log/auth.log
#  and make sure you don't get any error messages. If you make any blocks,
#  let the script clean them up before you break it (5 min by default).
#
#  To have it running in background,
#  add this line to /etc/syslog.conf:
#
#  auth.info;authpriv.info      |exec /usr/local/sbin//sshit  [path_to_config_file]
#
#  Do  /etc/rc.d/syslogd restart    and make some
#  failing ssh logins and watch /var/log/auth.log.

show  ipfw ==>   ipfw show  ,  see if  have  block ip in rule  .....

 

arrow
arrow
    全站熱搜

    yves2005 發表在 痞客邦 留言(0) 人氣()