I am currently operating an NTP server, and during the day, I
only can devote a small part of my bandwidth to the NTP pool.
However, during the night, since the line is unused, I can devote
all my bandwidth to the NTP pool. Is there a way to set up
time-dependent bandwidth limits? If there is not, I would recommend
a system like this:
Give all server operators a Base64 authentication
code that uniquely identifies the server, and make a CGI script
that takes as arguments the auth code and the bandwidth limit.
Allow only accesses with IP address corresponding to the auth code.
Therefore, server admins could put a wget to the CGI script in their
crontabs, something like this:

0     20     *     *     *      wget
http://www.pool.ntp.org/admin/bandwidth.pl&auth=FOOBAR&limit=1024000
0     8     *     *     *      wget
http://www.pool.ntp.org/admin/bandwidth.pl&auth=FOOBAR&limit=512000

to set the limit between 8 PM to 8 AM at 1 megabit/sec and between 8 AM
to 8 PM at 512kilobits/sec.
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to