coolhand0
Goto Top

WinDump und dessen Aussgabe in eine Datei

Hallo zusammen,

aktuell beschäftigt mich ein eigentlich kleines Netzwerkproblem zwischen einem Webbrowser und einem Webserver. Zur automatischen Analyse der Fehler und auch zur statistischen Erfassung setzte ich bis jetzt auf WinDump. Mit folgendem Befehl habe ich die Packete jeweils eerfasst:

windump -i 4 -w c:\1.txt -n src host 10.20.3.13 and dst host 10.20.3.101 and tcp port 80

Ausgedeutscht also Erfassen der Pakete vom Interface 4 ins File c:\1.txt vom host 10.20.3.13 zum server 10.20.3.101 (wo Windump läuft) auf Port 80

Eigentlich funktiniert das weitgehend, ich bekomme nämlich dann das folgende Resultat :

e18b6f8a07bd5f7f3afeaf950f14a8da

Bei gewissen Anfragen in meiner speziellen Anwendung ist der String nach dem GET aber bedeutend länger und enthält einige Variablen welche ich gerne auswerten möchte, im 1.txt wird ein Teil der benötigten Variablen korrekt dargestellt, der Rest aber irgendwie kryptisch dargestellt (nach dem letzten %V), bzw. abgeschnitten:

0357bb870a261f26406407079701783a

Hat jemand eine Idee, an was das liegen kann?
Oder hat jemand eine bessere Idee, wie isch die Daten am einfachsten in ein File geschrieben bekomme, muss nicht zwingend WindUmp sein...?

Danke, Gruss Simon

Content-Key: 184371

Url: https://administrator.de/contentid/184371

Printed on: April 19, 2024 at 03:04 o'clock

Member: AndiEoh
AndiEoh May 02, 2012 at 14:53:26 (UTC)
Goto Top
Hallo

sieht so aus als ob windump ein tcpdump für Windows ist...

-s
Snarf snaplen bytes of data from each packet rather than the default of 68 (with SunOS's NIT, the minimum is actually 96). 68 bytes is adequate for IP, ICMP, TCP and UDP but may truncate protocol information from name server and NFS packets (see below). Packets truncated because of a limited snapshot are indicated in the output with ``[|proto]'', where proto is the name of the protocol level at which the truncation has occurred. Note that taking larger snapshots both increases the amount of time it takes to process packets and, effectively, decreases the amount of packet buffering. This may cause packets to be lost. You should limit snaplen to the smallest number that will capture the protocol information you're interested in. Setting snaplen to 0 means use the required length to catch whole packets.

Also sowas wie "-s 1600" als Parameter angeben.

Gruß

Andi
Member: Coolhand0
Coolhand0 May 02, 2012 at 15:21:07 (UTC)
Goto Top
Hello Andi,

genau nachdem habe ich irgendwie erfolglos gesucht, mit -s 200 läuft es nun perfekt.

Vielen lieben Dank
Simon