Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

varwof-gateway

⭐ Like this repo? Give a star to the flagship one: GitHub stars

Three-layer zero-trust security gateway — TCP/HTTP/UDP with mTLS mutual authentication + fine-grained RBAC + AIC capability verification.

⚠️ Preview — Not for production use. APIs and features may change before official release.

License Go Reference

中文

What is varwof-gateway?

Three-layer zero-trust security gateway integrating TCP/HTTP/UDP protocols with mTLS mutual authentication and fine-grained access control.

Quick Start

go build -o gateway .

cat > config.json <<EOF
{
  "listeners": [{
    "name": "https",
    "listen": ":443",
    "protocol": "http2",
    "tls": {
      "mode": "mtls",
      "cert_file": "server.pem",
      "key_file": "server-key.pem",
      "ca_cert_file": "ca.pem"
    },
    "routes": [
      { "path": "/", "target": "http://127.0.0.1:8080" }
    ]
  }]
}
EOF

gateway --config config.json

Installation

go build -o gateway .

Features

Layer Protocol Capabilities
L4 TCP Transparent proxy + mTLS
L7 HTTP Reverse proxy + path-level RBAC
L3 UDP DTLS/QUIC + rate limiting

Common: CRL/OCSP real-time revocation, AIC capability verification, structured logging (slog), Prometheus metrics, hot reload (SIGHUP), management API.

Ecosystem

graph LR
    client["User / AI Agent"] -->|mTLS| gw["gateway<br/>TCP/HTTP/UDP"]
    gw -->|mTLS| core["core<br/>PKI CA"]
    gw --> gwcore["gateway-core<br/>Security Engine"]
Loading

gateway is the frontend access layer of the varwof ecosystem. This project is a member of the Open Invention Network.

Contributing

Code contributions are welcome and go through pull requests. This repository is Apache-2.0, so contributions require a DCO sign-off (a Signed-off-by line in the commit message, e.g. git commit -s). See the org-wide CONTRIBUTING for details.

Links

Homepage https://varwof.com
Community https://varwof.org
IETF Draft draft-wei-aic-identity-cert
License Apache-2.0
Member Open Invention Network

About

Varwof gateway is a unified zero-trust gateway in pure Go — TCP/HTTP/UDP with shared security engine. Enforces AIC verification, CRL/OCSP/RBAC, capability plugins, and per-route protocol selection. Supports WebSocket, gRPC, QUIC/HTTP3, DTLS, hot reload, rate limiting, Merkle audit logs, and mesh broadcast.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages