Commit Graph

348 Commits

Author SHA1 Message Date
Ethan Knowlton bc03347fec probably should verify signing method -- and this only supports HMAC 2023-10-10 23:46:49 -04:00
Ethan Knowlton 4fc865d36c readme updates 2023-10-10 16:40:50 -04:00
Ethan Knowlton 7d2aab397c fix test 2023-10-10 16:31:22 -04:00
Ethan Knowlton d9bf3259e0 Added JWT Authentication 2023-10-10 15:52:05 -04:00
Jacob Haug 712e2166d5
Merge pull request #8 from levelsoftware/enable-use-of-environment-variables-for-docker
Enable use of environment variables for docker
2023-10-09 09:23:56 -04:00
Ethan Knowlton d70ee291d4 forgot to come back for trusted headers 2023-10-08 18:39:18 -04:00
Ethan Knowlton 967931fd25 Enable use of Environment Variables
I didn't want to kep the API Key in a file because it could be exposed
so I thought a environment variable would be good. Might of got carried
away and didn't need to put all config options in environment variables.

commit ba35fa73512a5d0d868c9e9147f55fe50db0ec99
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:35:31 2023 -0400

    removed debug statement

commit 3808cc26dfac70e5c205df807b26855bf4562196
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:32:27 2023 -0400

    Could Cause Problems

    Shouldn't need to run make as super user, but usually
    you would run `make install`. I could add this to the install step
    and remove the install from all step but it could mess up publishing
    to ip.level.io.

    Just going to remove it for now.

commit aa0cb39b08e71e1ef897f2d3f3a4fc7e5aff4c03
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 20:05:14 2023 -0400

    adding env variables to readme
2023-10-08 14:46:51 -04:00
Ethan Knowlton 5c5503085e
Merge pull request #6 from levelsoftware/caching-in-redis
Caching in Redis
2023-10-07 11:07:02 -04:00
Ethan Knowlton 73a7a4e878 touch up change log until API limit `create-release-please` 2023-10-07 01:27: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 9971835402
Merge pull request #3 from levelsoftware/adding-extra-ipstack-fields
Adding More IP Stack Fields
2023-10-05 12:51:04 -04:00
Ethan Knowlton 9217488362 better empty threatthypes handling 2023-10-05 12:20:30 -04:00
Ethan Knowlton 35187e67e5 renamed workflow 2023-10-05 12:15:49 -04:00
Ethan Knowlton 40d7dfebb8 added test workflow 2023-10-05 11:54:19 -04:00
Ethan Knowlton 5cd6d48c2d remove docker workflow for now 2023-10-05 11:50:53 -04:00
Ethan Knowlton 269bf95625 refactor module name to levelsoftware 2023-10-05 11:43:02 -04:00
Ethan Knowlton 532d22251b Merge branch 'master' of github.com:levelsoftware/echoip into adding-extra-ipstack-fields 2023-10-05 11:03:03 -04:00
Ethan Knowlton 6c950e10d3 some refactoring 2023-10-04 14:19:05 -04:00
Jacob Haug 171d827c58
updated readme 2023-10-04 12:01:46 -04:00
Jacob Haug d60343d31c
updating readme 2023-10-04 12:01:09 -04:00
Jacob Haug 3ad94767b0
updating styles 2023-10-04 11:47:06 -04:00
Jacob Haug 07b45691b6
Merge pull request #2 from levelsoftware/adding-extra-ipstack-fields
Added extra IP Stack fields
2023-10-04 11:40:51 -04:00
Ethan Knowlton 410002ff47 upadted template, added https option for ipstack 2023-10-04 09:43:37 -04:00
Ethan Knowlton 81aa484762 Added extra IP Stack fields
- IsDaylightSavings
- IsProxy
- IsTOR
- IsCrawler
- CrawlerName
- CrawlerType
- ThreatLevel
- ThreatTypes
2023-09-30 11:17:44 -04:00
Jacob Haug 09a47bea6a
Merge pull request #1 from levelsoftware/adding-ipstack
Adding IPStack
2023-09-24 22:21:25 -04:00
Ethan Knowlton 6172d2f2ae fixed some tests for service flags 2023-09-23 09:52:20 -04:00
Ethan Knowlton d3bee3c4d8 removed debuging log statement 2023-09-22 21:31:07 -04:00
Ethan Knowlton 4e50dce997 added credit 2023-09-22 21:30:24 -04:00
Ethan Knowlton ec76504d45 added credit 2023-09-22 21:29:46 -04:00
Ethan Knowlton 79e3d6a9be gofmt -- hopefuly what works 2023-09-22 21:28:49 -04:00
Ethan Knowlton 02619025af some refactoring, more to go 2023-09-22 21:23:16 -04:00
Ethan Knowlton 08a55bc67f some refactoring, more to go 2023-09-22 21:21:58 -04:00
Ethan Knowlton 799eea7d12 added ip stack 2023-09-22 20:15:10 -04:00
Ethan Knowlton f152d2c2a8 oops 2023-09-22 14:35:32 -04:00
Ethan Knowlton fcadf09659 revert this error log 2023-09-22 14:24:07 -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
Martin Polden d84665c26c
Merge pull request #162 from Alphakilo/master
Implement `/asn-org` endpoint
2023-05-21 20:26:14 +02:00
Martin Polden 31b161feee
Merge pull request #145 from ashleyprimo/master
Update README -> MaxMind Geo Information
2023-05-21 20:25:51 +02:00
Martin Polden b2859dc565
Merge pull request #125 from marcellmartini/master
Refactory of multiValueFlag.String()
2023-05-21 20:25:25 +02:00
Alphakilo 44ce088bb3 update docs 2022-09-04 00:09:52 +02:00
Alphakilo dcefd6f1c6 implement `/asn-org` endpoint 2022-09-04 00:06:01 +02:00
Marcell Martini 11fc656391
Merge branch 'mpolden:master' into master 2022-01-25 15:58:22 -04:00
Ashley Primo 0fbe52be45 Update README.md to include information regarding MaxMind Geo DB 2021-11-08 20:53:31 +00:00
Martin Polden ffa6674637 build: Merge jobs as data is not shared between them 2021-08-03 23:28:13 +02:00
Martin Polden 2899ca8f39 build: Build before deploying 2021-08-03 23:23:13 +02:00
Martin Polden 7b98b93f52
Merge pull request #141 from CosmicToast/patch-1
add xh to the list of cli utilities
2021-08-03 23:16:13 +02:00
Martin Polden 67f5a9e5a8
Merge pull request #142 from mpolden/limit-deploy
build: Limit deploy to master branch
2021-08-03 23:14:58 +02:00
Martin Polden ae2bbd8832 build: Bump Go version 2021-08-03 23:12:40 +02:00
Martin Polden 2b630f01a0 build: Limit deploy to master branch 2021-08-03 23:12:12 +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