summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-11 11:20:37 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-11 11:20:37 +0200
commit45cb83f89c693815421792b99d7c2329ad3bb322 (patch)
treee730c98963839624446e52ab905ad85561e01693
parentc9352cfee235a47644b04f14637fd6a8080d164c (diff)
Change default shared secret for TLS and DTLS.
We change from "mysecret" to "radsec" as per draft-ietf-radext-radsec-12.txt section 2.3 (4).
-rw-r--r--ChangeLog6
-rw-r--r--dtls.c2
-rw-r--r--tls.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b984f2a..e1087ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
2011-12-22 1.6-dev
+ Incompatible changes:
+ - The default shared secret for TLS and DTLS connections change
+ from "mysecret" to "radsec" as per draft-ietf-radext-radsec-12.txt
+ section 2.3 (4). Please make sure to specify a secret in both
+ client and server blocks to avoid unwanted surprises.
+
New features:
- Improved F-Ticks logging options. F-Ticks can now be sent to a
separate syslog facility and the VISINST label can now be
diff --git a/dtls.c b/dtls.c
index ed3dca1..19386c4 100644
--- a/dtls.c
+++ b/dtls.c
@@ -46,7 +46,7 @@ void initextradtls();
static const struct protodefs protodefs = {
"dtls",
- "mysecret", /* secretdefault */
+ "radsec", /* secretdefault */
SOCK_DGRAM, /* socktype */
"2083", /* portdefault */
REQUEST_RETRY_COUNT, /* retrycountdefault */
diff --git a/tls.c b/tls.c
index ce06a6e..0282d63 100644
--- a/tls.c
+++ b/tls.c
@@ -43,7 +43,7 @@ void tlssetsrcres();
static const struct protodefs protodefs = {
"tls",
- "mysecret", /* secretdefault */
+ "radsec", /* secretdefault */
SOCK_STREAM, /* socktype */
"2083", /* portdefault */
0, /* retrycountdefault */