mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-10-15 13:52:15 +00:00
[GH-ISSUE #3125] [Selfhosted][Linux Mint] No traffic after connection established LIKELY AFTER kernel and package updates #1448
Open
opened 2026-10-13 20:42:39 +00:00 by bsakaguchi
·
9 comments
No Branch/Tag specified
dev
feat/api-tests
feat/otp-login
fix/show-locked-xray-settings-page-for-servers-without-write-access
fix/serialize-log-record-writes-and-pin-log-date-format-locale
fix/libagw-review-fixes
fix/ios-xray-ipv6-leak
fix/macos-xray-ipv6-leak
feat/add-support-include-split-tunnel
fix/win-xray-app-split-tunneling
fix/bug-when-saving-after-canceling
fix/xray-reconnect-crash
fix/share-empty-config-on-ssh-timeout
fix/ssh-credentials-input
fix/updater-verify-signature
fix/async-ssh-threading
fix/xray-check-inet-and-liveness-monitor
fix/selfhosted-server-installations
feat/add-support-ikev2-macos
fix/icons-different-color-themes
feat/add_support_arm_windows
feat/add-deep-link
feat/fixed-push-notifications-on-VPN-connect-disconnect-2
feat/implement-QR-code-generation-and-scanning
feat/file-password-protection
feature/add-local-proxy
feat/add-support-split-tunnel-macos
feat/tests
fix/android-register-unacknowledged-purchase
fix/share_on_linux
mirroring-to-outside
feat_copy_docker_configs
feat/self-diagnostics-log
feat/amnezia-free-vless-switch
fix/conan_build_android_on_win
fix/linux-reconnect-dns-reliability
fix/windows-connection-stability
fix/linux-reconnect-refactoring
fix/ios-groupidentifier-order
feat/xray-subscription-link
fix/minor-fixes
fix/xray-config-inplace-edit
feat/amnezia-sdk-typed-api
feat/amnezia-sdk-integration
feat/force-update-native
refactor/marketplace-update-popup
feat/force-update
fix/valnurability_dev
chore-xcode-version
fix/empty-i1-i5
build_qt_6_10_1
master
feat/protocol-selection
fix/openvpn_install
feat/locations_change
feat/locations_change_rework
feature/local-proxy-integration
fix/filepicker_atv
fix_valnurability
fix/macos-ne-codesign-4.8.19.0
temp-branch-for-testing
fix/rebased_4_8_19_linux_fix_error
feat/proxy-storage-cache
fix/zeroed-params
fix/killswitch-blocknets-linux
update/translation_RU
fix/self_hosted_reinstall_error
feat/selfhosted-dns
fix/agp_version_up
feat/switch_to_alive_protocol
feat/support_multipeer
server_scripts_update
fix/extended-vless-configuration
chore/apple-ci-cd-macos-versions
feat/add-telemt
fix/android_keystore_read_error
feat/add-mtproxy
chore/bump-qt-version
fix/make_dbus_async
feature/dns
rebase/apple-tv-target-on-conan
fix/outbound_freedom_xray_with_dns_fix
feat/apk_support
feat/fallback-proxy
feat/apple-tv-target
fix/dns_reconnection_issue
feat/fixed-push-notifications-on-VPN-connect-disconnect
fix/linux-firewall
docker-regional-locks
appstore-review-popup
feat/storekit2
fix/uninstall-split-tunnelling-driver
revert-2376-chore/license-file
support_16kb_android
bump_version
feat_add_review_android
bugfix/translation-absence-on-subscription-key-page
feat/location-separation-by-region
bugfix/text-moving-when-resing-window
fix_backup
feature/add-purchase-android
bugfix/moved-text-while-resizing-window
bugfix/incorrect-killswitch-restore-from-backup
fix/backup-exclude-secondary-api-configs
feat/proxy-fields-for-dev-console
bugfix/ovpn-ios-fix
bugfix/linux-bundle-libraries
fix/xray-app-split-win
fix/upload-to-s3
chore/add-release-date-upload
feat_add_webview_support
feature/configuration-transfer-through-qr
feat/bot-key-unlink-device
fix/ad-link-lang-support
fix/qsecuresettings-with-android
feat/add-support-arm64-win
spanish-translations
fix/context-menu
feat/add-system-dns-support
fix/qt6-9-support
fix/qt6_9_support
bugfix/strict-killswitch-ui
android-7
chore/minor-bugfixes
feature/awg-net-fix-macos-wakeup
fixbug/ios18
bugfix/ios-ne-crash
fix/linux-tray-quit-button
cryptpad-support
bugfix/disable-linux-killswitch
fix/minor-ui-fixes
feature/setup-guid-tun2socks
feature/linux-ipsec
feature/ipsec-linux
refactoring/server-config-in-classes
feature/macos-ipsec
fix/ui-fixes-after-merge-with-d20ed4a
chore/focus_control_after_qt_6.9_migration
feature/integrate-xray-as-a-library
maxos-awg-fix
feature/add-new-awg-docker-image
chore/update-3rd-prebuild
feature/test-news
fix/api-conf-files
bugfix/split-tunneling-with-api-config
bugfix/ios-awg-new-fields
feature/special-handshake-2
feat/xray-api-support
fix/desktop-entry
bugfix/shadowsocks-cipher-setting-not-changing
feature/update-tap
bugfix/openvpn_import_fix
feature/ability-to-change-port-after-installing-xray
bugfix/strict-mode-ovpn
bugfix/win-ipv6-ovpn
bugfix/subnet-adress-setting
exception-podman-docker
bugfix/fix-listviewtype-scrolling
bugfix/win-disabled-ipv6
bugfix/win-ipv6-disabled-ovpn
feature/killswitch-strict-mode
feature/awg-network-check
feature/empty-split-tunneling-list
feature/support-info
chore/update-go-version
checking-Linux-version
update_server_scripts
bugfix/button-selection-easy-setup-page
feature/old-api-proxy
patch/user-checking
fix/correcting-version
support-podman
support_podman
user-checking-patch
feature/check-docker-version
feature/allowed-dns-list
without_lsof
chore/error-body
Update-amneziavpn_ru_RU
shiroow-patch-8
shiroow-patch-7
shiroow-patch-6
shiroow-patch-5
shiroow-patch-4
shiroow-patch-3
shiroow-patch-2
shiroow-patch-1
check_sudo_permissions
feature/euphoria
add_next_octet_to_ip_settings
bugfix/mobile-controllers-init
euphoria
bugfix/android-crush
feature/macox-network-extension
bugfix/pre-release-hotfixes
bugfix/ipsec-pfs
chore/ios-site-links
checking_sudo_permissions
feature/android-tv
improve_navigation_cpp
bugfix/linux-firewall-install
fixbug/wireguard-handshake-time
ReadmeRu_full
feature/xray-user-management
feature/subscription-end-date
chore/clang-format
feature/ru-in-readme
chore/increased-api-timeout
chore/deploy-workflow
bugfix/services-list-scroll
wheel_group_suppor
chore/bump-xcode-version
fixbug/mac-network-extension
feature/android-gpb
feature/page-home-drawer-country-selection
checking-sudo-users
bugfix/service-info-from-response
fixbug/build-macos-ne-2
android-qt-6.7.3
fixbug/build-macos-ne
bugfix/wg-windows-log-folder
feature/psk-key-api-request
bugfix/user-management-qml-warnings
fix/macos-network-extension
fixbug/macos-NE-build
bugfix/fixed-isDevEnv-initialization
bugfix/revert-ios-ovpn
feature/tun2socksSrv
fix/disable_singleapp
feature/awg-wg-name-resolving
feature/disable-dhcp
bugfix/allowed-ips-old-configs
feature/goodbyedpi
feature/add-exception-log
refactoring/remove-ipv6-from-default-routes
refactoring/singleapplication-submodule
macos-dirty-build
test/gateway
Update-amneziavpn_fa_IR.ts
bugfix/ipsec-win
fix/xray-custom-port
improve-tab-navigation
test-win-11
feature/android-tv-remote-control-support
KsZnak-patch-1
feature/awg-wg-qr
bugfix/fix-loopback-splittunel
fix/setup_host_firewall
feature/android-xray
feature/openvpn-pass
feature/connection-string
fix/clickable-errors
bugfix/api_1100_fix
feature/graphview
testsvg
feature/update-win-awg
feature/open-as-amnezia
feature/update-mozilla-upstream
bugfix/qr-code-cutting
feature/native-wg-psk
test/awg-centos
bugfix/hide_error
feature/add-uninstaller-checkbox
bugfix/cancel-button-on-install-page
bugfix/anchors-page-home-warning
awg-udptlspipe
button-focus-fix
revert-677-fix/logger
bugfix/Revert_PR_596
bugfix/allowed-ips-api-configs
bugfix/on-escape-pressed
feature/auto-scroll-for-server-selection-list
fix/ui-fixes
translations/update_fa_IR.ts
feature/new-awg-docker-container
bugfix/awg_ipv6_fix
feature/tab-navigation
fix/username-no-autocapitalization
sure
refactoring/servers-model-cleanup
feature/wg-mtu-setup-ios
3rd_adaptation_to_diff_OS
sudo_not_found
test/docker-ce
bugfix/double_clear_server_from_amnezia
fix/android
client/3rd-prebuilt
revert-559-KsZnak-translation-ru-ex
KsZnak-translation-ru-ex
KsZnak-br1
KsZnak-text-change
feature/api-awg
feature/error-code-output
feature/win_x32_builds
text/debug-output
feature/ovpn3-desktop-cli
bugfix/secureqsettings-deadlock
refactoring/change-settings-when-connected
files_check
ArchLinux-support
second_adaptation_to_diff_os
sudo
refactoring/android-build
adaptation_to_different_os
feature/online_installer_for_v4
update_to_r2
bugfix/return-after-installation
feature/custom_drawer_component
bugfix/split-tunneling
bugfix/existing-awg-container
revert-370-feature/custom_drawer_component
bugfix/adapted_awg_questiondrawer
bugfix/updated_drawer_height_pageserverdata
bugfix/translated_new_source_strings_to_chinese
feature/split-tunneling-config
feature/accessibility-support
branch_connectivity_change_fix
feature/ikev2_android
android_ss_transport
bugfix/macos_fixes
feature/nextcloud-support
feature/macos_network_extension
android_pt_transport_source
feature/ios-openvpn3-pluggable-transport-Cloak
bugfix/cloak_for_desktops_fix
arm-build-macos
fix-macos-build-brew
bugfix/ios-build-openvpnadapter-from-source
feature/download-native-wireguard-config-on-connect
feature/v2ray-container
bugfix/dpkg-busy-checking-stuck
feature/online-installer
dev-killswitch
dev-netadapters
5.0.3.0
5.0.2.1
5.0.2.0
5.0.1.5
5.0.0.5
5.0.0.2
4.8.21.0
4.8.19.0
4.8.18.0
4.8.17.0
4.8.16.0
4.8.15.4
4.8.15.0
4.8.14.5
4.8.14.1
4.8.12.9
4.8.12.8
4.8.12.7
4.8.12.6
4.8.11.4
4.8.11.3
4.8.11.2
4.8.11.1
4.8.11.0
4.8.10.0
4.8.9.2
4.8.9.1
4.8.9.0
4.8.8.3
4.8.8.2
4.8.8.1
4.8.7.2
4.8.7.1
4.8.7.0
4.8.6.0
4.8.5.0
4.8.4.5
4.8.4.4
4.8.4.3
4.8.4.2
4.8.4.1
4.8.4.0
4.8.3.2
4.8.3.1
4.8.2.3
4.8.1.9
4.8.1.0
4.8.0.5
4.7.0.0
4.6.0.3
4.6.0.1
4.5.3.0
4.5.0.0
4.4.0.0
4.3.0.0
4.2.1.0
4.2.0.1
4.1.2.0_cloak_pt_experimental
4.1.0.1
4.0.8
3.1.0
3.0.8
3.0.7
3.0.5
2.1.2
2.1.0
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.1
2.0
1.9.1
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
No labels
pull-request
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-client#1448
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jhaoda on GitHub (Sep 4, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3125
Describe the bug
AmneziaVPN 5.0.0.5 and 5.0.2.0 stopped working on Linux Mint 22.3 with XRay and AmneziaWG 3.1 protocols, LIKELY AFTER kernel and package updates.
The application successfully establishes a VPN connection (creates a tun2 interface and shows "Connected" status), but traffic does not pass through the tunnel. At the same time, on Linux Mint 22.2, Windows 11, and Android 15, the same version of the application works correctly with the same XRay protocol settings.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Websites and ping should work through the VPN connection
Log files
On the machine with Linux Mint 22.2, the log looks similar, except for one line:
Desktop (please complete the following information):
Additional context
The following packages were updated:
Вот список пакетов, отсортированный по алфавиту, в формате Markdown:
containerd.io(2.3.4-1~ubuntu.24.04~noble→2.3.4-2~ubuntu.24.04~noble)dirmngr(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)docker-buildx-plugin(0.36.1-1~ubuntu.24.04~noble→0.37.0-1~ubuntu.24.04~noble)docker-ce(5:29.7.2-1~ubuntu.24.04~noble→5:29.8.0-1~ubuntu.24.04~noble)docker-ce-cli(5:29.7.2-1~ubuntu.24.04~noble→5:29.8.0-1~ubuntu.24.04~noble)docker-ce-rootless-extras(5:29.7.2-1~ubuntu.24.04~noble→5:29.8.0-1~ubuntu.24.04~noble)docker-compose-plugin(5.5.0-1~ubuntu.24.04~noble→5.5.1-1~ubuntu.24.04~noble)firefox(154.0.1+linuxmint1+zena→155.0+linuxmint1+zena)firefox-locale-en(154.0.1+linuxmint1+zena→155.0+linuxmint1+zena)firefox-locale-ru(154.0.1+linuxmint1+zena→155.0+linuxmint1+zena)gnupg(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gnupg-utils(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gnupg2(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)google-chrome-stable(152.0.7977.64-1→152.0.7977.82-1)gpg(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gpg-agent(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gpgconf(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gpgsm(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)gpgv(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)keyboxd(2.4.4-2ubuntu17.4→2.4.4-2ubuntu17.6)libgcrypt20(1.10.3-2ubuntu0.1→1.10.3-2ubuntu0.2)libssh2-1t64(1.11.0-4.1ubuntu0.24.04.3→1.11.0-4.1ubuntu0.24.04.4)linux-firmware(20240318.git3b128b60-0ubuntu2.29→20240318.git3b128b60.0ubuntu3.1)linux-firmware-amd-graphics(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.2)linux-firmware-amd-misc(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-broadcom-wireless(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-intel-graphics(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-intel-misc(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-intel-wireless(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-marvell-prestera(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-marvell-wireless(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-mediatek(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-mellanox-spectrum(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-misc(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-netronome(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-nvidia-graphics(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-qlogic(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-qualcomm-graphics(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-qualcomm-misc(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-qualcomm-wireless(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-firmware-realtek(20240318.git3b128b60-0ubuntu3.1→20240318.git3b128b60-0ubuntu3.1)linux-generic-hwe-24.04(7.0.0-30.30~24.04.1→7.0.0-31.31~24.04.1)linux-headers-7.0.0-31-generic(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)linux-headers-generic-hwe-24.04(7.0.0-30.30~24.04.1→7.0.0-31.31~24.04.1)linux-hwe-7.0-headers-7.0.0-31(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)linux-hwe-7.0-tools-7.0.0-31(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)linux-image-7.0.0-31-generic(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)linux-image-generic-hwe-24.04(7.0.0-30.30~24.04.1→7.0.0-31.31~24.04.1)linux-modules-7.0.0-31-generic(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)linux-tools-7.0.0-31-generic(7.0.0-31.31~24.04.1→7.0.0-31.31~24.04.1)openssh-client(1:9.6p1-3ubuntu13.18→1:9.6p1-3ubuntu13.19)How likely is it that the issue is caused by the updates? What other information should I provide to more knowledgeable specialists?
@Roman-Romanov97 commented on GitHub (Sep 4, 2026):
i have a same problem
@HeisLuka commented on GitHub (Sep 8, 2026):
This looks very likely related to #3090 / #3052 rather than to one particular Mint/kernel package.
The most interesting difference in the report is:
working Mint 22.2:
Gateway 10.10.10.1 for interface wlp0s20f3
failing Mint 22.3:
<no Gateway ... line>
Current dev still uses the fixed-size Linux implementation of:
NetworkUtilities::getGatewayAndIface()
with:
constexpr int BUFFER_SIZE = 8192;
and accumulates the complete RTM_GETROUTE multipart dump into that buffer.
#3090 already has a confirmed reproduction where a sufficiently large route table causes exactly this lookup to return no gateway/interface. PR #3052 addresses that by parsing netlink datagrams incrementally instead of depending on a fixed total dump size.
A very quick way to confirm whether #3125 is the same failure would be to compare:
ip -4 route show table all | wc -l
ip -6 route show table all | wc -l
on the working Mint 22.2 and failing Mint 22.3 installations.
Also useful before connecting:
ip route get
There is another correctness issue in the current XRay startup path that makes this failure appear as Connected.
On Linux, Xray::startXray() does:
gatewayAndIface = NetworkUtilities::getGatewayAndIface();
m_defaultIfaceName = defaultIface.name().toUtf8();
but an empty interface is not treated as startup failure.
The socket callback only installs:
SO_BINDTODEVICE
SO_MARK
when m_defaultIfaceName is non-empty.
So the current state machine can become:
default gateway discovery failed
-> XRay starts anyway
-> XRay sockets are not bound/marked for physical underlay
-> tun2socks starts
-> routing setup completes
-> UI reports Connected
-> actual data path is unusable
That suggests two independent fixes:
A. Fix getGatewayAndIface()
(#3052 removes the fixed netlink-dump limit)
B. Do not treat missing required underlay identity as
successful XRay full-tunnel startup
In other words, on Linux:
XRAY_CONNECTED
=>
physical uplink discovered
AND XRay outbound sockets have the required underlay binding/mark
AND tunnel routing setup succeeded
not merely:
xray process started
AND tun2socks stack started
I would add two regression cases:
expected:
gateway/interface still discovered
XRay underlay binding installed
connection may reach Connected
and:
expected:
explicit retry/error/readiness state
forbidden:
empty uplink
+ unbound XRay sockets
+ Connected
This would also make the UI symptom much less misleading even for gateway-discovery failures unrelated to the fixed-buffer bug.
If the route counts on the Mint 22.3 machine are above the #3090 threshold, I think this issue can probably be treated as another reproduction of the same root cause.
@jhaoda commented on GitHub (Sep 9, 2026):
@HeisLuka
@HeisLuka commented on GitHub (Sep 9, 2026):
Thanks — the route counts change the picture quite a bit.
With 29 IPv4 routes and no IPv6 routes on Mint 22.3, the specific >8 KiB overflow reproduced in #3090 is unlikely to be the cause here. However, the missing
line still strongly suggests that
NetworkUtilities::getGatewayAndIface()is returning an empty gateway/interface.There is another suspicious property of the current netlink receive loop that does not require a large route table: after each
recv()it checks only the firstnlmsghdrin that received datagram forNLMSG_DONE/NLMSG_ERROR, and only parses all headers later. A netlink datagram may contain multiplenlmsghdrmessages, includingNLMSG_DONEafter route messages. If the kernel's batching differs between the two systems, the current loop can potentially miss the terminator and continue into a timeout/failure even though the dump is well below 8 KiB. #3052's incremental per-datagram parsing would remove this failure mode as well, independently of the buffer-overflow fix.Could you please capture the following before connecting Amnezia, on both the working Mint 22.2 machine and the failing Mint 22.3 machine?
And one more command using the actual IP address of the XRay server as the destination, for example:
Replace
203.0.113.10with the real XRay server IP.My previous
<xray-server-ip>placeholder appears to have been swallowed by GitHub's rendered Markdown, which is why copying the rendered command resulted in justip route get.The comparison should tell us whether:
If the route tables look equivalent, testing a build with #3052 would be especially useful even though this machine is below the #3090 overflow threshold.
@jhaoda commented on GitHub (Sep 9, 2026):
@HeisLuka
Mint 22.3 (non-working)
Mint 22.2 (working)
@HeisLuka commented on GitHub (Sep 9, 2026):
Thanks, this is very useful.
The new data makes the system routing itself look normal on both machines:
ip route get <XRay server IP>points totun2on both machines.So the important difference still seems to be inside Amnezia: on Mint 22.3
NetworkUtilities::getGatewayAndIface()appears to return an empty uplink even though the kernel route is perfectly valid.That would also explain the XRay symptom: if
m_defaultIfaceNameis empty, the XRay socket callback does not applySO_BINDTODEVICE/SO_MARK, but XRay is still allowed to start and the client can reachConnected.At this point the >8 KiB overflow from #3090 looks unlikely, but the current netlink receive loop still has another possible failure mode: it checks
NLMSG_DONE/NLMSG_ERRORonly on the firstnlmsghdrreturned by eachrecv(). If Mint 22.3 batches route messages andNLMSG_DONEdifferently, the function could miss the terminator and fail even with a small route table.#3052 parses every
nlmsghdrin every received datagram, so it should also eliminate that failure mode.If possible, could you test a Linux build with #3052 on the Mint 22.3 machine?
The most useful result would be whether this line comes back:
and whether XRay traffic starts working again.
If that happens, #3125 would be a very strong reproduction of the same
getGatewayAndIface()parser problem, but through netlink message batching rather than the 8 KiB overflow.@jhaoda commented on GitHub (Sep 9, 2026):
@HeisLuka sorry, but I don't have the knowledge to build app.
@jhaoda commented on GitHub (Sep 10, 2026):
@izhddm hmm, it's very interesting. Yesterday
ip -6 route show table all | wc -lshowed 0, and today it shows 68.Yes, it's buffer overflow:
I disabled IPv6 in the Docker daemon config, stopped Docker, restarted NetworkManager, started Docker, and the number of routes dropped from 72 to 68, but that's still a lot.
ip -6 route show table all
On the machine with Min 22.2 the situation is as follows:
I suspect I'm one step away from Amnezia possibly stopping working on this machine too, if I deploy something else in Docker?
@jhaoda commented on GitHub (Sep 10, 2026):
Yep, I deleted a couple of Docker stacks on Mint 22.3 and Amnezia started working!
@izhddm @HeisLuka Huge thanks for the help, guys, I would never have looked into routing!