## 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 `calcBasic`
  - `LoginFailure` default: 4 attempts +15 points
  - `NotFound404` default: 8 attempts +15 points
- Risk score increases when threshold exceeded: 2x score increase when exceeding 1.5x threshold

### Complete Country Checking Features (requires [GeoLite](https://www.maxmind.com/en/geoip-api-web-services) download)

- Supports city-level Country analysis
- Distance calculation and movement speed detection

### Extended Configuration Parameters

- `HighRiskCountry`: High-risk country list
- `ScoreGeoHighRisk`: High-risk Country score
- `ScoreLoginFailure`: Login failure score
- `ScoreNotFound404`: 404 error score

### File Management

Supports custom file path configuration
- `CityDB`: GeoLite CityDB
- `CountryDB`: GeoLite CountryDB
- `BanList`: ban_list.json
  ```json
  [
    {
      ip: string
      reason: string
      added_at: int // timestamp
    }
    ...
  ]
  ```
- `TrustList`: trust_list.json
  ```json
  [
    {
      ip: string
      tag: string
      added_at: int // timestamp
    }
    ...
  ]
  ```