Issue 84 in dpkt: Failed to unpack android .cap file

19 views
Skip to first unread message

dp...@googlecode.com

unread,
Feb 14, 2012, 8:39:40 PM2/14/12
to dp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

dp...@googlecode.com

unread,
Jun 16, 2013, 8:35:12 PM6/16/13
to dp...@googlegroups.com

Comment #1 on issue 84 by matrix....@gmail.com: Failed to unpack
i think you need at least 100 mbs

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dp...@googlecode.com

unread,
Dec 29, 2014, 12:32:57 PM12/29/14
to dp...@googlegroups.com
Updates:
Owner: kba...@in2void.com

Comment #2 on issue 84 by kba...@in2void.com: Failed to unpack
android .cap file
https://code.google.com/p/dpkt/issues/detail?id=84

This is not a bug in dpkt, but in the way replayproxy uses dpkt.
Reply all
Reply to author
Forward
0 new messages