Commit 6bfc632b authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

Oppdatert til 1.6.6 - på tide å se på differ

parent 9ae104e0
$NetBSD$
These syslog messages occur way too often. ...and since Kolla
likes to run with full debugging turned on, eliminate these so
that we don't fill the /var file system.
--- radsecproxy.c.orig 2010-06-03 14:44:10.000000000 +0200
+++ radsecproxy.c
@@ -419,7 +419,9 @@ struct request *newrqref(struct request
void freerq(struct request *rq) {
if (!rq)
return;
+#if 0
debug(DBG_DBG, "freerq: called with refcount %d", rq->refcount);
+#endif
if (--rq->refcount)
return;
if (rq->origusername)
$NetBSD$
These syslog messages occur way too often. ...and since Kolla
likes to run with full debugging turned on, eliminate these so
that we don't fill the /var file system.
--- udp.c.orig 2010-06-03 14:44:11.000000000 +0200
+++ udp.c
@@ -308,7 +308,9 @@ void *udpserverwr(void *arg) {
if (sendto(reply->udpsock, reply->replybuf, RADLEN(reply->replybuf), 0, (struct sockaddr *)&to, SOCKADDR_SIZE(to)) < 0)
debug(DBG_WARN, "udpserverwr: send failed");
}
+#if 0
debug(DBG_DBG, "udpserverwr: refcount %d", reply->refcount);
+#endif
freerq(reply);
}
}
$NetBSD$
Use NOTICE for requests as well
--- radsecproxy.c.orig 2010-12-23 14:01:35.000000000 +0100
+++ radsecproxy.c
@@ -1261,12 +1261,12 @@
attr = radmsg_gettype(msg, RAD_Attr_User_Name);
if (!attr) {
- debug(DBG_INFO, "acclog: accounting-request from client %s (%s) without username attribute", from->conf->name, addr2string(from->addr));
+ debug(DBG_NOTICE, "Accounting-Request from client %s (%s) without username attribute", from->conf->name, addr2string(from->addr));
return;
}
username = radattr2ascii(attr);
if (username) {
- debug(DBG_INFO, "acclog: accounting-request from client %s (%s) with username: %s", from->conf->name, addr2string(from->addr), username);
+ debug(DBG_NOTICE, "Accounting-Request from client %s (%s) with username: %s", from->conf->name, addr2string(from->addr), username);
free(username);
}
@@ -1469,7 +1469,7 @@
userascii = radattr2ascii(attr);
if (!userascii)
goto rmclrqexit;
- debug(DBG_DBG, "%s with username: %s", radmsgtype2string(msg->code), userascii);
+ debug(DBG_NOTICE, "%s from client %s (%s) with username: %s", radmsgtype2string(msg->code), from->conf->name, addr2string(from->addr), userascii);
/* will return with lock on the realm */
to = findserver(&realm, attr, msg->code == RAD_Accounting_Request);
$NetBSD$
Don't overwrite LDFLAGS, only add to it. We might get flags
via the build environment, but not during the configure stage.
--- Makefile.in.orig 2012-04-16 13:08:14.000000000 +0000
+++ Makefile.in
@@ -207,7 +207,7 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
+LDFLAGS += @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
fix_manpages patch-aa
patch-ab
patch-ac
patch-ad
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment