Split example config in two files.
authorLinus Nordberg <linus@nordberg.se>
Thu, 24 Feb 2011 20:57:46 +0000 (21:57 +0100)
committerLinus Nordberg <linus@nordberg.se>
Thu, 24 Feb 2011 20:57:46 +0000 (21:57 +0100)
lib/examples/client-tls.conf [new file with mode: 0644]
lib/examples/client-udp.conf [new file with mode: 0644]

diff --git a/lib/examples/client-tls.conf b/lib/examples/client-tls.conf
new file mode 100644 (file)
index 0000000..4d0904d
--- /dev/null
@@ -0,0 +1,14 @@
+config blocking-tls {
+    type = "TLS"
+    timeout = 1
+    retries = 3
+    cacertfile = "/home/linus/nordberg-ca.crt"
+#    cacertfile = "/home/linus/p/moonshot/demoCA/cacert.pem"
+    certfile = "/home/linus/p/moonshot/radsecproxy-test.crt"
+    certkeyfile = "/home/linus/p/moonshot/radsecproxy-test.key"
+    server {
+        hostname = "localhost"
+       service = "2083"
+       secret = "sikrit"
+    }
+}
diff --git a/lib/examples/client-udp.conf b/lib/examples/client-udp.conf
new file mode 100644 (file)
index 0000000..a83fb26
--- /dev/null
@@ -0,0 +1,10 @@
+config blocking-udp {
+    type = "UDP"
+    server {
+        hostname = "localhost"
+       service = "1820"
+       secret = "sikrit"
+       timeout = 1         /* optional */
+       tries = 10            /* optional */
+    }
+}