How to check if a connection is encrypted ?

Discussion in 'Mac Programming' started by XPcentric, Dec 11, 2010.

  1. XPcentric macrumors 6502

    Joined:
    Oct 16, 2008
    #1
    I want to test if the connection of my mobile phone is encrypted, especially when using google mail and google reader on mobile. So I can set up an access point on my mac and use this connection from my mobile to test.
    I only dont know how to check if the traffic is encrypted ?

    On the web interface, google mail is set to always use encrypted but I dont know if the same is true when using it from mobile. I also use google reader a lot on mobile and I only sign in once, and then no matter how many times I open the app, it remembers the username and password or there is a cookie to remain signed in.
     
  2. r00ky macrumors member

    Joined:
    Dec 9, 2010
    #2
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

    Setup an access point on your mac, connect your phone. Ensure all your webpages on your phone are using HTTPS, and not HTTP.

    Install a packet analyzer like Packet Peeper, Cocoa, Or Wireshark on your mac, and take samples while you transmit data with the Phone.

    Take a look at the packets and their headers, all should be unreadable.
     
  3. XPcentric thread starter macrumors 6502

    Joined:
    Oct 16, 2008
    #3
    thank you r00ky, its very useful what you just told me.

    I installed and I have lots to learn about how to read raw data, there are p ethernet header; ip header; tcp header payload;
    Quite a lot for a newbie, but I'll find a way.
     

Share This Page