|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
i would like to know about tcpdump
i would like to know about tcpdump
i would like to use tcpdump to get information about these - Date - time - source hostname - source mac address - source ip address - destination ip address - see outbound only then i use command like this tcpdump -i le0 -n -q -tttt -e src net 192.168.5.0/24 it will show 2008-07-01 00:04:56.032108 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 62: 192.168.5.250.1248 > 64.233.189.99.80: tcp 0 2008-07-01 00:04:56.043136 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 60: 192.168.5.250.1247 > 208.109.162.150.80: tcp 0 2008-07-01 00:04:56.043186 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 396: 192.168.5.250.1247 > 208.109.162.150.80: tcp 342 2008-07-01 00:04:56.065106 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 60: 192.168.5.250.1247 > 208.109.162.150.80: tcp 0 2008-07-01 00:04:56.066702 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 60: 192.168.5.250.1247 > 208.109.162.150.80: tcp 0 2008-07-01 00:04:56.088741 00:0c:29:4c:6d:ff > 00:0c:29:b9:4a:e8, IPv4, length 60: 192.168.5.250.1248 > 64.233.189.99.80: tcp 0 ok. i've already know about - Date - time - source mac address - source ip address - destination ip address - see outbound only but i haven't know "source hostname" yet. How can i add option for tcpdump to know "source hostname"? ?????? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
echo tcpdump date to an output | bsdnewbie999 | Programming | 8 | 8th April 2009 02:58 PM |
tcpdump package | bsdnewbie999 | OpenBSD Packages and Ports | 6 | 30th March 2009 05:24 PM |
tcpdump snaplen WARNING | bsdnewbie999 | OpenBSD General | 1 | 17th March 2009 03:24 AM |
Help with tcpdump file | brokensilence | General software and network | 2 | 10th July 2008 03:45 PM |