August 2014

not able to filter host

I want to filter capture based on host name and i am passing "host google" to setfilter method but i am not able to filter.the filter compiling is failing and i am getting unknown host i doing anything wrong,i am using windows 8.please help me with this.
thanks in advance.

HTTPS traffic to HTTP with server private key


Can I create a HTTP packet from a HTTPS packet?

I know decrypt the traffic, but I'm not sure about what is the information I need decrypt.

I tried next one, but it didn't work:

byte[] data = packet.getByteArray(0, packet.size());
byte[] decryptedData = decrypt(data);

PcapPacket p = new PcapPacket(decryptedData);

Any help is usefull. Thanks in advance Smile