English | 简体中文
In short, the goal was to create an effective tool for website or API protection to handle abnormal situations and ensure the normal operation of websites and applications.
SamWaf is a lightweight, open-source web application firewall for small companies, studios, and personal websites. It supports fully private deployment, encrypts data stored locally, is easy to start, and supports Linux and Windows 64-bit.
Add Host | Attack Log |
CC | IP Blocklist |
IP Allowlist | LDP |
Add Rule Script Log | Select Log |
Log Details | Manual Rule |
URL Blocklist | URL Allowlist |
It is strongly recommended to conduct thorough testing in a test environment before deploying to production. If any issues arise, please provide feedback promptly.
Gitee: https://gitee.com/samwaf/SamWaf/releases
GitHub: https://github.com/samwafgo/SamWaf/releases
SamWaf64.exe
//Install
SamWaf64.exe install
//Start SamWaf64.exe start
//Stop SamWaf64.exe stop
//Uninstall SamWaf64.exe uninstall
### Linux
- Start directly
./SamWafLinux64
- As a service
//Install ./SamWafLinux64 install
//Start ./SamWafLinux64 start
//Stop ./SamWafLinux64 stop
//Uninstall ./SamWafLinux64 uninstall
### Docker
docker run -d --name=samwaf-instance \ -p 26666:26666 \ -p 80:80 \ -p 443:443 \ -v /path/to/your/conf:/app/conf \ -v /path/to/your/data:/app/data \ -v /path/to/your/logs:/app/logs \ samwaf/samwaf
More Detail Docker https://hub.docker.com/r/samwaf/samwaf
## Start Access
http://127.0.0.1:26666
Default account: admin Default password: admin868 (Please change the default password upon first login)
## Online Documentation
[Online Documentation](https://doc.samwaf.com/)
# Code Information
## Code Repository
- Gitee
[https://gitee.com/samwaf/SamWaf](https://gitee.com/samwaf/SamWaf)
- GitHub
[https://github.com/samwafgo/SamWaf](https://github.com/samwafgo/SamWaf)
## Introduction and Compilation
How to Compile
[Compilation Instructions](./docs/compile.md)
## Tested and Supported Platforms
[Tested and Supported Platforms](./docs/Tested_supported_systems.md)
## Testing Results
[Testing Results](./test/attackTest.md)
# Security Policy
[Security Policy](./SECURITY.md)
# Feedback
SamWaf is continuously iterating. We welcome feedback and suggestions.
- [Gitee Issues](https://gitee.com/samwaf/SamWaf/issues)
- [GitHub Issues](https://github.com/samwafgo/SamWaf/issues)
- Email feedback: samwafgo@gmail.com
# License
SamWaf is licensed under the Apache License 2.0. Refer to [LICENSE](./LICENSE) for more details.
For third-party software usage notice, see [ThirdLicense](./ThirdLicense)
# Contribution
Thanks for the following contributors!
<a href="https://github.com/samwafgo/SamWaf/graphs/contributors">
<img src="https://contrib.rocks/image?repo=samwafgo/SamWaf" />
</a>