[Midnightbsd-cvs] src [7211] stable/0.6: MidnightBSD 0.6.5 release.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 5 20:15:28 EDT 2015


Revision: 7211
          http://svnweb.midnightbsd.org/src/?rev=7211
Author:   laffer1
Date:     2015-08-05 20:15:28 -0400 (Wed, 05 Aug 2015)
Log Message:
-----------
MidnightBSD 0.6.5 release. Fix a security issue with routed.  If you do not use routed, you can skip this one.

Modified Paths:
--------------
    stable/0.6/UPDATING
    stable/0.6/sbin/routed/if.c
    stable/0.6/sbin/routed/input.c
    stable/0.6/sbin/routed/main.c
    stable/0.6/sbin/routed/output.c
    stable/0.6/sbin/routed/parms.c
    stable/0.6/sbin/routed/radix.c
    stable/0.6/sbin/routed/rdisc.c
    stable/0.6/sbin/routed/routed.8
    stable/0.6/sbin/routed/table.c
    stable/0.6/sbin/routed/trace.c
    stable/0.6/sys/conf/newvers.sh

Modified: stable/0.6/UPDATING
===================================================================
--- stable/0.6/UPDATING	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/UPDATING	2015-08-06 00:15:28 UTC (rev 7211)
@@ -1,5 +1,11 @@
 Updating Information for MidnightBSD users.
 
+20160805:
+	MidnightBSD 0.6.5 RELEASE
+
+        routed - fix a potential security issue where traffic from outside
+        the network can disrupt routing.
+
 20150728:
 	MidnightBSD 0.6.4 RELEASE
 

Modified: stable/0.6/sbin/routed/if.c
===================================================================
--- stable/0.6/sbin/routed/if.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/if.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -39,8 +39,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.3 $");
-#ident "$Revision: 1.3 $"
+__RCSID("$Revision: 2.27 $");
+#ident "$Revision: 2.27 $"
 #endif
 
 struct ifhead ifnet = LIST_HEAD_INITIALIZER(ifnet);	/* all interfaces */

Modified: stable/0.6/sbin/routed/input.c
===================================================================
--- stable/0.6/sbin/routed/input.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/input.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -36,8 +36,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.3 $");
-#ident "$Revision: 1.3 $"
+__RCSID("$Revision: 2.26 $");
+#ident "$Revision: 2.26 $"
 #endif
 
 static void input(struct sockaddr_in *, struct interface *, struct interface *,
@@ -160,6 +160,12 @@
 
 	trace_rip("Recv", "from", from, sifp, rip, cc);
 
+	if (sifp == 0) {
+		trace_pkt("    discard a request from an indirect router"
+		    " (possibly an attack)");
+		return;
+	}
+
 	if (rip->rip_vers == 0) {
 		msglim(&bad_router, FROM_NADDR,
 		       "RIP version 0, cmd %d, packet received from %s",

Modified: stable/0.6/sbin/routed/main.c
===================================================================
--- stable/0.6/sbin/routed/main.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/main.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -47,8 +47,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.3 $");
-#ident "$Revision: 1.3 $"
+__RCSID("$Revision: 2.31 $");
+#ident "$Revision: 2.31 $"
 #endif
 
 pid_t	mypid;

Modified: stable/0.6/sbin/routed/output.c
===================================================================
--- stable/0.6/sbin/routed/output.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/output.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -36,8 +36,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.27 $");
+#ident "$Revision: 2.27 $"
 #endif
 
 

Modified: stable/0.6/sbin/routed/parms.c
===================================================================
--- stable/0.6/sbin/routed/parms.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/parms.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -38,8 +38,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.26 $");
+#ident "$Revision: 2.26 $"
 #endif
 
 

Modified: stable/0.6/sbin/routed/radix.c
===================================================================
--- stable/0.6/sbin/routed/radix.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/radix.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -42,8 +42,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.23 $");
+#ident "$Revision: 2.23 $"
 #endif
 
 #define log(x, msg) syslog(x, msg)

Modified: stable/0.6/sbin/routed/rdisc.c
===================================================================
--- stable/0.6/sbin/routed/rdisc.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/rdisc.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -39,8 +39,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.27 $");
+#ident "$Revision: 2.27 $"
 #endif
 
 /* router advertisement ICMP packet */

Modified: stable/0.6/sbin/routed/routed.8
===================================================================
--- stable/0.6/sbin/routed/routed.8	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/routed.8	2015-08-06 00:15:28 UTC (rev 7211)
@@ -1,4 +1,4 @@
-.\"   $Revision: 1.2 $
+.\"   $Revision: 2.26 $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.

Modified: stable/0.6/sbin/routed/table.c
===================================================================
--- stable/0.6/sbin/routed/table.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/table.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -36,8 +36,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.27 $");
+#ident "$Revision: 2.27 $"
 #endif
 
 static struct rt_spare *rts_better(struct rt_entry *);

Modified: stable/0.6/sbin/routed/trace.c
===================================================================
--- stable/0.6/sbin/routed/trace.c	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sbin/routed/trace.c	2015-08-06 00:15:28 UTC (rev 7211)
@@ -41,8 +41,8 @@
 #elif defined(__FreeBSD__)
 __RCSID("$MidnightBSD$");
 #else
-__RCSID("$Revision: 1.2 $");
-#ident "$Revision: 1.2 $"
+__RCSID("$Revision: 2.27 $");
+#ident "$Revision: 2.27 $"
 #endif
 
 

Modified: stable/0.6/sys/conf/newvers.sh
===================================================================
--- stable/0.6/sys/conf/newvers.sh	2015-08-06 00:10:00 UTC (rev 7210)
+++ stable/0.6/sys/conf/newvers.sh	2015-08-06 00:15:28 UTC (rev 7211)
@@ -32,7 +32,7 @@
 # $MidnightBSD$
 
 TYPE="MidnightBSD"
-REVISION="0.6.4"
+REVISION="0.6.5"
 RELEASE="${REVISION}"
 VERSION="${TYPE} ${RELEASE}"
 SYSDIR=$(dirname $0)/..



More information about the Midnightbsd-cvs mailing list