-
Notifications
You must be signed in to change notification settings - Fork 232
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
Linux NFTables Support in fwknop #107
Comments
Thanks for the suggestion. This will definitely be added to fwknop and the other cipherdyne.org projects as well. |
With the new command open/close cycle stuff, I think integrating with NFTables will be easy. |
are there any news on this issue? |
any news? |
I'll poke at this as well, it's blocking our deployment. |
Perhaps it's not as easy as originally expected. 😐 |
Wow, it's been 8 years and nothing? |
9 years already |
I think it may be possible to use a custom script that takes the I think this is possible because this option It's kind of a "hack" to get it working this way, as one would probably have to write up their own script and have some checks in place so that the rule would work correctly with the current nftables ruleset. EDIT: Oh wait, the EDIT2: So I 'm guessing fwknop uses the first valid EDIT3: So it looks like one can set the EDIT4: It appears that fwknopd expects to work with output from |
10 years, is this going to be fixed or we look for alternatives to fwknop ? |
Yeah that's become critical.. |
I heard wireguard has similar feature of not revealing itself unless the package with right key arrives. |
Speaking of wireguard for openwrt low powered devices particularly, some time ago I had success with this project: |
@mrash Some additional context for consideration regarding prioritising #107 over #285.
Have you had brief look at iptables to nftables migration instructions yet ? Helpful for scoping some of the change(s) needed. |
I suspect that fwknop can support nft as it stands today with the "command cycle" feature. Here is an example of getting fwknop to work with ipset even though ipset is not "directly" supported in the same way as iptables/pf/ipfw: https://www.cipherdyne.org/fwknop/docs/fwknop-tutorial.html#spa-with-ipset |
Yes! The following major Linux distributions continue to distribute
The following Linux distributions hint at an eventual
@mrash No doubt In the meantime, would you consider the following as a suitable short term course of action for a growing list of
|
@davidandreoletti you took it off my tongue, I was thinking about this approach too. |
@davidandreoletti maybe you could create a separate issue for that where we could share the info? |
The current issue is the right spot for it as:
|
@mrash (ping) |
@mrash if you have no more time/interest to support the project, better let us know earlier than later |
I'm not sure why y'all would need the author to list the iptables commands in the code, or update the docs. The code's right there for you to look at and submit a PR. |
@akerl every project should have a maintainer(s). If there is no maintainer any more, it should be declared publicly. |
I hacked together my own solution for using nftables instead of iptables. Maybe it is of help to someone. I dont take any responsibility if this may do something it was not intended to do. That being said, I am sorry for my poor scripting skills. Almost certainly someone can do it better or improve WARNING: Before you do all of this on a live system, take care that you can log into your system without using ssh with port 22, because that is switched of here. This works for me on debian12 as root user.
|
NFTables, which is a new packet filter subsystem for the Linux kernel, has been pulled in to the git tree for the Linux 3.13 build. NFTables is on-track to replace the tried-and-true iptables system.
This issue is to request that, when NFTables is pushed in to mainline, support be added to fwknop.
I'm not sure what systems/kernels you have access to for development purposes, but if needed I should be able to provide a system with nftables / Linux 3.13
The text was updated successfully, but these errors were encountered: