Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Mail Data using packets  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!