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

0003365: 2.4.1 VPN GUI cannot accept long IP range - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003365Endian FirewallGUIpublic2010-12-09 10:012011-01-21 14:22
sean 
lorenzo-endian 
normalminoralways
resolvedfixed 
2.4 
2.4.1 
0003365: 2.4.1 VPN GUI cannot accept long IP range
In the VPN server configuration page, one cannot enter a long IP range as the input field is too short. An example is 192.168.168.0/24. THis field will accept a shorter entry such as 192.168.16.0/24
No tags attached.
jpg efw-2.4.2-vpn.jpg (58,883) 2010-12-13 08:03
https://bugs.endian.com/file_download.php?file_id=578&type=bug
jpg
Issue History
2010-12-09 10:01seanNew Issue
2010-12-12 13:50baldyNote Added: 0005362
2010-12-13 08:03seanFile Added: efw-2.4.2-vpn.jpg
2010-12-13 08:04seanNote Added: 0005363
2010-12-13 11:16baldyNote Added: 0005365
2010-12-13 11:17baldyNote Edited: 0005365
2010-12-13 11:21seanNote Added: 0005366
2011-01-11 21:39seanNote Added: 0005468
2011-01-17 11:27thomas-endianNote Added: 0005482
2011-01-17 17:18lorenzo-endianNote Added: 0005484
2011-01-17 17:18lorenzo-endianAssigned To => lorenzo-endian
2011-01-17 17:18lorenzo-endianStatusnew => confirmed
2011-01-21 14:22simon-endianStatusconfirmed => resolved
2011-01-21 14:22simon-endianFixed in Version => 2.4.1
2011-01-21 14:22simon-endianResolutionopen => fixed

Notes
(0005362)
baldy   
2010-12-12 13:50   
Hi Sean,

Where are you inputting this value ?

Can you post a screenprint ?

Regards,

Baldy
(0005363)
sean   
2010-12-13 08:04   
I have attached the screen print. (excuse the file name)
(0005365)
baldy   
2010-12-13 11:16   
(edited on: 2010-12-13 11:17)
Hi Sean,

Just checked on my system.

As I am running in bridged mode I do not have this problem.

When running in non-bridged mode the issue is there.

The VPN subnet field is limited to 15 characters, should be 19 characters.
(192.168.100.128/127 is 19 chars)

Regards,

Baldy

(0005366)
sean   
2010-12-13 11:21   
Hi

Correct. This issue is only relevant to non bridged mode.

Regards

Sean
(0005468)
sean   
2011-01-11 21:39   
Is anyone going to fix this?
(0005482)
thomas-endian   
2011-01-17 11:27   
Change the /home/httpd/cgi-bin/openvpn_server.cgi
in Line:
507
to:
<td><input type='text' name='PURPLE_NET' value="$config->{'PURPLE_NET'}" SIZE="14" MAXLENGTH="19" /></td>
(0005484)
lorenzo-endian   
2011-01-17 17:18   
Hello everybody,

sorry for taking this long time before answering...I can confirm that the problem exists. I hope we can fix it shortly!

Thanks a lot for reporting this issue and for being patient while waiting for an answer! :-)

Lo