27 Commits

Author SHA1 Message Date
Muhammed Efe Cetin
0edff1557b filter servers using ipv6 2026-01-06 02:10:19 +01:00
Muhammed Efe Cetin
2561e3b56f fix null pointer deref 2026-01-06 01:48:06 +01:00
Muhammed Efe Cetin
8873cc5ea5 fixr reload config mechanism 2026-01-06 01:48:06 +01:00
Muhammed Efe Cetin
2376dbb741 feat: add support for profiling router 2025-10-21 00:36:30 +02:00
Muhammed Efe Cetin
9fdafef242 feat: add support for adding ca certs locally 2025-10-12 20:13:58 +02:00
Muhammed Efe Cetin
cad1a5062c config: allow setting log level from yaml config 2025-08-20 10:45:46 +03:00
Muhammed Efe Cetin
1c0d163b4a map: make special extensions configurable, remove legacy csv 2025-04-03 17:45:59 +03:00
SuperKali
d5b932a3a3 Add sameCityThreshold to config and always store ComputedDistance in cache
- Introduce SameCityThreshold in the Config struct
    - Replace the local constant sameCityThreshold with the configurable value
    - Store a single ComputedDistance in the cache instead of []randutil.Choice
2025-02-22 15:54:46 +03:00
SuperKali
22cb6bee2f Improve mirror selection logic in Closest with full-server fallback and enhanced logging 2025-02-22 15:54:46 +03:00
M. Efe Çetin
78ca5d57b3 Update config.go 2025-02-19 18:27:06 +03:00
Muhammed Efe Cetin
fa16f67363 fix rules are not applied 2025-02-19 18:27:06 +03:00
Tyler
5cfbfa6081 [bugfix] Fix compile errors
- Fix compile errors not found by prechecks
2024-01-25 21:33:37 -05:00
Tyler
e28122245b Initial release of version checks
Resolves version check issues, adds more information,
adds in Rule system to exclude hosts, upgrades to Go 1.20
2023-04-01 20:31:16 -04:00
Tyler
ee2b80a7df WIP: Version checks 2023-01-07 10:15:08 -05:00
Tyler
5ab22152e0 Bugfixes and more logging 2022-10-17 20:04:22 -04:00
Tyler
4799ab7ede Fix golint issues 2022-10-03 01:39:02 -04:00
Tyler
dc75eac5b1 Add support for ASN exclusions/inclusions
ASN exclusions will let us block certain ASNs from
accessing specific mirrors, as some countries have blocks
on specific ISPs.
2022-10-02 22:04:08 -04:00
Tyler
8a4d02c6e2 Cleanup hosts map 2022-08-18 23:43:58 -04:00
Tyler
d22b87da10 Fix config loading issue when servers don't resolve 2022-08-18 23:42:54 -04:00
Tyler
caa0fb43e4 Resolve issues with checks, forced http detection 2022-08-15 02:37:51 -04:00
Tyler
e7236b13de Massive refactoring, struct cleanup, supporting more features
Features:
- Protocol lists (http, https), managed by http responses
- Working TLS Checks
- Root certificate parsing for TLS checks
- Moving configuration into a Config struct, no more direct viper access
2022-08-15 02:16:22 -04:00
Tyler
3f71aced93 Improve test coverage and documentation 2022-08-14 03:42:49 -04:00
Tyler
290e5575cc Initial testing implementation of checks 2022-08-06 16:19:12 -04:00
Tyler
e5434a9a7b Add mirror status endpoint, timestamp on last activity 2022-04-02 04:50:12 -04:00
Tyler
a571832239 Add support for region paths 2022-04-01 00:04:27 -04:00