-
Merge pull request #82 from evilsocket/iptc-capsh
Use iptables trough iptc, enables rootless operation
evilsocket committed on GitHubJun 2, 2017 -
Use iptables trough iptc, enables rootless operation
Reviving my PR #41 and polishing it up a bit for easier usage
adisbladis committedJun 2, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Minor restructuring in snitch.py, packet callback belongs in Netfilte…
…rQueueWrapper
adisbladis committedMay 23, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Dont handle queued connections from dead processes
adisbladis committedMay 23, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Fix Namespace is not iterable after change from optparse to argparse
adisbladis committedMay 22, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
PEP8: Now all Python code is PEP8
adisbladis committedMay 22, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
adisbladis committed
May 22, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Merge pull request #79 from adisbladis/connection-refactor
Refactor connection.py to use namedtuples instead of classes
evilsocket committed on GitHubMay 21, 2017 -
Refactor connection.py to use namedtuples instead of objects
Move utility functions to get app path and cmdline into proc.py get_pid_by_connection now only gets pid by connection data Move Application into connection.py, this didn't really do much anyway and had some overlap with connection Move more things into ui subpackage that should not belong in daemon As an added bonus this also gives a nice little decrease in memory usage
adisbladis committedMay 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Merge pull request #78 from adisbladis/ruleperf
Rule performance fixes
evilsocket committed on GitHubMay 21, 2017 -
adisbladis committed
May 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Merge pull request #77 from adisbladis/codestyle-fixes
Improve code styling and performance in proc.py
evilsocket committed on GitHubMay 21, 2017 -
Merge pull request #76 from adisbladis/uisplit-pre
Split ui into separate subpackage
evilsocket committed on GitHubMay 21, 2017 -
Only iterate over rules where app_path is matching
adisbladis committedMay 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Convert Rule into namedtuple with RuleSaveOption and RuleVerdict enums
This decreases memory usage because of Python using a shared dictionary for all instances of Rule
adisbladis committedMay 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Improve code styling and performance in proc.py
Previously was O(N), now only O(N) in worst case
adisbladis committedMay 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Split ui into separate subpackage
Move LinuxDesktopParser into ui subpackage, it does not belong in the Opensnitch core
adisbladis committedMay 21, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Merge pull request #75 from adisbladis/icmp
Add ICMP support
evilsocket committed on GitHubMay 19, 2017 -
adisbladis committed
May 19, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Merge pull request #73 from adisbladis/sqlite-unique
Add unique constrain to sqlite db (fixes #70)
evilsocket committed on GitHubMay 16, 2017 -
Add unique constrain to sqlite db (fixes #70)
adisbladis committedMay 16, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Merge pull request #72 from adisbladis/qt-rulefix
Dont show dialog if connection got permanent rule
evilsocket committed on GitHubMay 16, 2017 -
Dont show dialog if connection got permanent rule
Currently the UI will show dialog if the connection got a permanent rule after the connection was queued. This fixes this behaviour. We are also having an issue where the QComboBox won't get reset to Once after being set.
adisbladis committedMay 16, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Merge pull request #64 from adisbladis/fix-blocking
Fix packet blocking behaviour while UI is open (fixes #40)
evilsocket committed on GitHubMay 12, 2017 -
adisbladis committed
May 12, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits -
Fix packet blocking behaviour while UI is open (fixes #40)
There are a few non-obvious reasons why this commit is so big: The PyQt mainloop must run in main thread.. This was not particularly easy since the packet callbacks were running in the main thread. Because of the PyQt running in the main thread thing NetFilterQueue had to be wrapped up in a thread. The packet callback is now dispatched to a thread if user has to be prompted. Packets are sent over a queue to the ui thread. SQLite connection must be called from the same thread it was created in. Thats why all the calls are wrapped up in a lock and create a new connection. This is not ideal but I would say it's good enough for now.
adisbladis committedMay 12, 2017 This commit was signed with a verified signature.GPG key ID: ED58F95069B004F5 Learn about signing commits
-
Merge pull request #63 from in1t3r/master
resizing should work now
evilsocket committed on GitHubMay 11, 2017 -
in1t3r committed
May 11, 2017 -
in1t3r committed
May 11, 2017 -
Min and max sizes working now resizing
in1t3r committedMay 11, 2017 -
Merge pull request #62 from in1t3r/master
Minor ui improvements in resizing
evilsocket committed on GitHubMay 11, 2017 -
Minor ui improvements in resizing
in1t3r committedMay 11, 2017 -
Merge pull request #61 from in1t3r/master
Fix for the resizing window and text issue
evilsocket committed on GitHubMay 11, 2017 -
Properly resizing windows and text with pyqt5 solving few issues
in1t3r committedMay 11, 2017 -
in1t3r committed
May 11, 2017