📦⚡️ CasWAF
An open-source Web Application Firewall (WAF) software developed by Go and React.
Architecture
CasWAF contains 2 parts:
Name |
Description |
Language |
Frontend |
Web frontend UI for CasWAF |
Javascript + React |
Backend |
RESTful API backend for CasWAF |
Golang + Beego + MySQL |
Installation
CasWAF uses Casdoor to manage members. So you need to create an organization and an application for CasWAF in a Casdoor instance.
Necessary configuration
Setup database
CasWAF will store its users, nodes and topics informations in a MySQL database named: caswaf
, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/caswaf/blob/master/conf/app.conf
dataSourceName = root:123@tcp(localhost:3306)/
CasWAF uses XORM to connect to DB, so all DBs supported by XORM can also be used.
Run caswaf
Optional configuration
CasWAF uses Casdoor to manage members. If you want to log in with oauth, you should see casdoor oauth configuration.
OSS, Mail, and SMS services
CasWAF uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.
📦⚡️ CasWAF
An open-source Web Application Firewall (WAF) software developed by Go and React.
Architecture
CasWAF contains 2 parts:
Installation
CasWAF uses Casdoor to manage members. So you need to create an organization and an application for CasWAF in a Casdoor instance.
Necessary configuration
Setup database
CasWAF will store its users, nodes and topics informations in a MySQL database named:
caswaf
, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/caswaf/blob/master/conf/app.confCasWAF uses XORM to connect to DB, so all DBs supported by XORM can also be used.
Run caswaf
Configure and run caswaf by yourself. If you want to learn more about caswaf, you see caswaf installation.
Install caswaf using docker. you see installation by docker.
Install caswaf using BTpanel. you see installation by BTpanel.
Open browser:
http://localhost:3000/
Optional configuration
Setup your WAF to enable some third-party login platform
CasWAF uses Casdoor to manage members. If you want to log in with oauth, you should see casdoor oauth configuration.
OSS, Mail, and SMS services
CasWAF uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.