Commit graph

60 commits

Author SHA1 Message Date
Stefan Midjich
c56ecc0d01 fixing the refresh action 2017-11-18 21:33:37 +01:00
Stefan Midjich
bc0a9b851a comparing the wrong time here 2017-11-17 23:54:34 +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
6a9fcb9f0c add sudo option throughout client lib 2017-11-16 23:56:15 +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
ebc9d160e5 missed port 2017-11-15 23:03:17 +01: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
Stefan Midjich
44625db697 added "expires" field to clients 2017-09-29 17:44:40 +02:00
Stefan Midjich
2ebdc37eae clarifications 2017-09-29 17:44:29 +02:00
Stefan Midjich
be6b2bef77 better handling of IPv4Interface across the board. 2017-03-07 17:36:15 +01:00
Stefan Midjich
c1ee2b0813 typo 2017-03-07 17:24:52 +01:00
Stefan Midjich
8ea6ae4f55 typo 2017-03-07 17:21:52 +01:00
Stefan Midjich
86a02d65e1 typo 2017-03-07 17:20:13 +01:00
Stefan Midjich
3059459915 merged three actions into manage_client.py 2017-03-07 17:15:39 +01:00
Stefan Midjich
3a0346b164 error handling 2017-03-07 17:07:08 +01:00
Stefan Midjich
6214f65c0b fixed bug in IPv4Interface handling 2017-03-07 17:01:37 +01:00
Stefan Midjich
2ce96c51bb enabling. 2017-03-07 16:41:41 +01:00
Stefan Midjich
a347c187d6 typo 2017-03-07 16:40:02 +01:00
Stefan Midjich
d55782eaef typo 2017-03-07 10:39:41 +01:00
Stefan Midjich
4cbbc54674 implementing iptc part. 2017-03-07 09:36:56 +01:00