which test both the client functionality and the server
--- /dev/null
+Sent Access-Request Id 123 from 127.0.0.1:61714 to 127.0.0.1:12760 length 61
+ User-Name = "bob"
+ User-Password = "hello"
+Received Access-Accept Id 123 from 127.0.0.1:12760 to 127.0.0.1:61714 via (null) length 38
+(0) src/tests/radclient/auth_tcp.txt response code 2
--- /dev/null
+#
+# ARGV: -i 123 -c 1 -x -F -P tcp
+#
+User-Name = "bob",
+User-Password = "hello"
type = Access-Request
type = Accounting-Request
+ transport = udp
udp {
ipaddr = *
port = ${test_port}
allow = 0.0.0.0/0
}
}
- transport = udp
+
+ #
+ # Dynamic client section
+ #
+ limit {
+ max_clients = 0
+ max_connections = 0
+ idle_timeout = 600.0
+ nak_lifetime = 10.0
+ cleanup_delay = 5.0
+ }
+ }
+
+ listen {
+ type = Access-Request
+ type = Accounting-Request
+
+ transport = tcp
+ tcp {
+ ipaddr = *
+ port = ${test_port}
+ dynamic_clients = true
+ networks {
+ allow = 0.0.0.0/0
+ }
+ }
#
# Dynamic client section