Skip to content

Commit

Permalink
Added some example regex for UDP forward.
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Uhlig <[email protected]>
  • Loading branch information
utoni committed Jul 30, 2021
1 parent 37d2756 commit e42f165
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ protocols:
{ name: "regex"; host: "localhost"; is_udp: true; port: "123";
udp_timeout: 20; # Time after which the "connection" is forgotten
regex_patterns: [ "hello" ]; },
# Forward Teamspeak3 (Voice only)
{ name: "regex"; host: "localhost"; is_udp: true; port: "9987"; regex_patterns: [ "TS3INIT1" ]; },
# Forward IETF QUIC-50 ("Q050" -> "\x51\x30\x35\x30")
# Remember that the regex needs to be adjusted for every supported QUIC version.
{ name: "regex"; host: "localhost"; is_udp: true; port: "4433"; regex_patterns: [ "\x51\x30\x35\x30" ]; },

# Regex examples -- better use the built-in probes for real-world use!
# OpenVPN
Expand Down

0 comments on commit e42f165

Please sign in to comment.