Commit graph

1083 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
e60756d58b
Update Known-problems.md 2021-06-14 12:47:27 +02:00
Gustavo Iñiguez Goia
d076f78af1
Create Rules-examples.md 2021-06-11 13:16:47 +02:00
Gustavo Iñiguez Goia
baaa20a818
Update _Sidebar.md 2021-06-11 12:38:47 +02:00
Gustavo Iñiguez Goia
92d9e11e22
Update FAQs.md 2021-06-11 01:52:36 +02:00
Gustavo Iñiguez Goia
a5aebfbbe3
Update Configurations.md 2021-06-11 01:44:25 +02:00
Gustavo Iñiguez Goia
40f3141ec8
Update Known-problems.md 2021-06-11 01:33:06 +02:00
Gustavo Iñiguez Goia
9022c42aa5
Update FAQs.md 2021-06-11 01:10:32 +02:00
Gustavo Iñiguez Goia
88dafe027d
Update block-lists.md 2021-06-07 17:57:09 +02:00
Gustavo Iñiguez Goia
881088c950
Update Adding,-updating-and-installing-new-translations.md 2021-06-02 16:40:23 +02:00
Gustavo Iñiguez Goia
d351b4ce41
Update Installation.md 2021-05-28 01:08:22 +02:00
Gustavo Iñiguez Goia
ae74bfc241
Update Installation.md
#421
2021-05-23 01:08:16 +02:00
Gustavo Iñiguez Goia
87afe9387b
Update Rules-editor.md 2021-05-19 22:08:19 +02:00
Gustavo Iñiguez Goia
109554fb53
Update Known-problems.md 2021-04-29 18:58:11 +02:00
Gustavo Iñiguez Goia
761edbdec4
Create block-lists.md 2021-04-23 21:15:24 +02:00
Gustavo Iñiguez Goia
2e53e536ca
Update _Sidebar.md 2021-04-23 18:42:01 +02:00
Gustavo Iñiguez Goia
6792b3ffa5
Update Installation.md 2021-04-13 22:25:35 +02:00
Gustavo Iñiguez Goia
e36de5c690
Update Why-OpenSnitch-does-not-intercept-application-XXX.md 2021-04-07 01:14:59 +02:00
Gustavo Iñiguez Goia
8dba7ae8af
Merge pull request #395 from 0verk1ll/patch-1
I fixed a few typos and grammatical errors.
2021-04-03 01:23:00 +02:00
overkill
5b75a092ef
I fixed a few typos and grammatical errors. 2021-04-02 16:15:57 -04:00
Gustavo Iñiguez Goia
e437b20754
Merge pull request #390 from kortschak/wiki-install
Clarify installation links in home page
2021-04-01 12:41:22 +02:00
Dan Kortschak
4aced28c79
Clarify installation links in home page 2021-04-01 10:05:34 +10:30
Gustavo Iñiguez Goia
28ee155be0
Update Known-problems.md 2021-03-19 17:49:15 +01:00
Gustavo Iñiguez Goia
6703ad4933
Merge pull request #360 from themighty1/wiki
go 1.11 gives compilation errors, go 1.12 compiles ok
2021-02-28 10:00:08 +01:00
themighty1
df46cf1edf go 1.11 gives compilation errors, go 1.12 compiles ok 2021-02-28 11:26:34 +03:00
Gustavo Iñiguez Goia
37746f62bc
Merge pull request #358 from themighty1/wiki
update compilation instructions
2021-02-24 21:00:14 +01:00
themighty1
8e49ef3f5f update compilation instructions 2021-02-24 22:54:27 +03:00
Gustavo Iñiguez Goia
2693d150b4
Merge pull request #351 from themighty1/wiki
add Footer and explain how to submit changes to the wiki.
2021-02-15 19:48:53 +01:00
themighty1
8e7e0a2dce add Footer and explain how to submit changes to the wiki. 2021-02-15 20:44:39 +03:00
Gustavo Iñiguez Goia
3c87288914
Merge pull request #349 from themighty1/wiki
add wiki
2021-02-15 10:41:26 +01:00
themighty1
955ed45f2c add wiki 2021-02-14 22:04:12 +03:00
Gustavo Iñiguez Goia
510a351053 ui, rules: replace rules received from the daemon
We added UPSERTS, to update the time of a rule when a connection matched
that rule.

However UPSERTS in SQLite weren't introduced until v3.24.x, thus it
causes errors on older versions (like the ones shipped with Ubuntu
16/18).

On the other hand, we need to replace the rules once we receive them
from the daemon, to reflect on the GUI any change made on the rules by hand.

More info: #344
2021-02-13 19:55:47 +01:00
Gustavo Iñiguez Goia
f0384fb7e5 deb: fixed debian/changelog 2021-02-13 18:19:11 +01:00
Gustavo Iñiguez Goia
2599c784ac
Merge pull request #347 from themighty1/go_vet_fixes
minor fixes to prevent go vet from complaining
2021-02-13 18:09:50 +01:00
themighty1
1d23e73566
test for activepids.go (#345)
* test for activepids.go

* test file

Co-authored-by: themighty1 <you@example.com>
2021-02-13 18:07:51 +01:00
themighty1
41172b65e5 minor fixes to prevent go vet from complaining 2021-02-13 19:18:38 +03:00
Gustavo Iñiguez Goia
5e1a398bc6
Merge pull request #341 from tioguda/translation
Update Brazilian Portuguese translation
2021-02-10 21:58:22 +01:00
Gustavo Iñiguez Goia
d33cf8b8ba Bump version to 1.3.6 2021-02-10 20:17:02 +01:00
Gustavo Iñiguez Goia
7995d7b5db ui, pop-up: fixed expanding labels
In some KDE versions, the cmdline and args labels of a process were not
being expanded properly.
2021-02-10 01:08:28 +01:00
Gustavo Iñiguez Goia
2d907142cd ui: added pause state icon
When the user pauses the interception from the events window, update the
systray icon as well. Otherwise it looks like the interception is on.

- #339
2021-02-08 16:41:52 +01:00
Gustavo Iñiguez Goia
3a5ee13caa ui, prompt: improved showing app path and args
The pop-ups display 3 labels:
 - The name of the app (Firefox, aMule, Chromium, etc)
 - The path of the binary (/usr/bin/telnet)
 - The cmd line that was typed or executed (telnet 1.1.1.1)

The app name is always displayed. If we haven't found the app for a
given connection, "Unknown process" is displayed".

The app path is where the binary is located, and the app arguments is
the cmd line that wsa typed by the user, or executed by a process.

So for example, if you execute: telnet 1.1.1.1, the user wouldn't know
what is the path of the application. Someone could have faked it, thus
it's useful to display path to the binary.

On the other hand, if you execute /usr/bin/telnet.netkit 1.1.1.1, the
binary path is already part of the cmdline, so there's no need to show
that information to the user.
2021-02-08 00:50:01 +01:00
Gustavo Iñiguez Goia
1e45a4c98b tests: fixed TestLookupPidInProc
We expect to find at least one process that its inode 1 points to
/dev/null. The returned pid shouldn't be -1.
2021-02-06 15:29:24 +01:00
Gustavo Iñiguez Goia
95e4afac8e ui: fixed configuring rules default duration
Default duration was not set properly on the first run, defaulting to
allow/deny connections always "once", until it was changed by the user.
2021-02-06 12:48:46 +01:00
themighty1
af9c17ceb8
maintain a cache of struct Process for currently active PIDs (#342)
* maintain a cache of struct Process for currently active PIDs
decreases PID lookup time from ~100usec to ~5usec

* Update activepids.go

remove import "os"

Co-authored-by: themighty1 <you@example.com>
2021-02-06 11:30:59 +01:00
tioguda
3b750f71ca
Update Brazilian Portuguese translation 2021-01-30 05:54:54 -03:00
Gustavo Iñiguez Goia
b0e50f2f11
Merge pull request #340 from themighty1/nfmark_keep
preserve nfmark when NF_ACCEPT'ing packets
2021-01-27 11:57:59 +01:00
themighty1
ff6ede0557 preserve nfmark when NF_ACCEPT'ing packets
Mullvad VPN uses an nfmark on packets when establishing a connection with their VPN servers.
If we don't preserve the nfmark, the connection will never be established.
2021-01-25 11:50:57 +03:00
Gustavo Iñiguez Goia
ee76b9c6b9 ui, stats: order rules by name by default
- orders rules by name, but if the user orders the rules by others
  columns keep it.
- fixed updating nodes when reconnecting.
2021-01-25 01:24:25 +01:00
Gustavo Iñiguez Goia
37f91bb3dc ui: improved rules section
request #334:
- added context menu: clone
- added context menu: edit
- added context menu: enable/disable
- clicking on any cell selects the row, instead of only a cell.
- removed internals fields of a rule in the rule's details view
- fixed displaying rules by nodes, type, etc, after clicking on the left
  panel.

- don't allow to edit rules that are of unknown type
  (simple, regexp, network, list).
2021-01-23 00:11:40 +01:00
Gustavo Iñiguez Goia
a6afb9571b ui: fixed displaying node stats, rules timestamp
- Use unixnano field when inserting rules to the DB, instead of the time
  when it's actually inserted.
- Fixed displaying local node stats with linuxmint's python3-grpcio
  (1.16.x)
2021-01-22 15:56:56 +01:00
Gustavo Iñiguez Goia
b4672830cd fixed regexp rules exceptions
- ui, ruleseditor: added missing operator when using a regular
  expression on the DstIP/Net field.
- daemon, rules: ensure that regular expressions are of type string
  before evaluating them.

reported here: #333
2021-01-17 16:45:28 +01:00