diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-10-25 17:14:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-10-25 17:14:26 +0200 |
commit | 9d284c1c67188dfa8a4c7a6e36eb9a10bd9c15e2 (patch) | |
tree | 21c1bdb785a2b5779c772cc8fafbc043e16babbb /extensions/libxt_time.man | |
parent | 3e6fa55d5e28c93f417afeae7a7d4f349ddffcf4 (diff) | |
parent | 8d8896a3833292d091ee5a028f3461083bb956bd (diff) |
Merge branch 'next' branch that contains new features scheduled for
Linux kernel 3.7
Diffstat (limited to 'extensions/libxt_time.man')
-rw-r--r-- | extensions/libxt_time.man | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/libxt_time.man b/extensions/libxt_time.man index 1d677b94..4c0cae06 100644 --- a/extensions/libxt_time.man +++ b/extensions/libxt_time.man @@ -30,6 +30,10 @@ Only match on the given weekdays. Possible values are \fBMon\fP, \fBTue\fP, to \fB7\fP, respectively. You may also use two-character variants (\fBMo\fP, \fBTu\fP, etc.). .TP +\fB\-\-contiguous\fP +When \fB\-\-timestop\fP is smaller than \fB\-\-timestart\fP value, match +this as a single time period instead distinct intervals. See EXAMPLES. +.TP \fB\-\-kerneltz\fP Use the kernel timezone instead of UTC to determine whether a packet meets the time regulations. @@ -84,3 +88,11 @@ The fourth Friday in the month: (Note that this exploits a certain mathematical property. It is not possible to say "fourth Thursday OR fourth Friday" in one rule. It is possible with multiple rules, though.) +.PP +Matching across days might not do what is expected. For instance, +.IP +\-m time \-\-weekdays Mo \-\-timestart 23:00 \-\-timestop 01:00 +Will match Monday, for one hour from midnight to 1 a.m., and then +again for another hour from 23:00 onwards. If this is unwanted, e.g. if you +would like 'match for two hours from Montay 23:00 onwards' you need to also specify +the \-\-contiguous option in the example above. |