Sniffing/capturing tcp data connection in Linux
by jimmy on Nov.29, 2007, under Linux
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
Related posts:
December 1st, 2007 on 6:51 am
do you realy see, the msisdn in the http header
December 3rd, 2007 on 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.