Joona Hoikkala
af5d2561d2
Fail closed with malformed allowfrom data in register endpoint ( #148 )
...
* Prepare readme for release
* Fail closed with malformed allowfrom data in register endpoint
2019-02-22 16:53:11 +02:00
Joona Hoikkala
75d4a30c1f
Update dependencies and replace uuid library ( #100 )
2018-08-10 16:51:32 +03:00
Joona Hoikkala
439da9c09f
Properly parse r.RemoteAddr ( #50 )
...
* Properly parse r.RemoteAddr
* Add tests, and fix net.ParseCIDR issues with IPv6 addresses enclosed in brackets
2018-03-15 00:23:55 +02:00
Joona Hoikkala
9a908d7d6b
Log IP address that we're matching against allowFrom values stored in the DB ( #46 )
...
* Add logging for IP matching
* Fix typo
2018-03-01 16:53:38 +02:00
Joona Hoikkala
733245fb3d
Support for multiple TXT records per subdomain ( #29 )
...
* Support for multiple TXT records per subdomain and database upgrade functionality
* Linter fixes
* Make sure the database upgrade routine works for PostgreSQL
* Move subdomain query outside of the upgrade transaction
2018-01-22 09:53:07 +02:00
Joona Hoikkala
fd9ce4606d
Get rid of Iris and use julienschmidt/httprouter instead ( #20 )
...
* Replace iris with httprouter
* Linter fixes
* Finalize iris removal
* Vendor dependencies for reproducable builds
* Api tests are back
2017-11-14 23:54:29 +02:00
Joona Hoikkala
bf9eaf2f32
Added config option to check for a header value for clinet IP
2016-12-02 17:04:16 +02:00
Joona Hoikkala
5f68d84ca5
Removed register GET request in favor of POST, and did required HTTP api changes
2016-12-02 15:42:10 +02:00
Joona Hoikkala
c3ac7a211c
DB code for CIDR handling
2016-12-01 00:03:08 +02:00
Joona Hoikkala
ed56a11e88
Refactoring, alpha v0.1
2016-11-13 14:50:44 +02:00
Joona Hoikkala
5433444b2f
Initial commit, PoC quality
2016-11-11 16:48:00 +02:00