Ethan Knowlton
7d2aab397c
fix test
2023-10-10 16:31:22 -04:00
Ethan Knowlton
79c8f54d44
Cache in Redis
...
- [x] Pipeline to update binary on server when changes are pushed
- [x] Added config option for Cache TTL in Seconds in `/etc/echoip/config.toml
- [x] Updated Readme for Cache Options
- [x] Added `Null` cache for optional no use of cache
- [x] Adding Redis Cache
- [x] Moving configuration to file config
- [x] Automatic Release for amd64 linux
- [x] Adding automatic deployment
- Added `LICENSE` file to the release file
2023-10-07 01:21:52 -04:00
Ethan Knowlton
269bf95625
refactor module name to levelsoftware
2023-10-05 11:43:02 -04:00
Ethan Knowlton
6c950e10d3
some refactoring
2023-10-04 14:19:05 -04:00
Ethan Knowlton
410002ff47
upadted template, added https option for ipstack
2023-10-04 09:43:37 -04:00
Ethan Knowlton
6172d2f2ae
fixed some tests for service flags
2023-09-23 09:52:20 -04:00
Ethan Knowlton
799eea7d12
added ip stack
2023-09-22 20:15:10 -04:00
Ethan Knowlton
e766f27d9d
seperate parser from code, verify this is working -- then to add ipstack
2023-09-22 14:22:48 -04:00
Alphakilo
dcefd6f1c6
implement `/asn-org` endpoint
2022-09-04 00:06:01 +02: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
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
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
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
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
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
1efde17791
Replace gorilla/mux with own router
2018-03-18 22:17:41 +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
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