Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.79k stars 259 forks source link

OMR-Bypass stopped working after upgrade to newest version #3460

Open serlowenbrau opened 1 month ago

serlowenbrau commented 1 month ago

Expected Behavior

omr-bypass should continue to route traffic through one wan or the other

Current Behavior

omr-bypass does not seem to have much effect at all. I have tried by domain, by ASN, by source IP address, by service. Streaming services and websites are showing "disable your vpn" to continue. I rebuilt my router from scratch after the upgrade to see if that would fix it, but that did not work.

This bit is occurring in the system log.
Jul 23 17:25:38 OpenMPTCProuter user.notice firewall.omr-server: Firewall reload, set server part firewall reloading Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:25:42 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:26:00 OpenMPTCProuter user.notice omr-schedule-010-services: Can't find omr-bypass rules, restart omr-bypass... Jul 23 17:26:00 OpenMPTCProuter user.notice omr-bypass: Starting OMR-ByPass... Jul 23 17:26:00 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:26:00 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:26:00 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:26:00 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_eth3_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter daemon.err dnsmasq[1]: nftset inet fw4 omr_dst_bypass_all_4 Error: No such file or directory Jul 23 17:26:01 OpenMPTCProuter user.notice firewall.omr-server: Firewall reload, set server part firewall reloading Jul 23 17:26:01 OpenMPTCProuter user.notice omr-bypass: Restart dnsmasq... Jul 23 17:26:01 OpenMPTCProuter daemon.info dnsmasq[1]: exiting on receipt of SIGTERM Jul 23 17:26:01 OpenMPTCProuter user.notice omr-bypass: OMR-ByPass is running

Possible Solution

I saw another issue where the source IP address rules were fixed. This is the main way I did it on the previous version... set the smart tv to a static address, then add a rule to bypass all traffic from that address. Do I need to download a version newer than 060-61?

Steps to Reproduce the Problem

  1. add omr-bypass rule
  2. test service
  3. gets error

Context (Environment)

I am running 2 wans through an old x86 computer that boots to openmptcprouter on a thumb drive.

After upgrading to the latest version, the omr-bypass rules do not seem to work.

Specifications

Ysurac commented 1 month ago

You can try snapshot release: https://github.com/Ysurac/openmptcprouter/wiki/Snapshots

serlowenbrau commented 1 month ago

Any idea about the "file not found" messages in the omr-bypass portions of the system log? Bad thumb drive?

On Wed, Jul 24, 2024, 1:41 PM Ycarus (Yannick Chabanois) < @.***> wrote:

You can try snapshot release: https://github.com/Ysurac/openmptcprouter/wiki/Snapshots

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/3460#issuecomment-2248574135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCZVVIJJTLUMOO45M6RCQTZN7RLHAVCNFSM6AAAAABLLGGTD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGU3TIMJTGU . You are receiving this because you authored the thread.Message ID: @.***>

Ysurac commented 1 month ago

Nothing to worry about, it's during omr-bypass restart due to dnsmasq configuration. You still have this in snapshot version ?

pbonnard commented 1 month ago

My two cents: was having issue also with OMR bypass not working since 0.60 ... So applied latest snapshot 0.61 kernel 6 .1 with full parameters reset, updated VPS script and now working ONLY for MAC address based bypass - not for service based (tested with mycanal and free) Using shadowsocks for proxy as I noticed shadowsocks-rust or V2RAY are causing admin script connection issue and breaks OMR bypass as well...

Ysurac commented 1 month ago

@pbonnard Can you open your own issues ? At least about proxy issues. All tests are first done with Shadowsocks-Rust, so this seems strange. For Services and domains OMR-ByPass, you must be sure that OMR IP is used as DNS.

pbonnard commented 1 month ago

@pbonnard Can you open your own issues ? At least about proxy issues. All tests are first done with Shadowsocks-Rust, so this seems strange. For Services and domains OMR-ByPass, you must be sure that OMR IP is used as DNS.

Ok thanks. I'm using Adguard Home as DNS so that's why...

serlowenbrau commented 1 month ago

I'll try the .61 snapshot with mac address option this weekend. Thank you both.

serlowenbrau commented 1 month ago

I haven't tried all the options, but source IP and mac address bypass are working in the new snapshot.