diff --git a/docs/shorewall_logging.xml b/docs/shorewall_logging.xml index a3d2d9a0f..6c9c9e74d 100644 --- a/docs/shorewall_logging.xml +++ b/docs/shorewall_logging.xml @@ -232,6 +232,39 @@ gateway:/etc/shorewall# show log, logwatch and dump commands. + + Beginning in Shorewall-perl 4.1, the NFLOG target is supported. + + + NFLOG is a successor to ULOG. In addition, both ULOG and NFLOG may + be followed by a list of up to three numbers in parentheses. + + + + The first number specifies the netlink group (1-32). If + omitted (e.g., NFLOG(,0,10)) then a value of 1 is assumed. + + + + The second number specifies the maximum number of bytes to + copy. If omitted, 0 (no limit) is assumed. + + + + The third number specifies the number of log messages that + should be buffered in the kernel before they are sent to user space. + The default is 1. + + + + Examples: + + /etc/shorewall/shorewall.conf: + MACLIST_LOG_LEVEL=NFLOG(1,0,1) + + /etc/shorewall/rules:#ACTION SOURCE DEST PROTO DEST +# PORT(S) +ACCEPT:NFLOG(1,0,1) vpn fw tcp ssh,time,631,8080