-
Notifications
You must be signed in to change notification settings - Fork 7
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
Migration: openvpn device name lenght #1061
Labels
verified
All test cases were verified successfully
Milestone
Comments
gsanchietti
added a commit
that referenced
this issue
Feb 4, 2025
Previously, the limit was wrongly set to 17 #1061
Testing image version: 8-23.05.5-ns.1.4.1-51-gcbbc735 |
github-actions
bot
added
the
testing
Packages are available from testing repositories
label
Feb 4, 2025
Test case |
Confirm Fixed, tested with release Nsec 7.9: Nsec 8: root@ns79:~# uci show openvpn.ns_tunnel_.ns_name
openvpn.ns_tunnel_.ns_name='tunnel-sed'
root@ns79:~# uci show openvpn.ns_tunnel_.dev
openvpn.ns_tunnel_.dev='tuntunnel-seder'
root@ns79:~# ip a sh tuntunnel-seder
11: tuntunnel-seder: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
link/none
inet 10.19.189.1/24 scope global tuntunnel-seder
valid_lft forever preferred_lft forever
inet6 fe80::c377:bb1d:490b:392b/64 scope link stable-privacy
valid_lft forever preferred_lft forever
root@ns79:~# fw4 reload
Section ns_user_include specifies unreachable path '/etc/firewall.user', ignoring section
Automatically including '/usr/share/nftables.d/chain-pre/input/20-don.nft'
Automatically including '/usr/share/nftables.d/chain-pre/srcnat/20netmap.nft'
Automatically including '/usr/share/nftables.d/chain-post/dstnat/20netmap.nft' |
francio87
added
verified
All test cases were verified successfully
and removed
testing
Packages are available from testing repositories
labels
Feb 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While migrating OpenVPN tunnels, it has been observed that if the device name exceeds 16 characters, an error occurs in NFT. This issue prevents the proper startup of the service
Steps to reproduce
tunnel-uffici
Expected behavior
The VPN tunnel should be active and functioning correctly after migration.
Actual behavior
The VPN tunnel is imported with its name properly truncated in the
ns_name
property, but thedev
property of OpenVPN contains a device name that exceeds the maximum length of 16 characters.This leads to an error when
nft
attempts to apply the firewall rules:Components
NethSecurity version: 8-23.05.5-ns.1.4.1
The text was updated successfully, but these errors were encountered: