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
|Anonymous | Login||2021-01-16 00:18 UTC|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002816||Endian Firewall||Network related (VPN, uplinks)||public||2010-04-02 13:49||2010-10-18 15:18|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||future||Fixed in Version|
|Summary||0002816: policy routing allows inserting static routing config with multiple source/destination networks, which then will not be exploded|
|Description||static routing configurations script is not able to explode source/destination networks like policy routing and firewall scripts. i.e 10.0.0.0/8&192.168.0.0/16|
since policy routing is able to, the gui accepts multiple destination/source networks per rule. However, if there's nothing configured which makes it necessary to use iptables for doing the routing, or the other way around, if it is possible to create simple ip route/ip rule routing entries static routing will be used, also if the rule has been created with policy routing editor.
since static routing cannot explode those entries it tries to insert them unexploded, which certainly fails.
|Attached Files|| multiple-ips.png [^] (9,797 bytes) 2010-10-18 15:17
2010-10-18 17:14:49,661 - setrouting.py - DEBUG - Create rule 'ip rule add prio 10 from 192.168.0.1&192.168.0.2&192.168.0.3 lookup uplink-main'
2010-10-18 17:14:49,665 - setrouting.py - DEBUG - Call: 'ip rule add prio 10 from 192.168.0.1&192.168.0.2&192.168.0.3 lookup uplink-main'
sh: 192.168.0.2: command not found
sh: 192.168.0.3: command not found
 Done ip rule add prio 10 from 192.168.0.1
 Done(127) 192.168.0.2
|2010-04-02 13:49||peter-endian||New Issue|
|2010-04-02 13:50||peter-endian||Status||new => confirmed|
|2010-04-02 13:50||peter-endian||Target Version||=> future|
|2010-10-18 15:15||luca-endian||Tag Attached: purple|
|2010-10-18 15:15||luca-endian||Note Added: 0004937|
|2010-10-18 15:17||luca-endian||File Added: multiple-ips.png|
|Copyright © 2000 - 2012 MantisBT Group|