Skip to content

Engine: Service not running #3

Description

@faisalasghar

Before filing

  • I searched existing issues, including closed ones, and this is not a duplicate.
  • I am running the latest release, or I have noted below why I cannot.

Version

1.0.2

Operating system

windows 11

What happened?

i run this in powershell (admin mode) : ./Install-Service.ps1. it says "OpenNetLimit is installed and running.".
but when i run the OpenNetLimit.UI.exe, it keeps saying Engine: Service not running.
I asked ChatGPT, this is what it says:

The Windows service itself is running. The problem is that its packet-capture engine fails to start, so the UI correctly reports it as unavailable.
The log shows error 87 (“The parameter is incorrect”) when OpenNetLimit opens WinDivert’s Flow layer. The included driver files match the project’s published hashes, so this is not a corrupt download or an admin-rights problem.
This appears to be a bug in OpenNetLimit v1.0.2: its Flow handle is opened with only Sniff, but WinDivert requires Sniff + receive-only for that layer. [WinDivert’s documentation](https://reqrypt.org/windivert-doc.html) confirms those flags are mandatory; the current source shows the incomplete call at [WinDivertInterceptor.cs](https://raw.githubusercontent.com/SysAdminDoc/OpenNetLimit/main/src/OpenNetLimit.Engine/Interception/WinDivertInterceptor.cs).
Reinstalling will not resolve it. You’ll need an updated release from the project maintainer, or a rebuild with the Flow-handle flags corrected to include RecvOnly / ReadOnly alongside Sniff.

Steps to reproduce

  1. open powershell admin mode
  2. run ./Install-Service.ps1
  3. run the OpenNetLimit.UI.exe

Error output or logs

Screenshots

No response

Anything else

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions