Giter VIP home page Giter VIP logo

net-pcap's People

Contributors

corion avatar jrouzierinverse avatar kentfredric avatar maddingue avatar szabgab avatar twilde avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

net-pcap's Issues

doesn't support Mac OS X Yosemite

Hi

the error log is below:
t/17-lib_version.t ......... 1/2 # libpcap version 1.5.3 - Apple version 47

Failed test ' - checking version string (libpcap version 1.5.3 - Apple version 47)'

at t/17-lib_version.t line 17.

'libpcap version 1.5.3 - Apple version 47'

doesn't match '/^libpcap version (?:\d+.\d+(?:.\d+|[^\d.\s]+)?|unknown (pre 0.8))$/'

Looks like you failed 1 test of 2.

t/17-lib_version.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests

which seems that it's very easy to fix, just to modify your match regular expression.

Support for pcap_set_buffer_size ?

Hello,

According to the Net::Pcap doc, pcap_setbuff is available only on WinPcap library. However, it seems to me pcap function "pcap_set_buffer_size" achieve the same goal on UNIX plateforms.

At least this function is used by tcpdump to answer its -B parameter.

Is there any reason this function is not available on UNIX plateform in Net::Pcap ?

Maybe I could work on a patch if you are agree to include it in a future release ?

Thanks !

Tests fail on OSX Sierra

I get the following failure when running the tests on OSX Sierra:

#   Failed test ' - $err must not be null: syntax error in filter expression: syntax error'
#   at t/09-error.t line 25.
#                   'syntax error in filter expression: syntax error'
#     doesn't match '/^(?:parse|syntax) error$/'
# Looks like you failed 1 test of 10.

It appears that libpcap on OSX Sierra has changed the error messages it uses. Ignoring the test failures and installing the module seems to allow it to work correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.