Comments (6)
Any chance that this patch (or something similiar) will be applied?
Scapy's Windows port would tremendously benefit from that.
We've been shipping our own patched pypcap version [1] for over a year now and
it
works nicely on Windows XP, but there are problems with Vista and I'd rather
point
our users to the official pypcap version.
Thanks again for developing this nice library.
Regards
Dirk
[1] http://trac.secdev.org/scapy/wiki/PypcapScapyWin
Original comment by [email protected]
on 19 Feb 2009 at 8:02
from pypcap.
Applied. I truly apologize for the delay. Jeez. Life.
Original comment by dugsong
on 15 Dec 2009 at 3:12
- Changed state: Fixed
from pypcap.
Thank you very much for the fix!
My patch had a little error: in the docstring for the pcap class (line 149)
"immediate=False, timeout_ms=None" should be switched to truly correspond with
pcap.__init__(). Maybe you'll want to change that.
Thanks again,
Dirk
Original comment by [email protected]
on 16 Dec 2009 at 8:37
from pypcap.
I did the change in the docstrings (also in the first line of the docstrings).
however this patch was a bit broken, you can see a new one checked in as r94 if
you are interested.
Original comment by [email protected]
on 13 Jul 2010 at 11:02
from pypcap.
[deleted comment]
from pypcap.
Yes, but if you check well in the code the select try to read on the
filedescriptor every 1 second. Why setting a timeout if it doesn't return
anything below 1 second ?
And plus from my C knowledge i think the timeout should be set in the for loop
and not outside.
I think this library need an heavy rewrite.
Original comment by [email protected]
on 12 Jul 2013 at 1:41
from pypcap.
Related Issues (20)
- PCAP on Python 2.7 HOT 12
- Building under Windows gets error HOT 8
- Problems with timeout_ms at least on Windows 7
- Installing on Win7 64-bit gives 'undefined reference to `__imp_Py_InitModule4' HOT 1
- Thread safety problem in pcap_ex_next()
- is dumping packets to a file supported ? HOT 2
- how to use pcap module
- [patch] Add dumpfile support
- Errot message: "TypeError: raise: exception class must be a subclass of BaseException " raised while executing test.py HOT 1
- upload the pypcap of python2.7 HOT 6
- timeout_ms less than 1 second is not supported
- Pypcap on Mac OS X and Python 2.7 HOT 1
- "couldn't find pcap build or installation directory" HOT 4
- Move pypcap to github HOT 1
- [deleted issue]
- AttributeError: 'pcap.pcap' object has no attribute 'inject' HOT 3
- comilation commands
- immediate = True is ignored
- pypcap depends from pcap-int.h which is internal pcap stuff and shouldn't be included (breaking build on some systems)
- error: no suitable device found
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 pypcap.