in reply to Analyze Traffic of ssh port using perl script
Are you local on the box? If so, you can use Proc::ProcessTable to see who is running sshd. Those are your ssh users, minus the sshd which is the parent, which will be the original sshd which is running and listening to port 22. I don't know what you mean by "analyze the traffic". Hope you aren't trying to be an 31337 h4X0r or something.
Some non-perl centered options might be parsing 'netstat -an' output and seeing who is connected to port 22. Or how about using the output of 'lsof -i'.
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Analyze Traffic of ssh port using perl script
by Anonymous Monk on Jul 29, 2003 at 13:15 UTC | |
by pzbagel (Chaplain) on Jul 29, 2003 at 16:09 UTC |