Issue 135 in dpkt: Contents of the pkt is cut

15 views
Skip to first unread message

dp...@googlecode.com

unread,
Nov 12, 2014, 3:18:01 PM11/12/14
to dp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 135 by vinifa...@gmail.com: Contents of the pkt is cut
https://code.google.com/p/dpkt/issues/detail?id=135

What steps will reproduce the problem?

file_in=open('C:\snooperPort.pcap','rb')
for ts, pkt in dpkt.pcap.Reader(file_in):
eth = dpkt.ethernet.Ethernet(pkt)
ip = eth.data
tcp = ip.data
data = tcp.data
print data
print len(pkt)

What is the expected output? What do you see instead?

I expected the file "print expected" attached, but I saw the file "print
watched steps above" attached.


What version of the product are you using? On what operating system?
dkpt-1.8, python 2.7. Win 8.1 (eclipse IDE)

Please provide any additional information below.

Why the packets that I am seeing is been cutted with 1506 of length?

I would like to get whole packet with all xml. After that I will parse it.

best regards,

Attachments:
print expected.txt 3.3 KB
print watched steps above.txt 10.2 KB

--
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,
Jun 9, 2015, 4:17:29 PM6/9/15
to dp...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 135 by kba...@in2void.com: Contents of the pkt is cut
https://code.google.com/p/dpkt/issues/detail?id=135

See https://github.com/kbandla/dpkt/issues/161
Reply all
Reply to author
Forward
0 new messages