Skip to content
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

BUG: Certain outbound rules stopped working in v4.0.1, the problem narrowed down to nekobox.exe module (Windows 11) #1540

Open
Yuri4264 opened this issue Dec 15, 2024 · 3 comments

Comments

@Yuri4264
Copy link

Yuri4264 commented Dec 15, 2024

Describe the problem

I am using a routing rule
{ "rules": [ { "domain_suffix": [ ".ru" ], "outbound": "direct" } ] }

It worked nicely up to and including v4.0-beta4.

Expected behavior: The domains ending with suffix .ru should be routed directly, bypassing VPN protocol.

Actual behavior: V4.0.1 sends the packets via the VPN path, that is, the traffic for sites like www.rbc.ru still goes through the VPN stream.

How to reproduce

To reproduce the bug you have to be in the .RU zone, of course, and use the rule shown above. I managed to narrow down the culprit to nekobox.exe module:
if you install V4.0.1 and then replace nekobox.exe with the previous version from the package v4.0-beta4 (nekobox.exe sized 3,315,712 bytes with timestamp 10/09/24 04:41am), everything works as expected re this rule.

Provide helpful screenshots, videos, text descriptions, subscription links, etc.

log

If you have logs, please upload them. Please see the detailed steps for exporting logs in the documentation.

@devopg
Copy link

devopg commented Dec 15, 2024

                "domain_suffix": [
                    "ru"
                ],

work fine
maybe problem with dot !?

@Yuri4264
Copy link
Author

Nope, this does not help either. I tried to remove dot, tested modified rule with nekobox.exe v4.0-b4 - works just fine, no difference, so v4.0-b4 does not care about dot.
Nekobox v4.0.1 does not work with both settings - with or without dot. The error I am getting while trying to connect to some *.ru site is "Error code: PR_END_OF_FILE_ERROR".

@Yuri4264 Yuri4264 changed the title BUG: Certain outbound rules stopped working in v4.0.1, the problem narrowed down to nekobox.exe module. BUG: Certain outbound rules stopped working in v4.0.1, the problem narrowed down to nekobox.exe module (Windows 11) Dec 16, 2024
@dtinside
Copy link

+1

Old rules from 3.x version don't work in 4.0.1.

Example


        {
            "domain": [
                "regexp:.*\\.ru$"
            ],
            "outboundTag": "direct",
            "type": "field"
        },

Get Error on startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants