Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: C/C++ CI

on:
push:
branches: '*'
pull_request:
branches: '*'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install git wget build-essential autoconf libtool libpcap-dev pkg-config libxml2-dev gawk libcurl4-openssl-dev libxml2-dev libyaml-dev make python3 python3-dev python3-pip python3-setuptools libxml2-dev libxml2 libpcap0.8-dev libpcap0.8 libidn2-0-dev
( cd /tmp; wget -qO - http://libnf.net/packages/libnf-1.25.tar.gz | tar -xzf - && cd libnf-1.25 && ./configure -q && sudo make -j3 install; )
- name: init repository
run: ( git submodule init; git submodule update --recursive; cd modules; git submodule init; git submodule update --recursive; )
- name: autoreconf
run: autoreconf -i
- name: configure
run: ./configure --enable-repobuild --prefix=/usr --bindir=/usr/bin/nemea/
- name: make
run: make -j10; sudo make install; sudo ldconfig
- name: Install python components
run: ( cd nemea-framework/pytrap; sudo python3 setup.py install; cd ../pycommon; sudo python3 setup.py install; )
- name: make check
run: make check || find -name '*.sh.log' -exec cat {} +

35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion modules
Submodule modules updated 68 files
+3 −0 .gitmodules
+1 −9 .travis.yml
+24 −0 ChangeLog
+3 −1 Makefile.am
+41 −0 NEWS
+7 −1 aggregator/aggregator.cpp
+3 −0 aggregator/configuration.cpp
+1 −0 anonymizer/anonymizer.c
+1 −1 anonymizer/anonymizer.h
+8 −0 biflow_aggregator/Makefile.am
+262 −0 biflow_aggregator/README.md
+865 −0 biflow_aggregator/aggregator.cpp
+500 −0 biflow_aggregator/aggregator.h
+481 −0 biflow_aggregator/aggregator_functions.h
+594 −0 biflow_aggregator/config.xml
+312 −0 biflow_aggregator/configuration.cpp
+200 −0 biflow_aggregator/configuration.h
+1,657 −0 biflow_aggregator/flat_hash_map.h
+196 −0 biflow_aggregator/key_template.cpp
+231 −0 biflow_aggregator/key_template.h
+133 −0 biflow_aggregator/linked_list.h
+70 −0 biflow_aggregator/macaddr.h
+680 −0 biflow_aggregator/main.cpp
+2,596 −0 biflow_aggregator/rapidxml.hpp
+4,765 −0 biflow_aggregator/xxhash.h
+1 −0 bloom_history/bloom_history.c
+0 −2 bloom_history/bloom_history_functions.c
+5 −1 bloom_history/libbloom/bloom.c
+18 −16 configure.ac
+7 −5 device_classifier/device_classifier.c
+22 −7 flowcounter/flowcounter.c
+1 −0 googletest
+31 −0 googletest_example/Makefile.am
+1 −0 googletest_example/README.md
+22 −0 googletest_example/main.cpp
+14 −0 googletest_example/my_func.hpp
+11 −0 googletest_example/sub.cpp
+11 −0 googletest_example/sum.cpp
+16 −0 googletest_example/test_suite_example1.cpp
+16 −0 googletest_example/test_suite_example2.cpp
+2 −0 json_dump/json_dump.py
+3 −2 link_traffic/link_traffic.c
+16 −4 link_traffic/munin/link_traffic_
+13 −4 logger/logger.c
+4 −1 logreplay/logreplay.cpp
+5 −1 luamodule/tests/lua/stats.lua
+52 −52 luamodule/tests/reference/stats.txt
+6 −0 merger/merger.c
+5,330 −5,330 merger/test/expected
+5 −0 nemea-modules.spec.in
+4 −3 nfreader/nfdump_reader.c
+3 −0 prefix_tags/prefix_tags_config.c
+1 −1 prefix_tags/prefix_tags_functions.c
+1 −0 report2idea/Makefile.am
+2 −2 report2idea/blacklist/Makefile.am
+4 −6 report2idea/blacklist/blacklist2idea.py
+197 −0 report2idea/blacklist/smashedblacklist2idea.py
+98 −0 report2idea/blacklist/test-smashedblacklist.sh
+64 −47 report2idea/blacklist/test.sh
+12 −0 report2idea/dgadetection/Makefile.am
+10 −0 report2idea/dgadetection/config.cfg
+66 −0 report2idea/dgadetection/dgadetection2idea.py
+13 −0 report2idea/dgadetection/dgadetection2idea.sup
+34 −0 report2idea/dgadetection/test.sh
+1 −1 scalar-aggregator/aggregator.c
+30 −10 unirecfilter/README.md
+1 −1 unirecfilter/lib/functions.c
+1 −1 unirecfilter/lib/functions.h
2 changes: 1 addition & 1 deletion nemea-supervisor
Submodule nemea-supervisor updated 33 files
+0 −9 .travis.yml
+1 −1 Makefile.am
+4 −10 configure.ac
+3 −3 internal.c
+3 −0 internal.h
+0 −1 nagios/Makefile.am
+0 −10 nagios/README.md
+0 −19 nagios/nagios-client/Makefile.am
+0 −11 nagios/nagios-client/README.md
+0 −18 nagios/nagios-client/conf/nemea_modules_list
+0 −10 nagios/nagios-client/conf/nrpe-part.conf
+0 −34 nagios/nagios-client/scripts/check_free_memory.sh
+0 −55 nagios/nagios-client/scripts/check_ipfixcol_trapoutifc.sh
+0 −58 nagios/nagios-client/scripts/check_link_traffic.sh
+0 −35 nagios/nagios-client/scripts/check_nemea_dropped.sh
+0 −27 nagios/nagios-client/scripts/check_nemea_loaded_module_config.in
+0 −39 nagios/nagios-client/scripts/check_nemea_modules.py
+0 −145 nagios/nagios-client/scripts/check_nemea_modules_connected.in
+0 −36 nagios/nagios-client/scripts/check_nemea_sent.sh
+0 −32 nagios/nagios-client/scripts/check_network_interface.sh
+0 −13 nagios/nagios-client/scripts/check_supervisor.sh
+0 −41 nagios/nagios-client/scripts/check_swap_memory.sh
+0 −38 nagios/nagios-client/scripts/nemea_common.sh
+0 −111 nagios/nagios-client/scripts/utils.sh
+0 −5 nagios/nagios-server/Makefile.am
+0 −13 nagios/nagios-server/README.md
+0 −12 nagios/nagios-server/conf/nemea-hosts.cfg
+0 −56 nagios/nagios-server/conf/nemea.cfg
+0 −9 nagios/nagios-server/conf/nrpe.cfg
+0 −14 nagios/selinux/Makefile.am
+0 −41 nagios/selinux/nemea_nrpe.te
+1 −41 nemea-supervisor.spec.in
+48 −19 supervisor.c