View Single Post
Posts: 60 | Thanked: 17 times | Joined on Feb 2008
#7
Originally Posted by Matan View Post
It can be done easier by using the fact that sshd (and httpd) record the addresses whence connections originate. So most of your script can be replaced by a simple ssh (or wget) to a server that you can read its logs.
Thanks. You're right - Simpler is better. I thought that it would be useful to have all of that information in the file that arrives via ssh so you could get to work immediately tracking the thing down.