From: Arne Fitzenreiter Date: Sat, 2 Feb 2013 08:40:15 +0000 (+0100) Subject: vpnmain: disabled address check. X-Git-Tag: v2.13-rc2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a29f8541b6233a119ebb357b04c2e3c4dab7156;p=people%2Fms%2Fipfire-2.x.git vpnmain: disabled address check. this temporary fixes bug #10294 until the check was fixed to check the complete source and dest net. --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi old mode 100755 new mode 100644 index 6bae487b59..161df4d6e6 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2011 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2013 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -1367,14 +1367,14 @@ END goto VPNCONF_ERROR; } - - if ($cgiparams{'TYPE'} eq 'net'){ - $errormessage=&General::checksubnets($cgiparams{'NAME'},$cgiparams{'REMOTE_SUBNET'}); - if ($errormessage ne ''){ - goto VPNCONF_ERROR; - } - - } +#temporary disabled (BUG 10294) +# if ($cgiparams{'TYPE'} eq 'net'){ +# $errormessage=&General::checksubnets($cgiparams{'NAME'},$cgiparams{'REMOTE_SUBNET'}); +# if ($errormessage ne ''){ +# goto VPNCONF_ERROR; +# } +# +# } if ($cgiparams{'AUTH'} eq 'psk') { if (! length($cgiparams{'PSK'}) ) { $errormessage = $Lang::tr{'pre-shared key is too short'};