Sniffing/capturing tcp data connection in Linux Thursday, Nov 29 2007
Linux capture, Linux, port, sniff, tcp, tcpflow 6:47 pm
When debugging my wapsite, I want to know the header from mobile HTTP request.
It’s said from some mobile-operator, they’ll include msisdn info on HTTP header.
Now tcpflow come to rescue ^^
Just type “tcpflow -ci <your-ethernet> port <port-number>”
for example “tcpflow -ci eth0 port 80″
It’ll print on console all the request to port 80 ![]()
December 1, 2007 at 6:51 am
do you realy see, the msisdn in the http header
December 3, 2007 at 10:33 am
Yes, actually some operator include the MSISDN info in the header.
Not all operator & header name is different between operators.
For example (here in Indonesia) you can check with operator XL.
So if you can make your wapsite recognize the MSISDN. But don’t forget to check the IP (is it really from operator), because HTTP header is easy to manipulate.