openbsd-ports/net/freeradius/patches/patch-raddb_radiusd_conf_in
rui a3b7c4a43a update freeradius to 1.1.6
fix lots of bugs and security problems
references:
- http://www.freeradius.org/security.html
- http://www.freeradius.org/press/index.html#1.1.6
- CVE-2007-2028

also quickly tested by maja@, thanks!

ok Tim Kornau (maintainer)
2007-05-29 20:21:26 +00:00

62 lines
1.6 KiB
Plaintext

$OpenBSD: patch-raddb_radiusd_conf_in,v 1.2 2007/05/29 20:21:26 rui Exp $
--- raddb/radiusd.conf.in.orig Sun Feb 4 15:28:46 2007
+++ raddb/radiusd.conf.in Sat May 26 21:57:01 2007
@@ -23,7 +23,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
sysconfdir = @sysconfdir@
-localstatedir = @localstatedir@
+localstatedir = /var
sbindir = @sbindir@
logdir = @logdir@
raddbdir = @raddbdir@
@@ -71,7 +71,7 @@ log_file = ${logdir}/radius.log
# make
# make install
#
-libdir = @libdir@
+libdir = @prefix@/lib/freeradius
# pidfile: Where to place the PID of the RADIUS server.
#
@@ -106,8 +106,8 @@ pidfile = ${run_dir}/radiusd.pid
# that the debugging mode server is running as a user that can read the
# shadow info, and the user listed below can not.
#
-#user = nobody
-#group = nobody
+user = _freeradius
+group = _freeradius
# max_request_time: The maximum time (in seconds) to handle a request.
#
@@ -425,8 +425,8 @@ security {
#
# allowed values: {no, yes}
#
-proxy_requests = yes
-$INCLUDE ${confdir}/proxy.conf
+proxy_requests = no
+# $INCLUDE ${confdir}/proxy.conf
# CLIENTS CONFIGURATION
@@ -665,7 +665,7 @@ modules {
# For all EAP related authentications.
# Now in another file, because it is very large.
#
-$INCLUDE ${confdir}/eap.conf
+ $INCLUDE ${confdir}/eap.conf
# Microsoft CHAP authentication
#
@@ -1253,7 +1253,7 @@ $INCLUDE ${confdir}/eap.conf
# For MS-SQL, use: ${confdir}/mssql.conf
# For Oracle, use: ${confdir}/oraclesql.conf
#
- $INCLUDE ${confdir}/sql.conf
+ # $INCLUDE ${confdir}/sql.conf
# For Cisco VoIP specific accounting with Postgresql,