New issue 84 by ebr...@google.com: Failed to unpack android .cap file
http://code.google.com/p/dpkt/issues/detail?id=84
What steps will reproduce the problem?
Trying to unpack the attached file I get the following error:
File "./replayproxy.py", line 278, in <module>
sys.exit(main())
File "./replayproxy.py", line 263, in main
nids.run()
File "./replayproxy.py", line 95, in reassembleTcpStream
processTcpStream(tcp)
File "./replayproxy.py", line 110, in processTcpStream
req = dpkt.http.Request(server_data)
File "/usr/lib/python2.6/dpkt/http.py", line 75, in __init__
self.unpack(args[0])
File "/usr/lib/python2.6/dpkt/http.py", line 130, in unpack
raise dpkt.UnpackError('invalid request: %r' % line)
What is the expected output? What do you see instead?
I see the exception mentioned above.
I will expect the pack to succeed.
What version of the product are you using? On what operating system?
Ubuntu Lucid
dpkt 1.7
Please provide any additional information below.
Im using dpkt through replayproxy.py
I capture the cap file from the android emulator
Attachments:
emuV3.cap 55.9 KB