Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't forget xinetd can help as well' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't forget xinetd can help as well
Authored by: stetner on Feb 11, '05 02:01:34AM

I also use xinetd to refuse connections from machines I don't know:

$ cat /etc/xinetd.d/ssh
service ssh
{
...
only_from = xxx.xxx.0.0/16 xxx.xxx.xxx.0/24 xxx.xxx.xxx.xxx
log_on_success += DURATION HOST USERID
log_on_failure += HOST USERID
}

So you can limit it to particular hosts, subnets etc. And log those successes and failures.



[ Reply to This | # ]
meow
Authored by: gatorparrots on Feb 13, '05 01:50:54PM