Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HTTP & OAuth Gateway and Web Application Firewall (WAF) based on ModSecurity, online demo:https://door.caswaf.com

License

NotificationsYou must be signed in to change notification settings

casbin/caswaf

Repository files navigation

An open-source Web Application Firewall (WAF) software developed by Go and React.

semantic-releasedocker pull casbin/caswafGitHub ReleaseDocker Image Version (latest semver)

Go Report CardlicenseGitHub issuesGitHub starsGitHub forks

Online demo

Documentation

https://caswaf.org

Architecture

CasWAF contains 2 parts:

NameDescriptionLanguageSource code
FrontendWeb frontend UI for CasWAFJavascript + Reacthttps://github.com/casbin/caswaf/tree/master/web
BackendRESTful API backend for CAsWAFGolang + Beego + MySQLhttps://github.com/casbin/caswaf

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

Get the code

go get github.com/casdoor/casdoorgo get github.com/casbin/caswaf

or

git clone https://github.com/casdoor/casdoorgit clone https://github.com/casbin/caswaf

Setup database

CasWAF will store its users, nodes and topics information 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.

Configure Casdoor

After creating an organization and an application for CasWAF in a Casdoor, you need to updateclientID,clientSecret,casdoorOrganization andcasdoorApplication in app.conf.

Run CasWAF

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 seecasdoor 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.

Contribute

For CasWAF, if you have any questions, you can open Issues, or you can also directly start Pull Requests(but we recommend opening issues first to communicate with the community).

License

Apache-2.0

About

HTTP & OAuth Gateway and Web Application Firewall (WAF) based on ModSecurity, online demo:https://door.caswaf.com

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp