| |
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
|
|