[ntp:questions] An unknown flags (for me)
Dave Hart
davehart at gmail.com
Mon May 31 17:38:37 UTC 2010
On Mon, May 31, 2010 at 16:59 UTC, Laurent Archambault wrote:
>> Actuallay my version of ntpd is "ntpd 4.2.7p25 at 1.2121-o" and i use autokey
>> IFF + Group for only 2 servers.
>> With ntpq -cas (extract on 1 lign) :
>> 5 44702 f43d yes yes AUTH-> ok candidate 3
>>
>> But there is my problem, with "ntpq -pstatus &5 :
>>
>> i has this :
>> pstatus &5
>> associd=44702 status=f43d conf, authenb, auth, reach, sel_candidate, 3
>> events, popcorn,
>> srcadr=serveur.archi.amt, srcport=123, dstadr=192.168.1.90, dstport=123,
>> leap=00, stratum=3, precision=-21, rootdelay=78.033, rootdisp=48.798,
>> refid=88.191.108.178,
>> reftime=cfae6463.6b5845fe Mon, May 31 2010 18:37:55.419,
>> rec=cfae6681.1d9018b9 Mon, May 31 2010 18:46:57.115, reach=377,
>> unreach=0, hmode=3, pmode=4, hpoll=10, ppoll=10, headway=64, flash=00 ok,
>> keyid=3211114133, offset=-2.218, delay=1.210, dispersion=0.062,
>> jitter=0.802, xleave=0.087,
>> filtdelay= 5.47 1.21 1.21 1.22 1.23 1.23 1.25
>> 1.23,
>> filtoffset= -0.10 -2.22 -2.21 -2.20 -2.20 -2.21 -2.20
>> -2.20,
>> filtdisp= 0.00 0.03 0.06 0.09 0.12 0.15 0.18
>> 0.21,
>> host="GR1",* flags=0x415f01*, signature="sha1WithRSAEncryption"
>>
>> The "flags=0x415f01" is for myself a problem, i can not resolv this (?) and
>> especially with table :
The table will only help you decode 5f01:
>> #define CRYPTO_FLAG_ENAB 0x0001 /* crypto enable */
>> #define CRYPTO_FLAG_VALID 0x0100 /* public key verified */
>> #define CRYPTO_FLAG_VRFY 0x0200 /* identity verified */
>> #define CRYPTO_FLAG_PROV 0x0400 /* signature verified */
>> #define CRYPTO_FLAG_AGREE 0x0800 /* cookie verifed */
>> #define CRYPTO_FLAG_AUTO 0x1000 /* autokey verified */
>> #define CRYPTO_FLAG_LEAP 0x4000 /* leapseconds table verified */
The above add up to 0x5f01. The upper 16 bits, 0x0041, are the
OpenSSL NID. Declared in decimal in my openssl/obj_mac.h:
#define NID_sha1WithRSAEncryption 65
65 == 0x41
Cheers,
Dave Hart
_______________________________________________
questions mailing list
questions at lists.ntp.org
http://lists.ntp.org/listinfo/questions
More information about the questions
mailing list