Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libxt_statistic: increase precision on create and dump | Jan Engelhardt | 2011-05-09 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | Currently, libxt_statistic only dumps the probability with a granularity of 1/1000000. Assuming only stuffed packets with 1440 bytes payload, this would match approximately every 1.341 GB, which is pretty low for a high-volume router. Trying to match any larger interval than that (e.g. 2 GB) will cause libxt_statistic to output "--probability 0.000000", and when restored, will cause it to never match again. Bump the dump precision to what xt_statistic can really do, and adjust the manpage to include a word about it. Furthermore, employ explicit rounding when reading the argument from the command line, because the previous implicit conversion would use truncation, which is not very exact. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> | ||||
* | libxt_statistic: streamline and document possible placement of negation | Jan Engelhardt | 2011-05-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de> | ||||
* | doc: escape minus sign in manpages | Jan Engelhardt | 2009-01-12 | 1 | -7/+7 |
| | | | | | | | groff formats '-' as a hyphen, and '\-' is needed for a minus. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net> | ||||
* | manpages: correct erroneous markup | Jan Engelhardt | 2008-08-12 | 1 | -1/+1 |
| | | | | | | | | Text paragraphs should use .PP, since .TP makes it a list item with indented description. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | Document xt_statistic (Stefano Sabatini <stefano.sabatini-lala@poste.it>) | Stefano Sabatini | 2007-11-12 | 1 | -0/+30 |