Networking Forums

Networking Forums > Computer Networking > Linux Networking > monitoring file transfer with tcpdump

Reply
Thread Tools Display Modes

monitoring file transfer with tcpdump

 
 
Eugenio Milas
Guest
Posts: n/a

 
      06-27-2004, 04:48 PM
Hi,
I'm new to linux. I'd like to write a script for linux that make the
following things:
-make tcpdump start on the the NIC i want
-make a file transfer from a remote pc start with samba (e.g. the
samba directory is /remote/smb)
-once the file transfer is finished, close the program tcpdump

I don't how to close the tcpdump program after the file transfer is
finished in the script.
I'd be very grateful if anybody can help me?
thank u
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      06-27-2004, 05:31 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Eugenio Milas <(E-Mail Removed)> suggested:
> Hi,
> I'm new to linux. I'd like to write a script for linux that make the
> following things:
> -make tcpdump start on the the NIC i want
> -make a file transfer from a remote pc start with samba (e.g. the
> samba directory is /remote/smb)
> -once the file transfer is finished, close the program tcpdump


Would you mind telling us what you are going to do? Right now it
doesn't make any sense to me.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA3wR0AkPEju3Se5QRAvcVAKCK8Oyultcc+Zzm9xygxZ YGi/ZovgCeIWYD
YFyppDG9CtQEOZJjtEJTATs=
=6bOj
-----END PGP SIGNATURE-----
 
Reply With Quote
 
peter pilsl
Guest
Posts: n/a

 
      06-27-2004, 10:33 PM
Eugenio Milas wrote:
> Hi,
> I'm new to linux. I'd like to write a script for linux that make the
> following things:
> -make tcpdump start on the the NIC i want
> -make a file transfer from a remote pc start with samba (e.g. the
> samba directory is /remote/smb)
> -once the file transfer is finished, close the program tcpdump
>
> I don't how to close the tcpdump program after the file transfer is
> finished in the script.
> I'd be very grateful if anybody can help me?
> thank u


the basic concept of the script would be:

i) start tcpdump on the nic you want and put it to the background or
start it in a xterm or whatever ... (xterm -e tcpdump &)
ii) start the copy-process
iii) kill tcpdump

peter




--
http://www2.goldfisch.at/know_list
http://leblogsportif.sportnation.at
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Transfer Chris McClain Windows Networking 3 06-27-2007 02:10 PM
"Monitoring Wireless Connection Transfer Rate...suggested software Jim... Wireless Networks 1 06-14-2005 02:56 PM
File transfer George Home Networking 8 05-30-2005 11:42 AM
libpcap problem (hdr.len vs tcpdump file size)? D Linux Networking 3 10-30-2003 03:35 AM
libpcap problem (hdr.len vs tcpdump file size)? D Linux Networking 0 10-26-2003 11:16 PM



1 2 3 4 5 6 7 8 9 10 11