<div dir="ltr">Hi,<div><br></div><div>I'm familiar with wireshark, but i'm working on software which uses winpcap for recording and parse the packets by itself, so i'm looking for a way to do that with code.</div>
<div><br><br><div class="gmail_quote">2011/11/2 j.snelders <span dir="ltr"><<a href="mailto:j.snelders@telfort.nl">j.snelders@telfort.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Tal,<br>
<br>
Wireshark<br>
<a href="http://www.wireshark.org/docs/wsug_html_chunked/ChCapCaptureOptions.html" target="_blank">http://www.wireshark.org/docs/wsug_html_chunked/ChCapCaptureOptions.html</a><br>
Go to:<br>
Capture | Options<br>
<br>
Section Capture File(s)<br>
File: define an outputfile<br>
Select:<br>
- Use multiple files<br>
- Next file every 25 megabyte(s)<br>
- Next file every 1 hour(s)<br>
Hit Start<br>
<br>
<br>
TShark<br>
<a href="http://www.wireshark.org/docs/man-pages/tshark.html" target="_blank">http://www.wireshark.org/docs/man-pages/tshark.html</a><br>
tshark -i 3 -a duration:3600 -a filesize:25000 -a files:3 -w test-a.pcap<br>
<br>
Best regards<br>
Joke<br>
<div><div></div><div class="h5">On Wed, 2 Nov 2011 19:58:23 +0200 Tal Attaly wrote:<br>
>Hi,<br>
><br>
>How can i make an automatic 'split' of the recorded file, so the recording<br>
>will be saved in multiple files? (For example- start record to a new file<br>
>as soon as the current file exceeds 25 MB / 60 minutes past)<br>
><br>
>Thanks a lot,<br>
>Tal<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
</blockquote></div></div></div>