Commit Graph

21 Commits

Author SHA1 Message Date
Martin Polden
2495b3803a Remove user agent check for non-root CLI handlers
Fixes #23
2016-09-06 19:35:23 +02:00
Martin Polden
6a9202851d Include IP in decimal format
Fixes #19
2016-07-06 23:47:11 +02:00
Martin Polden
6e1ad53a3b Add support for ddclient
Fixes #16
2016-05-26 21:36:23 +02:00
Martin Polden
2c5f4e08b5 Refactor 2016-04-27 17:07:53 +02:00
Martin Polden
74e6f4dd31 Ensure hostname is unrooted 2016-04-17 21:34:00 +02:00
Martin Polden
73fd32f37e Remove ipFromRequest field 2016-04-17 16:03:00 +02:00
Martin Polden
3134de8260 Do not trust X-Real-IP header by default
Use -H option to whitelist header to trust for remote IP address. This
is useful when a reverse proxy is used in front of ipd.
2016-04-17 15:57:46 +02:00
Martin Polden
8f71576357 Add support for city lookup 2016-04-17 11:28:47 +02:00
Martin Polden
8027c55fdf Refactor lookup methods 2016-04-17 11:16:30 +02:00
Martin Polden
837a32db56 Use correct method 2016-04-16 10:54:41 +02:00
Martin Polden
a2d26b2f0e Rewrite tests 2016-04-16 10:17:15 +02:00
Martin Polden
55d72fd053 Add country lookup as separate handler 2016-04-16 09:19:26 +02:00
Martin Polden
4edbd3cf10 Implement port testing. Fixes #11 2016-04-15 20:52:15 +02:00
Martin Polden
6e09b06e7d Fix test 2016-04-15 20:48:52 +02:00
Martin Polden
5ad48ad3fa Add support for HTTPie. Fixes #13 2016-04-15 20:19:14 +02:00
Martin Polden
f4420781a2 Refactor 2016-04-15 20:14:16 +02:00
Rafal Jeczalik
5cd09f5e9b api: handle net/http as cli request 2016-02-23 12:15:23 +01:00
Martin Polden
fa32c7ff66 Improve tests
Fixes #8.
2015-09-29 20:39:21 +02:00
Martin Polden
ccd3c7a7bb Readd all handler
Fixes #6.
2015-09-18 17:46:08 +02:00
Martin Polden
255826db99 Improve error handling 2015-09-18 17:36:17 +02:00
Martin Polden
40df3e5a38 Rewrite 2015-09-17 21:18:06 +02:00