Commit Graph

35 Commits

Author SHA1 Message Date
082ecc579a feat: enrich /lookup with university domain list check
Add a second detection path alongside ASN lookup: a self-maintained
list of university domains (uni_domains.txt) loaded at startup.

- New /lookup params: email= (extracts domain from address), domain= unchanged
- Suffix matching: insti.uni-stuttgart.de matches list entry uni-stuttgart.de
  without false-positives (evil-uni-stuttgart.de does not match)
- New response fields: asn_match, domain_match, matched_domain (omitempty)
- nren remains true if either asn_match OR domain_match is true (backwards compat)
- /healthz now returns JSON body: {"asn_count":N,"domain_count":N}
- asn-updater: new update_uni_domains() merges hs-kompass.de TSV + Hipo JSON
  (configurable via UNI_DOMAIN_COUNTRIES / HS_KOMPASS_URL env vars)
- 7 new tests; all existing tests pass unchanged

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 15:10:49 +01:00
15476898c3 adapt local compose file for local debugging 2026-03-12 13:34:56 +01:00
e8052abf79 add bmad techniques to the project 2026-03-12 13:34:41 +01:00
ca80c3e6c7 deploy: prefix staging container names 2026-03-09 14:32:29 +01:00
dc0e31060e deploy: add compose file for published images 2026-03-09 14:29:32 +01:00
58e1948bc2 ci: publish header and updater images 2026-03-09 14:24:59 +01:00
b2f7d9527f ci: align Jenkins pipeline with backend deploy flow 2026-03-09 14:11:35 +01:00
4d945aabab merge: apply domain lookup changes 2026-02-22 21:58:01 +01:00
ade401d9e6 test: cover lookup handler 2026-02-20 16:40:07 +01:00
adf290e4ac feat: add domain lookup endpoint 2026-02-20 15:53:55 +01:00
0072307bec Add Jenkins pipeline for image publish 2026-01-21 16:56:24 +01:00
d355e7e6a9 fix: handle MaxMind 429 and backoff 2026-01-19 19:52:28 +01:00
8131550603 chore: disable updater healthcheck 2026-01-19 19:47:07 +01:00
2e3500f00a fix: use updater healthcheck script in compose 2026-01-19 19:45:07 +01:00
eab112fa03 chore: add compose healthcheck for asn-updater 2026-01-19 19:41:39 +01:00
733bdd401a chore: simplify updater healthcheck to local data 2026-01-19 19:37:32 +01:00
9025ab694d feat: add healthcheck for asn-header 2026-01-19 19:28:45 +01:00
34e85bb6cd feat: healthcheck requires minimum ASN count 2026-01-19 19:24:17 +01:00
623c81d406 fix: fallback PeeringDB info_type when empty 2026-01-19 19:17:05 +01:00
92d7a19186 docs: add PDB_INFO_TYPE to env example 2026-01-19 19:14:27 +01:00
979e35d680 fix: ensure updater outputs are world-readable 2026-01-19 19:11:02 +01:00
2316af824d fix: write nren_asns in OUT_DIR 2026-01-19 19:03:30 +01:00
346e974be6 fix: add indirect deps to go.mod 2026-01-19 19:02:12 +01:00
d8a4316d32 fix: include go.sum in build 2026-01-19 18:59:25 +01:00
aa514869bc fix: add go.sum for module dependencies 2026-01-19 18:57:40 +01:00
5171dc7d99 feat: add Eduroam Analyzer service 2026-01-19 18:50:51 +01:00
d36a1e7655 Merge pull request 'test/run-scripts' (#1) from test/run-scripts into main
Reviewed-on: #1
2026-01-17 16:51:36 +00:00
e3ed622ade Add deploy notes and env explanation 2026-01-15 03:50:18 +01:00
1e7013269e Add example env and healthcheck 2026-01-15 03:47:06 +01:00
45fd4454fa Fix PeeringDB auth header and info_type 2026-01-15 01:27:03 +01:00
5870ab952f Merge technical README 2026-01-14 19:42:34 +01:00
54615ec19a Merge remote README and gitignore 2026-01-14 19:35:08 +01:00
e255600a93 Ignore .DS_Store 2026-01-14 19:28:43 +01:00
8d012b8085 Initial commit 2026-01-14 19:27:03 +01:00
b00aeb5580 Initial commit 2026-01-14 18:26:05 +00:00