[FS#3397] Firewall: weekdays option can't specify multiple days

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Oct 21 04:20:46 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Kazuhiro Ito (ikazuhiro) 

Attached to Project - OpenWrt/LEDE Project
Summary - Firewall: weekdays option can't specify multiple days
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -  - Device problem occurs on
I-O Data WN-AC1167DGR, but probably device independent.

 - Software versions of OpenWrt/LEDE release, packages, etc.
trunk, firewall-2020-09-05-8c2f9fad

 - Steps to reproduce

1. Make a rule which contains weekdays option specifying more than one day.

/etc/config/firewall

config rule
        option src 'lan'
        option name 'block-test'
        option dest 'wan'
        list src_mac 'FF:FF:FF:FF:FF:FF'
        option family 'ipv4'
        option target 'REJECT'
        option weekdays 'Sun Mon Tue'


2. Run fw3 print | grep 'block-test' .


iptables -t filter -A zone_lan_forward -p tcp -m mac --mac-source FF:FF:FF:FF:FF:FF -m time --weekdays Mon --kerneltz -m comment --comment "!fw3: block-test" -j zone_wan_dest_REJECT
iptables -t filter -A zone_lan_forward -p udp -m mac --mac-source FF:FF:FF:FF:FF:FF -m time --weekdays Mon --kerneltz -m comment --comment "!fw3: block-test" -j zone_wan_dest_REJECT


Only Monday is set as --weekdays option's argument.


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3397

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list