Open source WAF gateway based on Golang
Github address of open source WAF gateway based on Golang
Https://github.com/Janusec/janusec
Product introduction
Https://mp.weixin.qq.com/s/OOA9LwPE0ulBqkIFkXax-Q
Build a scalable application security infrastructure
Janusec Application Gateway (Janusec Application Gateway), which provides functions such as WAF (Web Application Firewall, Web Application Firewall), unified web management portal, certificate private key protection, Web routing and scalable load balancing, is the best practice in the field of application security.
Main features WAF (Web application firewall), blocking SQL Injection, XSS, sensitive data leakage, CC × × × and other combined policies (multiple checkpoints linkage, such as request and response linkage) authentication code (CAPTCHA) supports unified web management entry support HTTPS, does not require Agent certificate private key encryption storage expandable, load balancing Web Site
Janusec Application Gateway Github
Https://www.janusec.com/
For detailed documentation, you can obtain the Janusec application gateway Documentation.
Requirements PostgreSQL 9.3 / 9.6 or 10 (development environment needs, production environment only needs master nodes) CentOS/RHEL 7, Debian 9systemdGolang 1.9 + Quick start getting started Guide
Https://www.janusec.com/documentation/quick-start/
Developers start quickly
Go get github.com/lib/pq
Go get github.com/gorilla/sessions
Go get github.com/dchest/captcha
Edit PostgreSQL settings in config.json
"host": "127.0.0.1"
"port": "5432"
"user": "janusec"
"password": "123456"
"dbname": "janusec"
Janusec will automatically encrypt the database password, and then:
Go build janusec.go
. / janusec
Web management
Http://127.0.0.1:9080/ (address for the first time)
Janusec Application Gateway configuration
Publish
Go build janusec.go
. / release.sh
The release package is in the. / dist directory.
Web management related documents
The files needed for Web management are in. / static/ directory, the source code is in Janusec-Admin Github, and the front-end source code uses Angular 5.
LICENSE
The source file of the Janusec application gateway is authorized by GNU AGPLv3.