Janusec / janusec

JANUSEC Application Gateway provides secure access, including reverse proxy, K8S Ingress Controller, Automatic ACME Certificate, WAF, 5-Second Shield, CC Defense, OAuth2 Authentication, Global Server Load Balance, and Cookie Compliance etc. JANUSEC应用网关,提供安全的接入,包括反向代理、K8S Ingress Controller、自动化ACME证书、WAF、5秒盾、CC防御、OAuth2身份认证、GSLB负载均衡与Cookie合规等。
https://janusec.github.io/
Other
1.14k stars 262 forks source link
acme application-gateway application-security cookie-banner cookie-compliance gateway golang gslb janusec janusec-application-gateway k8s-ingress-controller load-balance port-forwarding security sql-injection waf web-application-firewall web-application-security web-ssh

Janusec Application Gateway / JANUSEC应用网关

Build Status

English Readme

提供快速、安全的应用交付

Janusec Application Gateway

介绍PPT: https://www.janusec.com/download/Janusec-Application-Gateway-CN.pdf

主要功能

JANUSEC应用网关的主要功能有:

主要特性

截图

SQL注入截图

Janusec Application Gateway Screenshot

敏感信息泄露截图

Janusec Application Gateway Screenshot

产品网站

https://janusec.github.io/cn/

需求

部署快速指引

详细文档可在这里获取: Janusec应用网关快速入门

开发快速指引

git clone https://github.com/Janusec/janusec.git

编辑config.json

"host": "127.0.0.1",
"port": "5432",
"user": "janusec",
"password": "123456",
"dbname": "janusec"

Janusec将自动加密数据库口令
然后:

go build
su (切换到root)
./janusec

Web管理入口

当config.json中listen=false时 ,使用如下地址:

http://`your_primary_node_ip_address`/janusec-admin/ (首次使用)
https://`your_application_domain_name`/janusec-admin/ (配置证书后)

当config.json中listen=true时,使用如下地址:

http://`your_primary_node_ip_address:9080`/janusec-admin/ (首次使用)
https://`your_primary_node_domain_name:9443`/janusec-admin/ (配置证书和应用后)

只使用主节点时,任意应用域名均可用于访问管理入口。
如果使用了副本节点,应为主节点申请一个单独的域名。

Janusec应用网关配置

发布

目前仅支持Linux

go build
su
./release.sh

生成的发布包位于./dist目录。

Web管理发布

Web化管理所需的文件在 ./static/janusec-admin/ 目录, 源码在 Janusec-Admin Github ,前端源码使用Angular 9.

多许可证

JANUSEC应用网关开源版本的源文件使用GNU AGPLv3授权.
专业增强特性版本闭源发布,增强特性包括:GSLB、Cookie合规(应用无需修改)等。

增强特性

增强体验版是在开源版本基础上进一步增强,增强特性部分不开源,仅用于测试或体验。

增强特性包括:

增强体验版的下载链接可以在 快速入门 找到。

支持


Provide Fast and Secure Application Delivery

Janusec Application Gateway

Introduction Slides: https://www.janusec.com/download/Janusec-Application-Gateway.pdf

Main functions

The main functions of JANUSEC Application Gateway include:

Key Features

Screenshots

SQL Injection Screenshot

Janusec Application Gateway Screenshot

Sensitive Data Leakage Screenshot

Janusec Application Gateway Screenshot

Product Web Site

English:
https://janusec.github.io/

Requirements

Quick Start for Deployment

Detailed documentation is available at: Janusec Application Gateway Quick Start.

Quick Start for Developer

git clone https://github.com/Janusec/janusec.git

Edit config.json

"host": "127.0.0.1",
"port": "5432",
"user": "janusec",
"password": "123456",
"dbname": "janusec"

Janusec will encrypt the password automatically, then:

go build
su (switch to root)
./janusec

Web Administration

When listen=false in config.json:

http://`your_primary_node_ip_address`/janusec-admin/ (first use)
https://`your_application_domain_name`/janusec-admin/ (after certificate configured)

When listen=true in config.json :

http://`your_primary_node_ip_address:9080`/janusec-admin/ (first use)
https://`your_primary_node_domain_name:9443`/janusec-admin/ (after certificate configured)

When using primary node only, any application domain name can be used for admin.
But if you have one or more replica nodes, you should apply for a separate domain name for primary node.

Janusec Application Gateway Configuration

Release

Only support Linux Now

go build
su
./release.sh

The release package is under ./dist .

Web Administration Release

Release directory is ./static/janusec-admin/ , and source code is available at Janusec-Admin Github with Angular 9.

Multiple LICENSES

The open source files are made available under the terms of the GNU Affero General Public License (GNU AGPLv3).

The professional enhanced version is released in closed source, and the enhanced features including GSLB, Cookie compliance (No need to modify applications), etc.

Professional Plus Edition

The Professional Plus Edition is a further enhancement based on the open source version. The enhanced features are not open source and are only used for testing or experience.

Professional features:

The download link is available at: Quick Start.

Support