Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8b9029a
ui: make the protobuffers importable without Qt
suinswofi Aug 14, 2026
fcfb75e
ui: move the rule constants to a module that doesn't need Qt
suinswofi Aug 14, 2026
beb88a6
ui: move the operand builders out of the pop-up
suinswofi Aug 14, 2026
9d14a77
ui: don't require Qt to collect the tests
suinswofi Aug 14, 2026
50a02d2
cli: add the configuration and the review queue
suinswofi Aug 14, 2026
196bd80
cli: add the service and the policy for unreviewed connections
suinswofi Aug 14, 2026
d92f951
cli: add the interactive review
suinswofi Aug 14, 2026
8c45c9a
cli: add the opensnitch-cli command
suinswofi Aug 14, 2026
75e7aab
cli: add tests
suinswofi Aug 14, 2026
a6ba2e5
cli: deny unreviewed connections by default
suinswofi Aug 14, 2026
09ab28f
cli: match the executable too when the command line can't be trusted
suinswofi Aug 14, 2026
2aabf3d
cli: record when each node was last seen, and tidy up
suinswofi Aug 14, 2026
e8d261c
cli: document installing, using and checking opensnitch-cli
suinswofi Aug 14, 2026
ec43f98
cli: stop describing the package split as unfinished work
suinswofi Aug 14, 2026
970cf85
cli: refuse to start when something else already serves the socket
suinswofi Aug 14, 2026
15123fd
cli: survive the daemon restarting
suinswofi Aug 14, 2026
5a0f249
cli: one approval settles everything the new rule covers
suinswofi Aug 14, 2026
b480142
cli: fix rule name collisions, outbox starvation, TCP node identity a…
suinswofi Aug 15, 2026
5e23719
cli: add rule delete, enable and disable
suinswofi Aug 15, 2026
25435d3
cli: agree on what online means, show the daemon version, warn on an …
suinswofi Aug 15, 2026
4622e71
cli: accept --config, --db and --log-level after the subcommand too
suinswofi Aug 15, 2026
c05c713
cli: add undo, and pending --decided to find what to undo
suinswofi Aug 15, 2026
953dbf0
cli: let undo take a rule name as well as a queue id
suinswofi Aug 15, 2026
4b02059
cli: never cut a rule name short, and accept a unique prefix of one
suinswofi Aug 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ui/bin/opensnitch-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
#
# Copyright (C) 2026 The OpenSnitch Authors
#
# This file is part of OpenSnitch.
#
# OpenSnitch is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenSnitch is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenSnitch. If not, see <http://www.gnu.org/licenses/>.

import sys

from opensnitch.cli.main import main

if __name__ == '__main__':
sys.exit(main())
Loading