Commit Graph

19 Commits

Author SHA1 Message Date
VwCSXg
e495652a4a Uses Context Manager in main method 2022-07-28 18:08:44 +02:00
Michael Harrity
6f7b9e2c31 Server Port Strategy Hotfix
For backwards compatibility, the engine was sometimes called using
an int for the server port directly. This would cause an error, so
casting to str() solves that without needing to change anything.
2021-09-07 04:57:47 -07:00
Michael Harrity
b7bd667ac7 Updated Engine Docstring
Updated the server_port arg in engine docstring to be a string.
2021-09-05 07:58:38 -07:00
Michael Harrity
f149f1c6f3 Engine Allows Port Ranges/Lists
Updated the Geneva engine to allow for port ranges and lists
specifying which ports to monitor to modify packets. This works
using either a range like port 5000 to port 6000 =>
--server-port 5000:6000 or a list like port 5000, 5500, and 6000
=> --server-port 5000,5500,6000.

Any error checking on the port variable will be handled by the
iptables command.
2021-09-02 10:42:15 -07:00
yairfax
089e2541fc
Merge branch 'GEN-1_genetic_algorithm' into demo-mode 2020-07-06 16:43:24 -04:00
Yair Fax
a6caeb1a72 fix arg typo 2020-07-06 15:32:32 +00:00
Yair Fax
0abac72ddb fix handlers exception 2020-07-06 11:26:09 -04:00
Yair Fax
01828ddf97 finish setting up custom logger for demo mode 2020-07-06 11:23:52 -04:00
Yair Fax
216e5636c4 add bones of demo mode 2020-07-06 11:22:00 -04:00
Yair Fax
f01a0c1f93 fix engine args 2020-07-06 11:16:39 -04:00
Kkevsterrr
40d5c974cb Merge branch 'GEN-1_genetic_algorithm' of https://github.com/Kkevsterrr/geneva into GEN-1_genetic_algorithm 2020-07-04 22:32:33 -04:00
Kkevsterrr
5df38936ee Fixed --no-save-packets 2020-07-04 22:32:27 -04:00
Michael Harrity
0796312589 Reorganized layers into new directory. 2020-06-24 05:20:51 -07:00
Kkevsterrr
5f13b926e3 Starting commit for documentation & genetic algorithm 2020-05-17 10:15:16 -04:00
Kkevsterrr
89ce8d4f10 Added --server-side flag 2020-01-19 14:09:05 -05:00
Kkevsterrr
6412aada52 Added server side flag 2020-01-17 11:03:14 -05:00
Kkevsterrr
bd7c6a3321 Additional engine coverage 2019-12-12 23:09:07 -05:00
Kkevsterrr
e35038f131 Removed GFW specific message 2019-12-12 20:20:50 -05:00
George Hughey
d0fd49800c Initial commit
Initial commit of Geneva
2019-11-15 02:38:40 +00:00