Skip to main content

Module socks5

Module socks5 

Source
Expand description

SOCKS5 proxy server implementation with LLM control

This module implements a SOCKS5 proxy server with:

  • SOCKS5 protocol handshake and authentication
  • LLM-controlled connection decisions (allow/deny)
  • Pattern-based filtering for selective LLM involvement
  • Optional MITM mode for traffic inspection
  • Support for IPv4, IPv6, and domain name targets

Modules§

actions
SOCKS5 protocol actions implementation
filter
SOCKS5 filter configuration

Structs§

Socks5Server
SOCKS5 proxy server that forwards connections via LLM decisions

Enums§

TargetAddr
Target address for SOCKS5 connection

Constants§

RELAY_IDLE_TIMEOUT
How long an established tunnel may carry nothing in either direction before it is closed.