dowright
f8aee622ad
work on new packet
2022-04-16 11:51:06 -07:00
dowright
d155639127
work on new packet
2022-04-16 11:51:06 -07:00
dowright
5a15325f1a
work on new packet
2022-04-16 11:51:06 -07:00
dowright
7c9a98ea70
work on new packet
2022-04-16 11:51:06 -07:00
dowright
35f6e27051
work on new packet
2022-04-16 11:51:06 -07:00
dowright
52409031f9
work on new packet
2022-04-16 11:51:06 -07:00
dowright
505f6daf2c
work on new packet
2022-04-16 11:51:06 -07:00
dowright
3e37a8aec8
work on new packet
2022-04-16 11:51:06 -07:00
dowright
88268f4f8f
work on new packet
2022-04-16 11:51:06 -07:00
dowright
5d874fe3a7
work on new packet
2022-04-16 11:51:06 -07:00
dowright
4d89c30aed
work on new packet
2022-04-16 11:51:05 -07:00
dowright
7fe1d0c5bc
work on new packet
2022-04-16 11:51:01 -07:00
dowright
5af79a5303
type adjustments and bug fixes.
2022-04-16 11:50:58 -07:00
dowright
05be56c487
type adjustments and bug fixes.
2022-04-16 11:50:55 -07:00
dowright
27c1dbb735
adding derivative works license.
2022-04-16 11:50:37 -07:00
dowright
a34cf60724
fixed function args.
2022-04-16 11:21:37 -07:00
dowright
005f246285
formatting changes, removed some py2 compatibility, added support for get_indev, get_outdev, nf_queue verdict. NOTE: has not been fully tested at this time.
2022-04-16 11:21:37 -07:00
Joshua Oreman
a3dedaea57
Merge pull request #80 from oremanj/release-v1.0.0
...
Release v1.0.0
2022-01-14 13:31:55 -07:00
Joshua Oreman
69436c1328
Bump version to 1.0.0+dev post release
2022-01-14 13:31:43 -07:00
Joshua Oreman
c03aec2e88
Release v1.0.0
2022-01-14 13:25:29 -07:00
Joshua Oreman
ebeb8a7337
Merge pull request #79 from oremanj/packagify
...
Make netfilterqueue a package and add type hints
2022-01-14 13:14:22 -07:00
Joshua Oreman
e1e20d4aba
Don't install _impl.c
2022-01-14 13:11:17 -07:00
Joshua Oreman
db80c853ba
Fix stub
2022-01-14 13:01:43 -07:00
Joshua Oreman
541c9e7648
Switch back to _impl and fix names
2022-01-14 12:58:56 -07:00
Joshua Oreman
1cbea513e6
Make netfilterqueue a package and add type hints
2022-01-14 01:04:51 -07:00
Joshua Oreman
a935aadb5f
Merge pull request #78 from oremanj/external-fd
...
Add a parameter NetfilterQueue(sockfd=N) for using an externally-allocated netlink socket
2022-01-13 18:19:52 -08:00
Joshua Oreman
6faaa7fe35
Add docs
2022-01-13 19:16:00 -07:00
Joshua Oreman
53e2db3cd2
Add a parameter NetfilterQueue(sockfd=N) for using an externally-allocated 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.
2022-01-13 19:06:48 -07:00
Joshua Oreman
6fb345ee17
Merge pull request #77 from oremanj/fixes
...
Fixes for several open issues
2022-01-13 16:27:14 -08:00
Joshua Oreman
c7fd3e5485
Fix CI on 3.8+
2022-01-13 17:25:29 -07:00
Joshua Oreman
305b258a48
Fix CI, make COPY_META mode work
2022-01-13 17:19:28 -07:00
Joshua Oreman
62da18ee37
Document and test remaining attributes/methods; fix PyPy tests by not calling unbind() from tp_dealloc; misc other cleanups
2022-01-13 17:09:51 -07:00
Joshua Oreman
2c782b9619
CI fixes
2022-01-13 03:21:24 -07:00
Joshua Oreman
0187c89611
Fixes for several open issues
...
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
2022-01-13 03:14:43 -07:00
Joshua Oreman
ddbc12a6ab
Merge pull request #76 from oremanj/release-v0.9.0
...
Release v0.9.0
2022-01-12 22:55:58 -08:00
Joshua Oreman
8d3193f384
Release v0.9.0
2022-01-12 23:45:51 -07:00
Joshua Oreman
ed4a63d033
Merge pull request #75 from oremanj/ci-updates
...
Misc CI and packaging updates
2022-01-12 20:01:03 -07:00
Joshua Oreman
a5578d3122
Misc CI and packaging updates
...
- 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
2022-01-12 19:56:51 -07:00
Joshua Oreman
afcee0d9bf
Merge pull request #74 from oremanj/updates
...
Modernize, add tests, allow Packet to outlive the callback it's passed to
2022-01-11 22:41:45 -07:00
Joshua Oreman
c2d7ce868a
Suppress warning harder
2022-01-11 22:39:30 -07:00
Joshua Oreman
ba0e8bee0e
Suppress warning again + update README
2022-01-11 22:36:13 -07:00
Joshua Oreman
99c13b3d8f
Improve & test error handling
2022-01-11 22:01:53 -07:00
Joshua Oreman
e7d451098b
Use an actual warning, and avoid it in CI
2022-01-11 21:45:58 -07:00
Joshua Oreman
5d1d123be0
Use newer Cython when building
2022-01-11 21:37:22 -07:00
Joshua Oreman
efcf94c277
Fix package name
2022-01-11 21:31:30 -07:00
Joshua Oreman
a53c4d0b7e
Make ci.sh executable
2022-01-11 21:30:24 -07:00
Joshua Oreman
9587d75aff
Modernize, add tests, allow Packet to outlive the callback it's passed to
2022-01-11 21:28:21 -07:00
Matt Fox
ec2ae29066
Merge pull request #47 from yangyinqi/nfq-dev
...
Adapt to new cython
2018-12-13 14:52:30 -08:00
yangyinqi
2600a1bf8e
Adapt to new cython
2018-12-04 00:04:09 +08:00
Matt Fox
3fa8a3860b
Update CHANGES
2017-01-30 23:44:23 -08:00