v0.2.0 Release Notes
New Features
Login Failure and 404 Error Tracking
- Added
LoginFailure(): Records login failure events - Added
NotFound404(): Records 404 error events
Enhanced Dynamic Risk Score Checking
- Added checks for login failures and 404 errors in
calcBasicLoginFailuredefault: 4 attempts +15 pointsNotFound404default: 8 attempts +15 points
- Risk score increases when threshold exceeded: 2x score increase when exceeding 1.5x threshold
Complete Country Checking Features (requires GeoLite download)
- Supports city-level Country analysis
- Distance calculation and movement speed detection
Extended Configuration Parameters
HighRiskCountry: High-risk country listScoreGeoHighRisk: High-risk Country scoreScoreLoginFailure: Login failure scoreScoreNotFound404: 404 error score
File Management
Supports custom file path configuration
CityDB: GeoLite CityDBCountryDB: GeoLite CountryDBBanList: ban_list.json[ { ip: string reason: string added_at: int // timestamp } ... ]TrustList: trust_list.json[ { ip: string tag: string added_at: int // timestamp } ... ]