Commit graph

176 commits

Author SHA1 Message Date
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
Stefan Midjich
88acc7752a move up chain 2017-09-29 19:19:12 +02:00
Stefan Midjich
0356a57ba4 forgot the error 2017-09-29 19:13:56 +02:00
Stefan Midjich
681b23f86a forgot the error 2017-09-29 19:13:02 +02:00
Stefan Midjich
6297b5abfd try with exception 2017-09-29 19:11:35 +02:00
Stefan Midjich
f2b7784969 giving up on the cursor thing 2017-09-29 19:07:32 +02:00
Stefan Midjich
b91d30bffb giving up on the cursor thing 2017-09-29 19:06:02 +02:00
Stefan Midjich
b84b888cd4 cursor problem 2017-09-29 19:04:06 +02:00
Stefan Midjich
c4d1801151 forgot this one 2017-09-29 19:02:36 +02:00
Stefan Midjich
7bfebdd4ba cleanup 2017-09-29 19:01:27 +02:00
Stefan Midjich
e08ede6631 cannot use a property here? 2017-09-29 18:55:00 +02:00
Stefan Midjich
3f8d85d50b forgot expires here 2017-09-29 18:53:51 +02:00
Stefan Midjich
a67d7f7a6d cleanup 2017-09-29 18:50:41 +02:00
Stefan Midjich
7e5ad9b9d8 forgot expires here 2017-09-29 18:42:45 +02:00
Stefan Midjich
5370134b57 typos 2017-09-29 18:40:57 +02:00
Stefan Midjich
61e950dd42 testing new purge script 2017-09-29 18:37:30 +02:00
Stefan Midjich
6130f0d746 forgot timedelta 2017-09-29 17:56:16 +02:00