Link to home
Start Free TrialLog in
Avatar of Amir Haviv
Amir HavivFlag for Israel

asked on

running tcpdump or tshark with python script and arguments

Hi
i need a help of creating a script that runs tcpdump and request for arguments of ip address src and dest and port,
saves the outcome to a file
appreciate your help
Amir
SOLUTION
Avatar of Flabio Gates
Flabio Gates

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Amir Haviv

ASKER

Hello Fabio,
Thank you so much
Another question, this dump will run endlessly, i need the option to put an argument of ctrl+c in order to stop the capture whenevr the user wants and then the file should be closed
How wouldni add that option?
Again
Thanks for you kind help
Amir
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Flabio Gates
Flabio Gates

OP inactive