From 64aed99df6ba3b057c35ebb6b9278a13ae5e575d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 17 Apr 2019 05:16:05 +0100 Subject: [PATCH 1/3] suricata: Change runmode to workers Signed-off-by: Michael Tremer --- config/suricata/suricata.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 3fe78cb2f..e7e27c731 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -317,7 +317,7 @@ max-pending-packets: 1024 # Runmode the engine should use. Please check --list-runmodes to get the available # runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned # load balancing). -#runmode: autofp +runmode: workers # Specifies the kind of flow load balancer used by the flow pinned autofp mode. # From c25a386523c305615641a1810bcc3b009bc3cf07 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 17 Apr 2019 07:38:27 +0100 Subject: [PATCH 2/3] unbound: Drop unused function Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index e87f9e10d..fbb096e0d 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -24,30 +24,6 @@ EDNS_DEFAULT_BUFFER_SIZE=4096 # Load optional configuration [ -e "/etc/sysconfig/unbound" ] && . /etc/sysconfig/unbound -function cidr() { - local cidr nbits IFS; - IFS=. read -r i1 i2 i3 i4 <<< ${1} - IFS=. read -r m1 m2 m3 m4 <<< ${2} - cidr=$(printf "%d.%d.%d.%d\n" "$((i1 & m1))" "$((i2 & m2))" "$((i3 & m3))" "$((i4 & m4))") - nbits=0 - IFS=. - for dec in $2 ; do - case $dec in - 255) let nbits+=8;; - 254) let nbits+=7;; - 252) let nbits+=6;; - 248) let nbits+=5;; - 240) let nbits+=4;; - 224) let nbits+=3;; - 192) let nbits+=2;; - 128) let nbits+=1;; - 0);; - *) echo "Error: $dec is not recognised"; exit 1 - esac - done - echo "${cidr}/${nbits}" -} - ip_address_revptr() { local addr=${1} From 9e65aa9ed6d7a3a489c58a6f966eac34972c68f8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 17 Apr 2019 19:15:44 +0100 Subject: [PATCH 3/3] Revert "hostapd: Always enable 80 MHz channel width for 802.11ac" This reverts commit c31c8078cffcf3f933f567cb02a366ceedd6d5da. Signed-off-by: Michael Tremer --- html/cgi-bin/wlanap.cgi | 2 -- 1 file changed, 2 deletions(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index 93366a38f..44b0b4053 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -600,8 +600,6 @@ ieee80211n=1 wmm_enabled=1 ht_capab=$wlanapsettings{'HTCAPS'} vht_capab=$wlanapsettings{'VHTCAPS'} -vht_oper_chwidth=1 -vht_oper_centr_freq_seg0_idx=42 END ;