Comments (4)
Please, add your OS, python version, and full code sample.
from kamene.
My OS is Ubuntu 14.04, I am using Python 3.4
Im basically using the exact same snippet from the readme except for another filename (which works otherwise when reading with rdpcap):
with PcapReader('filename.pcap') as pcap_reader:
for pkt in pcap_reader:
#do something with the packet
from kamene.
I just did clean install using pip3 on Ubuntu 14.10, python 3.4 and it worked nicely.
Can you repeat it on another host? Are you sure everything is ok with python library environment (e.g. you are sure it is loading scapy-python3 you installed via pip3)?
One more variable is pcap file you use, but I cannot see how it could create error message like that.
from kamene.
Alright i finally had the time to concern myself with this again. I simply uninstalled the pip version and afterwards cloned the repo and installed it. Has worked fine! Thank you for your effort, i appreciate it!
from kamene.
Related Issues (20)
- converting a TCP packet with SAckOK option to a byte sequence fails
- SMTP connection problems
- how to set IP packet "options"?
- I encounter an error when I use the scapy-python3 in PyCharm(Windows) HOT 3
- ValueError: Unknown network interface 'wifi' on windows 10
- release 0.24 renamed module to scapy3k HOT 5
- Exception is thrown on sprintf("%TCP.flags%") with NS flag set HOT 2
- AttributeError: module 'pyx' has no attribute 'canvas' HOT 2
- DNS packet print() error HOT 3
- support for read and write pcapng will be added? HOT 3
- help required HOT 2
- compatibility with Anaconda HOT 18
- installation related help HOT 2
- help required HOT 7
- traceroute and mtr fail with NoneType' object has no attribute 'route'
- AttributeError 'NoneType' object has no attribute 'encode'
- kamene.bat will fail when the path including spaces
- WARNING: No IPv4 address found on en0 ! with MacOS HOT 1
- HTTP Layer HOT 1
- DNS - rdata field full payload not delivered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kamene.