- pkg/protocol/socketapi/handleAuth.go
- Added import for "orly.dev/pkg/utils/iptracker"
- Added logic to call iptracker.Global.Authenticate() on successful authentication
- pkg/protocol/openapi/event.go
- Added logic to call iptracker.Global.Authenticate() on successful authentication
- pkg/utils/iptracker/iptracker.go
- Introduced offense tracking and block duration calculation based on offense count
- Added Authenticate method to remove blocks upon successful authentication
- Modified isBlockedNoLock to always return true when an IP is blocked
- Added HasBlockDurationPassed, GetBlockDuration, and Reset methods
- pkg/version/version
- Bumped version number from v0.4.4 to v0.4.5