From: peter.mueller@ipfire.org
To: development@lists.ipfire.org
Subject: Re: [Oisf-users] Suricata causes massive packet loss
Date: Thu, 05 Sep 2019 18:56:00 +0000 [thread overview]
Message-ID: <bd08a6f1-22a0-9a89-8cc8-927f5d869fab@ipfire.org> (raw)
In-Reply-To: =?utf-8?q?=3CCY1PR04MB2268908F3150527546521C59D7BB0=40CY1PR04MB?= =?utf-8?q?2268=2Enamprd04=2Eprod=2Eoutlook=2Ecom=3E?=
[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]
Hello Nelson, hello Peter, hello *,
thank you for your replies.
Upgrading to Suricata 5.0-beta is a difficult task, as we cannot
simply ship beta releases in our firewall distribution. Personally,
I rather doubt this is an issue due to a kernel/library/... combination,
as we use Suricata for quite a while now and are upgrading IPFire's
distribution kernel on a regular basis.
Anyway, Stefan (see CC) is currently working on Rust for the distribution,
so we hope to take advantage of some more features soon. But since
our issue is regarding packet loss for at least DNS and TLS traffic,
I rather doubt Rust will make a big difference here.
Changing from "workers" to "autofp" mode unfortunately did not solve
the problem. It is good to know the latter is recommended for inline
deployments, "workers" was about 0.5 % faster in our benchmarks.
In IPFire, Suricata is started by a custom init script (please refer
to https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=src/initscripts/system/suricata;h=5a567f2d7f4bfef90fabb11438bc5065e731f21c;hb=HEAD
for its content) and appears like this in the process list:
> [root(a)maverick ~]# ps aux | grep suricata
> suricata 4882 10.9 7.3 1419868 289192 ? Ssl 20:38 1:37 /usr/bin/suricata -c /etc/suricata/suricata.yaml -D -q 0 -q 1 -q 2 -q 3
I am not sure what the number behind "tcp.pkt_on_wrong_thread" should
read like normally. @Peter: Is it too low or too high?
We will ship an update for libhtp as soon as possible, thank you
for catching this.
Thanks, and best regards,
Peter Müller
next reply other threads:[~2019-09-05 18:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-05 18:56 peter.mueller [this message]
2019-09-07 12:19 Stefan Schantl
2019-09-07 17:29 ` peter.mueller
2019-09-07 12:26 Stefan Schantl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd08a6f1-22a0-9a89-8cc8-927f5d869fab@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox