Results 1 to 6 of 6
Hi!
I am trying to get the h/w, ip addresses, connection time,disconnection time
of computers of all those which connect to my computer by any source ssd,telnet.
I am able ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-21-2004 #1Just Joined!
- Join Date
- Jan 2004
- Posts
- 33
Getting info about connected(ing) computer
Hi!
I am trying to get the h/w, ip addresses, connection time,disconnection time
of computers of all those which connect to my computer by any source ssd,telnet.
I am able to get the ip address from /var/log/secure,/var/log/messages
thanx in advance!
- 01-21-2004 #2
You can probably get most of the info that you are looking for with nmap.
http://freshmeat.net/projects/nmap/?...43%2C150%2C151
- 01-21-2004 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
The connection times are also logged in the syslog. To get the hardware address, just run "arp -n" while the computer is connected.
- 01-22-2004 #4Just Joined!
- Join Date
- Jan 2004
- Posts
- 33
I just want to keep a log the computers connected.
arp will give just connected machines only.
- 01-22-2004 #5Just Joined!
- Join Date
- Jan 2004
- Posts
- 33
it is just like that when a visitor visits the site and counter keeps the log of ip , time spent,user agent,operating system
like this I want to implement this on lan with computers
- 01-24-2004 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I think you shouldn't care too much about the hardware address, though. In different network configurations, it's often far from reliable, and often even impossible, to get the hardware address.


Reply With Quote
