Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, I was wondering if anyone was aware of any way to deal with packet filtering/scheduling etc in Perl on a Windows machine ? Much like the libipq on Linux. But, not like winpcap that only 'sniffs' packets instead of queueing to usespace (I _do_ want to queue to userspace). Many thanks indeedy !

Replies are listed 'Best First'.
Re: packet schedule on Win32 in Perl
by BrowserUk (Patriarch) on Apr 24, 2011 at 11:41 UTC

    If you are on a modern version of windows (W2000/WS2003/WS2008/Vista/W7), then you do not need a 3rd party library in order to perform tcp/ip packet filtering. The functionality is built-in.

    I'm not aware of a Perl module to give you access to that functionality, but it can certainly be done via Inline::C, and you could write your own XS module to obtain access. It does require appropriate privileges.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re: packet schedule on Win32 in Perl
by Anonymous Monk on Apr 24, 2011 at 03:18 UTC
    No, win32 is special like that