monitoring file transfer with tcpdump

This is a discussion on monitoring file transfer with tcpdump within the Linux Networking forums, part of the Linux Forums category; Hi, I'm new to linux. I'd like to write a script for linux that make the following things: -...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2004
Eugenio Milas
 
Posts: n/a
Default monitoring file transfer with tcpdump

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
  #2 (permalink)  
Old 06-27-2004
Michael Heiming
 
Posts: n/a
Default Re: monitoring file transfer with tcpdump

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Eugenio Milas <ilion1982@yahoo.it> 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 zvpunry@urvzvat.qr | 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
  #3 (permalink)  
Old 06-27-2004
peter pilsl
 
Posts: n/a
Default Re: monitoring file transfer with tcpdump

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0