Commit graph

192 commits

Author SHA1 Message Date
Stefan Midjich
2a1084e54d typo 2018-10-25 15:55:25 +02:00
Stefan Midjich
e4285430cf move format into variable for convenience. 2018-06-27 23:42:50 +02:00
Stefan Midjich
d2b027e817 take expire_hours from arguments 2018-06-27 10:28:55 +02:00
Stefan Midjich
bec77b9d92 I should have been more ashamed of this ljust madness than I was 2017-12-06 12:01:58 +01:00
Stefan Midjich
148d409d3b fancy 2017-11-20 23:06:52 +01:00
Stefan Midjich
9033a4d484 major rehaul of syncing clients to db 2017-11-20 22:46:15 +01:00
Stefan Midjich
36b8ccda37 reflect recent changes in docs 2017-11-20 22:46:01 +01:00
Stefan Midjich
d21a7b4ff9 reflect recent changes in docs 2017-11-20 22:45:23 +01:00
Stefan Midjich
404c6e4f95 protocol no longer needed with ipset 2017-11-20 22:38:47 +01:00
Stefan Midjich
72d21f7e6b protocol no longer needed with ipset 2017-11-20 22:38:34 +01:00
Stefan Midjich
f8d2a410af sharing new portalclient plugins config 2017-11-20 10:58:21 +01:00
Stefan Midjich
e6ad0f676f fixing use_sudo argument 2017-11-19 00:45:24 +01:00
Stefan Midjich
c56ecc0d01 fixing the refresh action 2017-11-18 21:33:37 +01:00
Stefan Midjich
24a4500f89 requirements.txt is enough 2017-11-18 19:26:26 +01:00
Stefan Midjich
b18b3eb925 requirements.txt is enough 2017-11-18 19:26:20 +01:00
Stefan Midjich
c8cb15d98a switched to local venv 2017-11-18 19:25:29 +01:00
Stefan Midjich
bc0a9b851a comparing the wrong time here 2017-11-17 23:54:34 +01:00
Stefan Midjich
64586005a7 refactored client lib, so it can be used by the new portalclient module 2017-11-17 23:13:49 +01:00
Stefan Midjich
2c1fc6f0bc fixed package name 2017-11-17 22:50:30 +01:00
Stefan Midjich
64bee0b46d bug, cannot use str when searching bytestring 2017-11-17 17:30:31 +01:00
Stefan Midjich
e2b160a993 refactored client lib, so it can be used by the new portalclient module 2017-11-17 17:23:51 +01:00
Stefan Midjich
b4c9c5cdca new plugin, still WIP 2017-11-17 17:23:36 +01:00
Stefan Midjich
9fafe3a2fb adjusting timers because of issues with certain devices 2017-11-17 17:22:52 +01:00
Stefan Midjich
92b07c9467 ignore vscode 2017-11-17 00:11:21 +01:00
Stefan Midjich
6a9fcb9f0c add sudo option throughout client lib 2017-11-16 23:56:15 +01:00
Stefan Midjich
82b5e46159 better logging 2017-11-16 23:55:53 +01:00
Stefan Midjich
f56eb9a83d forgot to enable new clients 2017-11-16 22:26:57 +01:00
Stefan Midjich
4c9f133f9a storage.cfg is not necessary, moving to plugins.cfg to save on files and confusion. 2017-11-16 22:17:40 +01:00
Stefan Midjich
b23468ed28 more verbose 2017-11-16 21:54:34 +01:00
Stefan Midjich
64acdd080f more verbose 2017-11-16 21:53:22 +01:00
Stefan Midjich
5b92fb2b5e forgot int 2017-11-16 21:46:05 +01:00
Stefan Midjich
3c69e4374f stdout no longer needed with check_output 2017-11-16 21:36:37 +01:00
Stefan Midjich
742cf01e86 try to do a purge as well for old clients with no traffic. 2017-11-16 21:10:25 +01:00
Stefan Midjich
2faac71fe5 changing name of sql table to be more intuitive. 2017-11-16 20:48:13 +01:00
Stefan Midjich
07f68b91b5 check_output will be best here I believe 2017-11-16 20:48:05 +01:00
Stefan Midjich
f821b1df5c increase ipset command timeout for cli tool 2017-11-16 18:39:01 +01:00
Stefan Midjich
54aa460191 increase ipset command timeout for cli tool 2017-11-16 13:59:01 +01:00
Stefan Midjich
70c0c3049a increase ipset command timeout for cli tool 2017-11-16 13:49:50 +01:00
Stefan Midjich
eddb4c0ced subprocess.run does not work in python 3.4 2017-11-16 13:46:30 +01:00
Stefan Midjich
6f476223b5 Two major changes in this commit:
* Moving from iptables to ipset
	* Moving from python-sh to subprocess
2017-11-15 23:12:16 +01:00
Stefan Midjich
4efe33590b without raise it will never fail 2017-11-15 23:11:51 +01:00
Stefan Midjich
0397f806fc cleanups and lowered timeout values 2017-11-15 23:03:45 +01:00
Stefan Midjich
ebc9d160e5 missed port 2017-11-15 23:03:17 +01:00
Stefan Midjich
ca75f7670d document the recent changes 2017-11-15 18:48:44 +01:00
Stefan Midjich
8316a43805 demonstrate use of ipset 2017-11-15 10:57:00 +01:00
Stefan Midjich
3c50e1e692 python 3 note 2017-11-15 10:56:34 +01:00
Stefan Midjich
2ae852fb66 lower timeout will have to be tested on apple devices. 2017-11-13 13:16:07 +01:00
Stefan Midjich
e9fb47fa17 removed 2017-10-13 16:29:49 +02:00
Stefan Midjich
936cc09a69 move up chain 2017-09-29 19:30:27 +02:00
Stefan Midjich
9032edb0bd move up chain 2017-09-29 19:25:53 +02:00