Revision: 7759 http://sourceforge.net/p/ipcop/svn/7759 Author: owes Date: 2014-12-22 08:38:05 +0000 (Mon, 22 Dec 2014) Log Message: ----------- Adjust to latest version, additional hardening
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/time.cgi ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 Modified: ipcop/trunk/html/cgi-bin/time.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/time.cgi 2014-12-21 21:48:09 UTC (rev 7758) +++ ipcop/trunk/html/cgi-bin/time.cgi 2014-12-22 08:38:05 UTC (rev 7759) @@ -318,17 +318,17 @@ open(FILE, ">/$conffile") or die "Unable to open ntp.conf file."; flock(FILE, 2); - print FILE "# Configuration file for ntpd, created\n"; - print FILE "# by time.cgi. Do not edit manually.\n"; + print FILE "# Configuration file for ntpd, created by time.cgi.\n"; + print FILE "# Do not edit manually.\n"; print FILE "#\n"; - print FILE "restrict default kod nomodify notrap nopeer noquery\n"; + print FILE "restrict default kod nomodify notrap nopeer noquery limited\n"; print FILE "restrict 127.0.0.1\n"; print FILE "# Our networks\n"; foreach my $itf (@ITFs) { my $icount = $netsettings{"${itf}_COUNT"}; while ( $icount > 0 ) { - print FILE "restrict " . $netsettings{"${itf}_${icount}_NETADDRESS"} . " mask " . $netsettings{"${itf}_${icount}_NETMASK"} . " nomodify notrap\n" if ( $netsettings{"${itf}_${icount}_NETADDRESS"} ); + print FILE "restrict " . $netsettings{"${itf}_${icount}_NETADDRESS"} . " mask " . $netsettings{"${itf}_${icount}_NETMASK"} . " nomodify noquery notrap\n" if ( $netsettings{"${itf}_${icount}_NETADDRESS"} ); $icount--; } } Modified: ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 =================================================================== --- ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 2014-12-21 21:48:09 UTC (rev 7758) +++ ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 2014-12-22 08:38:05 UTC (rev 7759) @@ -1,5 +1,6 @@ ## please place IPCop files first, then packages sorted by alphabetical order /home/httpd/cgi-bin/sysinfo.cgi +/home/httpd/cgi-bin/time.cgi /home/httpd/cgi-bin/updates.cgi /home/httpd/cgi-bin/urlfilter.cgi /usr/local/sbin/setup This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn