LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-16-2008, 05:51 AM   #1
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
How to view the people who are transferring data from my computer?


I am on a local LAN. How can I see the people who are transferring data from my computer?
 
Old 01-16-2008, 06:17 AM   #2
silverline27
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
Ethereal is a network protocol analyzer
 
Old 01-16-2008, 07:05 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
not anymore it's not, wireshark superseded it about 18 months ago. more context from the OP would be good though, a full tcp sniffer is unlikely to actually be what's really wanted here.
 
Old 01-16-2008, 07:32 AM   #4
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Hey,

I installed ethereal. But, how do I run it? Also, if you say that it is a protocol analyzer, how does it help me in viewing the users that are doing active data transfer from my computer to theirs?
 
Old 01-16-2008, 07:44 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
For starters, who has access rights to your computer? Do you have shared folders set up? Using ftp? How are the permissions set?
 
Old 01-16-2008, 08:20 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
yeah, exactly, a protocol analyzer is really not what's being asked for.. back up a long way and describe your actual requriements in detail.
 
Old 01-16-2008, 09:07 AM   #7
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Rep: Reputation: 31
You could run:
netstat -an
And that would show you who is connected to your computer, or install iftop (in most repos) and that is like top but for network devices.
 
Old 01-16-2008, 09:52 AM   #8
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
The description, since many of you asked for it:

We have a Local LAN (most computers run Windows OS). Now, I just shared a folder on Samba. I can view the computers on LAN and can do data transfer. Now, what I want is, when somebody is copying a file from my computer, I can only make out by looking at my HDD light (reading light). But, just like Windows allows to view the users that are copying files from my computer, Linux must also have something. So that I can kill the connection. I just want some tool or command so that I can see who all are copying from my computer and hence kill/do-whatever with that person's connection.

Hope this helps.
 
Old 01-16-2008, 09:57 AM   #9
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Thanks for the replies.

I did:
Code:
netstat -an|grep tcp
And I got:
Code:
tcp        0      0 127.0.0.1:8000              0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:59506               0.0.0.0:*                   LISTEN      
tcp        0      0 192.168.122.1:53            0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:445                 0.0.0.0:*                   LISTEN      
tcp        0      0 172.18.3.19:38217           72.14.253.125:5222          ESTABLISHED 
tcp        0      0 172.18.3.19:58083           172.18.3.10:139             CLOSE_WAIT  
tcp       16      0 127.0.0.1:33621             127.0.0.1:139               ESTABLISHED 
tcp        0      0 172.18.3.19:36422           172.18.3.12:445             ESTABLISHED 
tcp        4      0 172.18.3.19:49265           172.18.3.12:139             ESTABLISHED 
tcp        0      0 172.18.3.19:34626           172.18.3.10:139             CLOSE_WAIT  
tcp        0      0 172.18.3.19:40259           172.18.3.10:139             CLOSE_WAIT  
tcp        0      0 127.0.0.1:139               127.0.0.1:33621             ESTABLISHED 
tcp        0      0 172.18.3.19:139             172.18.3.19:57041           ESTABLISHED 
tcp       16      0 172.18.3.19:57041           172.18.3.19:139             ESTABLISHED 
tcp        0      0 172.18.3.19:58073           216.155.193.132:5050        ESTABLISHED 
tcp        0      0 :::22                       :::*                        LISTEN
But, I cannot kill a connection from this right? Or can I? How to do that? How to view the active transfer? In this output, I can only see some connections. But this output is static! I want a dynamic output.
 
Old 01-16-2008, 10:19 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
an equivalent may be a tool like iptraf, but these are TCP/IP level uses, they will *NEVER* have any idea what the data is at all. also tcptrack is handy.

if you wanted to cut a connection you could use a tool like tcpcutter (i think) to fudge a RST on each connection, but this still really doesn't sound like what you actually want.
 
Old 01-16-2008, 10:42 AM   #11
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Did not find anything interesting here too!
 
Old 01-16-2008, 01:07 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
why are you telling what didn't help you? bet this site doesn't help either... http://www.henson.com
 
Old 01-18-2008, 03:09 AM   #13
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
I think the problem definition is CLEAR.
 
Old 01-18-2008, 03:51 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
no, it's really not. For example, do you want a list of usernames and files, or do you want a list of ip addresses and bandwidth usage?
 
Old 01-18-2008, 04:26 AM   #15
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Original Poster
Rep: Reputation: 31
I want both the list of user names and the file they are transferring. I have specified this before: "But, I cannot kill a connection from this right? Or can I? How to do that? How to view the active transfer? In this output, I can only see some connections. But this output is static! I want a dynamic output."

Last edited by deepumnit; 01-18-2008 at 04:32 AM.
 
  


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
Transferring Files From A Remote Computer TheBaker Linux - General 5 08-17-2007 02:22 PM
configuration to max data transferring Rednameless Linux - Networking 1 04-28-2006 08:00 PM
cannot view files on cruzer usb drive, transferring from slax to xp jmp875 Linux - Newbie 8 08-23-2005 05:13 AM
Transferring data from Linux to Windows satyatechie Linux - Newbie 1 07-13-2005 08:24 AM
Transferring my /home directory from one computer to another. BBlalock Linux - Newbie 4 06-25-2002 10:16 PM


All times are GMT -5. The time now is 11:47 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