summaryrefslogtreecommitdiff
path: root/src/tools/ovpn/ovpn.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2022-03-28 10:56:13 +0200
committerSander Vrijders <sander@ouroboros.rocks>2022-03-30 15:12:24 +0200
commit70b6509891d43f8beb081bb7d8c5b6f7e56576c6 (patch)
treeeee1f5784bedf58626540f783a9265d1e68feb85 /src/tools/ovpn/ovpn.c
parentaaa9537b332ff09dde6af852fd9a95e64dea5dda (diff)
downloadouroboros-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/tools/ovpn/ovpn.c')
0 files changed, 0 insertions, 0 deletions