Skip to content

ConnectAlum/statsd_auth_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statsd Auth Proxy

A simple UDP proxy that authenticates packets using a token, and forwards them to a target address. Made for statsd.

Usage

./statsd_auth_proxy 

With custom configuration location

./statsd_auth_proxy --config config.json

Debug mode (logs packets)

./statsd_auth_proxy --enable-debug

Build

cargo build --release --all-features

Configuration

The configuration file is a JSON file with the following structure:

{
  "tokens": [
    "123"
  ],
  "target": "127.0.0.1:1338",
  "port": 1337,
  "bind": "0.0.0.0"
}

Authentication

Requests should be sent with the password/token before the payload, structured like this: <pass>::<payload>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages