pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/fastd



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Aug 10 12:36:58 UTC 2021

Modified Files:
        pkgsrc/net/fastd: Makefile distinfo
Removed Files:
        pkgsrc/net/fastd/patches: patch-src_iface.c

Log Message:
fastd: update to version 22

   The main improvement of fastd v22 is the L2TP kernel offloading support,
   which brings fastd’s throughput for unsecured connections on par with
   other L2TP solutions like Tunneldigger, while maintaining most of fastd’s
   flexibility. It is even possible to use fast L2TP connections for some
   peers and secure encryption for others in a single fastd instance.

New features¶

     * Added new method “null@l2tp”

       Like the old “null” method, “null@l2tp” doesn’t provide any security.
       In TAP mode, it uses a packet format compatible with L2TPv3 Ethernet
       Pseudowires (RFC3931 and RFC4719) for payload data.

       Using “null@lt2p” for new unsecured deployments and migrating existing
       “null” setups is recommended for a number of reasons:

          * “null” uses a 1-byte packet header, which can make data transfer
            between kernel and userspace slightly slower on platforms that
            care about alignment
          * The L2TP-compatible data format facilitates debugging, as packet
            sniffers like Wireshark can decode the payload
          * L2TP can be offloaded to the Linux kernel, significantly
            increasing throughput

       See offload configuration for information on the setup and limitations
       of the L2TP offload feature.

     * Added support for NetBSD (tested on NetBSD 9.2)

Bugfixes¶

     * Fix build for MacOS

       This issue was introduced during the move to the Meson build system in
       fastd v20.

     * Fix TUN mode crash on FreeBSD/OpenBSD

       This issue is a regression introduced in fastd v20. The buffer
       management optimization caused an assertion failure in many
       configurations upon reading packets from the TUN interface.

     * Fix version number format

       When not building from Git, fastd v21 would format its own version
       number as “21” rather than “v21”, deviating from previous releases.
       This is fixed with v22.

Other changes¶

     * A new handshake format has been introduced, prepending an L2TPv3
       Control Message header to the actual fastd handshake. This improves
       certain interactions between fastd and the L2TP kernel module used for
       offloading.

       To maintain compatibility with older fastd versions, both handshake
       formats are accepted. For the initial handshake packet, an old and a
       new format packet are sent at the same time.

       Sessions established using the old handshake format are marked with
       “compat mode” in the log.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/fastd/Makefile pkgsrc/net/fastd/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/fastd/patches/patch-src_iface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/fastd/Makefile
diff -u pkgsrc/net/fastd/Makefile:1.1 pkgsrc/net/fastd/Makefile:1.2
--- pkgsrc/net/fastd/Makefile:1.1       Thu Jun 24 14:01:31 2021
+++ pkgsrc/net/fastd/Makefile   Tue Aug 10 12:36:58 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2021/06/24 14:01:31 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/08/10 12:36:58 nia Exp $
 
-DISTNAME=      fastd-21
+DISTNAME=      fastd-22
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=NeoRaider/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/net/fastd/distinfo
diff -u pkgsrc/net/fastd/distinfo:1.1 pkgsrc/net/fastd/distinfo:1.2
--- pkgsrc/net/fastd/distinfo:1.1       Thu Jun 24 14:01:31 2021
+++ pkgsrc/net/fastd/distinfo   Tue Aug 10 12:36:58 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/06/24 14:01:31 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/08/10 12:36:58 nia Exp $
 
-SHA1 (fastd-21.tar.gz) = 07b29afc9cca65c94da123a854798eeccf7f4235
-RMD160 (fastd-21.tar.gz) = 4b9f3cc72981c70b37d20d3908d06abacf88ee83
-SHA512 (fastd-21.tar.gz) = 5ddd843ece8af7fe20633c1c205a5c55b5394bcc758618143b002bfdd5e927d9183a57915d9ce59131bd161e0f77986cbe6ad78e1b8f25a28239ad96340bc6fd
-Size (fastd-21.tar.gz) = 211874 bytes
-SHA1 (patch-src_iface.c) = 0a8465db5de2eb1151ecac6611395fb77a61dba8
+SHA1 (fastd-22.tar.gz) = 1c44e4286b0ae47e1973037bfac0038603d6b919
+RMD160 (fastd-22.tar.gz) = 6e720d3d098f9a4a8ad80127c72da95decd82c3b
+SHA512 (fastd-22.tar.gz) = a4891214f65cfb9f4b7a1f6bc077442cc31848fe5b0804892c197d97617838902ddb033af382ea0820337e12b4dabbf2f28468091dd9ac2d096eb8db067e5648
+Size (fastd-22.tar.gz) = 243780 bytes



Home | Main Index | Thread Index | Old Index