Date: Fri, 16 Jun 2017 13:49:29 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443692 - in head/net/freenet6: . files Message-ID: <201706161349.v5GDnTJb081607@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Fri Jun 16 13:49:28 2017 New Revision: 443692 URL: https://svnweb.freebsd.org/changeset/ports/443692 Log: Implement a number of improvments: - When shutdown, the correct behavior is to send SIGHUP. - When PID of the gw6c process greater than 65536, it can not perform timeout ping check correctly, due to echo_id in icmp_hdr is declared as uint16_t. - Mute dmesg noise "nd6_dad_timer: cancel DAD on tun0 because of ND6_IFF_IFDISABLED." PR: 211425 Submitted by: clive Added: head/net/freenet6/files/patch-src_net_icmp__echo__engine.c (contents, props changed) head/net/freenet6/files/patch-template_freebsd.sh (contents, props changed) Modified: head/net/freenet6/Makefile head/net/freenet6/files/freenet6.in Modified: head/net/freenet6/Makefile ============================================================================== --- head/net/freenet6/Makefile Fri Jun 16 13:33:34 2017 (r443691) +++ head/net/freenet6/Makefile Fri Jun 16 13:49:28 2017 (r443692) @@ -3,7 +3,7 @@ PORTNAME= freenet6 DISTVERSION= 6_0_1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= http://go6.net/4105/file.asp?file_id=166& DISTNAME= tspc-${PORTVERSION}-src Modified: head/net/freenet6/files/freenet6.in ============================================================================== --- head/net/freenet6/files/freenet6.in Fri Jun 16 13:33:34 2017 (r443691) +++ head/net/freenet6/files/freenet6.in Fri Jun 16 13:49:28 2017 (r443692) @@ -23,6 +23,7 @@ name=freenet6 rcvar=freenet6_enable +sig_stop="HUP" command=%%PREFIX%%/bin/gw6c required_files=%%PREFIX%%/etc/freenet6/gw6c.conf Added: head/net/freenet6/files/patch-src_net_icmp__echo__engine.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freenet6/files/patch-src_net_icmp__echo__engine.c Fri Jun 16 13:49:28 2017 (r443692) @@ -0,0 +1,11 @@ +--- src/net/icmp_echo_engine.c.orig 2017-06-16 09:08:10 UTC ++++ src/net/icmp_echo_engine.c +@@ -238,7 +238,7 @@ iee_ret_t IEE_init( void** pp_config, iee_mode_t eng_m + p_engine->clbk_recv = recv_clbk; + + // Initialize engine socket variables. +- p_engine->icmp_echo_id = pal_getpid(); ++ p_engine->icmp_echo_id = pal_getpid() % 65536; + p_engine->icmp_saf = af; + switch( p_engine->icmp_saf ) + { Added: head/net/freenet6/files/patch-template_freebsd.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/freenet6/files/patch-template_freebsd.sh Fri Jun 16 13:49:28 2017 (r443692) @@ -0,0 +1,11 @@ +--- template/freebsd.sh.orig 2017-06-16 09:11:57 UTC ++++ template/freebsd.sh +@@ -201,7 +201,7 @@ if [ X"${TSP_TUNNEL_MODE}" = X"v6v4" ] || [ X"${TSP_TU + fi + # + # Configured tunnel config (IPv6) +- ++ Exec $ifconfig $TSP_TUNNEL_INTERFACE inet6 -ifdisabled + Exec $ifconfig $TSP_TUNNEL_INTERFACE inet6 $TSP_CLIENT_ADDRESS_IPV6 $TSP_SERVER_ADDRESS_IPV6 prefixlen $TSP_TUNNEL_PREFIXLEN alias + Exec $ifconfig $TSP_TUNNEL_INTERFACE mtu 1280 + #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706161349.v5GDnTJb081607>