[Winpcap-users] Issues with Multiple NIC cards

Gianluca Varenni gianluca.varenni at cacetech.com
Wed Oct 18 16:13:01 GMT 2006


Srinivas,

it is definitely safe to capture from multiple cards (using for example a thread per card). The only function that is not thread safe is pcap_compile(), which uses some global variables to compile the filters. 

What is the exact reason for the crash? access violation? 
GV
  ----- Original Message ----- 
  From: Voora, Srinivas 
  To: winpcap-users at winpcap.org 
  Sent: Monday, October 16, 2006 2:53 PM
  Subject: [Winpcap-users] Issues with Multiple NIC cards


  Hi,



  I wanted to check if there are any issues running with multiple NIC cards (4 fiber optic cards). We have one thread for each card doing pcap_next_ex( handle, &header, &data ). The app crashes all of a sudden. The dump doesn't show any particular location other then it happens in the functions relating to the packet captures. This doesn't happen with one NIC card. We are using win pcap version 3.1.



  Thanks in Advance,

  Srinivas




        etalk, an Autonomy company
       
        Srinivas Voora
       
        Product Developer
       

       
        4040 West Royal Lane, Suite 100
       
        Irving, Texas  75063
       
        ph: 972.819.3212
       
        fax: 972.819.3300
       

       
        Srinivas.Voora at etalk.com
       
        www.etalk.com 
       
         
       
       

   



        CONFIDENTIALITY NOTICE: This communication and any files or attachments transmitted with it contain information that is confidential to the sender, privileged or exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed. If you are not the intended recipient(s), you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited; please do not read, copy, use or disclose the content of this communication to others. If you have received this communication in error, please forward it, in its entirety, to the network manager at administrator at etalk.com and delete it.  Thank you.
       



------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061018/6fbe0de1/attachment.htm


More information about the Winpcap-users mailing list