Eydeet
0
Hi, Ich habe ein Problem, was ich irgendwie nicht ganz verstehe.
Bei diesem Befehl:
tcpdump host 192.168.0.100 and tcp port 80 -s 1024 -A | egrep '(GET /|^Host: )'
bekomme ich diese Ausgabe, wenn ich google.de besuche:
Wenn ich allerdings versuche, die Ausgabe in eine Datei umzuleiten, landet nichts in der Datei, und die Ausgabe sieht etwa so aus:
Hat vielleicht jemand 'ne Ahnung woran das liegen könnte?
Mein Betriebssystem ist Debian, meine Bash-Version 3.2-4, tcpdump: 3.9.8-4
Bei diesem Befehl:
tcpdump host 192.168.0.100 and tcp port 80 -s 1024 -A | egrep '(GET /|^Host: )'
bekomme ich diese Ausgabe, wenn ich google.de besuche:
Code:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 1024 bytes
...%>b..GET / HTTP/1.1
Host: www.google.de
13 packets received by filter
0 packets dropped by kernel
Wenn ich allerdings versuche, die Ausgabe in eine Datei umzuleiten, landet nichts in der Datei, und die Ausgabe sieht etwa so aus:
Code:
# tcpdump host 192.168.0.100 and tcp port 80 -s 1024 -A | egrep '(GET /|^Host: )' > dump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 1024 bytes
^C59 packets captured
59 packets received by filter
0 packets dropped by kernel
Hat vielleicht jemand 'ne Ahnung woran das liegen könnte?
Mein Betriebssystem ist Debian, meine Bash-Version 3.2-4, tcpdump: 3.9.8-4