★ wanayoo — archive 1999 https://github.com/kti/python-netfilterqueue/issues/23Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails when doing the callback with COPY_META #23

Open
jllorente opened this issue Dec 18, 2016 · 1 comment
Open

Fails when doing the callback with COPY_META #23

jllorente opened this issue Dec 18, 2016 · 1 comment

Comments

@jllorente
Copy link

@jllorente jllorente commented Dec 18, 2016

Hi,
I am trying to bind to an NFQUEUE configured with COPY_META only, as I only intend to retrieve the packet mark. I would think that maybe when a Packet() is created, we should indicate the operation mode of the queue somehow...

I'm using the latest version of the code :)

Exception ignored in: 'netfilterqueue.global_callback'
Traceback (most recent call last):
  File "netfilterqueue.pyx", line 69, in netfilterqueue.Packet.set_nfq_data (netfilterqueue.c:2193)
OSError: Failed to get payload of packet.
@jllorente jllorente changed the title Failed to receive packet with COPY_META Fails when doing the callback with COPY_META Dec 18, 2016
@strictlymike
Copy link

@strictlymike strictlymike commented Apr 26, 2017

Bump. I saw this too, last night, after updating my local copy. I think it's an important one because a lot of users might be able to get around the static buffer size by just copying/modifying/updating headers, but because this doesn't work, some users will need to modify the pyx file and recompile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.