Network sniffer in Python [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm trying to find a good and stable network packet sniffer in python, that allows me to do exactly the as I used to with tcpdump.
I found this pycap but it does not seem to be that stable... Another options would be Scapy but it does not handle reassembling TCP streams.
Any other options? Or am I wrong about pycap?

If you're worried about the stability of other python based packages, you can use python's ctypes library to dynamically load in libpcap.so.
You can find out more on using libpcap.so over here while the ctypes documentation is here.

Take a look at PyShark. It allows you to sniff specific interface continuously.

Related

Is there another streaming video tools? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I like to stream a video in the internet,and I search to find some streaming tools to help me in this manner. I can find one open source dvblast
Now, Is there another open source or paid tools can help me?
Is there any python package to do this?
**hint : I want to use It for stream video like TV shows.
You can use something like:
1)http://www.iis.net/downloads/microsoft/smooth-streaming
2)http://www.ffmpeg.org/ffserver.html
3)http://www.videolan.org/vlc/
that vlc use dvblast!

Add python function to c++ program [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
If I have a program in c++, can I add my own function my_fun() written in Python to this program? Is any simple tutorial how can I do that? I found some suggestions about boost and built-in functions, but I can't find how add my own function
There is information in the Python documentation about embedded Python in C++ programs.
Here is the Python 2 version of the documentation and here is the Python 3 version
Without knowing how simple or complex my_fun is - the "very high level embedding" might be sufficient for your needs.

Send SMS Messages using Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I found an interesting post to send sms using python. I didn't check the possibility of this. Glad to get your comments on using smtplib for sending sms.
Any way I need to use an open source gateway like kannel for sending sms. Can this code be modified to use with Kannel or else please let me have some good tutorials to use Kannel for sending sms using python.

XMPP server in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking hard but I cannot find any XMPP server in python with the following features:
using epoll, just like http://www.gevent.org/
supporting BOSH
modular design
use little RAM/CPU for up to 1000 users
more important than the previous requirement: the CPU/RAM usage must be predictable
Prosody looks quite good feature-wise, but I don't know how many users it can support simultaneously and how it is performance-wise.
Could someone give me an idea?
For a rough idea of how Prosody is performance-wise, see this post on their ML. https://groups.google.com/d/topic/prosody-users/SlXpfwJfgY4/discussion
xmpp.org uses Prosody, any other questions? :P
btw, if you want to toy with it a little, you can always run prosody using luajit (didn't test that myself, but I'm fairly sure it would work). Expect at least 2-4x faster execution.
Look # ejabberd too.

Does anyone know a "working" Python library that can read .ARC files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
An ARC file is a lossless data-compression format.
http://en.wikipedia.org/wiki/ARC_%28file_format%29
I've tried googling some, but the Python ARC readers are 404 errors, or cannot be found.
Anyone know of any library I can use?
If you are able to use SWIG then possibly the ARC source code from FreeBSD could be used. Or you could have a look at the source, and perhaps reimplement it in Python. I remember ARC and it did not last very long as a popular tool so I suspect that it is not overly complex.

Categories