#
# SOURCES
#

# For each port you specify here, the server creates an UDP socket to listen
# on, by default bound to the wildcard address 0.0.0.0. You an supply a list of
# addresses as well; the server will then take one from the list in order for
# each socket that is created.

source (port=1812,
	port=1813),


#
# INTERFACES
#

include configuration.postgres,

# Uncomment this and the corresponding block in the behaviour file
# if you want to run a proxy.

interface (name="Radiusclient",
	   prog="radclient -C",
	   flags=Ascii + Short-Attr,
	   window=256,
	   jobticket="Radclient-Query-Id",
	   timeout=300),			# For async interfaces (window
						# > 1) this is the lifetime of
						# the oldest request. It's
						# a subprocess guard timer, not
						# a request timeout.

# Uncomment this if you run a multi-step authentication protocol 
# that involves statekeeping across RADIUS requests

interface (name="Memory",
	   sendattr="op",
	   sendattr="key",
	   sendattr="strval",
	   sendattr="ordval",
	   prog="memory",
	   timeout=5),

# Uncomment this if you run EAP 

interface (name="Ascdebug",
	   prog="radlogger",
	   flags=Ascii + Double-Backslash,
	   timeout=60),

interface (name="Bindebug",
	   prog="debug",
	   timeout=60),

#interface (name="Tls",  prog="eaptls", timeout=5),
#interface (name="Ttls", prog="eaptls", timeout=5),
#interface (name="Peap", prog="eaptls", timeout=5),

0

