Martin Polden
|
faf2f62612
|
Send plain response for Accept: text/plain
Fixes #24
|
2016-11-16 20:00:03 +01:00 |
Martin Polden
|
b1b3fbb5f3
|
Rename Handlers -> Router
|
2016-10-09 16:18:38 +02:00 |
Martin Polden
|
2495b3803a
|
Remove user agent check for non-root CLI handlers
Fixes #23
|
2016-09-06 19:35:23 +02:00 |
Martin Polden
|
36fba6ff54
|
Use logrus for logging
|
2016-08-13 20:32:19 +02:00 |
Martin Polden
|
6a9202851d
|
Include IP in decimal format
Fixes #19
|
2016-07-06 23:47:11 +02:00 |
Martin Polden
|
cfb86fe124
|
Follow golang convention for constants
|
2016-05-26 21:38:55 +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
|
270ffec441
|
Distinguish IP from port
In case IP is an IPv6 address.
|
2016-04-17 15:23:38 +02:00 |
Martin Polden
|
9d8a541caf
|
Remove CORS support
|
2016-04-17 14:23:20 +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
|
7d23fe9853
|
Add /json route
|
2016-04-17 09:31:33 +02:00 |
Martin Polden
|
26fdb23f37
|
Update user agent regexp
|
2016-04-16 20:18:20 +02:00 |
Martin Polden
|
5e2c67573c
|
Remove unused methods
|
2016-04-16 11:11:19 +02:00 |
Martin Polden
|
837a32db56
|
Use correct method
|
2016-04-16 10:54:41 +02:00 |
Martin Polden
|
7ffaf5e9ac
|
Cleanup
|
2016-04-16 10:45:43 +02:00 |
Martin Polden
|
a2d26b2f0e
|
Rewrite tests
|
2016-04-16 10:17:15 +02:00 |
Martin Polden
|
4664693b0a
|
Close connection when testing port
|
2016-04-16 09:48:39 +02:00 |
Martin Polden
|
55d72fd053
|
Add country lookup as separate handler
|
2016-04-16 09:19:26 +02:00 |
Martin Polden
|
95b5b76ef7
|
Only display enabled features on web page
|
2016-04-15 21:23:03 +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 |
Thomas Wouters
|
3d14ea63ba
|
add hostname lookup
|
2015-09-28 12:47:50 +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
|
891312f1f8
|
Return error for unknown header
|
2015-09-17 22:39:12 +02:00 |
Martin Polden
|
5d4f6b3d3d
|
Make handlers public
|
2015-09-17 22:16:33 +02:00 |
Martin Polden
|
042f0d975f
|
Write response if error occurs
|
2015-09-17 22:09:50 +02:00 |
Martin Polden
|
40df3e5a38
|
Rewrite
|
2015-09-17 21:18:06 +02:00 |