Hi All, I have captured packets over network for some time, I have a big file by now . Now I want to save all the packets to or from a IP into separate file,because I don't need remaining . I used (ip.addr eq XX.XX.XX.XX) filter but it taking so much time in filtering and analyzing. Any help in this would be appriciated. Thanks, Kris. asked 19 Jan '11, 00:34 Kris |
3 Answers:
This is what I would do:
You should end up with one file containing only the filtered IP. Hope it helps. answered 19 Jan '11, 06:19 Jasper ♦♦ |
You can also use tcpdump (or WinDump if you are using Windows). It is quicker as it does not do full dissection of each packet. This is was you would be using:
answered 21 Jan '11, 12:51 SYN-bit ♦♦ Thanks SYNbit for the info, this is very helpful where I can filter out the packets while capturing itself. (23 Jan '11, 20:39) Kris If you run tcpdump on a network card instead of reading from file (leave out the "-r <infile>" part from Sake's answer) you should be doing just that. You might have to specify the network card if you've got multiple of them. (25 Jan '11, 09:29) Jasper ♦♦ |
You have several options:
answered 19 Jan '11, 05:52 Jaap ♦ |
Thanks Jasper, you solved my issue.