Abdelhaq wrote:
>
> hi all,
> Tim cuold you be nice an telling mee (and others)
> how you make it possible for monitoring the browser's
> header when it makes it's request.
>
> Thanx ...
> Abdelhaq
Write a little perl program like this:
#!/usr/bin/perl
open(STDIN,"/usr/sbin/tcpdump -lnx -s 1024 |");
while(<>) {
if(/^\s+/) {
s/\s+//g;
s/([0-9a-f]{2})\s?/chr(hex($1))/eg;
s/\r\n/\n/g;
s/\r//g;
print;
}
}
Run the above code redirecting the output into a file.
Go to your favorite website with your browser. Once you
are there kill the program above and look at
its output. Depending on how your network is setup you
might see more then you should but you should see the
HTTP headers.
-Tim