[Winpcap-users] Can I Filtering Outbound Traffic??

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Mar 19 14:38:59 PDT 2009


You need to open the adapter with pcap_open(), and use the flag 
PCAP_OPENFLAG_NOCAPTURE_LOCAL

http://www.winpcap.org/docs/docs_41b5/html/group__remote__open__flags.html

This flag is valid only from Windows 2000 on.

Have a nice day
GV


----- Original Message ----- 
From: "Satoshy" <satoshy86 at libero.it>
To: "winpcap-users" <winpcap-users at winpcap.org>
Sent: Thursday, March 19, 2009 12:10 PM
Subject: [Winpcap-users] Can I Filtering Outbound Traffic??


> Hi to all,
>
> sorry for my bad bad english.
> However, i have a problem. I have implemented a program that receive 
> packets with pcap_loop, and, after some operation on the packet, it resend 
> the packet on the net.
> But when send the packet with pcap_sendpacket, this packet will be receved 
> again, and it generate a loop.
>
> So, there is a method to not receive packet genereted by 
> pcap_sendpacket???
>
> tnx a lot!
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list