Commit Graph

289 Commits

Author SHA1 Message Date
c113173660 Remove unnecessary target 2019-10-18 18:12:26 +02:00
95380233d8 Merge pull request #70 from kevinschoon/useragent
return parsed and raw user agent
2019-10-18 18:03:37 +02:00
155c1a5afe return parsed and raw user agent 2019-07-13 22:50:31 +00:00
fb5fac92d2 Add Mikrotik as CLI client (#69) 2019-07-12 16:00:38 +02:00
4ce6452332 Fix template 2019-07-05 16:17:34 +02:00
7fbc2e1b9f ASN database, part 2 (#67)
ASN lookup
2019-07-05 15:01:45 +02:00
5a28ed6bf5 Add data attribution 2019-06-26 20:22:59 +02:00
6bfe773aae Bump pure 2019-06-26 20:03:56 +02:00
27fa828efb Remove unnecessary option 2019-04-27 10:23:22 +02:00
3a91baab21 Build without cgo 2019-03-29 20:38:43 +01:00
99f9556173 Re-use Dockerfile when building on Travis 2019-03-16 18:08:10 +01:00
fd7e13c98e Push to Docker Hub from Travis 2019-03-16 15:14:32 +01:00
c9fe2919e4 Bump Go version 2019-03-16 14:26:32 +01:00
58fd8a66fe Fix invalid port response
Closes #64
2019-01-16 22:16:05 +01:00
b4b6207671 change highest allowed tcp port to 65535 2019-01-16 22:14:42 +01:00
fcaa244d6b Merge pull request #63 from antonc42/patch-makefile
changed env var in makefile to builtin var
2019-01-04 23:00:25 +01:00
e1e6dba31b changed env var in makefile to builtin var
makefile was using the environment variable PWD. this can be
problematic if using 'sudo' as the PWD variable is not passed through.
however GNU make has a builtin CURDIR variable for the current working
directory that does work with 'sudo'.
2019-01-04 09:56:16 -06:00
c623168acb Reduce image size 2018-12-28 19:06:05 +01:00
14f1a0ce88 Mention Docker image 2018-12-28 19:06:05 +01:00
ddc4d9e53c Log if template is unreadable 2018-12-28 15:05:31 +01:00
f34172761f Log valid URL when binding to all IPs 2018-12-28 14:51:20 +01:00
4bfaf671b9 Stop using container-based Travis 2018-11-21 19:22:33 +01:00
cba0928a65 Patch for a Map (#62)
Add map
2018-10-28 16:42:17 +01:00
e5c8310acb Enable parallel build 2018-09-11 22:08:12 +02:00
83e4566d57 Remove megacheck target 2018-09-11 22:07:46 +02:00
3901eb7b16 Tidy up modules 2018-09-11 22:06:32 +02:00
8433521b3b Differentiate between IsEU being false and unknown 2018-08-31 22:55:09 +02:00
7f538ca24b Merge pull request #58 from maximbaz/add-dockerfile
Add Dockerfile
2018-08-30 15:52:48 +02:00
3cd9b9efe3 Rename to echoip, update to Go 1.11 2018-08-27 23:35:26 +02:00
1171909046 Add Dockerfile 2018-08-27 22:11:46 +02:00
823af68923 Test /coordinates 2018-08-27 21:49:37 +02:00
3e1d4425cd Rename fields 2018-08-27 21:49:37 +02:00
de54d88327 Fix build 2018-08-27 21:39:49 +02:00
a6b0a95581 Bump github.com/oschwald/geoip2-golang 2018-08-27 21:39:21 +02:00
ac4a9de770 Added coordinates from City database 2018-08-27 21:30:57 +02:00
b821b1efcc Remove megacheck from lint target 2018-08-27 21:24:28 +02:00
fefe371369 Use Go modules 2018-08-27 21:13:06 +02:00
988f3fd19a Rename ipd -> echoip 2018-08-27 20:50:56 +02:00
bc5e1ae713 Deploy to Heroku 2018-08-20 21:02:02 +02:00
68479cc8d6 Use Go stable when building 2018-08-20 21:00:30 +02:00
f601732585 Use https when downloading databases 2018-08-20 20:51:56 +02:00
c32aedac95 Add Heroku config 2018-08-20 20:46:56 +02:00
2fbc25d39b Add vendor config 2018-08-20 20:46:18 +02:00
3048066a9b Merge pull request #61 from rufoa/master
Use big.Int for decimal IPs rather than uint64
2018-08-20 17:38:43 +02:00
6d915d0f96 use big int for decimal IP rather than uint64 2018-08-20 03:03:49 +01:00
a9c0587f87 Simplify 2018-08-14 21:32:29 +02:00
569c2f3879 Update gitignore 2018-08-14 21:09:02 +02:00
33a8516004 Handle multiple IPs in X-Forwarded-For 2018-08-14 21:04:58 +02:00
122fd3dcfa Exclude vendor in check-fmt target 2018-08-14 21:04:54 +02:00
059db6372c Rename package database -> geo 2018-08-14 21:04:54 +02:00