SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002727: Time based rules - MantisBT Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002727Endian FirewallFirewall (iptables)public2010-02-25 12:452011-06-22 08:13
Assigned To 
PlatformOSOS Version
Product Version2.3 
Target VersionFixed in Version 
Summary0002727: Time based rules
DescriptionIt would be nice to have time based rules.

For example ftp is only allowed from 8am to 6pm.
Can this be done with some scripts running via cron?
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0000688acknowledged NAT : Time rules / Conditions 

-  Notes
luca-endian (developer)
2010-02-25 13:58

iptables already has this capability [^]
anubisg1 (reporter)
2011-06-20 10:19

I don't understand exactly what you mean with iptables. But i was wondering if it was possible to implement a web ui where we can configure time based routing policies (something like dd-wrt has) in endian (without of course using iptables and cron by CLI)

aender (reporter)
2011-06-20 11:51

Endian firewall rules uses iptables. And iptables support time based rules per default. So there is no need to use cron.

iptables RULE -m time --timestart TIME --timestop TIME --days DAYS -j ACTION

So you can allow e.g. ssh from 6am to 6pm.
anubisg1 (reporter)
2011-06-22 08:13

thank you for the reply, if this is "that easy" i hope there will be a way to implement it into "network --> routing --> policy routing"

so that will be easy to set up time based policy rules from the the web UI

- Issue History
Date Modified Username Field Change
2010-02-25 12:45 aender New Issue
2010-02-25 13:53 peter-endian Relationship added duplicate of 0000688
2010-02-25 13:58 luca-endian Note Added: 0003870
2010-09-24 09:07 peter-endian Status new => acknowledged
2011-06-20 10:19 anubisg1 Note Added: 0006749
2011-06-20 11:51 aender Note Added: 0006753
2011-06-22 08:13 anubisg1 Note Added: 0006789

Copyright © 2005-2008 Endian, SRL. All rights reserved.

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker