• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mail Data using packets

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi forum,

I am working on packet capturing, for this i used jpcap using this i am able to get the packet data and able to convert this stream in to string format.i am getting this data for all web sites which i can open in my browser.
but i have a problem with mail contents i.e. if i access the gmail of my account then there i perform actions like read ,delete ,send mails etc.
while in this process if i check my program i am not able to get any related data from the packets that i capture .
why i am not able to extract the data for these mails but i am able to extract the data for all sites as i said.
how can i get the packet data for mails . please assist me.

Thanking you in advance.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Gmail uses HTTPS; can jpcap handle that? You may wish to use a tool like WireShark that shows all traffic going in and out.
 
v kishore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply

But i try it while open the gmail in http instead of https but no luck...

Thank you.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Once Gmail is open, the AJAX communication may still use HTTPS. Have you looked at the traffic using WireShark?
 
v kishore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes i looked the traffic using wireshark ,
while using wireshark for gmail i found two protocols (tcp & tlsv1) , while using the following stream options there is a text but not clear as like http related sites.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
TLS means it's using HTTPS - so it's encrypted, and there's probably no way for jpcap to get at the cleartext.
 
reply
    Bookmark Topic Watch Topic
  • New Topic