Commit Graph

31 Commits

Author SHA1 Message Date
Joshua Oreman 9f460d220a Check whether payload is NULL before accessing it in __str__ 2022-04-19 08:01:36 -07:00
Joshua Oreman c03aec2e88 Release v1.0.0 2022-01-14 13:25:29 -07:00
Joshua Oreman e1e20d4aba Don't install _impl.c 2022-01-14 13:11:17 -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 305b258a48 Fix CI, make COPY_META mode work 2022-01-13 17:19:28 -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 8d3193f384 Release v0.9.0 2022-01-12 23:45:51 -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 9587d75aff Modernize, add tests, allow Packet to outlive the callback it's passed to 2022-01-11 21:28:21 -07:00
Matt Fox 3fa8a3860b Update CHANGES 2017-01-30 23:44:23 -08:00
Matt Fox 496694a502 Update version to 0.8.1 2017-01-30 23:40:48 -08:00
Matt Fox 27cd73f7ca Update to 0.8 2016-12-15 01:34:19 -08:00
Matt Fox a8efde1ab5 Version update reminder in setup.py 2016-06-28 00:19:08 -07:00
Matt Fox a2f2feec63 Bump version to 0.7 2016-06-28 00:03:15 -07:00
Matt Fox f425c49eac Change setup.py classifier from beta to stable. Aww yeah. 2016-06-27 23:57:58 -07:00
Matt Fox a6d0e8d57f Update license in setup.py to match LICENSE.txt, which was updated 5 years ago. ¯\_(ツ)_/¯ 2016-06-27 23:56:35 -07:00
Matt Fox 7e2c4df98f Update author email. 2016-06-27 23:52:50 -07:00
Matt Fox e4e8516d45 Merge branch 'master' of git://github.com/lilydjwg/python-netfilterqueue into lilydjwg-master
Conflicts:
	netfilterqueue.c
2016-06-27 20:10:26 -07:00
wimkerkhoff 53a55fd588 Merge pull request #1 from fqrouter/master
set_payload has been implemented
2015-06-01 09:26:37 -07:00
lilydjwg a008498677 compatible with Python 3 2015-05-16 15:26:11 +08:00
Matthew Fox 093a129e42 Update setup.py author email 2014-04-04 16:57:25 -07:00
Fen Qin 6b8be8a5ec add get_mark 2013-04-15 11:30:35 +08:00
Fen Qin 26ff0e7844 add repeat to packet; release 0.5 2013-04-03 19:55:51 +08:00
Fen Qin 3b62cd55ad release the forked 0.4 version 2012-12-24 11:24:23 +08:00
Matt Fox be8ddc6219 Specify any callback, no more use by inheritance
Change version to 0.3.0
Update and bugfixes in readme.rst
2011-10-14 14:14:25 -07:00
Matt 9e167c1c4b Update version to 0.2. 2011-05-13 09:26:13 -07:00
Matt Fox d1e9232b8a Various packaging updates and bugfixes 2011-05-12 14:08:37 -07:00
Matt Fox e816d9a802 Fix readme filename in setup.py 2011-05-12 13:49:22 -07:00
Matt Fox 09a000ac50 Initial commit 2011-05-12 13:45:14 -07:00