diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-03-28 10:56:13 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-03-30 15:12:24 +0200 |
commit | 70b6509891d43f8beb081bb7d8c5b6f7e56576c6 (patch) | |
tree | eee1f5784bedf58626540f783a9265d1e68feb85 /src/lib/tests/md5_test.c | |
parent | aaa9537b332ff09dde6af852fd9a95e64dea5dda (diff) | |
download | ouroboros-70b6509891d43f8beb081bb7d8c5b6f7e56576c6.tar.gz ouroboros-70b6509891d43f8beb081bb7d8c5b6f7e56576c6.zip |
lib: Fix filtering encrypted packets
The frcti_filter was reading raw data from the buffers, causing the
frcti_rcv to operate directly on encrypted packets. It decrypt and
filter for invalid packets. I moved the function from frct to the
fqueue implementation and renamed it fqueue_filter as it filters
fqueues. Should be extended to filter out keepalives on non-FRCT
flows, as these will now still cause spurious wakeups.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/md5_test.c')
0 files changed, 0 insertions, 0 deletions