Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 2, 2024
Hey, Pavel,

Thanks for the report!  I'll try to figure this out today and update the issue 
accordingly.

Can you tell me what version of PF_RING you have installed?

  --Graeme

Original comment by [email protected] on 16 Jun 2014 at 4:48

  • Changed state: Accepted

from gopacket.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 2, 2024
Hello!

I'm using latest stable version of PF_RING 6.0.1.

Original comment by pavel.odintsov on 16 Jun 2014 at 5:02

from gopacket.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 2, 2024
Hello again!

I suppose this bug related with pf_ring_open strange behaviour.

I added this code to my current working project 
(https://github.com/FastVPSEestiOu/fastnetmon):
printf("pf_handle: %p strerror: %s errno: %d\n", pf_ring_descr,
strerror(errno), errno);
pf_ring_descr = pfring_open(dev, snaplen, flags);
printf("pf_handle: %p strerror: %s errno: %d\n", pf_ring_descr,
strerror(errno), errno);

And got very strange  output:
pf_handle: (nil) strerror: Success errno: 0
pf_handle: 0x9d02e0 strerror: Operation not supported errno: 95

In gopacket/pfring code you relayed on errno variable but it consist invalid 
value. Maybe you can check only pf_ring_open() return value and do not check 
errno?

Original comment by pavel.odintsov on 16 Jun 2014 at 6:00

from gopacket.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 2, 2024
Hello!

This bug was in PF_RING library, developers approve it and fixed it. It's fixed 
now in svn version. I tried PF_RING version from subversion and all works fine 
for me :)


Original comment by pavel.odintsov on 16 Jun 2014 at 7:24

from gopacket.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 2, 2024
Thanks for the update.  Marking as fixed.

Original comment by [email protected] on 16 Jun 2014 at 7:27

  • Changed state: Fixed

from gopacket.

Related Issues (20)

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.