LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2006, 05:59 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
View Server Connections?


I have a Debian server running vsFTPd but from time to time I do take the machine down for dusting and maitenance and was wondering if there is a simple solution to be able to make sure nobody is connected to machine via ssh, ftp, web, and or any other connections. Is there a way to verify this before I shut down?

Thanks for any info.
 
Old 02-17-2006, 06:31 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
try
Code:
netstat
 
Old 02-17-2006, 06:35 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
What am I looking at?

Code:
stricom:/# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp6       0    208 ::ffff:192.168.1.10:ssh ::ffff:192.168.1.:58988 ESTABLISHED
tcp6       0      0 ::ffff:192.168.1.10:www ::ffff:192.168.1.:48269 TIME_WAIT
tcp6       0      0 ::ffff:192.168.1.10:www ::ffff:192.168.1.:48270 TIME_WAIT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  5      [ ]         DGRAM                    3634     /dev/log
unix  2      [ ]         DGRAM                    4083
unix  3      [ ]         STREAM     CONNECTED     4080
unix  3      [ ]         STREAM     CONNECTED     4079
unix  2      [ ]         DGRAM                    3711
unix  2      [ ]         DGRAM                    3651
It is not very clear to me...
 
Old 02-17-2006, 06:57 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
I guess the ESTABLISHED tcp connections that have a foreign IP outside your network...
 
  


Reply



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
VNC server rejects connections TommyB Linux - Networking 6 11-23-2005 03:41 PM
View network speed on all connections Quantum0726 Linux - Networking 1 07-11-2005 02:26 AM
Cannot get more than 1024 connections to my server DaveStout Slackware 11 08-13-2004 05:08 PM
X server outside connections slackwarefan Linux - General 1 02-01-2004 07:31 PM
Server Workstation connections chrisgiles Linux - Newbie 0 08-18-2001 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration