Skip to content

opensnitch: 4 digit version breaks opensnitch-ui connection #418773

@chopper2000uk

Description

@chopper2000uk

Nixpkgs version

  • Unstable (25.11)

Describe the bug

The opensnitch package version 1.7.0.0 with 4 numbers used for both the git tag and the daemon/ui version number breaks the check_versions in opensintch-ui which expects 3 (major, minor, patch).

https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/service.py#L801

https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/utils/__init__.py#L285-L287

Also noticed the opensitch-ui package might be missing a small change:

sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/proto/ui_pb2*

https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/Makefile#L8

Steps to reproduce

Run opensnitch-ui --debug

No values are shown in status bar, i.e. Daemon version and all tabs are empty, except any loaded rules.

Reported as:

Ping exception: too many values to unpack (expected 3)

Expected behaviour

Show the information retrieved from opensnitchd.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.34, NixOS, 25.11 (Xantusia), 25.11.19700101.dirty
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • nixpkgs: /nix/store/dxc2swd4dhdxnxjiji62b1z0nb5sms0x-source

Notify maintainers

@onny @LordGrimmauld


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions