Thursday 31 January 2013

set tcpwrapper log

TCP WRAPER LOG
connection attempt denied  and logged in 
in host.deny file

ALL:ALL:spawn /bin/'date' %c %d >> /var/log/attack.log

connection accept and logged
in host.allow
ALL:ALL:spawn /bin/'date' %c %d >> /var/log/attack.log

No comments:

Post a Comment