Skip to content

A extremely simple radsec proxy written in Golang

License

Notifications You must be signed in to change notification settings

henryrecker-pingidentity/grp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grp

Grp is a extremely simple radsec proxy written in Golang: it only supports forwarding packets incoming from the TLS 1.2 connection to a radius UDP backend. It was my first serious Golang program (needs a rewrite...) but the version v0.1.0 is stable and battle tested serving hundreds of wifi hotspots. It is well suited for deployment on containers as it keeps itself in the foreground, logs to stdout and is configured only through environment variables:

  • GRP_PORT: port to listen. Default: 2083.

  • GRP_CA_FILE: CA certificate file. Default: ca.crt.

  • GRP_CERT_FILE: server certificate file. Default: server.crt.

  • GRP_KEY_FILE: certificate key file. Default: server.key.

  • GRP_RADIUS_HOST: radius backend hostname. Default: localhost.

  • GRP_RADIUS_PORT: radius backend port. Default: 1812.

  • GRP_RADIUS_ACCT_HOST: radius accounting backend hostname. Default: localhost.

  • GRP_RADIUS_ACCT_PORT: radius accounting backend port. Default: 1813.

  • GRP_RADIUS_TIMEOUT: timeout for radius responses. Default: 10s.

  • GRP_IDLE_TIMEOUT: idle timeout for the TLS connection. Default: 60s.

Install

$ make install

Usage

Usage of grp:
  -v    Show version

Note

Only tested with Golang 1.7 on Linux.

About

A extremely simple radsec proxy written in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.8%
  • Dockerfile 4.2%
  • Makefile 1.0%