head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.32 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.30 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.28 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.26 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.24 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.22 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.20 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.18 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.16 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.14 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.12 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.10 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2006.08.15.20.54.44; author rpaulo; state dead; branches; next 1.3; 1.3 date 2006.05.12.08.25.47; author joerg; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2006.05.02.15.36.09; author rpaulo; state dead; branches; next 1.1; 1.1 date 2006.03.14.01.59.19; author joerg; state Exp; branches 1.1.2.1; next ; 1.3.2.1 date 2006.08.18.13.55.46; author salo; state dead; branches; next ; 1.1.2.1 date 2006.06.07.18.23.42; author ghen; state Exp; branches; next ; desc @@ 1.4 log @Update to version 0.9.9: ============================================================================ RELEASE CANDIDATE 0.9.9 : Minor portability fixes # NetBSD 4 build fixes. ============================================================================ RELEASE CANDIDATE 0.9.8 : Major feature enhancements, major security fixes # Support interacting with Teredo clients behind symmetric NATs. # Fix multiple problems with HMAC/ping authentication of non-Teredo nodes. # Increase timestamp wrap time from 18 hours to 70 years to avoid replay attacks against authentication tokens. # Allow Router Advertisement through the ISATAP tunnel (untested). isatapd remain very experimental, particular client-side. Someone ought to make a clean kernel implementation instead. # Use HMAC instead of random nonces in Teredo clients. ============================================================================= BETA RELEASE 0.9.7 : Major security fixes # Fix infinite UDP packet forwarding loop in Teredo server (MTFL-SA 0603). ============================================================================= BETA RELEASE 0.9.6 : Major compatibility fixes # Lots of portability fixes, mostly for FreeBSD and the likes. # Removed some dead code. # Provide teredo-mire by default. # Print more helpful error message for some common BSD tunneling issues. ============================================================================= BETA RELEASE 0.9.5 : Major features enhancement, major bug fixes # Removed too brittle cone NAT support. As a side effect, miredo is much faster to startup in client mode in most cases. # Fix server-side handling of Windows Vista client solicitations. # Removed the IgnoreConeBit configure option. The cone bit is now always ignored (this was the default ever since the introduction of that option). ============================================================================= BETA RELEASE 0.9.4 : Major features enhancement # More refined system clock usage brings about 30% performance boost. ============================================================================= BETA RELEASE 0.9.3 : Major features enhancement, major bug fixes # Use dedicated thread for packets transmission and reception. Miredo should now leverage dual-process, dual-core and SMT systems. # Receive to-be-decapsulated and to-be-encapsulated packets in blocking mode; this improves performance by about 10% on Linux. # Use the POSIX monotonic clock for maintenance procedure and “exclusive” mode watch if POSIX monotonic clock and clock selection are available. # Minor optimizations to the most stressed code paths. # Suppress spurious 4-seconds delay when waiting for “symmetric” probes. # Minimalistic support for ISATAP client in ISATAPd. # Ignore invalid Router Advertisements properly. # Drop incoming multicast traffic as a precautionary measure. # Truncate PID file properly when updating it. # Fix deadlocks and spurious exits upon some signals (such as SIGCONT). # Fix deadlock when Teredo server DNS hostname resolution fails. # Handle would-be “spurious wakeups” properly. # Fix IPv4 global unicast access-list. # Fix SO_REUSEADDR socket option usage. # Use C99 restrict keyword at sensible places for compiler optimization. # Portability fixes for DragonFly BSD. # Work-around for some uClibc POSIX defines insanity. # Got rid of all C++ code. # Renamed libteredo-mire to teredo-mire for consistency. # Leverage newer autoconf macros. # Fix encoding of non-ASCII characters in manual pages. # Work-around for platforms that can't rename tunnel network interface. # Build libmiredo dynamically to reduce global code size. # Fix inclusion of non-PIC code into shared libraries. (Unstable version 0.9.3 includes all fixes from stable version 0.8.5) ============================================================================= BETA RELEASE 0.9.1 : Major features enhancement # Created and referenced a developper mailing list: . Send a mail with subject “subscribe” to to subscribe. # Added isatap, an ISATAP router based on libtun6 and miredo. After careful IETF IPR claim check, it seems ISATAP can be freely implemented anyway. # Working support for Mac OS X: - work-around overly long closefrom() replacement, - work-around tuntap for OS X spurious initialization error. - add required defines for pthread to work properly. # Added libteredo-miredo, an undocumented Teredo “test card”. # Improve miredo-checkconf semantics. # Multi-threaded libteredo, and finer grained locking. # Fix initialization in libteredo sometimes causing a crash at startup. # Fix race condition in libteredo-list unit test. # Fix _impossible_ overflow of FD_SET(). (Unstable version 0.9.1 includes all fixes from stable version 0.8.4) @ text @$NetBSD: patch-ad,v 1.3 2006/05/12 08:25:47 joerg Exp $ --- compat/barrier.c.orig 2006-05-01 12:57:31.000000000 +0000 +++ compat/barrier.c @@@@ -30,7 +30,27 @@@@ ***********************************************************************/ #include + +#if defined(__DragonFly__) +#define pthread_barrier_init sys_pthread_barrier_init +#define pthread_barrier_destroy sys_pthread_barrier_destroy +#define pthread_barrier_wait sys_pthread_barrier_wait +#define pthread_barrier_t sys_pthread_barrier_t +#define pthread_barrierattr_init sys_pthread_barrierattr_init +#define pthread_barrierattr_destroy sys_pthread_barrierattr_destroy +#define pthread_barrierattr_t sys_pthread_barrierattr_t +#endif #include +#if defined(__DragonFly__) +#undef pthread_barrier_init +#undef pthread_barrier_destroy +#undef pthread_barrier_wait +#undef pthread_barrier_t +#undef pthread_barrierattr_init +#undef pthread_barrierattr_destroy +#undef pthread_barrierattr_t +#undef PTHREAD_BARRIER_SERIAL_THREAD +#endif #include "barrier.h" extern int @ 1.3 log @Fix PLIST and bump revision. Add DragonFly work arounds for pthread.h and fix net/if_var.h test as well. @ text @d1 1 a1 1 $NetBSD$ @ 1.3.2.1 log @Pullup ticket 1793 - requested by rpaulo security update for miredo Revisions pulled up: - pkgsrc/net/miredo/Makefile 1.9, 1.10 - pkgsrc/net/miredo/PLIST 1.4 - pkgsrc/net/miredo/distinfo 1.6, 1.7 - pkgsrc/net/miredo/patches/patch-aa 1.4, 1.5 - pkgsrc/net/miredo/patches/patch-ab 1.5 - pkgsrc/net/miredo/patches/patch-ac 1.4 - pkgsrc/net/miredo/patches/patch-ad removed - pkgsrc/net/miredo/patches/patch-ae removed Module Name: pkgsrc Committed By: rpaulo Date: Tue Aug 15 20:54:45 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile PLIST distinfo pkgsrc/net/miredo/patches: patch-aa patch-ab patch-ac Removed Files: pkgsrc/net/miredo/patches: patch-ad patch-ae Log Message: Update to version 0.9.9: ============================================================================ RELEASE CANDIDATE 0.9.9 : Minor portability fixes # NetBSD 4 build fixes. ============================================================================ RELEASE CANDIDATE 0.9.8 : Major feature enhancements, major security fixes # Support interacting with Teredo clients behind symmetric NATs. # Fix multiple problems with HMAC/ping authentication of non-Teredo nodes. # Increase timestamp wrap time from 18 hours to 70 years to avoid replay attacks against authentication tokens. # Allow Router Advertisement through the ISATAP tunnel (untested). isatapd remain very experimental, particular client-side. Someone ought to make a clean kernel implementation instead. # Use HMAC instead of random nonces in Teredo clients. ============================================================================= BETA RELEASE 0.9.7 : Major security fixes # Fix infinite UDP packet forwarding loop in Teredo server (MTFL-SA 0603). ============================================================================= BETA RELEASE 0.9.6 : Major compatibility fixes # Lots of portability fixes, mostly for FreeBSD and the likes. # Removed some dead code. # Provide teredo-mire by default. # Print more helpful error message for some common BSD tunneling issues. ============================================================================= BETA RELEASE 0.9.5 : Major features enhancement, major bug fixes # Removed too brittle cone NAT support. As a side effect, miredo is much faster to startup in client mode in most cases. # Fix server-side handling of Windows Vista client solicitations. # Removed the IgnoreConeBit configure option. The cone bit is now always ignored (this was the default ever since the introduction of that option). ============================================================================= BETA RELEASE 0.9.4 : Major features enhancement # More refined system clock usage brings about 30% performance boost. ============================================================================= BETA RELEASE 0.9.3 : Major features enhancement, major bug fixes # Use dedicated thread for packets transmission and reception. Miredo should now leverage dual-process, dual-core and SMT systems. # Receive to-be-decapsulated and to-be-encapsulated packets in blocking mode; this improves performance by about 10% on Linux. # Use the POSIX monotonic clock for maintenance procedure and exclusive mode watch if POSIX monotonic clock and clock selection are available. # Minor optimizations to the most stressed code paths. # Suppress spurious 4-seconds delay when waiting for symmetric probes. # Minimalistic support for ISATAP client in ISATAPd. # Ignore invalid Router Advertisements properly. # Drop incoming multicast traffic as a precautionary measure. # Truncate PID file properly when updating it. # Fix deadlocks and spurious exits upon some signals (such as SIGCONT). # Fix deadlock when Teredo server DNS hostname resolution fails. # Handle would-be spurious wakeups properly. # Fix IPv4 global unicast access-list. # Fix SO_REUSEADDR socket option usage. # Use C99 restrict keyword at sensible places for compiler optimization. # Portability fixes for DragonFly BSD. # Work-around for some uClibc POSIX defines insanity. # Got rid of all C++ code. # Renamed libteredo-mire to teredo-mire for consistency. # Leverage newer autoconf macros. # Fix encoding of non-ASCII characters in manual pages. # Work-around for platforms that can't rename tunnel network interface. # Build libmiredo dynamically to reduce global code size. # Fix inclusion of non-PIC code into shared libraries. (Unstable version 0.9.3 includes all fixes from stable version 0.8.5) ============================================================================= BETA RELEASE 0.9.1 : Major features enhancement # Created and referenced a developper mailing list: . Send a mail with subject subscribe to to subscribe. # Added isatap, an ISATAP router based on libtun6 and miredo. After careful IETF IPR claim check, it seems ISATAP can be freely implemented anyway. # Working support for Mac OS X: - work-around overly long closefrom() replacement, - work-around tuntap for OS X spurious initialization error. - add required defines for pthread to work properly. # Added libteredo-miredo, an undocumented Teredo test card. # Improve miredo-checkconf semantics. # Multi-threaded libteredo, and finer grained locking. # Fix initialization in libteredo sometimes causing a crash at startup. # Fix race condition in libteredo-list unit test. # Fix _impossible_ overflow of FD_SET(). (Unstable version 0.9.1 includes all fixes from stable version 0.8.4) --- Module Name: pkgsrc Committed By: salo Date: Fri Aug 18 13:45:57 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile distinfo pkgsrc/net/miredo/patches: patch-aa Log Message: Fix example configuration files installation so they aren't installed twice (extra ones in PKG_SYSCONFDIR). ok @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2006/05/12 08:25:47 joerg Exp $ @ 1.2 log @Update to version 0.8.4. Changes include the fix for this security problem: http://www.simphalempin.com/dev/miredo/mtfl-sa-0601.shtml.en and the additon of most pkgsrc patches. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2006/03/14 01:59:19 joerg Exp $ d3 4 a6 4 --- configure.orig 2006-02-02 21:02:16.000000000 +0000 +++ configure @@@@ -20613,6 +20613,12 @@@@ _ACEOF _ACEOF d8 1 a8 5 ;; + *dragonfly*) + cat >>confdefs.h <<\_ACEOF +#define HAVE_DRAGONFLY 1 +_ACEOF d10 23 a32 31 + ;; *openbsd*) cat >>confdefs.h <<\_ACEOF #define HAVE_OPENBSD 1 @@@@ -21878,8 +21884,7 @@@@ fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_pthread_create" = no; then - for ac_lib in pthread c_r; do - LIBS="-l$ac_lib $ac_func_search_save_LIBS" + LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@@@ -21923,7 +21928,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_pthread_create="-l$ac_lib" + ac_cv_search_pthread_create="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" break else echo "$as_me: failed program was:" >&5 @@@@ -21932,7 +21937,6 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - done fi LIBS=$ac_func_search_save_LIBS fi @ 1.1 log @Rest of DragonFly changes. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @Pullup ticket 1687 - requested by salo security update for miredo Revisions pulled up: - pkgsrc/net/miredo/Makefile 1.4, 1.5, 1.6, 1.7, 1.8 - pkgsrc/net/miredo/distinfo 1.3, 1.4, 1.5 - pkgsrc/net/miredo/PLIST 1.2, 1.3 - pkgsrc/net/miredo/patches/patch-aa 1.3 - pkgsrc/net/miredo/patches/patch-ab 1.3, 1.4 - pkgsrc/net/miredo/patches/patch-ac 1.3 - pkgsrc/net/miredo/patches/patch-ad 1.3 - pkgsrc/net/miredo/patches/patch-ae 1.3 - pkgsrc/net/miredo/patches/patch-af removed Module Name: pkgsrc Committed By: rpaulo Date: Fri Mar 31 23:21:33 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile Log Message: SunOS is not supported. PR 33157. --- Module Name: pkgsrc Committed By: rpaulo Date: Mon Apr 3 23:30:34 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile distinfo pkgsrc/net/miredo/patches: patch-ab Log Message: NetBSD needs TUNIFHEAD. --- Module Name: pkgsrc Committed By: rpaulo Date: Tue May 2 15:36:09 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile PLIST distinfo pkgsrc/net/miredo/patches: patch-aa patch-ab patch-ac Removed Files: pkgsrc/net/miredo/patches: patch-ad patch-ae patch-af Log Message: Update to version 0.8.4. Changes include the fix for this security problem: http://www.simphalempin.com/dev/miredo/mtfl-sa-0601.shtml.en and the additon of most pkgsrc patches. --- Module Name: pkgsrc Committed By: rpaulo Date: Tue May 2 15:36:44 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile Log Message: Put back NOT_FOR_PLATFORM. --- Module Name: pkgsrc Committed By: joerg Date: Fri May 12 08:25:47 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile PLIST distinfo pkgsrc/net/miredo/patches: patch-ac Added Files: pkgsrc/net/miredo/patches: patch-ad patch-ae Log Message: Fix PLIST and bump revision. Add DragonFly work arounds for pthread.h and fix net/if_var.h test as well. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2006/05/12 08:25:47 joerg Exp $ d3 4 a6 4 --- compat/barrier.c.orig 2006-05-01 12:57:31.000000000 +0000 +++ compat/barrier.c @@@@ -30,7 +30,27 @@@@ ***********************************************************************/ d8 5 a12 1 #include d14 31 a44 23 +#if defined(__DragonFly__) +#define pthread_barrier_init sys_pthread_barrier_init +#define pthread_barrier_destroy sys_pthread_barrier_destroy +#define pthread_barrier_wait sys_pthread_barrier_wait +#define pthread_barrier_t sys_pthread_barrier_t +#define pthread_barrierattr_init sys_pthread_barrierattr_init +#define pthread_barrierattr_destroy sys_pthread_barrierattr_destroy +#define pthread_barrierattr_t sys_pthread_barrierattr_t +#endif #include +#if defined(__DragonFly__) +#undef pthread_barrier_init +#undef pthread_barrier_destroy +#undef pthread_barrier_wait +#undef pthread_barrier_t +#undef pthread_barrierattr_init +#undef pthread_barrierattr_destroy +#undef pthread_barrierattr_t +#undef PTHREAD_BARRIER_SERIAL_THREAD +#endif #include "barrier.h" extern int @