print( "# node $hostname site $site_name $mylat $mylong $model\n");
print( "driftfile /var/lib/ntp/ntp.drift\n" );
print( "statsdir /var/log/ntpstats/\n" );
+print( "disable monitor\n" );
+print( "# Permit time synchronization with our time source, but do not\n");
+print( "# permit the source to query or modify the service on this system.\n");
+print( "restrict default kod nomodify notrap nopeer noquery\n");
+print( "restrict -6 default kod nomodify notrap nopeer noquery\n");
+print( "restrict 127.0.0.1\n");
+print( "restrict -6 ::1\n");
+
if (is_numeric(array_search($model, $problem_models))) {
print( "tinker stepout 0\n" );
}
%define name nodeconfig
%define version 5.2
-%define taglevel 2
+%define taglevel 4
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
/etc/planetlab/db-config.d
%changelog
+* Fri Mar 21 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.2-4
+- tweaks in node's ntp.conf
+
+* Tue Dec 10 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.2-3
+- ntp.conf.php uses POST[node_id] instead of finding out caller's IP
+
* Tue Apr 23 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.2-2
- pruned sfa_cofig.php