Gustavo Iñiguez Goia
d0dbaa1d6e
EnableHighDpiScaling only if qt version >= 5.6.0
...
It was addded in 5.6 version
https://doc-snapshots.qt.io/qtforpython/PySide2/QtCore/Qt.html
2019-12-03 23:11:50 +01:00
Gustavo Iñiguez Goia
77ec831119
Allow to view details of a rule/process from General tab
...
In the General tab, clicking on an item of the column Rule or Process open the
details about that item.
2019-12-03 22:33:03 +01:00
Gustavo Iñiguez Goia
36f8b27770
Allow to view details of a rule/process from General tab
...
Clicking on an item of the column Rule or Process open the details about
that item.
2019-11-27 00:33:22 +01:00
Gustavo Iñiguez Goia
77018a82a1
EnableHighDpiScaling only if qt version >= 5.6.0
...
It was addded in 5.6 version
https://doc-snapshots.qt.io/qtforpython/PySide2/QtCore/Qt.html
2019-11-25 21:41:25 +01:00
Gustavo Iñiguez Goia
39a3820ea7
Limit the number of connections on the main tab.
...
With ~500k logged connections the app becomes unresponsive.
This way it minimizes a bit the high usage impact, but
definitely there's a limitation on this side, how many
events are we going to log?
It needs to be tested, but the same should be applied for the rest of
the tabs, and provide a search field and < > operands to navigate
records.
2019-11-24 01:12:35 +01:00
Gustavo Iñiguez Goia
3e0b239d8f
Display the app window when there's no system tray available
...
Like in some gnome-shell setups.
2019-11-23 23:56:15 +01:00
Gustavo Iñiguez Goia
911593e55a
Prefer domains over IPs as default option to block/allow
2019-11-22 21:32:10 +01:00
Gustavo Iñiguez Goia
b2cc0eb164
Reset advanced rules check properly
...
In the future the state could be saved to the settings.
2019-11-21 22:12:28 +01:00
Gustavo Iñiguez Goia
891a3a4211
Fixed typo in tipPortsLabel
2019-11-20 18:51:49 +01:00
Gustavo Iñiguez Goia
cc27be2bae
Added initial support for advanced rules (lists)
...
Probably not the best UI, just the one I came up with.
2019-11-20 10:27:28 +01:00
Gustavo Iñiguez Goia
925e2fe045
Removed unused import
2019-11-18 20:38:17 +01:00
Gustavo Iñiguez Goia
918433a1dd
Improved performance and details view
...
- Added a label to let the user know that an item in a column can be
clicked to view details about that item (process, host, user, ...).
- Improved performance by only adding the new items, or items that has
changed, instead of all the stats.
- Search General statistics by any column.
2019-11-17 00:57:08 +01:00
Gustavo Iñiguez Goia
d38505650c
added database file
2019-11-13 01:31:07 +01:00
Gustavo Iñiguez Goia
166cf49f4c
improved UI
...
General tab:
- Allow to filter by action(deny/allow) + column.
Details tabs:
- Double clicking on a column displays detailed stats for that item.
- Sort by column and order (asc/desc).
Added Rules tab
2019-11-13 01:24:55 +01:00
Gustavo Iñiguez Goia
912f85f5d1
Added more timeout options (30s, 5m, 15m, 30m, 1h)
...
Added 30s, 5m, 15m, 30m and 1h timeout options to deny or allow
connections.
It helps to avoid repetitive new connection dialogs, while at the same
time it allows you to deny/allow a connection for a short period of time,
and apply the default for the rest.
2019-11-09 01:35:13 +01:00
Gustavo Iñiguez Goia
21c716492a
Display username on the allow/deny dialog
2019-11-05 00:40:07 +01:00
Gustavo Iñiguez Goia
58cd5e9fc9
Added icons to allow and deny actions
2019-11-02 12:06:58 +01:00
Gustavo Iñiguez Goia
0773f8c01e
Merge pull request #1 from Ph0rkoz/master
...
Master
2019-10-31 13:36:40 +01:00
Phorkoz
e04353a869
grpcio-tools==1.10.1 pulls in grpcio of the correct version, stops the error on make install
...
grpcio-tools==1.10.1 pulls in grpcio of the correct version, stops the error on make install
2019-10-30 20:12:09 -05:00
Phorkoz
e7b853f7a2
Make upgrading the UI possible on code changes.
...
UI
2019-10-30 20:11:26 -05:00
Gustavo Iñiguez Goia
65c3790106
Prompt the user to allow/deny all outgoing connections
...
With the current implementation, it's not possible to know what
process/pid has created an outgoing connection, but there's still
valuable information that the user may want to know, so:
- display outgoing connections even if the process name/path is unknown.
(src ip, dst ip, dst port, uid)
- get outgoing connection uid if kernel > 3.6.
2019-10-25 00:55:32 +02:00
Gustavo Iñiguez Goia
cf01281911
Merge branch 'fix_prompt_dialog_countdown' into main
2019-10-21 00:52:06 +02:00
Gustavo Iñiguez Goia
44c2b6b90b
Fixed prompt dialog countdown
2019-10-21 00:47:00 +02:00
Gustavo Iñiguez Goia
935260abbc
Merge branch 'fix_ui_high_cpu_usage' into main
2019-10-21 00:09:31 +02:00
Gustavo Iñiguez Goia
152eafd743
Fixed prompt dialog IPs regex pattern order
...
Previously a regex pattern like this was shown: *.*.1.1
Now this regex pattern is displayed: 1.1.*.*
2019-07-05 00:29:28 +02:00
Gustavo Iñiguez Goia
4617cd5e90
update stats only when the window is visible and when needed
...
- Update the statistics only when the window is open and visible.
- Update only the relevant statistic tab shown to the user.
- Update only the row which has changed, instead of clearing up all
the table (except for the general tab).
- Update the status labels only when the connection with the daemon
changes.
- Allow to sort the hits column by order.
2019-06-23 17:05:42 +02:00
Gustavo Iñiguez Goia
881812deae
Use QTableView instead of QTableWidget to render data
...
This change drops down the cpu usage from 100% to 2-5%.
2019-06-16 23:26:21 +02:00
Peter Stöckli
7d815d9608
UI: improve regex for domain matching
2019-05-06 15:51:27 +02:00
Armen Boursalian
a3278f7637
Add () to str cat to fix % fmt
2019-01-27 17:04:14 -08:00
evilsocket
c10e7a30c8
Merge pull request #198 from MartynHare/minor-fixes
...
Fixes issue #197 - modified user stats to use pwd.getpwuid
2018-10-08 01:59:38 +02:00
evilsocket
53686fe573
Merge pull request #201 from lfdominguez/python_fix
...
Fix function to get username from uid.
2018-10-08 01:55:17 +02:00
evilsocket
abff18e201
Merge pull request #203 from MiWCryptAnalytics/patch-1
...
Add UI Scaling for HiDPi Support
2018-10-08 01:54:27 +02:00
Chris Lamb
fbe3ab1e3b
ui/opensnitch_ui.desktop: Drop MimeType declaration.
...
The desktop entry currently lists support for a mime type, but does not
provide codes like %f, %F, %u or %U for the Exec key.
If the application can indeed handle files of the listed mime types, it
should specify a way to pass the filenames as parameters, or it should
not specify the MimeType key to begin with.
2018-09-25 11:44:47 +01:00
MiWCryptAnalytics
f8ede5ed0e
Add UI Scaling for HiDPi Support
...
This fixes the scaling issue on hi dpi displays (4K, etc) that render the window too small with overlapping widgets.
2018-09-17 23:52:51 -04:00
Luis Felipe Dominguez Vega
c1b8440164
Fix function to get username from uid.
2018-09-16 19:32:17 -04:00
martynhare
a9215eb247
Applying Northern-Lights recommendation of handling generic exceptions via except
2018-09-08 18:39:35 +01:00
martynhare
12a9b599bf
Fixes issue #197 - modified user stats to use pwd.getpwuid rather than pwd.getpwall
2018-09-08 13:52:10 +01:00
luz.paz
996c9ae9a7
Misc. typos
...
Found via `codespell -q 3`
2018-09-06 19:24:38 -04:00
Armen Boursalian
d206a6430d
Alleviate #185 : except on UI KeyError
2018-08-16 22:14:07 -07:00
evilsocket
f71d8ce52f
fixes #162
2018-04-20 12:25:04 +02:00
evilsocket
6962c19de2
fix: calling ftrace probe Reset in order to start from a clean state ( fixes #159 )
2018-04-18 02:00:12 +02:00
evilsocket
cf5c7decd7
misc: small fix or general refactoring i did not bother commenting
2018-04-16 19:33:01 +02:00
evilsocket
96cc94180e
misc: small fix or general refactoring i did not bother commenting
2018-04-16 19:28:28 +02:00
evilsocket
d4cca89329
optimization
2018-04-16 19:12:46 +02:00
evilsocket
a80f41a147
misc: small fix or general refactoring i did not bother commenting
2018-04-16 17:51:54 +02:00
evilsocket
bd2be803c9
made computations during stats collection async in preparation for #139
2018-04-16 13:17:10 +02:00
evilsocket
1833e78177
UI default behaviour can now be configured with a JSON file ( closes #153 )
2018-04-16 12:54:25 +02:00
evilsocket
5a2dc8b963
added wildcard domain in select combo ( closes #154 )
2018-04-15 16:38:27 +02:00
evilsocket
4560219b92
parsing process env (ref #152 )
2018-04-15 15:47:08 +02:00
evilsocket
55e7ad9702
misc: small fix or general refactoring i did not bother commenting
2018-04-15 15:40:40 +02:00