lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 29 Aug 2017 16:11:52 +0530
From:   Akshat Kakkar <akshat.1984@...il.com>
To:     netdev <netdev@...r.kernel.org>
Subject: nflog performance ...

I am using ulogd2 to log iptables activity.
However, when using pgsql as output plugin ... performance is very
very sluggish. (~130-150 entries per second)

To enhance performance I am trying

modprobe ipt_ULOG nlbufsiz=65535 flushtimeout=1000

but this gives error : ipt_ULOG module not found.


On the same lines, I tried

modprobe ipt_NFLOG nlbufsiz=65535 flushtimeout=1000
It didnt give any error !!!

But still there is no increase in performance.
Are these values effective?

I am also using  --nflog-threshold 50 in iptables rule.

I am setting buffer_size as
netlink_socket_buffer_size=104857600
netlink_socket_buffer_maxsize=1048576000

When running ulog, it gives message of setting buffer size as
21708600. Though it didnt give any message like
"ulogd_inppkt_NFLOG.c:443 We are losing events, increasing buffer size
to xxxxxx"
but again why it is only setting buffer size as 21708600 though I have
set in config as 104857600?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ