|
|
82668768d0
|
🔒 Implement comprehensive security and DDoS protection
### Security Features:
- **Rate Limiting**: Redis-based IP tracking with configurable limits
- General: 100 requests/minute (5min block)
- Upload: 10 requests/5min (10min block)
- Auth: 20 requests/15min (30min block)
- **Request Validation**: Path length, header count, suspicious patterns
- **Attack Detection**: Admin paths, script injections, bot patterns
- **Enhanced JWT**: Format validation, length checks, character filtering
- **IP Tracking**: X-Forwarded-For and X-Real-IP support
### Security Headers:
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- X-XSS-Protection: 1; mode=block
- Content-Security-Policy with strict rules
- Strict-Transport-Security with includeSubDomains
### CORS Hardening:
- Limited to specific domains: discours.io, new.discours.io
- Restricted methods: GET, POST, OPTIONS only
- Essential headers only
### Infrastructure:
- Security middleware for all requests
- Local cache + Redis for performance
- Comprehensive logging and monitoring
- Progressive blocking for repeat offenders
### Documentation:
- Complete security guide (docs/security.md)
- Configuration examples
- Incident response procedures
- Monitoring recommendations
Version bump to 0.6.0 for major security enhancement.
|
2025-09-02 11:40:43 +03:00 |
|
|
|
112f102bb5
|
fmt
Deploy / deploy (push) Has been skipped
CI / lint (push) Failing after 7m37s
CI / test (push) Has been cancelled
|
2025-09-01 22:58:03 +03:00 |
|
|
|
6c3262edbe
|
simpler-auth+no-overlay
Deploy / deploy (push) Has been skipped
CI / lint (push) Failing after 8s
CI / test (push) Failing after 3m57s
|
2025-09-01 20:36:15 +03:00 |
|
|
|
ea92a376ed
|
docs
CI / test (push) Failing after 4m0s
CI / lint (push) Failing after 4s
CI / deploy (push) Has been skipped
|
2025-08-02 00:18:09 +03:00 |
|
|
|
b471c66209
|
noheic-convertion
deploy / deploy (push) Failing after 5s
|
2024-11-13 11:32:50 +03:00 |
|
|
|
bc14d86018
|
heic-sys
deploy / deploy (push) Failing after 6s
|
2024-11-13 11:14:53 +03:00 |
|
|
|
be8c03eb11
|
quota-rollback+logs
deploy / deploy (push) Failing after 5s
|
2024-11-12 12:29:19 +03:00 |
|
|
|
a4ea55cf3c
|
store-uplaoded-path
deploy / deploy (push) Successful in 1m5s
|
2024-10-23 21:41:29 +03:00 |
|
|
|
5283a878ed
|
log4
deploy / deploy (push) Successful in 1m1s
|
2024-10-22 21:23:34 +03:00 |
|
|
|
1c27714455
|
proxy-reworked
|
2024-10-22 19:34:08 +03:00 |
|
|
|
8ff3f018b5
|
0.0.6-onecachekey
|
2024-10-22 09:38:30 +03:00 |
|
|
|
9fcce86075
|
handlers-refactored
deploy / deploy (push) Failing after 4m4s
|
2024-10-22 00:36:42 +03:00 |
|