Commit Graph

15 Commits

Author SHA1 Message Date
Xavier Henner e18aa583d0 improve permissions system 2019-07-17 19:12:00 +02:00
Xavier Henner e4c5718f6d typo 2019-07-16 12:56:05 +02:00
Xavier Henner d21c8e550a more versatile solution for adressing 2019-07-16 12:55:12 +02:00
Xavier Henner 24544a6260 optimisations
* use pyke's re cache
* get an unlimited number of ldap attributes
* get a perturbator for the OTP secret, in case of stolen phone
* lowercase the username, to avoid strange behaviour with the OTP
2019-07-12 22:33:22 +02:00
Xavier Henner 3d1801ee50 use regexps 2019-07-12 18:23:40 +02:00
Xavier Henner dbdbe8aef0 windows sux :) 2019-07-11 19:41:33 +02:00
Xavier Henner 3c0434ee1f Use sudo instead of a custom script 2019-07-11 14:40:46 +02:00
Xavier Henner f73b2c117a add stats and kill http calls 2019-07-11 12:20:08 +02:00
Xavier Henner 1c02c700fa manage auth-retry 2019-07-11 08:14:38 +02:00
Xavier Henner 88f5ac3765 finish OTP code 2019-07-10 18:40:15 +02:00
Xavier Henner 68de442333 Add logging, including the json one
get infos from I've been pwned and the API on install.dm.gg/vpn-log.php

and send mail if there is anything strange
2019-07-10 17:47:43 +02:00
Xavier Henner 44cfdea6ed should work with multiple openvpn servers
the goal is to have an udp instance, and a tcp/443 one

can handle connected and disconnected messages
2019-07-10 15:47:55 +02:00
Xavier Henner 274e824630 working prototype
can push OTP request
can push routes
2019-07-09 23:37:37 +02:00
Xavier Henner 29efc7be3f basic ldap auth algorithm 2019-07-09 01:44:18 +02:00
Xavier Henner 9dc7d19811 save work in progress 2019-07-08 18:41:04 +02:00