Commit graph

139 commits

Author SHA1 Message Date
Daniel Salzman
82df13121e utils: add class aliases INTERNET and CHAOS 2025-06-14 20:48:18 +02:00
Daniel Salzman
b3cdb3431a tests: relicense to GPL-2.0-or-later 2025-03-24 09:53:50 +01:00
Jan Hák
aaff152cfd yparser: add support for link-local IPv6 addresses 2024-09-16 12:46:46 +02:00
Jan Doskočil
fad9ce9f34 yparser: new time unit specifiers
w = week
M = month
y = year
2024-08-24 15:17:53 +02:00
Libor Peltan
3e4831f8a7 xdp-tcp: ignore SYN+ACK pkts in knotd (only for kxdpgun) 2024-07-11 18:30:29 +02:00
Daniel Salzman
7f6692bab5 yparser: fix empty list parsing 2024-05-16 16:57:54 +02:00
Daniel Salzman
12456aede5 tests: extend test set for yparser 2024-05-16 16:57:54 +02:00
Libor Peltan
dcd77f181c xdp-tcp: send RSTs on all open conns when shutdown 2024-04-22 08:34:11 +02:00
Daniel Salzman
1e9fbcb8d1 conf: add control.backlog configuration option 2024-04-19 14:21:21 +02:00
Libor Peltan
172ac861c1 xdp-tcp: simplify knot_tcp_recv() 2024-04-11 15:43:04 +02:00
Daniel Salzman
5bbbe26b43 tests: add test for knot_rrset_size(_estimate)() 2024-02-07 12:05:16 +01:00
Daniel Salzman
ac7ecf7037 sweep: add reset timeout counter, rework logging 2023-11-25 20:35:42 +01:00
Daniel Salzman
fe491b80b4 tcp_iobuf: get rid of knot_tinbufu_res_inbufs() 2023-08-24 21:09:52 +02:00
Libor Peltan
1a3e472ed5 tests: shut up coverity 2023-05-30 12:20:57 +02:00
Jan Hák
92ccde72e0 libknot: remove pointer to iovec from linked-list node to save some space in memory 2023-05-23 10:42:01 +02:00
Libor Peltan
0d6fa4db28 quic/tcp/inbuf: allocate incomplete msgs buffer by powers of 2 2023-05-23 10:42:01 +02:00
Libor Peltan
89dc98ca78 quic/xdp-tcp/inbuf: store knot_tcp_inbuf_update results in linked-list-of-arrays 2023-05-23 10:42:01 +02:00
Daniel Salzman
ec900e4481 yparser: allow unix socket path as network range value 2023-01-13 10:29:28 +01:00
Libor Peltan
325dfeefdf tests/xdp-tcp: fix under 32bit platform 2022-08-22 15:07:50 +02:00
Daniel Salzman
6704e4dfaa xdp: unified and extended connection sweep statistics 2022-08-11 14:30:16 +02:00
Libor Peltan
ee45d9f9b6 tests: move dynarray test to libknot...
...as dynarray itself had been moved from contrib
2022-05-25 19:02:21 +02:00
Libor Peltan
8a1f9fd90d dnssec: implemented incremental DNSKEY mgmt 2022-04-12 13:49:13 +02:00
Daniel Salzman
44e8d08569 tests/tcp: mute Coverity 2022-03-23 08:42:46 +01:00
Daniel Salzman
95cd965388 tcp: mute Clang-analyzer 2022-03-17 10:47:35 +01:00
Daniel Salzman
9002f89f35 xdp-tcp: tiny code cleanup 2022-03-16 15:24:42 +01:00
Daniel Salzman
6e2621e6f1 xdp-tcp: replace tcp_outbufs_t with struct knot_tcp_outbuf 2022-03-16 14:58:06 +01:00
Libor Peltan
bd89961016 xdp-tcp: bugfix: check presence in syn_table before adding 2022-03-16 14:58:06 +01:00
Libor Peltan
ff7cb4cb45 xdp-tcp: bugfix: crash when two packets for same conn...
...and one of them is closing it
2022-03-16 14:58:06 +01:00
Libor Peltan
822a59e283 fixup! kxdpgun: allow various modes exploiting left-open connections 2022-03-16 14:58:06 +01:00
Libor Peltan
66229ae663 kxdpgun: allow various modes exploiting left-open connections 2022-03-16 14:58:06 +01:00
Libor Peltan
3b2a76cc29 xdp-tcp: simplify code 2022-03-16 14:58:06 +01:00
Libor Peltan
7cfede5c23 xdp-tcp: fix errors in SYN-table manipulation 2022-03-16 14:58:06 +01:00
Libor Peltan
6d74c78c99 xdp-tcp: response RST shall have seqno according to packet...
...not the connection
2022-03-16 14:58:06 +01:00
Libor Peltan
3c67592f25 modules: enable measuring RTT for xdp-tcp 2022-03-16 14:58:06 +01:00
Libor Peltan
d95b63b8c1 xdp-tcp: honor foreign TCP window size 2022-03-16 13:41:23 +01:00
Libor Peltan
302b690199 xdp-tcp: major refactoring + store outgoing buffers
- both unsent and unacked buffers of outgoing payload stored
- no longer uses dynarray
- multiple in-buffers per relay
- packets are only sent in knot_tcp_send()
2022-03-16 13:41:23 +01:00
Libor Peltan
cb6266058b xdp-tcp: bugfix: better handling of different conn-closing states 2022-03-16 13:41:23 +01:00
Josh Soref
43db89b880 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-11-24 12:55:47 +01:00
Daniel Salzman
f15b644716 yparser: allow UTF-8 characters in item data 2021-08-16 12:44:21 +02:00
Daniel Salzman
a2dad1c287 Replace UNUSED with _unused_ 2021-07-17 19:53:31 +02:00
Daniel Salzman
2cc73f9278 XDP-TCP: final code cleanup 2021-07-10 22:46:37 +02:00
Daniel Salzman
dc99352144 XDP-TCP: rename prefix 'knot_xdp_tcp' to 'knot_tcp', and 'knot_tcp_timeout' to 'knot_tcp_sweep' 2021-07-10 22:46:37 +02:00
Daniel Salzman
5a24e0b540 XDP-TCP: various code cleanup 2021-07-10 22:46:37 +02:00
Daniel Salzman
3782424147 XDP-TCP: move mock API from xdp.h to test_xdp_tcp.c 2021-07-10 22:46:37 +02:00
Daniel Salzman
88a951e335 XDP-TCP: remove unused mm parameter from knot_xdp_tcp_relay() 2021-07-08 20:50:52 +02:00
Daniel Salzman
f07e8f9878 XDP-TCP: move testing API from xdp.h to test_xdp_tcp.c 2021-07-08 20:50:46 +02:00
Libor Peltan
6266d2b24e XDP-TCP: logging of closed/reset connections 2021-07-08 20:48:15 +02:00
Daniel Salzman
5227ef050a dynarray: move from contrib to libknot 2021-07-08 16:04:00 +02:00
Libor Peltan
de6f3f1634 XDP-TCP: remove list_t from libknot public api 2021-07-08 16:04:00 +02:00
Libor Peltan
572cf10e5f XDP-TCP: count total inbuf usage 2021-07-08 16:04:00 +02:00