Top 6.1% forks on proxy.golang.org
proxy.golang.org : github.com/hsanjuan/go-captive
Package captive provides a TCP/IP proxy for HTTP/HTTPs traffic controlled by a user-defined captive portal (client-IP based). In order to use the portal, TCP traffic for ports 80 and 443 must be forwarded to the portal ports (usually this is done using "iptables"). The proxy acts as a man-in-the-middle only letting through HTTP(s) traffic from IPs which have been allowed. Along with the proxy, captive.Portal runs HTTP servers to redirect and serve the portal website, which is user-defined. The portal server handles a login endpoint which allows clients to be whitelisted based on a user-provided function.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/hsanjuan/go-captive
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/hsanjuan
Stars: 11 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/hsanjuan
Last synced: 8 days ago