[smokeping-users] Re: Pre-configured password for Dynamic Host instead of Smokeping generated password
Tobias Oetiker
tobi at oetiker.ch
Wed Nov 22 10:16:44 MET 2006
Hoi Bee,
the 'password' is a random number ...
my $secret = int(rand 1000000);
my $md5 = md5_base64($secret);
the config file stores the md5 hash of the password in base64
encoding ...
cheers
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://tobi.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list