LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-09-2014, 03:45 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,497

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Display list of active clients on a server?


Hi,

I'd like to display a list of all currently active clients on a server. I've been experimenting with this, and it looks like this task is not as easy as it would seem.

1. arp is not a solution, as it still displays a client's IP even after it's been disconnected.

2. The same goes for parsing DHCP's lease files.

3. Statically defined leases (using hwaddr) don't even appear in DHCP's lease files.

4. Nmap would be a solution, but port scanning seems a bit agressive.

Any ideas?
 
Old 02-09-2014, 04:04 AM   #2
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 307

Rep: Reputation: 22
netstat <play-with-options>| grep ESTABLISHED ?

What do you mean under "Server" and "Client"? This is very general terms, and so very general task, which has no solution. So define "Server" and "Client" more precisely.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method to connect remote clients to closest active server. tonyfreeman Linux - Enterprise 1 12-22-2012 02:59 PM
Server is laready active for display 0 LNX-user Linux - Newbie 13 01-06-2012 03:55 PM
How can I find out what clients are connected to an X server display? thomase00 Linux - Newbie 1 08-18-2011 12:41 AM
LXer: IRC Clients for Linux Part 2: List of 5 CLI Clients LXer Syndicated Linux News 0 09-17-2008 05:20 PM
fatal server error - server is already active for display 0+vnc suna22 Linux - Software 0 05-24-2006 09:35 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration