From: Jason Ish Date: Mon, 17 Mar 2025 15:35:16 +0000 (-0600) Subject: doc/userguide: af-packet upgrade notes X-Git-Tag: suricata-7.0.9~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6022286cb70c21c15aa7168a83e7af16dce358;p=thirdparty%2Fsuricata.git doc/userguide: af-packet upgrade notes Add note about increased block size and how to change it back to old defaults if needed. Ticket: #7458 (cherry picked from commit c6d18fc871ed5466f519a4109d81ca193c92fc7e) --- diff --git a/doc/userguide/upgrade.rst b/doc/userguide/upgrade.rst index 2cc195fd26..a78dd730c7 100644 --- a/doc/userguide/upgrade.rst +++ b/doc/userguide/upgrade.rst @@ -34,6 +34,17 @@ also check all the new features that have been added but are not covered by this guide. Those features are either not enabled by default or require dedicated new configuration. +Upgrading to 7.0.9 +------------------ +- The AF_PACKET default block size for both TPACKET_V2 and TPACKET_V3 + has been increased from 32k to 128k. This is to allow for full size + defragmented packets. For TPACKET_V3 the existing ``block-size`` + parameter can be used to change this back to the old default of + 32768 if needed. For TPACKET_V2 a new configuration parameter has + been added, ``v2-block-size`` which can be used to tune this value + for TPACKET_V2. Due to the increased block size, memory usage has + been increased, but should not be an issue in most cases. + Upgrading to 7.0.8 ------------------ - Unknown requirements in the ``requires`` keyword will now be treated