summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2011-02-24 21:57:46 +0100
committerLinus Nordberg <linus@nordberg.se>2011-02-24 21:57:46 +0100
commit8ebd28762a9398ac39d6bd15d69495048ec0a1a4 (patch)
treeb6dedb3d1096faa3556210653ff454b88fa30bc1 /lib
parent77a7dfad33a8ca1ec691b6a820c5ea777c810ca2 (diff)
Split example config in two files.
Diffstat (limited to 'lib')
-rw-r--r--lib/examples/client-tls.conf14
-rw-r--r--lib/examples/client-udp.conf10
2 files changed, 24 insertions, 0 deletions
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 */
+ }
+}