Releases: 0tSystemsPublicRepos/IfritProxy
Releases · 0tSystemsPublicRepos/IfritProxy
v0.3.2 - Configurable Cookie Domain Rewriting
🍪 Cookie Domain Rewriting Feature
Added
- Configurable Cookie Domain Rewriting for cross-subdomain authentication
- New
cookie_optionsconfiguration in server settings - Automatic
Domainattribute injection for Set-Cookie headers - Enable sharing authentication cookies across multiple subdomains
- Comprehensive documentation in
docs/COOKIE_DOMAIN_REWRITING.md
- New
Changed
- Fixed configuration structure (moved
appsto top level) - Enhanced
copyResponse()function with config parameter - Improved cookie handling for multi-subdomain deployments
Configuration Example
{
"server": {
"cookie_options": {
"rewrite_domain": true,
"domain": ".example.com"
}
}
}Testing
- ✅ Cookie domain rewriting verified
- ✅ Attack detection pipeline (12 attack types)
- ✅ LLM payload generation
- ✅ Backward compatible (disabled by default)
Downloads
Download the appropriate binary for your platform below.
IFRIT v0.3.1 - Detection & Deception Engine
IFRIT v0.3.1 - Multi-Database Support
Release Date: December 2, 2025
🎉 Major Features
PostgreSQL Database Support
IFRIT now supports PostgreSQL as a production-ready alternative to SQLite!
Why PostgreSQL?
- 🚀 Better performance at scale (>1M attack records)
- 🔄 Multi-instance clustering support
- 💾 Advanced backup/replication features
- 📊 Production-grade RDBMS
Database Provider Architecture
- ✅ Abstracted all database operations behind provider interface
- ✅ 40+ provider methods for complete CRUD operations
- ✅ Automatic schema migration (21 tables)
- ✅ CLI works with both SQLite and PostgreSQL
- ✅ Zero code changes needed to switch databases
🔧 Improvements
- API Handlers: Refactored 6 handlers to use provider interface
- Detection Engine: Updated exception checking to use provider
- Webhook System: Simplified to use provider methods
- CLI Tool: Complete rewrite for multi-database support
- Type Safety: Proper NULL handling with sql.NullString/NullInt64
🐛 Bug Fixes
- Fixed NULL column handling in pattern retrieval
- Fixed type conversion errors (int vs int64)
- Resolved foreign key constraint issues
- Proper handling of attacks without pattern attribution
- Fixed some bugs in the detection engine and improved the detection algorithm
📚 Documentation
- Added complete PostgreSQL setup guide in INSTALLATION.md
- Updated START_HERE.md with database decision tree
- Updated FEATURES.md with multi-database capabilities
- Comprehensive CHANGELOG.md for v0.3.1
⚡ Performance
| Operation | SQLite | PostgreSQL |
|---|---|---|
| Attack detection | <10ms | <10ms |
| Pattern lookup | <5ms | <8ms |
| Threat intel query | <10ms | <8ms |
🔄 Migration Guide
From SQLite to PostgreSQL:
- Install PostgreSQL
- Create database and user
- Update config:
"type": "postgres" - Restart IFRIT - tables created automatically!
Backward Compatibility: ✅ Fully compatible with existing SQLite deployments
📦 What's Included
ifrit- Main proxy binary (supports both databases)ifrit-cli- CLI tool (auto-detects database type)- Complete documentation updates
- Example configurations
📦 Installation
macOS (Apple Silicon)
curl -LO https://github.com/0tSystemsPublicRepos/IfritProxy/releases/download/v0.3.1/ifrit-v0.3.1-darwin-arm64.tar.gz
tar -xzf ifrit-v0.3.1-darwin-arm64.tar.gz
cd ifrit-v0.3.1-darwin-arm64
./install.shmacOS (Intel)
curl -LO https://github.com/0tSystemsPublicRepos/IfritProxy/releases/download/v0.3.1/ifrit-v0.3.1-darwin-amd64.tar.gz
tar -xzf ifrit-v0.3.1-darwin-amd64.tar.gz
cd ifrit-v0.3.1-darwin-amd64
./install.shLinux (Ubuntu/Debian)
wget https://github.com/0tSystemsPublicRepos/IfritProxy/releases/download/v0.3.1/ifrit-v0.3.1-linux-amd64.tar.gz
tar -xzf ifrit-v0.3.1-linux-amd64.tar.gz
cd ifrit-v0.3.1-linux-amd64
./install.shLinux (ARM64 - Raspberry Pi/AWS Graviton)
wget https://github.com/0tSystemsPublicRepos/IfritProxy/releases/download/v0.3.1/ifrit-v0.3.1-linux-arm64.tar.gz
tar -xzf ifrit-v0.3.1-linux-arm64.tar.gz
cd ifrit-v0.3.1-linux-arm64
./install.shWindows (PowerShell)
Invoke-WebRequest -Uri "https://github.com/0tSystemsPublicRepos/IfritProxy/releases/download/v0.3.1/ifrit-v0.3.1-windows-amd64.zip" -OutFile "ifrit-v0.3.1-windows-amd64.zip"
Expand-Archive ifrit-v0.3.1-windows-amd64.zip
cd ifrit-v0.3.1-windows-amd64\ifrit-v0.3.1-windows-amd64
.\ifrit.exe⚙️ Configuration
Edit config/default.json and set:
- Your Claude API key (or other LLM provider)
- Your backend target URL
- Database settings (SQLite by default, PostgreSQL optional)
- Notification settings (optional)
✅ Verify Installation
Each package includes SHA256 checksums. Verify with:
macOS/Linux:
shasum -a 256 -c ifrit-v0.3.1-*.tar.gz.sha256Windows (PowerShell):
Get-FileHash ifrit-v0.3.1-windows-amd64.zip -Algorithm SHA256After installation, use the CLI tool to manage IFRIT:
# List recent attacks
./ifrit-cli attacks list
# View attack statistics
./ifrit-cli attacks stats
# List attack patterns
./ifrit-cli patterns list
# Show help
./ifrit-cli --help🔒 Security Note
This release includes important security fixes. Upgrade recommended for all users.
🙏 Acknowledgments
Special thanks to the community for feedback and testing!
📝 Full Changelog
See CHANGELOG.md for complete details.
Download: Release Assets
Documentation: docs/
Issues: GitHub Issues