darkflare-1.2.1
DarkFlare v1.2.1 Release Notes
Security Enhancements
Upgraded minimum TLS version to 1.2
Added modern ECDHE cipher suites
Improved certificate validation
Added SNI support
Modernized HTTP headers to match Chrome 122
Added Sec-Ch-Ua security headers
Implemented base64 encoding for destination addresses
Enhanced Cloudflare header validation
Performance Improvements
Increased buffer sizes from 32KB to 64KB
Added buffer pooling system
Optimized batch sizes for transfers
Reduced polling interval (50ms → 25ms)
Improved connection pooling
Added rate limiting support
Enhanced session management
Automatic connection cleanup
Reliability & Error Handling
Added Cloudflare error code handling (521-524)
Improved HTML error detection
Enhanced unexpected response handling
Added formatted error messages
Microsecond precision debugging
Connection state tracking
ASCII box drawing for error displays
New Features
Client
Random file extension support
Dynamic session ID generation
Custom destination port support
Enhanced CLI interface
Improved help documentation
Server
Application mode with custom command execution
Direct access control (-allow-direct flag)
Enhanced origin validation
Custom TLS certificate configuration
Configuration Updates
Modified default timeouts
Updated buffer sizes
Changed polling intervals
Improved TLS defaults
Added new CLI flags
Enhanced usage documentation
Dependencies
Added golang.org/x/time/rate
Updated Prometheus metrics
Added zap logger support
Documentation
Added comprehensive examples
Improved security guidance
Added deployment recommendations
Enhanced troubleshooting guide
Breaking Changes
New header format for destinations
Modified session handling
Updated default port handling
Changed TLS configuration structure
Known Issues
- Direct access mode requires careful configuration
- Limited compatibility with older TLS clients
- Application mode is experimental
- For detailed information, visit our GitHub repository.