summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/daq
Commit message (Collapse)AuthorAgeFilesLines
* libdaq: upgrade 3.0.19 -> 3.0.20Wang Mingyu12 days1-2/+2
| | | | | | | | | | Changelog: ============= - decode: add check for ipv4 fragmentation for decode_ip - example: added IP configs for other systems Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: upgrade 3.0.18 -> 3.0.19Wang Mingyu2025-03-251-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: upgrade 3.0.17 -> 3.0.18Wang Mingyu2025-02-101-1/+1
| | | | | | | | Changelog: api: added a new dioctl for snort latency data Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: upgrade 3.0.16 -> 3.0.17Wang Mingyu2024-11-051-1/+1
| | | | | | | | | | Changelog: ========== - daq_netmap: Fix build on Linux with non-system headers - example: support snap encapsulation Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: upgrade 3.0.15 -> 3.0.16Yi Zhao2024-08-011-1/+2
| | | | | | | | ChangeLog: https://github.com/snort3/libdaq/releases/tag/v3.0.16 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: fix SRC_URI to point to the real 2.0.7 releaseYoann Congal2024-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | The previous fossies.org archive contained a 2.0.6 release. (The included "configure" script contained PACKAGE_VERSION='2.0.6') Switch to the upstream archive hosted on snort.org which look like a real 2.0.7 version (configure contains PACKAGE_VERSION='2.0.7') Diff of the before vs after archive includes: * configure script : * New option : -runstatedir * PACKAGE_VERSION='2.0.6' -> '2.0.7' (+ other related variables) * New copyright year (2014-2021 Cisco) on some files Use a custom downloadfilename to avoid conflicts with the "wrong" 2.0.7 archive. CC: Romain Naour <romain.naour@smile.fr> CC: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: upgrade 3.0.14 -> 3.0.15Wang Mingyu2024-06-271-1/+1
| | | | | | | | Changelog: api: Add DIOCTL_GET_CPU_PROFILE_DATA ioctl to get cpu profile data Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: fix incompatible pointer type errorKai Kang2024-06-092-0/+32
| | | | | | | | | | | | | | | Fix incompatible pointer type error for daq: | ../../daq-2.0.7/os-daq-modules/daq_nfq.c: In function 'SetPktHdr': | ../../daq-2.0.7/os-daq-modules/daq_nfq.c:394:37: error: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] | 394 | int len = nfq_get_payload(nfad, (char**)pkt); | | ^~~~~~~~~~~ | | | | | char ** Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: update to latest stable version 3.0.14Yi Zhao2024-04-161-1/+1
| | | | | | | | ChangeLog: https://github.com/snort3/libdaq/releases/tag/v3.0.14 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdaq: add recipeKhawaja Shaheryar2024-02-212-0/+50
| | | | | | | | | I am adding this recipe as snort3 depends on it. snort3 recipe will be provided in next commit. See more: https://github.com/snort3/libdaq Signed-off-by: Khawaja Shaheryar <behzadshaheryar@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: Fix install conflict when enable multilib.Wang Mingyu2024-01-091-1/+2
| | | | | | | | | | | | | | | | | | | Error: Transaction test error: file /usr/bin/daq-modules-config conflicts between attempted installs of lib32-daq-2.0.7-r0.armv7ahf_neon and daq-2.0.7-r0.cortexa57 The differences of daq-modules-config are as follows: @@ -7,7 +7,7 @@ prefix=/usr exec_prefix=/usr -LIBDIR=/usr/lib64 +LIBDIR=/usr/lib STATIC_LIBS=" -lsfbpf -lpcap -lsfbpf -lnfnetlink -lnetfilter_queue -lsfbpf -lpcap -ldnet" static=0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: enable nfq module buildYi Zhao2023-07-282-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | NFQ is the new and improved way to process iptables packets. Snort IPS mode requires this module in some cases. Before the patch: $ snort --daq-list Available DAQ modules: pcap(v3): readback live multi unpriv ipfw(v3): live inline multi unpriv dump(v3): readback live inline multi unpriv afpacket(v5): live inline multi unpriv After the patch: $ snort --daq-list Available DAQ modules: pcap(v3): readback live multi unpriv nfq(v7): live inline multi ipfw(v3): live inline multi unpriv dump(v3): readback live inline multi unpriv afpacket(v5): live inline multi unpriv Also update 0001-correct-the-location-of-unistd.h.patch to fix build with musl. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-241-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: Upgrade to 2.0.7Khem Raj2020-08-131-4/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* daq: add dependency on bison-nativeMartin Jansa2018-08-191-1/+1
| | | | | | | | | | | | | | | | * fixes: checking for flex 2.4 or higher... yes checking for bison... no configure: WARNING: don't have both flex and bison; reverting to lex/yacc checking for capable lex... insufficient configure: error: Your operating system's lex is insufficient to compile libsfbpf. You should install both bison and flex. flex is a lex replacement that has many advantages, including being able to compile libsfbpf. For more information, see http://www.gnu.org/software/flex/flex.html . Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* snort: enable static daqKai Kang2017-06-281-0/+4
| | | | | | | | | | | | | | | | | | | | | When start snort, it shows error and quit: | --== Initializing Snort ==-- | Initializing Output Plugins! | ERROR: Can't find pcap DAQ! | Fatal Error, Quitting.. Fix by enable static daq for snort and enable static build for daq. snort calls command daq-modules-config which is from daq-native to get required daq static libraries and library path. Add package daq-native and add patch for snort to filter library path out to avoid host contamination issue. Add daq-native's dependency libnet-native too. And daq-native also depends on libpcap-native from layer oe-core. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* daq: Fix build with muslKhem Raj2017-04-252-1/+32
| | | | | | | | unistd.h is not in sys/ on all platforms use standard location in /usr/include to look for it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* daq: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-051-0/+3
| | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-1/+1
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* snort: 2.9.6.0 -> 2.9.7.5Zhiquan Li2015-11-302-10/+12
| | | | | | | | | | | | | | | Upgrade snort from 2.9.6.0 to 2.9.7.5, as its dependency upgrade daq from 2.0.2 to 2.0.6, and accordingly update the patches: * Add 2 new patches for snort to solve the cross compile issues * Discard 2 snort patches since it is not needed * Refresh the patch for daq new version * Remove redundant '/' to getting round the rpm debugedit bug: canonicalization unexpectedly shrank character Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-0/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* daq: move recipe to meta-networkingArmin Kuster2015-05-112-0/+54
ERROR: Nothing PROVIDES 'libdnet' (but /home/akuster/oss/clean/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb DEPENDS on or otherwise requires it). Close matches: libnet libnewt libidn ERROR: Required build target 'daq' has no buildable providers. Missing or unbuildable dependency chain was: ['daq', 'libdnet'] world build fails for meta-oe. move daq to meta-networking where snort and libdnet both reside. Signed-off-by: Armin Kuster <akuster808@gmail.com>