[pull] master from oremanj:master#2
Open
pull[bot] wants to merge 38 commits intojakuta-tech:masterfrom
Open
Conversation
Modernize, add tests, allow Packet to outlive the callback it's passed to
- Add a pyproject.toml - Run black on Python code - Do a basic smoke test on Python 2.7, even though our test suite doesn't work there - Don't check in `netfilterqueue.c`, but do include it in the sdist
Misc CI and packaging updates
Release v0.9.0
Propagate exceptions raised by the user's packet callback -- fixes #31, #50 Warn about exceptions raised by the packet callback during queue unbinding Raise an error if a packet verdict is set after its parent queue is closed set_payload() now affects the result of later get_payload() -- fixes #30 Handle signals received when run() is blocked in recv() -- fixes #65
… calling unbind() from tp_dealloc; misc other cleanups
Fixes for several open issues
…cated netlink socket The chief use case for this is when `sockfd` was allocated in a different network namespace and passed to the current process over a UNIX domain socket or similar. It allows the current process to use netfilterqueue to manage traffic in a different network namespace.
Add a parameter NetfilterQueue(sockfd=N) for using an externally-allocated netlink socket
Make netfilterqueue a package and add type hints
Release v1.0.0
Check whether payload is NULL before accessing it in __str__
Add Packet accessors for interface indices
Release v1.1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )