Results 1 to 2 of 2
Hi,
I need to start a tcpdump, and then download a file by FTP. I can't understand any way of achieving this in the tcpdump man file, iany help would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-17-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 1
FTP during tcpdump
Hi,
I need to start a tcpdump, and then download a file by FTP. I can't understand any way of achieving this in the tcpdump man file, iany help would be greatly appreciated! Thanks.
- 11-17-2010 #2
Ftp is a bit tricky, as both passive and active use two connections with one of these connections being dynamic.
The following will catch all connections to a <FTP_HOST> and ignore port 22.
You can ignore more ports, if applicable.
Code:tcpdump -n -i <DEVICE> host <FTP_HOST> and not port 22
You must always face the curtain with a bow.


Reply With Quote
