Commit Graph

50 Commits

Author SHA1 Message Date
Alphakilo
dcefd6f1c6 implement /asn-org endpoint 2022-09-04 00:06:01 +02:00
Chloe Kudryavtsev
073e19b330
add xh to the list of cli utilities
xh is https://github.com/ducaale/xh
2021-08-03 16:04:43 -04:00
Thatcher
ab8f90431b
New template (#121) 2020-12-14 19:02:35 +01:00
Martin Polden
762f454865 http: Include status in response 2020-12-09 21:16:11 +01:00
Martin Polden
86b68bdf55 http: Return bad request for invalid requests 2020-12-09 21:10:15 +01:00
Martin Polden
a4808f1fa4 http: Log server errors 2020-12-09 21:10:10 +01:00
Martin Polden
cd687f6343 http: Indent JSON responses
Fixes #114.
2020-11-09 21:58:40 +01:00
Martin Polden
832f3655e8 http, cache: Track evictions 2020-09-12 10:11:47 +02:00
Martin Polden
b7ed233452 http, cache: Support cache resizing 2020-09-12 10:11:38 +02:00
Martin Polden
ceaff84709 http, cache: Expose cache stats 2020-09-11 21:18:41 +02:00
Martin Polden
df49848167 cache: Reduce memory usage 2020-09-11 20:51:04 +02:00
Martin Polden
bd8b1c7b97 cache: Fix memory leak
Slices never shrink.
2020-09-07 22:40:06 +02:00
Martin Polden
971c0e11f4 cache: Copy values 2020-09-05 22:07:57 +02:00
Martin Polden
6878f54585 http: Add support for profiling 2020-09-05 12:21:02 +02:00
Martin Polden
0caa5873b9 cmd: Remove go-flags 2020-09-05 11:41:18 +02:00
Chloe Kudryavtsev
7ad9af3b15 add cli detection for httpie-go 2020-07-23 18:41:07 -04:00
Vincent Batts
edbb0b6433
Support getting information about another IP (#94)
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-07-09 21:35:26 +02:00
Richard Tweed
d576730d08
Do not cache user agent (#98) 2020-06-07 23:16:35 +02:00
dshelikhov
226209d579
Add additional location fields (#84) 2020-05-10 14:23:50 +02:00
Martin Polden
78116f69ad Implement response cache 2019-12-25 21:04:26 +01:00
Kevin
155c1a5afe return parsed and raw user agent 2019-07-13 22:50:31 +00:00
Sam B
fb5fac92d2 Add Mikrotik as CLI client (#69) 2019-07-12 16:00:38 +02:00
Niklas
7fbc2e1b9f ASN database, part 2 (#67)
ASN lookup
2019-07-05 15:01:45 +02:00
Martin Polden
58fd8a66fe Fix invalid port response
Closes #64
2019-01-16 22:16:05 +01:00
Christian Korneck
b4b6207671 change highest allowed tcp port to 65535 2019-01-16 22:14:42 +01:00
Martin Polden
ddc4d9e53c Log if template is unreadable 2018-12-28 15:05:31 +01:00
Johann Richard
cba0928a65 Patch for a Map (#62)
Add map
2018-10-28 16:42:17 +01:00
Martin Polden
8433521b3b Differentiate between IsEU being false and unknown 2018-08-31 22:55:09 +02:00
Martin Polden
823af68923 Test /coordinates 2018-08-27 21:49:37 +02:00
Martin Polden
3e1d4425cd Rename fields 2018-08-27 21:49:37 +02:00
Martin Polden
de54d88327 Fix build 2018-08-27 21:39:49 +02:00
Mike Raunsbæk
ac4a9de770 Added coordinates from City database 2018-08-27 21:30:57 +02:00
Martin Polden
988f3fd19a Rename ipd -> echoip 2018-08-27 20:50:56 +02:00
rufo
6d915d0f96 use big int for decimal IP rather than uint64 2018-08-20 03:03:49 +01:00
Martin Polden
a9c0587f87 Simplify 2018-08-14 21:32:29 +02:00
Martin Polden
33a8516004 Handle multiple IPs in X-Forwarded-For 2018-08-14 21:04:58 +02:00
Martin Polden
059db6372c Rename package database -> geo 2018-08-14 21:04:54 +02:00
Maxim Baz
12bc12fa7e
Add /health endpoint 2018-07-30 22:32:42 +02:00
Martin Polden
91f0c17c94 Add support for multiple trusted headers 2018-07-25 21:05:08 +02:00
Martin Polden
184676ba29 Simplify 2018-03-19 19:54:24 +01:00
Martin Polden
b01bddb63e Only allow a single matcher per route 2018-03-19 19:45:32 +01:00
Martin Polden
055496906d Remove logrus 2018-03-18 23:15:26 +01:00
Martin Polden
1efde17791 Replace gorilla/mux with own router 2018-03-18 22:17:41 +01:00
Martin Polden
5ff72def9c Remove map
Requires Google API key.
2018-03-04 16:49:01 +01:00
Martin Polden
d49f1f7376 Simplify 2018-02-11 11:24:11 +01:00
Martin Polden
5d43f175d4 Rename package 2018-02-11 11:16:28 +01:00
Martin Polden
8b1d263e58 Remove unnecessary imports 2018-02-10 18:10:16 +01:00
Martin Polden
215cce290c Disable handlers for disabled features 2018-02-10 17:52:55 +01:00
Martin Polden
8112536125 Extract iputil package 2018-02-10 14:37:04 +01:00
Martin Polden
35061bfe83 Restructure 2018-02-10 13:24:32 +01:00