path: root/conntrack.8
diff options
authorPablo Neira Ayuso <>2008-07-29 17:53:18 +0200
committerPablo Neira Ayuso <>2008-07-29 17:53:18 +0200
commit21aabc2c4248d389fbf18a9110443371cc678b53 (patch)
tree78dbdc1adbe92058fc023e4f76c6094a49b88440 /conntrack.8
parentb0a327b7a8fda0ebe936839235394de03b520f5e (diff)
CLI: add new option --buffer-size for -E
Add new option --buffer-size for -E to set the netlink socket buffer size. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'conntrack.8')
1 files changed, 10 insertions, 0 deletions
diff --git a/conntrack.8 b/conntrack.8
index 7c4a168..bfb2de0 100644
--- a/conntrack.8
+++ b/conntrack.8
@@ -82,6 +82,16 @@ event code. Using this parameter, you can reduce the event messages generated
by the kernel to those types to those that you are actually interested in.
This option can only be used in conjunction with "-E, --event".
+.BI "-b, --buffer-size " "value (in bytes)"
+Set the Netlink socket buffer size. This option is useful if the command line
+tool reports ENOBUFS errors. If you do not pass this option, the default value
+available at /proc/sys/net/core/rmem_default is used. The tool reports this
+problem if your process is too slow to handle all the event messages or, in
+other words, if the amount of events are big enough to overrun the socket
+buffer. Note that using a big buffer reduces the chances to hit ENOBUFS,
+however, this results in more memory consumption.
+This option can only be used in conjunction with "-E, --event".
.BI "-s, --orig-src " IP_ADDRESS