473,379 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

pylibpcap and multiple threads

Hi All!

Sorry if this is not the correct forum for this kind of question (I did
not find any pylibpcap related lists).

I am trying to use pylibpcap to capture network traffic from several
ethernet devices at the same time, each nic having a separate thread
assigned to it.

My problem is that when one thread is blocking inside pcap.loop() for
instance, it seems to have acquired the GIL, so that no other threads
can run.

Does anyone know a way to do this with threads, or is the only way to
have separate processes for each NIC?

Regards,

Örjan Gustavsson

Jul 18 '05 #1
0 1055

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fabiano Sidler | last post by:
Hello Friends! How would you implement as parallel as possible sniffing with multiple pacpObjects? On my machine, I must create pcapObjects for two interfaces, but I don't want the others, for...
0
by: seberino | last post by:
I'm trying to learn pylibpcap and would //really// love to see a **simple** example that just works. Can someone *please* send me any little app that just captures packets with next() command...
1
by: Grant Edwards | last post by:
I've been using the pylibpcap extension module for several years, but I can't get it to build under 2.4: $ python setup.py build /usr/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence'...
0
by: Evan | last post by:
Hi, I'm a new hire with python program, I want to write script for changing/moniter/filter the network packet, it seems there are two extensions in python, pycap and pylibcap. I was confused,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.