AllExperts > Java 
Search      
Java
Volunteer
Answers to thousands of questions
 Home · More Java Questions · Answer Library  · Encyclopedia ·
More Java Answers
Question Library

Ask a question about Java
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Neal Ziring
Expertise
Almost anything about the core Java platform, with an emphasis on networking. Not familiar with JDBC or the new Java graphics APIs. [Sun Certified Java Programmer, JDK 1.1]

Experience
Certified Java Programmer for JDK 1.1 and 2.0.
 
   

You are here:  Experts > Computing/Technology > Focus on Java > Java > Packet sniffing

Java - Packet sniffing


Expert: Neal Ziring - 10/31/2009

Question
I was testing my home network and I used a packet sniffer to capture packets on my network, but the problem is that I could not view the content of the packets because it was encrypted. How can I decrypt the packet so I can view its content or is there a programme which can capture encrypted packets and display it in plain text?

Answer
Tony,

It depends on what protocol was used for the encryption.
I'm afraid you haven't given me enough information to help you,
you haven't told me what encryption protocol you observed in your
sniffer.

In general, most encryption protocols used on the Internet are
deliberately designed to make it as hard as possible to
sniff and decrypt them.  Even if you know the keys used to
authenticate the connection (for example, knowing the private
key used by an SSL server) that still won't let you decrypt
the contents.

If you need to view the traffic in a sniffer, then your
best bet is to avoid using an encrypted protocol.  If that
can't work for your situation, you might be able to use
an encryption proxy.  A few such proxies exist for SSL, though
they aren't easy to find or use.  I don't know of any for SSH
or IPSec.  

Sorry I can't help more.

...nz  

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.