Commit graph

70 commits

Author SHA1 Message Date
Daniel Salzman
a2864e5754 tests-fuzz: add libdbus parameters to Makefile 2024-02-20 17:02:12 +01:00
David Vašek
196ff7d784 tests-fuzz: use the same style for setting a buffer size 2023-07-31 18:52:20 +02:00
Daniel Salzman
2d36a5ba8e server: move some common handling code to one place 2023-03-02 21:01:33 +01:00
Libor Peltan
6a00026cc4 knot: implemented non-XDP QUIC answering 2023-03-02 21:01:33 +01:00
Daniel Salzman
0096ee0a22 server: refactor and improve local and remote addresses handling 2023-01-13 10:29:28 +01:00
Daniel Salzman
8442213003 tests-fuzz: adapt to udp-handler changes 2023-01-13 10:29:28 +01:00
Daniel Salzman
b462961996 tests-fuzz: avoid zero-length variable array in fuzz_packet (OSS-Fuzz fails to build) 2022-08-29 18:34:04 +02:00
Daniel Salzman
1618a5ebc5 test-fuzz: udjust to extended UDP handler API 2022-07-24 19:34:26 +02:00
Daniel Salzman
509d9890d1 XDP-TCP: simplify UDP handler API 2021-07-10 22:46:37 +02:00
Jan Hak
873e0d9726 fdset: polling using kqueue on BSD systems 2021-04-23 10:01:08 +02:00
Daniel Salzman
164fcff5bb server: merge epoll_ctx with fdset 2021-04-08 18:52:27 +02:00
Daniel Salzman
766e8b6c57 Makefiles: rework linker parameters to avoid binary size increase with slibtool + refactoring
relates #722
2021-04-06 20:59:16 +02:00
Daniel Salzman
698bc6a497 tests-fuzz: fix inconsistent server_reconfigure() API 2021-01-27 13:11:51 +01:00
Daniel Salzman
0e301fc8f7 stats: add protocol counters for XDP 2020-04-21 18:43:10 +02:00
Libor Peltan
2e8a5aa946 xdp: use more sockets: one per xdp_worker * iface 2020-04-21 18:43:10 +02:00
Libor Peltan
54799e8516 server: ifaces are array not list 2020-04-21 18:43:10 +02:00
Libor Peltan
de2a9d7d14 xdp: initial work to make knot respond over xdp 2020-04-21 18:43:10 +02:00
Daniel Salzman
09aa70e3b3 Use knot_dname_storage_t where suitable 2019-09-12 14:11:52 +02:00
Daniel Salzman
0a04fd28ef Introduce and use knot_dname_txt_storage_t where suitable 2019-09-12 14:11:46 +02:00
David Vašek
ebf1222255 no dynamic configuration: replace ifacelist_t with former (list_t) l, drop the (list_t) u 2019-09-11 20:09:49 +02:00
David Vašek
e3d311d8ed coding style improvements - copyright notice 2019-07-04 15:16:43 +02:00
Daniel Salzman
54a151ecfd Makefiles: add missing lmdb_CFLAGS
relates #638
2019-03-07 10:57:34 +01:00
Daniel Salzman
55747a2875 Update README.md 2018-11-07 13:43:20 +00:00
Daniel Kahn Gillmor
846bb431d2 use https://www.gnu.org instead of http://www.gnu.org
www.gnu.org has offered https for years now.
2018-08-29 09:45:57 -04:00
Daniel Salzman
a937fabdfb configure: link libcap-ng with knotd only 2018-08-29 09:25:50 +02:00
Filip Široký
6536d71bdf tests-fuzz: add tests for dname to/from string operations 2018-07-02 17:00:43 +02:00
Daniel Salzman
a12904a8ff tests-fuzz: build knotd-stdio only if daemon is enabled 2018-03-18 22:47:41 +01:00
Daniel Salzman
4db58b2614 libs: build cleanup, remove pykeymgr 2018-03-13 15:43:13 +01:00
Daniel Salzman
9bddf37934 zscanner: move to libzscanner 2018-03-12 13:37:09 +01:00
Daniel Salzman
2faf8f9991 dnssec: move to libdnssec 2018-03-12 13:31:30 +01:00
Daniel Salzman
7b029b7a70 tests-fuzz: update README 2018-03-09 14:36:18 +01:00
Daniel Salzman
6e1f51ceee tests-fuzz: add alf-loop.h to knotd_stdio_SOURCES, fix include path 2018-03-08 17:04:29 +01:00
Daniel Salzman
4d9d3202c4 tests-fuzz: add info about AFL with ASAN 2018-03-07 20:32:23 +01:00
Daniel Salzman
1c18debebd tests-fuzz: add new stdio-wrapped knotd 2018-03-07 13:03:01 +01:00
Daniel Salzman
2c9c7bd68e tests-fuzz: replace asserts with regular checks to mute warnings 2018-03-02 15:49:27 +01:00
Daniel Salzman
09dbbd94c3 tests-fuzz: add AFL detection to fuzz_packet and fuzz_zscanner 2018-03-02 15:49:27 +01:00
Daniel Salzman
bd3940051f tests-fuzz: update and rename submodules 2018-03-02 09:37:06 +01:00
Daniel Salzman
f49f6b46d0 configure: simplify sanitizer and fuzzer detections 2018-03-02 09:37:06 +01:00
Daniel Salzman
bd7dcde38f pkt: remove useless pointer sanitization in knot_pkt_free 2018-01-27 15:07:48 +01:00
Daniel Salzman
68bf1da3b8 tests-fuzz: add check-compile target 2018-01-10 21:49:29 +01:00
Jonathan Foote
32df4b2a0e tests-fuzz: remove _libfuzzer from fuzz binaries 2018-01-03 11:21:41 +01:00
Jonathan Foote
070b8aac21 pass flags through for oss-fuzz 2017-12-29 21:33:01 -05:00
Jonathan Foote
607292874c Initial integration with google/oss-fuzz
Implements initial support for continuous fuzzing with [google/oss-fuzz](http://github.com/google/oss-fuzz). Changes:

- Removes `--with-santize-coverage` config flag: the clang6 `-fsanitize=fuzzer-no-link` replaces this
- Adds `--with-oss-fuzz` config flag: links `-lFuzzingEngine` into fuzz targets
- Adds logic to `make check` that runs the fuzz targets with a single seed input to ensure they exit successfully
2017-12-24 09:27:41 -05:00
Daniel Salzman
5094d2382e tests-fuzz: fix unchecked return + refactoring 2017-10-09 09:56:21 +02:00
Ondřej Surý
014540a0e0 Add simple zscanner fuzzer 2017-10-02 16:49:29 +02:00
Ondřej Surý
fe1454bb7d Add better support for LLVM libFuzzer packet parser tests 2017-10-02 16:49:29 +02:00
Ondřej Surý
58585dca24 Get src/utils/knotd/main.c correctly from $(top_srcdir) 2017-01-11 12:19:01 +01:00
Ondřej Surý
53054c4c3a Adapt to the new afl to use __AFL_LOOP 2017-01-04 16:29:08 +01:00
Libor Peltan
ec32f53818 libknot: exported dynamic symbols cleanup
...except OSX where the compile option is not available
2016-12-09 16:29:29 +01:00
Jan Vcelak
20c6145db0 build: manual recursive targets for check-compile
AM_EXTRA_RECURSIVE_TARGETS works since automake 1.13. (CentOS 6 has 1.11.)
2016-02-19 14:04:54 +01:00