From 8ebd28762a9398ac39d6bd15d69495048ec0a1a4 Mon Sep 17 00:00:00 2001
From: Linus Nordberg <linus@nordberg.se>
Date: Thu, 24 Feb 2011 21:57:46 +0100
Subject: Split example config in two files.

---
 lib/examples/client-tls.conf | 14 ++++++++++++++
 lib/examples/client-udp.conf | 10 ++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 lib/examples/client-tls.conf
 create mode 100644 lib/examples/client-udp.conf

(limited to 'lib/examples')

diff --git a/lib/examples/client-tls.conf b/lib/examples/client-tls.conf
new file mode 100644
index 0000000..4d0904d
--- /dev/null
+++ b/lib/examples/client-tls.conf
@@ -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
index 0000000..a83fb26
--- /dev/null
+++ b/lib/examples/client-udp.conf
@@ -0,0 +1,10 @@
+config blocking-udp {
+    type = "UDP"
+    server {
+        hostname = "localhost"
+	service = "1820"
+	secret = "sikrit"
+	timeout = 1         /* optional */
+	tries = 10	      /* optional */
+    }
+}
-- 
cgit v1.1