GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NTP.CONF(5) FreeBSD File Formats Manual NTP.CONF(5)

ntp.conf
¥Í¥Ã¥È¥ï¡¼¥¯¥¿¥¤¥à¥×¥í¥È¥³¥ë (NTP) ¥Ç¡¼¥â¥ó¤ÎÀßÄê¥Õ¥¡¥¤¥ë

/etc/ntp.conf

ntp.conf ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢ ntpd(8) ¥Ç¡¼¥â¥ó¤Î½é´ü»ÏÆ°»þ¤Ë¡¢Æ±´üÍÑ»þ¹ï¶¡µë¸»¡¢¥â¡¼¥É¡¢¤½¤Î¾´ØÏ¢¾ðÊó¤ò »ØÄꤹ¤ë¤¿¤á¤ËÆɤ߹þ¤ß¤Þ¤¹¡£ Ä̾ï¤Ï¡¢¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ï /etc ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¤¬¡¢¤É¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤â¥¤¥ó¥¹¥È¡¼¥ë ²Äǽ¤Ç¤¹ (¥Ç¡¼¥â¥ó¤Î -c ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò»²¾È)¡£

¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢Â¾¤Î UNIX ÀßÄê¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£ ¥³¥á¥ó¥È¤Ï¡¢Ê¸»ú ‘#’ ¤«¤é¤Ï¤¸¤Þ¤ê¡¢¹ÔËö¤Þ¤Ç³¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢¶õ¹Ô¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ ÀßÄꥳ¥Þ¥ó¥É¤Ï¡¢ÀèƬ¤Î¥­¡¼¥ï¡¼¥É¤È¡¢ ¤½¤Î¸å¤Ë³¤¯°ú¿ô¤Î¥ê¥¹¥È¤«¤é¤Ê¤ê¤Þ¤¹¡£ °ú¿ô¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤Î¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£ ³Æ°ú¿ô¤Ï¶õÇò¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¥³¥Þ¥ó¥É¤Ï¡¢Ê£¿ô¤Î¹Ô¤Ë¤Þ¤¿¤¬¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ °ú¿ô¤È¤·¤Æ¡¢¥Û¥¹¥È̾¡¢ ¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤Î¿ôÃͤǽñ¤«¤ì¤¿¥Û¥¹¥È¥¢¥É¥ì¥¹¡¢ À°¿ô¡¢ÉâÆ°¾®¿ôÅÀ¤Çɽ¸½¤µ¤ì¤¿¿ôÃÍ (Éäǻþ´Ö¤ò»ØÄꤷ¤¿¾ì¹ç)¡¢ ¥Æ¥­¥¹¥Èʸ»úÎ󤬤¢¤ê¤Þ¤¹¡£

¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Î»Ä¤ê¤Ç¤Ï¡¢ÀßÄê¤ÈÀ©¸æ¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤Þ¤¹¡£ “NTP ¤ÎÀßÄê¤È NTP ¥µ¥Ö¥Í¥Ã¥È¤ÎÀßÄê¤Ë´Ø¤¹¤ëÃí°Õ” ¤Î¥Ú¡¼¥¸ ( /usr/share/doc/ntp ¤Ë¤¢¤ë HTML ʸ½ñ¤Î°ìÉô¤È¤·¤ÆÆþ¼ê²Äǽ¤Ç¤¹) ¤Ç¤Ï¡¢¤³¤ì¤é¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¹¹¤Ë¿Ê¤ó¤ÀµÄÏÀ¤¬¤¢¤ê¤Þ¤¹¡£ °ìÈÌŪ¤Ê ÀßÄꥪ¥×¥·¥ç¥ó ¤ÎµÄÏÀ¤Ë²Ã¤¨¤Æ¡¢ ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëµ¡Ç½¤È¡¢¤½¤Îµ¡Ç½¤òÀ©¸æ¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ ½Ò¤Ù¤¿¡¢¼¡¤Î¤è¤¦¤Ê¥»¥¯¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹:

¤³¤ì¤é¤Î¥»¥¯¥·¥ç¥ó¤Î¸å¤Ë ¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó ¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤¿¥»¥¯¥·¥ç¥ó¤â¤¢¤ê¤Þ¤¹¡£ ÍøÍѲÄǽ¤Ê¥ª¥×¥·¥ç¥ó¤ÏË­É٤ˤ¢¤ê¤Þ¤¹¤¬¡¢ ɬÍפʥª¥×¥·¥ç¥ó¤Ï¡¢ server, peer, broadcast, manycastclient ¥³¥Þ¥ó¥É¤À¤±¤Ç¤¹¡£

¼¡¤Ë½Ò¤Ù¤ë¤Î¤Ï¡¢NTPv4 ¤ÎÀßÄꥳ¥Þ¥ó¥É¤Ë¤Ä¤¤¤Æ¤Ç¤¹¡£ ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢´ðËÜŪ¤Êµ¡Ç½¤Ï NTPv3 ¤Î¤È¤­¤ÈƱ¤¸¤Ç¤¹¤¬¡¢ ¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢¿·¤¿¤Êµ¡Ç½¤ä°ú¿ô¤ò»ý¤Ã¤¿¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¥³¥Þ¥ó¥É¤Ë¤Ï¡¢2¼ïÎà¤Î¥¯¥é¥¹¤¬¤¢¤ê¤Þ¤¹¡£ ÀßÄꥳ¥Þ¥ó¥É¤Ï¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤Þ¤¿¤Ï»²¾È»þ·×¤È¤Î ±Ê³Ū¤Ê¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ÎÀßÄê¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£ Êä½õ¥³¥Þ¥ó¥É¤Ï¡¢¤µ¤Þ¤¶¤Þ¤Ê´ØÏ¢Áàºî¤òÀ©¸æ¤¹¤ë´Ä¶­ÊÑ¿ô¤òÀßÄꤷ¤Þ¤¹¡£

¥³¥Þ¥ó¥É¤Î¥­¡¼¥ï¡¼¥É¤ª¤è¤ÓɬÍפȤµ¤ì¤ë IP ¥¢¥É¥ì¥¹¤Î¼ïÎà¤Ë¤è¤Ã¤Æ¡¢ ¤µ¤Þ¤¶¤Þ¤Ê¥â¡¼¥É¤¬·èÄꤵ¤ì¤Þ¤¹¡£ ¥¢¥É¥ì¥¹¤Ï¼¡¤Î¤è¤¦¤Ê¼ïÎà¤Ë¥¯¥é¥¹Ê¬¤±¤µ¤ì¤Þ¤¹¡£ (s) ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¢¤ë¤¤¤ÏÄÌ¿®Áê¼ê (IP ¥¯¥é¥¹ A, B, C ¤Î¤¤¤º¤ì¤«)¡¢ (b) ¥í¡¼¥«¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¢¥É¥ì¥¹¡¢ (m) ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¢¥É¥ì¥¹ (IP ¥¯¥é¥¹ D)¡¢ ¤¢¤ë¤¤¤Ï¡¢ (r) »²¾È»þ´Ö¥¢¥É¥ì¥¹ (127.127.x.x) ¤Ç¤¹¡£ °Ê²¼¤Ç¤Ï¡¢³Æ¥³¥Þ¥ó¥É¤ËŬÍѲÄǽ¤Ê¥ª¥×¥·¥ç¥ó¤À¤±¤òµ­ºÜ¤·¤Æ¤¤¤ë¤³¤È¤Ë Ãí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ µ­ºÜ¤·¤Æ¤¤¤Ê¤¤¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤â¥¨¥é¡¼¤Ë¤Ê¤é¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ ¤½¤Î·ë²Ì¡¢Ì¯¤Ê¤³¤È¤ò¤·¤¿¤ê¡¢ Ç˲õŪ¤Ê¤³¤È¤ò¤·¤Ç¤«¤·¤¿¤ê¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
address [key key | autokey] [burst] [iburst] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll]
 
address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll]
 
address [key key | autokey] [version version] [prefer] [minpoll minpoll] [ttl ttl]
 
address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [ttl ttl]
 

¤³¤ì¤é 4 ¤Ä¤Î¥³¥Þ¥ó¥É¤Ï¡¢»ÈÍѤ¹¤ë¥¿¥¤¥à¥µ¡¼¥Ð̾¤Þ¤¿¤Ï¥¢¥É¥ì¥¹¤È¡¢ Æ°ºî¤ò¹Ô¤¦¥â¡¼¥É¤ò»ØÄꤹ¤ë¤â¤Î¤Ç¤¹¡£ address ¤Ï¡¢DNS ̾¤Ç¤â ¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤Î IP ¥¢¥É¥ì¥¹¤Ç¤âÎɤ¤¤Ç¤¹¡£ ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Î¿¶¤ëÉñ¤¤¤Ë´Ø¤¹¤ë¤µ¤é¤Ê¤ë¾ðÊó¤Ï¡¢ “¥¢¥½¥·¥¨¡¼¥·¥ç¥ó´ÉÍý” ¤Î¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£

¥¿¥¤¥× s ¤ª¤è¤Ó r ¤Î¥¢¥É¥ì¥¹ÍѤǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Þ¤¿¤Ï¥í¡¼¥«¥ë¤Î¥é¥¸¥ª»þ·×¤È¤Î ±Ê³Ū¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤Î ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô»È¤·¤Þ¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢¥í¡¼¥«¥ë»þ·×¤¬¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ËƱ´ü¤¹¤ë¤³¤È¤Ï ¤¢¤ê¤Þ¤¹¤¬¡¢ ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤¬¥í¡¼¥«¥ë»þ·×¤ËƱ´ü¤¹¤ë¤³¤È¤Ï·è¤·¤Æ¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥¿¥¤¥× b ¤Þ¤¿¤Ï m ¤Î¥¢¥É¥ì¥¹¤ËÂФ·¤Æ »ÈÍѤ¹¤Ù¤­¤Ç¤Ï ¤¢¤ê¤Þ¤»¤ó¡£
¥¿¥¤¥× s ¤Î¥¢¥É¥ì¥¹ÀìÍѤǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢»ØÄꤷ¤¿¥ê¥â¡¼¥È¤ÎÄÌ¿®Áê¼ê¤È¤Î´Ö¤Ç ±Ê³ŪÂоΥ¢¥¯¥Æ¥£¥Ö (symmetric-active) ¥â¡¼¥É¤Î ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô»È¤·¤Þ¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢¥í¡¼¥«¥ë»þ·×¤¬¥ê¥â¡¼¥È¤ÎÄÌ¿®Áê¼ê¤ËƱ´ü¤¹¤ë¤³¤È¤¬ ¤¢¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢¥ê¥â¡¼¥È¤ÎÄÌ¿®Áê¼ê¤¬¥í¡¼¥«¥ë»þ·×¤ËƱ´ü¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÀ­¼Á¤Ï¡¢¤µ¤Þ¤¶¤Þ¤Ê¸Î¾ã¤ÎÀ¸¤¸Êý¤Ë¤è¤Ã¤Æ¤Ï¡¢¥í¡¼¥«¥ë¦¤È ¥ê¥â¡¼¥È¦¤Î¤É¤Á¤é¤â¤¬¤è¤êÎɤ¤»þ¹ï¸»¤Ë¤Ê¤ê¤¨¤ë¤è¤¦¤Ê¡¢ ¥µ¡¼¥Ð¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ÇÍ­±×¤Ç¤¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥¿¥¤¥× b, m ¤¢¤ë¤¤¤Ï r ¤Î¥¢¥É¥ì¥¹¤ËÂФ·¤Æ »ÈÍѤ¹¤Ù¤­¤Ç¤Ï ¤¢¤ê¤Þ¤»¤ó¡£
¥¿¥¤¥× b ¤ª¤è¤Ó m ¤Î¥¢¥É¥ì¥¹ÀìÍѤǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ ±Ê³Ū¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥â¡¼¥É¤Î¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô»È¤·¤Þ¤¹¡£ Ê£¿ô¤Î¥í¡¼¥«¥ë¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¤¥ó¥¿¥Õ¥§¡¼¥¹ (¥µ¥Ö¥Í¥Ã¥È) ¤ª¤è¤Ó / ¤¢¤ë¤¤¤Ï¡¢Ê£¿ô¤Î¥Þ¥ë¥Á¥­¥ã¥¹¥È¥°¥ë¡¼¥×¤ò»ØÄꤹ¤ë¤¿¤á¡¢ Ê£¿ô¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤǤ­¤Þ¤¹¡£ ¥í¡¼¥«¥ë¤Î¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤Ï¡¢»ØÄꤵ¤ì¤¿¥µ¥Ö¥Í¥Ã¥È¤Ë ´ØÏ¢¤Å¤±¤é¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤À¤±¤ËÅþ㤹¤ë¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ ¤¯¤À¤µ¤¤¡£ ¤¿¤À¤·¡¢¥Þ¥ë¥Á¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤ÏÁ´¤Æ¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ËÅþ㤷¤Þ¤¹¡£ ¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥â¡¼¥É¤Ç¤Ï¡¢¥í¡¼¥«¥ë¥µ¡¼¥Ð¤Ï¡¢»ØÄꤷ¤¿¥¢¥É¥ì¥¹¤Ë ÂÔµ¡¤·¤Æ¤¤¤ë¥¯¥é¥¤¥¢¥ó¥È·²¤ËÂФ·¤ÆÄê´üŪ¤Ë¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤ò Á÷¿®¤·¤Þ¤¹¡£ ¤³¤Î¤È¤­¤Î¥¢¥É¥ì¥¹¤Ï¡¢Ä̾ï¤Ï¡¢¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯ (¤Î 1 ¤Ä) ¤Î ¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¢¥É¥ì¥¹¡¢¤â¤·¤¯¤Ï NTP ¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿ ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¢¥É¥ì¥¹¤Ç¤¹¡£ IANA ¤Ï¡¢¥Þ¥ë¥Á¥­¥ã¥¹¥È¥°¥ë¡¼¥×¤Î¥¢¥É¥ì¥¹ 224.0.1.1 ¤òNTP ÀìÍÑ¤Ë ³ä¤êÅö¤Æ¤Æ¤¤¤Þ¤¹¡£ ¤·¤«¤·¡¢¥á¥Ã¥»¡¼¥¸¤ò¼ýÍƤ¹¤ë¤¿¤á¤Ë¡¢¤½¤Î¾¤Î¶¥¹ç¤·¤Ê¤¤¥¢¥É¥ì¥¹¤â ´ÉÍý¶­³¦Æâ¤Ç»ÈÍѤǤ­¤Þ¤¹¡£ ¤â¤È¤â¤È¡¢¤³¤Î»ÅÍͤϡ¢¥í¡¼¥«¥ë¥µ¡¼¥Ð¤¬Á÷¿®Â¦¤È¤·¤ÆÆ°ºî¤¹¤ë»þ¤Î¤ß ŬÍѤµ¤ì¤ë¤â¤Î¤Ç¤¹¡£ ¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¤È¤·¤ÆÆ°ºî¤µ¤»¤¿¤¤¾ì¹ç¤Ï¡¢¸å¤ËÀâÌÀ¤¹¤ë broadcastclient ¤â¤·¤¯¤Ï multicastclient ¥³¥Þ¥ó¥É¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
¥¿¥¤¥× m ¤Î¥¢¥É¥ì¥¹ÀìÍѤǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢»ØÄꤵ¤ì¤¿¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¢¥É¥ì¥¹¤ËÂФ·¤Æ ¥á¥Ë¡¼¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤Î¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô»È¤·¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¡¢ »ÈÍѤ¹¤ë¥á¥Ë¡¼¥­¥ã¥¹¥È¥µ¡¼¥Ð¤Ç manycastserver ¥³¥Þ¥ó¥É¤Ç»ØÄꤷ¤¿¥¢¥É¥ì¥¹¤È°ìÃפ¹¤ë¥¢¥É¥ì¥¹¤ò »ØÄꤹ¤ë¤³¤È¤¬É¬ÍפǤ¹¡£ IANA ¤¬³ä¤êÅö¤Æ¤¿ 224.0.1.1 ¤È¤¤¤¦¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¢¥É¥ì¥¹¤Ï¡¢ »ÈÍѤ¹¤Ù¤­¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤¿¤À¤·¡¢¤³¤ì¤é¤Î¥á¥Ã¥»¡¼¥¸¤¬¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Î¹­Âç¤ÊÎΰè¤Ë »µ¤­»¶¤é¤µ¤ì¡¢¤½¤ì¤Ë¤è¤Ã¤ÆËÄÂç¤ÊÎ̤Υê¥×¥é¥¤¤¬Á÷¤ê¼ê¤Ë ½¸Ã椷¤Ê¤¤¤è¤¦¤Ë¡¢²¿¤«ÆÃÊ̤ʼêÃʤò¹Ö¤¸¤Æ¤¤¤ë¾ì¹ç¤ÏÊ̤Ǥ¹¡£ manycastserver ¥³¥Þ¥ó¥É¤Ï¡¢¥í¡¼¥«¥ë¥µ¡¼¥Ð¤¬¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤ÇÆ°ºî¤¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£ ¥í¡¼¥«¥ë¥µ¡¼¥Ð¤Ï¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È / ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¤Ã¤¿·ë²Ì ȯ¸«¤·¤¿¥ê¥â¡¼¥È¥µ¡¼¥Ð¤È¤È¤â¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤ÇÆ°ºî¤·¤Þ¤¹¡£ ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢»ØÄꤷ¤¿ address ¤Ë´ØÏ¢¤¹¤ë¥°¥ë¡¼¥×¥¢¥É¥ì¥¹¤Ø¡¢Í×µá¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¡¢ÆäËÍ­¸ú¤Ë¤µ¤ì¤¿¥µ¡¼¥Ð¤¬¤³¤ÎÍ×µá¥á¥Ã¥»¡¼¥¸¤Ë±þÅú¤·¤Þ¤¹¡£ ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢ºÇ¤âÀµ³Î¤Ê»þ´Ö¤òÄ󶡤¹¤ë¥µ¡¼¥Ð¤òÁªÂò¤·¡¢°Ê¸å¤Ï¡¢ server ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤¿¾ì¹ç¤ÈƱÍͤÎÆ°ºî¤ò·Ñ³¤·¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Î¥µ¡¼¥Ð¤Ï¡¢¤Þ¤ë¤Ç±þÅú¤ò¼õ¿®¤·¤Ê¤«¤Ã¤¿¤«¤Î¤è¤¦¤Ë̵»ë¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó:

¥µ¡¼¥Ð¤â¤·¤¯¤ÏÄÌ¿®Áê¼ê¤È¤Î´Ö¤ÇÁ÷¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¤ÎÁ´¤Æ¤¬¡¢ ǧ¾Ú¥ª¥×¥·¥ç¥ó ¤Î¹à¤ÇÀâÌÀ¤¹¤ë autokey Êý¼°¤ò»ÈÍѤ·¤Æ°Å¹æ²½¤µ¤ì¤¿ ǧ¾Ú¥Õ¥£¡¼¥ë¥É¤ò´Þ¤à¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¥µ¡¼¥Ð¤¬Åþã²Äǽ¤Ê¾ì¹ç¡¢ ¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤´¤È¤Ë¡¢Ä̾ï¤Î¥Ñ¥±¥Ã¥È 1 ¸Ä¤ÎÂå¤ï¤ê¤Ë¡¢ ¥Ñ¥±¥Ã¥È 8 ¸Ä¤ò¥Ð¡¼¥¹¥ÈŪ¤ËÁ÷¿®¤·¤Þ¤¹¡£ ºÇ½é¤Î¥Ñ¥±¥Ã¥È¤È2 ¸ÄÌܤΥѥ±¥Ã¥È¤Î´Ö³Ö¤ÏÌó 16 ÉäȤ·¤Æ¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¥â¥Ç¥à¤Ë¤è¤ëÅÅÏÃÀܳ¤¬´°Î»¤¹¤ë¤Þ¤Ç¤Î»þ´Ö¤ò¼è¤ë¤¿¤á¤Ç¤¹¡£ ¤½¤ì°Ê¸å¤Î¥Ñ¥±¥Ã¥È¤Î´Ö³Ö¤ÏÌó 2 ÉäǤ¹¡£ ¤³¤ÎÆ°ºî¤Ï¡¢ server ¥³¥Þ¥ó¥É¤È s ¥¢¥É¥ì¥¹¤ò»È¤Ã¤¿»þ¹ï´ÉÍý¤ò¼ÁŪ¤Ë²þÁ±¤¹¤ë¤¿¤á¤Ë À߷פµ¤ì¤Þ¤·¤¿¡£
¥µ¡¼¥Ð¤ËÅþã¤Ç¤­¤Ê¤¤¾ì¹ç¡¢¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤´¤È¤Ë¡¢Ä̾ï¤Î ¥Ñ¥±¥Ã¥È 1 ¸Ä¤ÎÂå¤ï¤ê¤Ë¡¢¥Ñ¥±¥Ã¥È 8 ¸Ä¤ò¥Ð¡¼¥¹¥ÈŪ¤ËÁ÷¿®¤·¤Þ¤¹¡£ ¥µ¡¼¥Ð¤ËÅþã¤Ç¤­¤Ê¤¤¸Â¤ê¡¢¥â¥Ç¥à¤ÎÅÅÏÃÀܳ¤¬´°Î»¤¹¤ë¤è¤¦¤Ë¡¢ ¥Ñ¥±¥Ã¥È¤Î´Ö³Ö¤ÏÌó 16 ÉäȤ·¤Æ¤¢¤ê¤Þ¤¹¡£ ¥µ¡¼¥Ð¤¬Åþã²Äǽ¤Ë¤Ê¤ë¤È¡¢¥Ñ¥±¥Ã¥È¤Î´Ö³Ö¤ÏÌó 2 Éäˤʤê¤Þ¤¹¡£ ¤³¤ÎÆ°ºî¤Ï¡¢ ntpd(8) ¤¬ -q ¥ª¥×¥·¥ç¥óÉÕ¤­¤Çµ¯Æ°¤µ¤ì¤¿¤È¤­¡¢ server ¥³¥Þ¥ó¥É¤È s ¥¢¥É¥ì¥¹¤Ë¤è¤ë½é´üƱ´ü³ÎΩ¤ò¹â®²½¤¹¤ë¤¿¤á¤ËÀ߷פµ¤ì¤Þ¤·¤¿¡£
key
¥µ¡¼¥Ð¤â¤·¤¯¤ÏÄÌ¿®Áê¼ê¤È¤Î´Ö¤ÇÁ÷¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¤ÎÁ´¤Æ¤¬¡¢ 1¤«¤é65534¤Î´Ö (ξü¤ò´Þ¤à) ¤ÎÃͤΠ¸°¼±ÊÌ»Ò key ¤ò»ÈÍѤ·¤Æ°Å¹æ²½¤µ¤ì¤¿Ç§¾Ú¥Õ¥£¡¼¥ë¥É¤ò´Þ¤à¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢°Å¹æ²½¤µ¤ì¤¿¥Õ¥£¡¼¥ë¥É¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£
minpoll
 
maxpoll
¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢NTP ¥á¥Ã¥»¡¼¥¸¤ËÂФ¹¤ëºÇ¾®¤ª¤è¤ÓºÇÂç¤Î¥Ý¡¼¥ê¥ó¥°´Ö³Ö ¤ò¡¢ÉÃñ°Ì¤Ç 2 ¤Î»Ø¿ô¤ÎÃͤǻØÄꤷ¤Þ¤¹¡£ ºÇÂç¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 10 (1024ÉÃ) ¤Ç¤¹¤¬¡¢ maxpoll ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢¾å¸Â¤Ç¤¢¤ë 17 (36.4 »þ´Ö) ¤Þ¤Ç Áý¤ä¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ºÇ¾®¥Ý¡¼¥ê¥ó¥°»þ´Ö¤Ï¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 6 (64 ÉÃ) ¤Ç¤¹¤¬¡¢ minpoll ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢²¼¸Â¤Ç¤¢¤ë 4 (16 ÉÃ) ¤Þ¤Ç ¸º¤é¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
¥µ¡¼¥Ð¤Ë˾¤Þ¤·¤¤¤â¤Î¤È¤·¤Æ¤Î°õ¤ò¤Ä¤±¤Þ¤¹¡£ ¾¤Î¾ò·ï¤Çº¹¤¬¤Ê¤±¤ì¤Ð¡¢¤³¤Î°õ¤Î¤Ä¤¤¤¿¥µ¡¼¥Ð¤Ï¡¢ Àµ¤·¤¯Æ°ºî¤·¤Æ¤¤¤ë¥Û¥¹¥È¤ÎÃ椫¤éƱ´üÍѤËÁªÂò¤µ¤ì¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤¬É¬Íפʤ顢 “´ËϤΥ롼¥ë¤È prefer ¥­¡¼¥ï¡¼¥É” ¤Î¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
ttl
¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥µ¡¼¥Ð¥â¡¼¥É¤È ¥á¥Ë¡¼¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤Ç¤Î¤ß»ÈÍѤ·¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥µ¡¼¥Ð¤È¥Þ¥ë¥Á¥­¥ã¥¹¥È¥µ¡¼¥Ð¤Î¾å¤Ç »ÈÍѤ¹¤ëÀ¸Â¸»þ´Ö ttl ¤ò»ØÄꤷ¡¢¥ê¥ó¥°¸¡º÷¤ò¥á¥Ë¡¼¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥Ñ¥±¥Ã¥È¤Ë³ÈÄ¥¤¹¤ë ºÇÂç ttl ¤ò»ØÄꤷ¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 127 ¤Ç¤¹¤¬¡¢Å¬ÀÚ¤ÊÃͤòÁªÂò¤¹¤ë¤Î¤Ï¤Á¤ç¤Ã¤È¤·¤¿ ¹õËâ½Ñ¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¹¤Î¤Ç¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤È¤Î´Ö¤ÎÄ´À°¤¬É¬ÍפǤ¹¡£
version
Á÷½Ð¤¹¤ë NTP ¥Ñ¥±¥Ã¥È¤Ç»ÈÍѤ¹¤ë¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£ ¥Ð¡¼¥¸¥ç¥ó 1-4 ¤«¤éÁªÂò¤·¤Þ¤¹¡£ ¥Ð¡¼¥¸¥ç¥ó 4 ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ç¤°Õ¤Î¥í¡¼¥«¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹ (¥¿¥¤¥× b) ¤ËÂФ¹¤ë ¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥µ¡¼¥Ð¥á¥Ã¥»¡¼¥¸¤Î¼õ¿®¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ ºÇ½é¤Î¥á¥Ã¥»¡¼¥¸¤ò¼õ¿®¤¹¤ëºÝ¤Ë¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢ ¥µ¡¼¥Ð¤È¤Î´Ö¤Ç¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð´Ö¤Îû¤¤¤ä¤ê¤È¤ê¤òÍѤ¤¤Æ¡¢ ̾Ìܾå¤Î (nominal) ¥µ¡¼¥ÐÅÁÇÅÃÙ±ä¤ò¬Äꤷ¤Þ¤¹¡£ ¤½¤Î¤¢¤È¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¡¢¤½¤Î¸å¤Ë¼õ¿®¤¹¤ë¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤ËƱ´ü¤·¤Þ¤¹¡£ ¶öÁ³¡¢¤¢¤ë¤¤¤Ï¸Î°Õ¤Ë¤³¤Î¥â¡¼¥É¤Çξ¼Ô·èÎö¤Ë»ê¤ë¤³¤È¤òÈò¤±¤ë¤¿¤á¡¢ ¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¤É¤Á¤é¤â¡¢ ǧ¾Ú¥ª¥×¥·¥ç¥ó ¤Î¹à¤ÇÀâÌÀ¤¹¤ëÂоθ°Ç§¾Ú¤Þ¤¿¤Ï¸ø³«¸°Ç§¾Ú¤òÍѤ¤¤Æ Æ°ºî¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
address ...
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢(1¸Ä¤Þ¤¿¤ÏÊ£¿ô¤Î) »ØÄꤷ¤¿ ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥°¥ë¡¼¥×¥¢¥É¥ì¥¹ (¥¿¥¤¥× m) ¤ËÂФ¹¤ë¥á¥Ë¡¼¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥á¥Ã¥»¡¼¥¸¤Î¼õ¿®¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ ¾¯¤Ê¤¯¤È¤â 1 ¸Ä¤Î¥¢¥É¥ì¥¹¤òɬÍפȤ·¤Þ¤¹¡£ ¤·¤«¤·¡¢¥ê¥×¥é¥¤¤ÎÅÁÇŤòÀ©¸Â¤·¡¢ºÇ½é¤ÎÁ÷¿®Â¦¤ËÂçÎ̤Υá¥Ã¥»¡¼¥¸¤¬ »¦Åþ¤·¤Ê¤¤¤è¤¦¤Ë¡¢¤Ê¤ó¤é¤«¤ÎÊýºö¤òÆÃÊ̤ËÍÑ°Õ¤·¤Ê¤¤¸Â¤ê¡¢ IANA ¤¬³ä¤êÅö¤Æ¤¿ NTP ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¢¥É¥ì¥¹ 224.0.1.1 ¤ò»ÈÍѤ·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ¶öÁ³¡¢¤¢¤ë¤¤¤Ï¸Î°Õ¤Ë¤³¤Î¥â¡¼¥É¤Çξ¼Ô·èÎö¤Ë»ê¤ë¤³¤È¤òÈò¤±¤ë¤¿¤á¡¢ ¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¤É¤Á¤é¤â¡¢ ǧ¾Ú¥ª¥×¥·¥ç¥ó ¤Î¹à¤ÇÀâÌÀ¤¹¤ëÂоθ°Ç§¾Ú¤Þ¤¿¤Ï¸ø³«¸°Ç§¾Ú¤òÍѤ¤¤Æ Æ°ºî¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
address ...
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢(1¸Ä¤Þ¤¿¤ÏÊ£¿ô¤Î) »ØÄꤷ¤¿ ¥Þ¥ë¥Á¥­¥ã¥¹¥È¥°¥ë¡¼¥×¥¢¥É¥ì¥¹ (¥¿¥¤¥× m) ¤ËÂФ¹¤ë¥Þ¥ë¥Á¥­¥ã¥¹¥È¥µ¡¼¥Ð¥á¥Ã¥»¡¼¥¸¤Î¼õ¿®¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ ºÇ½é¤Î¥á¥Ã¥»¡¼¥¸¤ò¼õ¿®¤¹¤ëºÝ¤Ë¡¢¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢ ¥µ¡¼¥Ð¤È¤Î´Ö¤Ç¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð´Ö¤Îû¤¤¤ä¤ê¤È¤ê¤òÍѤ¤¤Æ¡¢ ̾Ìܾå¤Î (nominal) ¥µ¡¼¥ÐÅÁÇÅÃÙ±ä¤ò¬Äꤷ¤Þ¤¹¡£ ¤½¤Î¤¢¤È¡¢¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¡¢¤½¤Î¸å¤Ë¼õ¿®¤¹¤ë¥Þ¥ë¥Á¥­¥ã¥¹¥È¥á¥Ã¥»¡¼¥¸¤ËƱ´ü¤·¤Þ¤¹¡£ ¶öÁ³¡¢¤¢¤ë¤¤¤Ï¸Î°Õ¤Ë¤³¤Î¥â¡¼¥É¤Çξ¼Ô·èÎö¤Ë»ê¤ë¤³¤È¤òÈò¤±¤ë¤¿¤á¡¢ ¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¤É¤Á¤é¤â¡¢ ǧ¾Ú¥ª¥×¥·¥ç¥ó ¤Î¹à¤ÇÀâÌÀ¤¹¤ëÂоθ°Ç§¾Ú¤Þ¤¿¤Ï¸ø³«¸°Ç§¾Ú¤òÍѤ¤¤Æ Æ°ºî¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

ǧ¾Úµ¡Ç½¤Î¥µ¥Ý¡¼¥È¤Ë¤è¤Ã¤Æ¡¢NTP ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢¥µ¡¼¥Ð¤¬ ËÜÅö¤Ë´ûÃΤǿ®Íê¤Ç¤­¤ë¤â¤Î¤Ç¤¢¤ê¡¢¶öÁ³¤Ç¤¢¤ì°Õ¿ÞŪ¤Ç¤¢¤ì¡¢ ¥µ¡¼¥Ð¤Î¤Õ¤ê¤ò¤·¤Æ¥¯¥é¥¤¥¢¥ó¥È¤ò¤À¤Þ¤½¤¦¤È¤¹¤ë¿¯Æþ¼Ô¤Ç¤Ï¤Ê¤¤¤³¤È¤ò ³Îǧ¤Ç¤­¤Þ¤¹¡£ NTPv3 »ÅÍÍ RFC-1305 ¤Ï¡¢¼õ¤±¼è¤Ã¤¿ NTP ¥Ñ¥±¥Ã¥È¤ò °Å¹æ¤Ë¤è¤êǧ¾Ú¤¹¤ë¤¿¤á¤ÎÊý¼°¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£ ¤â¤È¤â¤È¡¢¤³¤Îµ¡Ç½¤Ï¡¢Cipher Block Chaining (CBC) ¥â¡¼¥É¤Çµ¡Ç½¤¹¤ë Data Encryption Standard (DES) ¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤Æ (°ìÈÌŪ¤Ë¡¢DES-CBC ¤È ¸Æ¤Ð¤ì¤ëÊý¼°¤Ç¤¹) ¼Â¸½¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¸å¤Ë¡¢ÈëÌ©¸°¤ò»ÈÍѤ·¤¿ RSA Message Digest 5 (MD5) ¥¢¥ë¥´¥ê¥º¥à¤òÍѤ¤¤Æ (°ìÈÌŪ¤Ë¡¢ keyed-MD5 ¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤¹) ²þÎɤ¬¤Ê¤µ¤ì¤Þ¤·¤¿¡£ ¤É¤Á¤é¤Î¥¢¥ë¥´¥ê¥º¥à¤â¥á¥Ã¥»¡¼¥¸¥À¥¤¥¸¥§¥¹¥È¡¢¤Ä¤Þ¤ê¡¢ ÊÒÊý¸þ¥Ï¥Ã¥·¥å¤ò·×»»¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¥µ¡¼¥Ð¤¬Àµ¤·¤¤ÈëÌ©¸°¤È¸°¤Î¼±Ê̻Ҥò»ý¤Ã¤Æ¤¤¤ë¤«Èݤ«¤ò ¸¡¾Ú¤¹¤ë¤Î¤Ë»ÈÍѤǤ­¤Þ¤¹¡£

NTPv4 ¤Ï¡¢NTPv3 ¤ÎÊý¼°¤ò ÊÝ»ý¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÊý¼°¤Ï¡¢Âоθ°°Å¹æ²½¤ÈÀâÌÀ¤¹¤ë¤Î¤¬Å¬ÀڤǤ·¤ç¤¦¡£ ¤½¤ì¤Ë²Ã¤¨¤Æ¡¢¸ø³«¸°°Å¹æ²½¤Ë´ð¤Å¤¯¿·¤·¤¤ Autokey Êý¼°¤â Ä󶡤·¤Æ¤¤¤Þ¤¹¡£ °ìÈ̤ˡ¢¸ø³«¸°°Å¹æ²½¤ÏÂоθ°°Å¹æ²½¤è¤ê¤â°ÂÁ´¤Ç¤¢¤ë¤È ¹Í¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÊý¼°¤Î°ÂÁ´À­¤¬¡¢Î¾¥µ¡¼¥Ð¤½¤ì¤¾¤ì¤ÇÀ¸À®¤µ¤ì³°Éô¤Ë»ý¤Á½Ð¤µ¤ì¤Ê¤¤ ÈëÌ©¤ÎÃÍ 1 ¸Ä¤Ë´ð¤Å¤¯¤«¤é¤Ç¤¹¡£ Autokey ¤ò»È¤¦¤³¤È¤Ç¡¢¸°ÇÛÉÛ/´ÉÍýµ¡Ç½¤¬´Þ¤à¤â¤Î¤ÏÁ´¤Æ¸ø³«ÃͤΤߤǤ¹¡£ Ãͤ¬¸ø³«¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¸°ÇÛÉÛ¤ÈÊݴɤ¬Ã±½ã²½¤µ¤ì¤Þ¤¹¡£

ǧ¾Úµ¡Ç½¤Ï¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤½¤ì¤¾¤ì¤ËÂФ·¤Æ¸ÄÊ̤ËÀßÄꤵ¤ì¤Þ¤¹¡£ ÀßÄꥪ¥×¥·¥ç¥ó ¤Î¹à¤ÇÀâÌÀ¤µ¤ì¤ë¤è¤¦¤Ë¡¢ ǧ¾Úµ¡Ç½¤Ï¡¢ peer, server, broadcast, manycastclient ¥³¥Þ¥ó¥É¤Î key ¥µ¥Ö¥³¥Þ¥ó¥É¤Þ¤¿¤Ï autokey ¥µ¥Ö¥³¥Þ¥ó¥É¤òÍøÍѤ·¤ÆÀßÄꤵ¤ì¤Þ¤¹¡£ °Ê²¼¤ÇÀâÌÀ¤¹¤ëǧ¾Úµ¡Ç½¥ª¥×¥·¥ç¥ó¤Ï¡¢1 ÁȤθ°¤ò»ØÄꤷ¡¢ ÀßÄꤹ¤ë¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤½¤ì¤¾¤ì¤ËÂФ¹¤ë¸°¤òÁªÂò¤·¡¢ ÀßÄêÁàºî¤ò´ÉÍý¤·¤Þ¤¹¡£

auth ¥Õ¥é¥°¤Ï¡¢¿·¤·¤¤¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Þ¤¿¤Ï¥ê¥â¡¼¥ÈÀßÄꥳ¥Þ¥ó¥É¤¬ °Å¹æ²½Ç§¾Ú¤òɬÍפȤ¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤·¤Þ¤¹¡£ ¤³¤Î¥Õ¥é¥°¤ÎÍ­¸ú/̵¸ú¤ÎÀßÄê¤Ï¡¢ enable ¤ª¤è¤Ó disable ÀßÄꥳ¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢Â¾¤Î¥Þ¥·¥ó¤Ç ntpdc(8) ¥×¥í¥°¥é¥à¤òÆ°¤«¤·¤Æ¡¢¥ê¥â¡¼¥È¤«¤éÀßÄꥳ¥Þ¥ó¥É¤òÁ÷¤ê¹Ô¤Ê¤¦¤³¤È¤â ¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¥Õ¥é¥°¤¬Í­¸ú¤ËÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð (¥Ç¥Õ¥©¥ë¥È¤ÏÍ­¸ú¤ËÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹)¡¢ ¿·µ¬¤Î¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¡¢ ¿·µ¬¤ÎÂоΥѥå·¥Ö¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¡¢ ¥ê¥â¡¼¥ÈÀßÄꥳ¥Þ¥ó¥É¤Ï Âоθ°Êý¼°¤Þ¤¿¤Ï¡¢¸ø³«¸°Êý¼°¤Î¤¤¤º¤ì¤«¤òÍѤ¤¤Æ °Å¹æŪ¤Ëǧ¾Ú¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥Õ¥é¥°¤¬Ìµ¸ú¤ËÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢°Å¹æŪ¤Ëǧ¾Ú¤µ¤ì¤Æ¤¤¤Ê¤¯¤Æ¤â ¤³¤ì¤é¤ÎÁàºî¤ÏÍ­¸ú¤Ç¤¹¡£ ¸å¼Ô¤Î¥â¡¼¥É¤ÇÁàºî¤ò¹Ô¤¦¤È¡¢°­¼Ô¥Ï¥Ã¥«¡¼ (ÌõÃí: ¥¯¥é¥Ã¥«¡¼) ¤¬¥¯¥é¥¤¥¢¥ó¥È¤Î»þ¹ï´ÉÍý½èÍý¤Ë ½ÅÂç¤Êº®Íð¤ò¤â¤¿¤é¤¹¤³¤È¤¬²Äǽ¤Ç¤¢¤ë¤È¤¤¤¦¡¢½ÅÂç¤ÊÀȼåÀ­¤ò¾·¤¯ ¤³¤È¤ÏÍý²ò¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£

¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤È¿¿ô¤Î¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¤¬Â¸ºß¤¹¤ë ¥Í¥Ã¥È¥ï¡¼¥¯¤Ç¤Ï¡¢Ç§¾Úµ¡Ç½¤ò̵¸ú¤Ë¤·¤Æ¤ª¤¯¤³¤È¤âµöÍƤǤ­¤ë¤«¤â ¤·¤ì¤Þ¤»¤ó¡£ ¤È¤¤¤¦¤Î¤Ï¡¢Ìµ¸ú¤Ë¤¹¤ë¤³¤È¤Ç¸°¤ÎÇÛÉÛ¤ò¹Ô¤Ê¤ï¤º¤Ë¤¹¤ß¤Þ¤¹¤·¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¤Î´ÉÍý¤¬Ã±½ã¤Ë¤Ê¤ë¤«¤é¤Ç¤¹¡£ ¤·¤«¤·¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤¬¥Û¥¹¥È̾¤ò´Þ¤à¾ì¹ç¡¢¤Þ¤¿¤Ï¡¢ ¥µ¡¼¥Ð¤«¥¯¥é¥¤¥¢¥ó¥È¤¬¥ê¥â¡¼¥È¤«¤éÀßÄꤵ¤ì¤ë¾ì¹ç¡¢ DNS ¤È¡¢¤½¤ì¤È¤ÏÊ̤Î̾Á°²ò·è¥×¥í¥»¥¹¤òÍѤ¤¤Æ ¥Û¥¹¥È̾¤ò²ò·è¤·¤Þ¤¹¡£ µ¶Êª¤Î¥Í¡¼¥à¥µ¡¼¥Ð¥á¥Ã¥»¡¼¥¸¤«¤é¼é¤ë¤¿¤á¤Ë¡¢ ÆâÉô¤ÇÀ¸À®¤µ¤ì¤¿¸°¤ò»ÈÍѤ·¤Æ̾Á°²ò·è¥á¥Ã¥»¡¼¥¸¤òǧ¾Ú¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¸°¤Ï¡¢Ä̾¥æ¡¼¥¶¤«¤é¤Ï¸«¤¨¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢°Å¹æ²½µ¡Ç½¤Î¥µ¥Ý¡¼¥È¤¬Ìµ¸ú¤Ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ ¤³¤Î̾Á°²ò·è¥×¥í¥»¥¹¤¬¼ºÇÔ¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤³¤ÎÌäÂê¤Î²ò·èºö¤Ï¡¢¥Û¥¹¥È̾¤ÎÂå¤ï¤ê¤Ë IP ¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë (¤³¤Á¤é¤Ï¤¢¤Þ¤ê¤ª´«¤á¤·¤Þ¤»¤ó) ¤«¡¢¤Þ¤¿¤Ï¡¢ auth ¥Õ¥é¥°¤òÍ­¸ú¤Ë¤·¤Æ̾Á°²ò·è¥×¥í¥»¥¹¤ò¹Ô¤Ê¤¤¡¢ ̾Á°²ò·è¥×¥í¥»¥¹¤¬´°Î»¤·¤Æ¤«¤é auth ¥Õ¥é¥°¤ò̵¸ú¤Ë¤¹¤ë¤«¤Î¤É¤Á¤é¤«¤Ç¤¹¡£

¥Þ¥ë¥Á¥­¥ã¥¹¥È¥µ¥Ý¡¼¥È¤¬ÍøÍѲÄǽ¤Ê¾ì½ê¤Ç¤ÎÂåÂذƤȤ·¤ÆÌ¥ÎÏŪ¤Ê¤â¤Î ¤Ï¡¢¥á¥Ë¡¼¥­¥ã¥¹¥È¥â¡¼¥É¤Ç¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤ÏÄê´üŪ¤Ë¥µ¡¼¥Ð¤òή¤·Äà¤ê¤·¤Þ¤¹¡£ ¤³¤Î¥â¡¼¥É¤Ç¤Î°Å¹æ²½Ç§¾Ú¤Ï¡¢¸ø³«¸°Êý¼°¤ò °Ê²¼¤ËÀâÌÀ¤¹¤ë¤è¤¦¤Ë»ÈÍѤ·¤Þ¤¹¡£ ¤³¤Î¥á¥Ë¡¼¥­¥ã¥¹¥È¥â¡¼¥É¤Î¼ç¤ÊÍøÅÀ¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥µ¡¼¥Ð¤ò Ä̾ï¤ÎÆ°ºî¤Î´Ö¤Ëȯ¸«¤¹¤ë¤Î¤Ç¡¢¥µ¡¼¥Ð¤Ë¤Ê¤êÆÀ¤ë¥Þ¥·¥ó¤Ë »öÁ°¤ËÀßÄꤹ¤ëɬÍפ¬¤Ê¤¤¤³¤È¤È¡¢¥¯¥é¥¤¥¢¥ó¥ÈÁ´¤Æ¤ÇƱ¤¸ ÀßÄê¥Õ¥¡¥¤¥ë¤òÍøÍѤǤ­¤ë¤³¤È¤Ç¤¹¡£

NTP ÇÛÉÛ¥½¥Õ¥È¥¦¥§¥¢¤Î¹½ÃÛÁ°¤Ë rsaref20 ¥½¥Õ¥È¥¦¥§¥¢¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤¤¤¿¾ì¹ç¡¢ ¥Ç¥Õ¥©¥ë¥È¤ÎÂоθ°°Å¹æ²½¥µ¥Ý¡¼¥È¤Ë²Ã¤¨¤Æ¡¢¸ø³«¸°°Å¹æ²½¤Î¥µ¥Ý¡¼¥È¤â ÍøÍѲÄǽ¤Ç¤¹¡£ ¸ø³«¸°°Å¹æ²½¤Ï¡¢Àµ³ÎÀ­¤È°ÂÄêÀ­¤òµ¾À·¤Ë¤»¤º¤Ë¡¢°ÂÁ´¤Ê¥µ¡¼¥Ðǧ¾Ú¤ò Ä󶡤·¤Þ¤¹¡£ Âоθ°°Å¹æ²½¡¢¸ø³«¸°°Å¹æ²½Î¾Êý¤ËÂФ¹¤ë¥»¥­¥å¥ê¥Æ¥£¥â¥Ç¥ë¤È ¥×¥í¥È¥³¥ëÊý¼°¤Ï¡¢°Ê²¼¤ËÀâÌÀ¤·¤Þ¤¹¡£

RFC-1305 »ÅÍͤǤϡ¢ËÜÍè¡¢65,534 ¸Ä¤Î¸°¤ÎÃæ¤ÎǤ°Õ¤Î 1 ¸Ä¤ò»È¤¤¡¢ ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤òǧ¾Ú¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ ¸°¤½¤ì¤¾¤ì¤Ï 32 ¥Ó¥Ã¥È¤Î¸°¼±Ê̻Ҥˤè¤ê¶èÊ̤µ¤ì¤Þ¤¹¡£ ¤³¤³¤Ç»È¤ï¤ì¤ë¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢ ¥á¥Ã¥»¡¼¥¸¤òǧ¾Ú¤¹¤ë¤¿¤á¤Î¸°¤ª¤è¤Ó¸°¼±Ê̻Ҥò¹ç°Õ¤·¤Æ¤ª¤¯ ɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¸°¤ª¤è¤Ó¤½¤ì¤Ë´ØÏ¢¤¹¤ë¾ðÊó¤Ï¡¢¸°¥Õ¥¡¥¤¥ëÃæ¤Ç»ØÄꤷ¤Þ¤¹¡£ Ä̾¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢ ntp.keys ¤È¸Æ¤Ð¤ì¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ÂÁ´¤Ê¼ê³¤­¤òÍѤ¤¤Æ¸ò´¹/³ÊǼ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢ ¤³¤Î¼ê³¤­¤Ï¡¢NTP ¥×¥í¥È¥³¥ë¼«ÂΤÎÈÏáƤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£ ËÜÍè¤Î NTP ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Ë»ÈÍѤµ¤ì¤ë¸°¤Ë²Ã¤¨¤Æ¡¢Äɲäθ°¤ò ntpq(8) ¤ª¤è¤Ó ntpdc(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥×¥í¥°¥é¥àÍѤΥѥ¹¥ï¡¼¥É¤È¤·¤Æ»ÈÍѤǤ­¤Þ¤¹¡£

ntpd(8) ¤¬½é¤á¤Æµ¯Æ°¤¹¤ë¤È¡¢ ntpd ¤Ï¡¢ keys ¥³¥Þ¥ó¥É¤Ç»ØÄꤷ¤¿¸°¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¡¢¸°¥­¥ã¥Ã¥·¥å¤Ë¸°¤ò ÀßÃÖ¤·¤Þ¤¹¡£ °ìÊý¡¢¸°¤Ï»ÈÍѤ¹¤ëÁ°¤Ë trusted ¥³¥Þ¥ó¥É¤Ç¥¢¥¯¥Æ¥£¥Ö¤Ë¤·¤Æ¤ª¤¯¤³¤È¤¬É¬ÍפǤ¹¡£ ¤³¤ì¤Ë¤è¤ê¡¢Î㤨¤Ð¡¢¤¤¤¯¤Ä¤«¤Î¸°¤Î«¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢ ntpdc(8) ¤ò»ÈÍѤ·¤Æ¸°¤Î«¤ò¥ê¥â¡¼¥È¤«¤é¥¢¥¯¥Æ¥£¥Ö¤Ë¤·¤¿¤ê¡¢Èó¥¢¥¯¥Æ¥£¥Ö¤Ë ¤·¤¿¤ê¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢¤³¤ì¤Ë¤è¤ê¡¢¸°¤Î°ÂÁ´À­¤¬Â»¤Ê¤ï¤ì¤Æ¤·¤Þ¤Ã¤¿¾ì¹ç¤Ë»ÈÍѤǤ­¤ë ¸°¤Î¼è¾Ãµ¡Ç½¤âÄ󶡤µ¤ì¤Þ¤¹¡£ requestkey ¥³¥Þ¥ó¥É¤Ï¡¢ ntpdc(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£ÍѤ˥ѥ¹¥ï¡¼¥É¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¸°¤òÁªÂò¤·¤Þ¤¹¡£ ¤½¤ì¤ËÂФ·¤Æ¡¢ controlkey ¥³¥Þ¥ó¥É¤Ï¡¢ ntpq(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£ÍѤ˥ѥ¹¥ï¡¼¥É¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¸°¤òÁªÂò¤·¤Þ¤¹¡£

RFC-1305 ¤Ëµ­ºÜ¤µ¤ì¤Æ¤¤¤ë¡¢¤â¤È¤«¤é¤¢¤ë NTPv3 ¤Îǧ¾ÚÊý¼°¤Ï ·Ñ³¤·¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤·¤«¤·¤Ê¤¬¤é¡¢NTPv4 ¤Ç¤Ï¡¢ Autokey ¤È¸Æ¤Ð¤ì¤ëǧ¾ÚÊý¼°¤¬Äɲ䵤졢¤½¤ì¤òÍøÍѤǤ­¤Þ¤¹¡£ ¤³¤Îǧ¾Úµ¡¹½¤Ï¡¢MD5 ¥á¥Ã¥»¡¼¥¸¥À¥¤¥¸¥§¥¹¥È¡¢RSA ¸ø³«¸°½ð̾¡¢ Diffie-Hellman ¸°¹ç°Õ¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£ ¤³¤ì¤é¤Ï NTPv4 ÇÛÉÛ¥½¥Õ¥È¥¦¥§¥¢¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¤¬¡¢ ¤¤¤¯¤Ä¤«¤Î¥½¡¼¥¹¥³¡¼¥É¤¬Â¸ºß¤·¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ README.rsa ¥Õ¥¡¥¤¥ë¤ËÀâÌÀ¤·¤Æ¤¢¤ë¤è¤¦¤Ë¡¢ rsaref20 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤«¤Í¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ °ìÅÙ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤È¡¢configure ¤È¹½ÃÛ¥×¥í¥»¥¹¤¬¤½¤ì¤ò ¼«Æ°Åª¤Ë¸¡½Ð¤·¡¢É¬Íפʥ롼¥Á¥ó¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤¹¡£ Autokey Êý¼°¤Ï¡¢¥µ¥Ý¡¼¥È¤¹¤ë¤µ¤Þ¤¶¤Þ¤Ê NTP ¥â¡¼¥É¤ËÂбþ¤·¤Æ ¤¤¤¯¤Ä¤«¤ÎÆ°ºî¥â¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×ÉÕ¤­ RSA ½ð̾¤ò»ÈÍѤ·¡¢ °Å¹æ²½¤ÎÃͤÎÁ÷¿®¸µ¤ò¸¡¾Ú¤·¤Þ¤¹¡£ ¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç¡¢¥¯¥é¥¤¥¢¥ó¥È¡¢¥µ¡¼¥Ð¤½¤ì¤¾¤ì¤ÇÆÈΩ¤Ë·×»»¤Ç¤­¤ë Æüì¤Ê¥¯¥Ã¥­¡¼¤ò 1 ¸Ä»ÈÍѤ·¤Þ¤¹¡£ ÂоΥ⡼¥É¤Ç¤Ï¡¢¤³¤Î¥¯¥Ã¥­¡¼¤Ï Diffie-Hellman ¸°¹ç°Õ¥¢¥ë¥´¥ê¥º¥à¤ò ÍѤ¤¤ÆÁȤßΩ¤Æ¤é¤ì¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Î¥â¡¼¥É¤Ç¤Ï¡¢¤³¤Î¥¯¥Ã¥­¡¼¤Ï IP ¥¢¥É¥ì¥¹¤È¥µ¡¼¥Ð¤Î¤ß¤¬ÃΤäƤ¤¤ëÈëÌ©¤ÎÃͤȤÇÁȤßΩ¤Æ¤é¤ì¤Þ¤¹¡£ ¤½¤ì¤Ë²Ã¤¨¤Æ¡¢¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç S-KEY Êý¼°¤ÈÎɤ¯»÷¤¿Êý¼°¤ò»ÈÍѤ·¤Þ¤¹¡£ ¤½¤ÎÊý¼°¤Ç¤Ï¡¢µ¿»÷Íð¿ô¸°¤Î¥ê¥¹¥È¤òÀ¸À®¤·¡¢µÕ½ç¤Ç»ÈÍѤ·¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÊý¼°¤Ï¡¢´´Éô¸þ¤±Í×Ì󡢸½¾õ¡¢Í×Ì󥹥饤¥É¡¢Ê¸¸¥¥ê¥¹¥È ¤È¤â¤É¤â¡¢ “¼«¼çǧ¾Ú(Autonomos Authentication)” ¤Î¥Ú¡¼¥¸¤ÇÀâÌÀ¤·¤Þ¤¹¡£

Autokey Êý¼°¤Ç»ÈÍѤ¹¤ë°Å¹æ²½¤ÎÃͤϡ¢ ntp-genkeys(8) ¥×¥í¥°¥é¥à¤ÇÀ¸À®¤¹¤ë¥Õ¥¡¥¤¥ë¤ÎÃæ¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤ì¤é¤Ï¡¢ÂоÎÈëÌ©¸°¡¢¸ø³«¸°/ÈëÌ©¸°¤ÎÁÈ¡¢¹ç°Õ¥Ñ¥é¥á¡¼¥¿¤Ç¤¹¡£ ¤³¤ì¤é¥Õ¥¡¥¤¥ë¤Î·Á¼°¤ÎÀâÌÀ¤Ï¡¢ ntp.keys(5) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ rsaref20 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿°Å¹æ²½¤ÎÃͤ¬ °õ»ú²Äǽ¤Ê ASCII ʸ»ú¤Î·Á¼°¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤Ï NTP ÉäΥ¿¥¤¥à¥¹¥¿¥ó¥×¤È¡¢¤½¤Î¸å¤í¤Ë ¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤È¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ï°Ê²¼¤ÇÍ¿¤¨¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¥Ç¡¼¥¿¤Ï¥·¥¹¥Æ¥à¥¯¥í¥Ã¥¯¤ò¼ï¤È¤¹¤ëÍð¿ôÃͤËͳÍ褷¤Æ¤ª¤ê¡¢ ¥Õ¥¡¥¤¥ë̾¤Ë¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¤´¤È¤Ë¡¢ °Û¤Ê¤ë¥Õ¥¡¥¤¥ëÆâÍƤȥե¡¥¤¥ë̾¤ÇÀ¸À®¤µ¤ì¤Þ¤¹¡£

ntp.keys ¥Õ¥¡¥¤¥ë¤Ï DES/MD5 ÈëÌ©¸°¤ò´Þ¤ß¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤òƱ¤¸¥»¥­¥å¥ê¥Æ¥£¶è²è¤Ë°¤¹¤ë¾¤Î¥µ¡¼¥Ð¤ä¥¯¥é¥¤¥¢¥ó¥È¤Ë ÇÛÉÛ¤¹¤ëºÝ¤Ë¤Ï¡¢°ÂÁ´¤Ê¼êÃʤÇÇÛÉÛ¤»¤Í¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤Þ¤¿¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï root ¤Î¤ß¤¬¸«¤é¤ì¤ë¤è¤¦¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï Autokey Êý¼°¤Ç¤Ï»ÈÍѤ·¤Þ¤»¤ó¤¬¡¢ ntpdc(8), ntpq(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬»ÈÍѤ¹¤ë ¤¤¤¯¤Ä¤«¤Î¥ê¥â¡¼¥ÈÀßÄꥳ¥Þ¥ó¥É¤òǧ¾Ú¤¹¤ëºÝ¤ËɬÍפǤ¹¡£ ntpkey ¥Õ¥¡¥¤¥ë¤Ï RSA ÈëÌ©¸°¤òÊÝ»ý¤·¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤¿¥Þ¥·¥ó¤Ç¤Î¤ßÍøÍѤǤ­¤Þ¤¹¡£ ¾¤Î¥Ç¡¼¥â¥ó¤ä¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤È¶¦ÍѤ¹¤ë¤³¤È¤Ï ·è¤·¤Æ¤¢¤ê¤Þ¤»¤ó¡£ ¤Ç¤¹¤«¤é¡¢root ¤Î¤ß¤¬¸«¤é¤ì¤ë¤è¤¦¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

ntp_dh ¥Õ¥¡¥¤¥ë¤Ï¡¢¹ç°Õ¥Ñ¥é¥á¡¼¥¿¤òÊÝ»ý¤·¤Þ¤¹¡£ ¤³¤Î¥Ñ¥é¥á¡¼¥¿¤ÏÂоΠ(¥¢¥¯¥Æ¥£¥Ö¡¢¥Ñ¥Ã¥·¥Ö) ¥â¡¼¥É¤Ç¤Î¤ß»ÈÍѤ·¤Þ¤¹¡£ ÂоΥ⡼¥É¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ò³«»Ï¤¹¤ëÄÌ¿®Áê¼êƱ»Î¤ÇƱ¤¸¥Ñ¥é¥á¡¼¥¿¤ò ¶¦Í­¤¹¤ë¤³¤È¤¬É¬ÍפǤ¹¤¬¡¢¤É¤Á¤é¤Î ntp_dh ¥Õ¥¡¥¤¥ë¤«¤éÆÀ¤é¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤«¤ÏÌäÂê¤Ë¤Ê¤ê¤Þ¤»¤ó¡£ ÄÌ¿®Áê¼ê¤Î°ìÊý¤¬¥Ñ¥é¥á¡¼¥¿¤òÊÝ»ý¤¹¤ë¾ì¹ç¡¢Â¾Êý¤Ï Autokey ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ¤½¤Î¥Ñ¥é¥á¡¼¥¿¤ò¼èÆÀ¤·¤Þ¤¹¡£ ÄÌ¿®Áê¼ê¤¬ÁÐÊý¤È¤â¥Ñ¥é¥á¡¼¥¿¤òÊÝ»ý¤·¤Æ¤¤¤ë¾ì¹ç¡¢ÁÐÊý¤Ï ºÇ¤â¿·¤·¤¤¥³¥Ô¡¼¤ò»ÈÍѤ·¤Þ¤¹¡£ ÄÌ¿®Áê¼ê¤¬¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ ÀßÄꤵ¤ì¤¿¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Þ¤¿¤Ï̤ÀßÄê¤Î¥¢¥½¥·¥¨¡¼¥·¥ç¥ó ¤Î¤¤¤º¤ì¤«¤Ë¤Ä¤¤¤Æ¡¢ Á´¤Æ¤Î¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤¬¥Ñ¥é¥á¡¼¥¿¤òÍ׵ᤷ¤Þ¤¹¡£ ¤·¤«¤·¡¢¤É¤Á¤é¤«¤ÎÄÌ¿®Áê¼ê¤¬¥Ñ¥é¥á¡¼¥¿¤ò¼õ¿®¤¹¤ë¤Þ¤Ç¤Ï¡¢ ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Î½èÍý¤ò¿Ê¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ °ìÅÙ¥í¡¼¥É¤µ¤ì¤ë¤È¡¢¥Ñ¥é¥á¡¼¥¿¤ÏÍ×µá¤Ë±þ¤¸¤Æ¾¤Î¥¯¥é¥¤¥¢¥ó¥È¤ä ¥µ¡¼¥Ð¤ËÄ󶡤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ntp_dh ¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿¤Ï¸ø³«ÃͤʤΤǡ¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï °ÂÁ´¤Ç¤Ê¤¤¼êÃʤòÍѤ¤¤ÆÇÛÉÛ¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

ntpkey_host ¥Õ¥¡¥¤¥ë¤Ï RSA ¸ø³«¸°¤ò´Þ¤ß¤Þ¤¹¡£ ¤³¤³¤Ç¡¢ host ¤Ï¥Û¥¹¥È¤Î̾Á°¤Ç¤¹¡£ ¥Û¥¹¥È¤Ï¤½¤ì¤¾¤ì¼«Ê¬¼«¿È¤Î ntpkey_host ¥Õ¥¡¥¤¥ë¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ Ä̾¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢Autokey ¥×¥í¥È¥³¥ë¤òÍѤ¤Â¾¤Î¥Û¥¹¥È¤ËÄ󶡤µ¤ì¤Þ¤¹¡£ server ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¡¢¤Þ¤¿¤Ï¡¢ peer ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Ï¡¢ÆÃÄê¤Î¥µ¡¼¥Ð¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤Ë´ØÏ¢¤·¤¿ ¸ø³«¸°¤òÍ׵ᤷ¤Þ¤¹¡£ ¤³¤Î¸ø³«¸°¤Ï¡¢¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤«¤éľÀÜ¥í¡¼¥É¤µ¤ì¤ë¤«¡¢ Autokey ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ¥µ¡¼¥Ð¤«¤é´ÖÀÜŪ¤Ë¥í¡¼¥É¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿¤Ï¸ø³«ÃͤǤ¢¤ë¤¿¤á¡¢ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï°ÂÁ´¤Ç¤Ê¤¤¼êÃʤòÍѤ¤¤ÆÉý¹­¤¯ÇÛÉÛ/Êݴɤ¹¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£

ntpkey_certif_host ¥Õ¥¡¥¤¥ë¤Ï¥ª¥×¥·¥ç¥ó¤Ç¡¢¤½¤Î¥Û¥¹¥È¤ËÂФ¹¤ë PKI ¾ÚÌÀ¥Ç¡¼¥¿¤ò´Þ¤ß¤Þ¤¹¡£ ¤³¤ì¤Ï¥Û¥¹¥È̾¤È RSA ¸ø³«¸°¤Î·ë¤ÓÉÕ¤­¤òÄ󶡤·¤Þ¤¹¡£ ¸½ºß¤Î¼ÂÁõ¤Ç¤Ï¡¢¤³¤Î¾ÚÌÀ¥Ç¡¼¥¿¤¬Â¸ºß¤¹¤ì¤Ð¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¤½¤ì¤ò ¼èÆÀ¤·¤Þ¤¹¤¬¡¢¤½¤ÎÆâÍƤÏ̵»ë¤µ¤ì¤Þ¤¹¡£

¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤´¤È¤Î̾Á°ÉÕ¤±¤¬Éý¹­¤¯»ÈÍѤµ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ ÀßÄꤵ¤ì¹Ô»ÈÃæ¤Î¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Ç»ÈÍѤµ¤ì¤ë¥Û¥¹¥È̾¤Ï¡¢ UNIX ¤Î gethostname(3) ¥é¥¤¥Ö¥é¥ê´Ø¿ô¤ò»È¤Ã¤Æ·èÄꤵ¤ì¤Þ¤¹¡£ ntp-genkeys(8) ¥×¥í¥°¥é¥à¤È Autokey ¥×¥í¥È¥³¥ë¤Ï¡¢¤È¤â¤Ë¤³¤Î¥ë¡¼¥Á¥ó¤¬ÊÖ¤¹Ì¾Á°¤ò ÍѤ¤¤Æ¸ø³«¸°¥Õ¥¡¥¤¥ë¤Î̾Á°¤òÇÉÀ¸¤µ¤»¤Þ¤¹¡£ ¤É¤Î¥µ¡¼¥Ð¤â¥¯¥é¥¤¥¢¥ó¥È¤â¸ÇÍ­¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤ò¥í¡¼¥É¤¹¤ëɬÍפ¬ ¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤ì¤¾¤ì¤Î¥¯¥é¥¤¥¢¥ó¥È¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤Þ¤¿¤ÏÄÌ¿®Áê¼ê ¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤ËÂФ¹¤ë¸ø³«¸°¤Ï¡¢Autokey ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ ¥µ¡¼¥Ð¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤«¤é¼èÆÀ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤·¤«¤·¡¢¸½ºß¤Î³«È¯Ãʳ¬¤Ç¤Ï¡¢ ¥µ¡¼¥Ð¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤Îǧ¾Ú¤Î³Î¼ÂÀ­¤È ¥µ¡¼¥Ð̾¡¢¥¢¥É¥ì¥¹¡¢¸ø³«¸°¤Î°Å¹æ¤È¤Î·ë¹ç¤Ï¡¢ ǧ¾Ú¶É (certificate authority) ¤ä ¿®ÍѤÎÎØ (web of trust) ¤Ë¤è¤ê³ÎΩ¤µ¤ì¤¿¤È¤³¤í¤Ë¤Þ¤Ç㤷¤Æ¤¤¤Þ¤»¤ó¡£

NIST ¤Ï¡¢1972 ǯ°Ê¸å¡¢Îò»ËŪ¤ËÁ´¤Æ¤Î±¼ÉäÎÁÞÆþ¤ÎȯÀ¸¤ò¼¨¤¹É½¤ò Ä󶡤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î±¼ÉÃɽ¤Ï¡¢ÁÞÆþȯÀ¸¤½¤ì¤¾¤ì¤À¤±¤Ç¤Ê¤¯¡¢ ¶¨ÄêÀ¤³¦»þ (Coordinated Universal Time:UTC) ¤Ë´Ø¤¹¤ë ¹ñºÝ¸¶»Ò»þ (International Atomic time:TAI) ¤Î¥ª¥Õ¥»¥Ã¥È¤â¤¢¤ï¤»¤Æ µ­ºÜ¤·¤Æ¤¤¤Þ¤¹¡£ ¤Á¤Ê¤ß¤Ë¡¢¶¨ÄêÀ¤³¦»þ¤Ï NTP ¤Ë¤è¤êÅÁÇŤµ¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£ ¤³¤Îɽ¤Ï¡¢NIST ¹ñ²È»þ¹ï¥µ¡¼¥Ð¤«¤é FTP ¤ò»È¤¤ ASCII ¥Õ¥¡¥¤¥ë pub/leap-seconds ¤È¤·¤ÆľÀܼèÆÀ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¸·Ì©¤Ë¤Ï¥»¥­¥å¥ê¥Æ¥£µ¡Ç½¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢Autokey Êý¼°¤Ï ¥µ¡¼¥Ð¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤«¤é°ÂÁ´¤Ë±¼ÉÃɽ¤ò¼è¤ê½Ð¤¹¼êÃʤòÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ ¥µ¡¼¥Ð¤Ï¡¢ crypto ¥³¥Þ¥ó¥É¤Ç»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤«¤é¡¢±¼ÉÃɽ¤òľÀÜ¥í¡¼¥É¤·¤Þ¤¹¡£ ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢¥µ¡¼¥Ð¤«¤é Autokey ¥×¥í¥È¥³¥ë¤ò»È¤¤´ÖÀÜŪ¤Ë ¼èÆÀ¤·¤Þ¤¹¡£ °ìÅÙ¥í¡¼¥É¤µ¤ì¤ë¤È¡¢±¼ÉÃɽ¤ÏÍ×µá¤Ë±þ¤¸Â¾¤Î¥¯¥é¥¤¥¢¥ó¥È¤ä¥µ¡¼¥Ð¤Ë Ä󶡤Ǥ­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¡¢Á´¤Æ¤Î¸°¥Õ¥¡¥¤¥ë¤Ï¡¢ /usr/local/etc ¤ËÃÖ¤«¤ì¤Þ¤¹¡£ ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÏÄ̾ ¥Í¥Ã¥È¥ï¡¼¥¯¤Ç NFS ¥Þ¥¦¥ó¥È¤µ¤ì¤¿¶¦Í­¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÃæ¤Ë¤¢¤ê¡¢ ¸Ä¡¹¤Î¥Þ¥·¥ó¤ËÊÌ¡¹¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê´Ö¤ò¾Ê¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ keysdir ÀßÄꥳ¥Þ¥ó¥É¤òÍѤ¤¤Æ¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤·¤«¤·¡¢¤³¤³¤ÏÈëÌ©¸°¥Õ¥¡¥¤¥ë¤òÃÖ¤¯¾ì½ê¤È¤·¤Æ¤ÏÎɤ¤¤È¤Ï¤¤¤¨¤Þ¤»¤ó¡£ ¥Þ¥·¥ó¤½¤ì¤¾¤ì¤¬¼«Ê¬¤Î¥Õ¥¡¥¤¥ë¤òɬÍפȤ¹¤ë¤«¤é¤Ç¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Î¤ËŬÅö¤Ê¾ì½ê¤Ï /etc ¤Ç¤¹¡£ ¤³¤³¤Ï¡¢Ä̾¶¦ÍÑ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¸ºß¤·¤Þ¤»¤ó¡£

¿ä¾©¤¹¤ë¤ä¤êÊý¤Ï¡¢ ¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿»þ¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×³ÈÄ¥»Ò¤òÊÝ»ý¤·¡¢ (¥¿¥¤¥à¥¹¥¿¥ó¥×³ÈÄ¥»Ò¤Î¤Ê¤¤) ¥Ç¥Õ¥©¥ë¥È̾¤«¤é¼Â¥Õ¥¡¥¤¥ë¤Ø¤Î ¥ê¥ó¥¯¤òºî¤ë¤³¤È¤Ç¤¹¡£ ¤³¤ì¤Ë¤è¤ê¡¢¿·µ¬¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¤ò¥ê¥ó¥¯¤òÄ¥¤êÊѤ¨¤ë¤³¤È¤ÇÍ­¸ú¤Ë ¤Ç¤­¤Þ¤¹¡£ ¤·¤«¤·¡¢ ntpd(8) ¤Ï¡¢³ÈÄ¥Ãͤò¼è¤ê½Ð¤¹½Ö´Ö¤Ë¥ê¥ó¥¯Ì¾¤ò²ò¼á¤·¡¢Í׵ᤵ¤ì¤¿»þÅÀ¤Ç ¸ø³«¸°¤È¥Û¥¹¥È̾¤È¤È¤â¤Ë¥ê¥ó¥¯Ì¾¤òÁ÷ÉÕ¤·¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥Õ¥¡¥¤¥ë¤ÈÀ¸À®»þ¹ï¤¬¾ï¤Ë¸½ºß¤Ç¤¢¤ë¤È ¸¡¾Ú¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤·¤«¤·¡¢³Æ¥Õ¥¡¥¤¥ë¤Î¼ÂºÝ¤Î¾ì½ê¤Ï crypto ÀßÄꥳ¥Þ¥ó¥É¤Ë¤è¤ê¾å½ñ¤­¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

°Å¹æ²½¸°¤È´ØÏ¢¥Ñ¥é¥á¡¼¥¿Á´¤Æ¤Ï¡¢Î㤨¤Ð¡¢1¥ö·î¤Ë1²ó¤°¤é¤¤¤ÎÉÑÅÙ¤Ç Äê´üŪ¤«¤Ä¼«Æ°Åª¤ËºÆÀ¸À®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ntp-genkeys(8) ¥×¥í¥°¥é¥à¤Ï¡¢°ìÅÙ¤ËÀ¸À®¤¹¤ë¥Õ¥¡¥¤¥ëÁ´¤Æ¤ËÂФ· Ʊ¤¸¥¿¥¤¥à¥¹¥¿¥ó¥×³ÈÄ¥»Ò¤ò»È¤¤¤Þ¤¹¡£ ¤Ç¤¹¤«¤é¡¢¥Õ¥¡¥¤¥ëÀ¸À®¤Î¤½¤ì¤¾¤ì¤Ï¶èÊ̤µ¤ì¡¢¥Ç¡¼¥¿´Æ»ë¤ÎºÝ¤Ë ¥Õ¥¡¥¤¥ëÀ¸À®¤òǧ¼±¤Ç¤­¤Þ¤¹¡£ ¸ø³«¸°/ÈëÌ©¸°¤ÎÁȤÏÁ´¤Æ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤ê À¸À®¤µ¤ì¤Í¤Ð¤Ê¤ê¤Þ¤»¤ó¤¬¡¢¸ø³«¸°¤È¹ç°Õ¥Ñ¥é¥á¡¼¥¿¤ò¡¢ Ʊ¤¸¥»¥­¥å¥ê¥Æ¥£¶è²èÆâ¤ÎÁ´¤Æ¤Î¥Þ¥·¥ó¤ËÂФ·¤ï¤¶¤ï¤¶ ¥³¥Ô¡¼¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤é¤Ï¡¢Autokey ¥×¥í¥È¥³¥ë¤ò»È¤¤¼«Æ°Åª¤Ë¼èÆÀ¤Ç¤­¤ë¤«¤é¤Ç¤¹¡£ ¤·¤«¤·¡¢¥×¥é¥¤¥Þ¥ê¥µ¡¼¥Ð¤ÎÁ´¤Æ¤ÏƱ¤¸¹ç°Õ¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤ò»ý¤Ä ɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤òãÀ®¤¹¤ë¤¿¤á¤Ë¿ä¾©¤¹¤ëÊýË¡¤Ï¡¢¥×¥é¥¤¥Þ¥ê¥µ¡¼¥Ð¤Î 1 ¤Ä¤Ë ¤½¤Î¥Õ¥¡¥¤¥ë¤òÀ¸À®¤µ¤»¡¢¤½¤Î¸å¤Ç¡¢Æ±¤¸¥»¥­¥å¥ê¥Æ¥£¶è²èÆâ¤Î ¾¤Î¥×¥é¥¤¥Þ¥ê¥µ¡¼¥Ð¤ËÂФ· UNIX rdist(1) ¥³¥Þ¥ó¥É¤òÍѤ¤¤Æ¥³¥Ô¡¼¤¹¤ë¤³¤È¤Ç¤¹¡£ Autokey ¥×¥í¥È¥³¥ë¤Î¾­Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢¹ç°Õ¥×¥í¥È¥³¥ë¤¬ ¤³¤Î½èÍý¤ò¼«Æ°Åª¤Ë¹Ô¤Ê¤¦µ¡Ç½¤ÎÄ󶡤ò´Þ¤à¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¿·µ¬¤Î¥Õ¥¡¥¤¥ëÀ¤Âå¤ÎÀ¸À®¤ò ¼¡¤Î¤è¤¦¤Ë¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Á´¤Æ¤Î¥Þ¥·¥ó¤Ïµ¯Æ°»þ¤Ë¸Å¤¤¥Õ¥¡¥¤¥ëÀ¤Âå¤ò¥í¡¼¥É¤·¤Æ¤ª¤ê¡¢ Àµ¾ï¤ËÆ°ºî¤·¤Æ¤¤¤Þ¤¹¡£ »ØÄꤷ¤¿´Ö³Ö¤Ç¡¢³Æ¥Þ¥·¥ó¤Ï¿·µ¬¤Î¸ø³«¸°/ÈëÌ©¸°¤ÎÁȤòÀ¸À®¤·¡¢ ¥Ç¥Õ¥©¥ë¥È¥Õ¥¡¥¤¥ë̾¤«¤é¿·µ¬¥Õ¥¡¥¤¥ë̾¤Ø¤Î¥ê¥ó¥¯¤òºîÀ®¤·¤Þ¤¹¡£ ¤½¤Î¸å¤Ç¡¢ ntpd(8) ¤ÏºÆµ¯Æ°¤µ¤ì¡¢¿·µ¬¤ÎÀ¸À®¤ò¥í¡¼¥É¤·¤Þ¤¹¡£ ¤½¤Î·ë²Ì¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¤â¤Ï¤äǧ¾Ú¤òÀµ¤·¤¯¹Ô¤Ê¤¦¤³¤È¤¬ ¤Ç¤­¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ Autokey ¥×¥í¥È¥³¥ë¤¬¤½¤¦À߷פµ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢ ¿ôʬ¸å¤Ë¥¯¥é¥¤¥¢¥ó¥È¤Ï¥¿¥¤¥à¥¢¥¦¥È¤·¡¢ ¥×¥í¥È¥³¥ë¤òºÇ½é¤«¤é³«»Ï¤·¤Þ¤¹¡£ ¤½¤Î·ë²Ì¿·µ¬¤ÎÀ¤Âå¤ò¥í¡¼¥É¤·¡¢°ÊÁ°Ä̤êÆ°ºî¤ò³¤±¤ë¤³¤È¤¬ ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ƱÍͤμ곤­¤¬¹ç°Õ¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤â»ÈÍѤǤ­¤Þ¤¹¡£ ¤·¤«¤·¡¢¤³¤Î¾ì¹ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò»ý¤Ä¤¹¤Ù¤Æ¤Î¥Þ¥·¥ó¤¬Æ±¤¸¥³¥Ô¡¼¤ò »ý¤Ä¤è¤¦¤Ë½½Ê¬ÍÑ¿´¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

[logsec]
Autokey ¥×¥í¥È¥³¥ë¤Ç»ÈÍѤ¹¤ë¥»¥Ã¥·¥ç¥ó¸°¤Î¥ê¥¹¥È¤ò ºÆÀ¸À®¤¹¤ë»þ´Ö´Ö³Ö¤ò»ØÄꤷ¤Þ¤¹¡£ ³Æ¥¢¥½¥·¥¨¡¼¥·¥ç¥óÍѤθ°¥ê¥¹¥È¤Î¥µ¥¤¥º¤Ï¡¢¤³¤Î»þ´Ö´Ö³Ö¤È¸½ºß¤Î ¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤Ë°Í¤ë¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 12 ¤Ç¤¹ (4096 ÉᢤĤޤꡢÌó 1.1 »þ´Ö¤Ç¤¹)¡£ »ØÄꤷ¤¿»þ´Ö´Ö³Ö°Ê¾å¤Î¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤ËÂФ·¤Æ¤Ï¡¢ ¥»¥Ã¥·¥ç¥ó¸°¤Î¥ê¥¹¥È¤Ïñ°ì¥¨¥ó¥È¥ê¤ò»ý¤Á¡¢¥á¥Ã¥»¡¼¥¸¤ò Á÷¤ë¤´¤È¤ËºÆÀ¸À®¤µ¤ì¤Þ¤¹¡£
key
ntpq(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥×¥í¥°¥é¥à¤Ç»ÈÍѤ¹¤ë¸°¤Î¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Î¥×¥í¥°¥é¥à¤Ï¡¢RFC-1305 ¤ÇÄêµÁ¤µ¤ì¤¿É¸½à¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£ key °ú¿ô¤Ï¡¢¸°¤Î¥­¥ã¥Ã¥·¥åÃæ¤Î¿®Íꤵ¤ì¤¿¸°¤ËÂФ¹¤ë¸°¼±Ê̻ҤǤ¹¡£ ÃͤÎÈϰϤϡ¢1 ¤«¤é 65534 ¤Çξü¤ò´Þ¤ß¤Þ¤¹¡£
[flags flags] [privatekey file] [publickey file] [dhparms file] [leap file]
¤³¤Î¥³¥Þ¥ó¥É¤Ï NTP ¥Ç¡¼¥â¥ó¤ò¹½ÃÛ¤¹¤ëºÝ¤Ë RSA ¥é¥¤¥Ö¥é¥ê¤ò´Þ¤áÀßÄꤹ¤ë¤³¤È¤¬É¬ÍפǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¸ø³«¸°°Å¹æ²½¤òÍ­¸ú¤Ë¤·¡¢É¬Í×¤Ê RSA ÈëÌ©¸°¥Õ¥¡¥¤¥ë¤È ¸ø³«¸°¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¡¢Â¸ºß¤¹¤ë¤Ê¤é Diffie-Hellman ¹ç°Õ¥Ñ¥é¥á¡¼¥¿ ¥Õ¥¡¥¤¥ë¤â¥í¡¼¥É¤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¤¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ï°Ê²¼¤ËÀâÌÀ¤¹¤ë¤è¤¦¤Ë »È¤ï¤ì¤Þ¤¹¡£ ¼¡¤Ë¼¨¤¹¤Î¤Ï¥µ¥Ö¥³¥Þ¥ó¥É¤Ç¤¹¡£
file
RSA ÈëÌ©¸°¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ »ØÄ꤬¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ /usr/local/etc/ntpkey ¤Ç¤¹¡£
file
RSA ¸ø³«¸°¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ »ØÄ꤬¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ /usr/local/etc/ntpkey_host ¤Ç¤¹¡£ ¤³¤³¤Ç¡¢ host ¤Ï¸°¤òÀ¸À®¤·¤¿¥Þ¥·¥ó¤Î̾Á°¤Ç¤¹¡£
file
Diffie-Hellman ¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ »ØÄ꤬¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ /usr/local/etc/ntpkey_dh ¤Ç¤¹¡£
file
±¼ÉÃɽ¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ »ØÄ꤬¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ /usr/local/etc/ntpkey_leap ¤Ç¤¹¡£
keyfile
DES/MD5 ÈëÌ©¸°¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢Âоθ°¥â¡¼¥É¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤È¤­¤Ë ntpd(8), ntpq(8), ntpdc(8) ¤¬»ÈÍѤ¹¤ë¸°¤È¸°¼±Ê̻Ҥò´Þ¤ß¤Þ¤¹¡£
path
¤³¤Î¥³¥Þ¥ó¥É¤Ï NTP ¥Ç¡¼¥â¥ó¤ò¹½ÃÛ¤¹¤ëºÝ¤Ë RSA ¥é¥¤¥Ö¥é¥ê¤ò´Þ¤áÀßÄꤹ¤ë¤³¤È¤¬É¬ÍפǤ¹¡£ ÈëÌ©¸°¥Õ¥¡¥¤¥ë¡¢¹ç°Õ¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¡¢¸ø³«¸°¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë ¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¥£¥ì¥¯¥È¥ê¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤³¤Î¥³¥Þ¥ó¥É¤¬½Ð¤Æ¤³¤Ê¤«¤Ã¤¿¤È¤­¡¢ ¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï /usr/local/etc ¤Ç¤¹¡£
key
ntpdc(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥×¥í¥°¥é¥à¤Ç»ÈÍѤ¹¤ë¸°¤Î¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Î¥×¥í¥°¥é¥à¤Ç¤Ï¡¢ ntpd(8) ¤Î¸½ºß¤Î¼ÂÁõ¤ËÆÃÍ­¤ÎÀìÍÑ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£ key °ú¿ô¤Ï¡¢¿®Íꤵ¤ì¤¿¸°¤ËÂФ¹¤ë¸°¤Î¼±Ê̻ҤǤ¹¡£ ¤½¤ÎÃÍ¤Ï 1 ¤«¤é 65534 ¤ÎÈϰϤǤ¹ (ξü¤ò´Þ¤à)¡£
logsec
Autokey Êý¼°¤Ç»ÈÍѤ¹¤ë¤¢¤ë°Å¹æ²½ÃͤκƷ׻»¤Î´Ö³Ö¤ò¡¢ Éÿô¤ò 2 ¤Î»Ø¿ô¤Ç»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÊý¼°¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤è¤ëÁíÅö¤¿¤ê¹¶·â¤ò ¤½¤é¤¹¤¿¤á¤Ë¡¢¤³¤ì¤é¤ÎÃͤòÉÑÈˤ˹¹¿·¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤·¤«¤·¡¢¤¤¤¯¤Ä¤«¤ÎÃͤι¹¿·¤ÏÈæ³ÓŪ¹â²Á¤Ê½èÍý¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Î»þ´Ö´Ö³Ö¤Ï 16 ¤Ç¤¹ (65,536 ÉᢤĤޤêÌó 18 »þ´Ö¤Ç¤¹)¡£ »ØÄꤷ¤¿´Ö³Ö°Ê¾å¤Î¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤ËÂФ·¤Æ¡¢ ¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë¤´¤È¤Ë¿·¤·¤¤Ãͤ¬ºÆ·×»»¤µ¤ì¤Þ¤¹¡£
key ...
ÄÌ¿®Áê¼ê¤òÂоθ°°Å¹æ²½¤ò»È¤¤Ç§¾Ú¤¹¤ëÌÜŪ¤Ç¡¢¿®Íꤹ¤ë °Å¹æ²½¸°¤Î¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹¡£ ¤Þ¤¿ ntpq(8) ¤ª¤è¤Ó ntpdc(8) ¥×¥í¥°¥é¥à¤Ç»ÈÍѤµ¤ì¤ë¸°¤â»ØÄꤷ¤Þ¤¹¡£ ǧ¾Ú¼ê³¤­¤¬Í׵᤹¤ë¤³¤È¤Ï¡¢¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë¡¢ ¥í¡¼¥«¥ë¤È¥ê¥â¡¼¥È¤Î¥µ¡¼¥Ð¤È¤¬Æ±¤¸¸°¤ª¤è¤Ó¸°¤Î¼±Ê̻Ҥò ¶¦Í­¤·¤Æ¤¤¤ë¤³¤È¤Ç¤¹¤¬¡¢ °Û¤Ê¤Ã¤¿¥µ¡¼¥Ð¤Ë¤Ï¡¢°Û¤Ê¤Ã¤¿¸°¤ò»ÈÍѲÄǽ¤Ç¤¹¡£ key °ú¿ô¤Ï 32 ¥Ó¥Ã¥ÈÉä¹æ¤Ê¤·À°¿ô¤Ç¡¢1¤«¤é65,534¤Þ¤Ç¤ÎÈϰϤÎÃͤǤ¹¡£

ntpd(8) ¤Ë¤Ï¡¢¥µ¡¼¥Ð¤ª¤è¤Ó¥¯¥é¥¤¥¢¥ó¥È¤Î»þ´Ö·×¬¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤òĹ»þ´Ö Ϣ³¤·¤Æµ­Ï¿¤¹¤ë¤Î¤ËŬ¤·¤¿¡¢Êñ³çŪ¤Ê¥â¥Ë¥¿µ¡Ç½¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëÅý·×¤Î¼ïÎà¤Î¥ê¥¹¥È¤È¼Â¹ÔÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¸å¤Ç½Ò¤Ù¤ë statistics ¥³¥Þ¥ó¥É¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ Åý·×¥Õ¥¡¥¤¥ë¤Ï¡¢¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤È¡¢ÇÛÉÛʪ¤ÎÃæ¤Î ./scripts ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥¹¥¯¥ê¥×¥È¤ò»ÈÍѤ·¤Æ´ÉÍý¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Îµ¡Ç½¤È¡¢ UNIX ¤Î cron(8) ¥¸¥ç¥Ö¤ò»ÈÍѤ·¤Æ¡¢ ¥Ç¡¼¥¿¤¬¼«Æ°Åª¤ËÍ×Ì󤵤졢»þ´Ö¤òÁ̤ä¿Ê¬ÀϤò¹Ô¤¦¤È¤­¤Î¤¿¤á¤Ë Êݸ¤µ¤ì¤Þ¤¹¡£

name ...
Åý·×¥ì¥³¡¼¥É¤Î½ñ¤­¹þ¤ß¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¸½ºß¤Î¤È¤³¤í¡¢4 ¼ïÎà¤Î name ¤ÎÅý·×¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¥ë¡¼¥×¥Õ¥£¥ë¥¿¤ÎÅý·×¾ðÊó¤Îµ­Ï¿¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¥í¡¼¥«¥ë»þ·×¤Î¹¹¿·¤ò¹Ô¤¦¤¿¤Ó¤Ë¡¢ loopstats ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ë¼¡¤Î·Á¼°¤Î¹Ô¤ò½ÐÎϤ·¤Þ¤¹:
50935 75440.031 0.000006019 13.778190 0.000351733 0.013380 6
        

ºÇ½é¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ÆüÉÕ (¥æ¥ê¥¦¥¹Îñ¤Ë½¤ÀµºÑ) ¤È »þ¹ï (UTC ¸áÁ° 0 »þ¤«¤é¤ÎÉÿô) ¤Ç¤¹¡£ ¼¡¤Î 5 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ ÉÃñ°Ì¤Î»þ´Ö¥ª¥Õ¥»¥Ã¥È¡¢ 100 Ëüʬ¤Î 1 (PPM) ñ°Ì¤Î¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¡¢ ÉÃñ°Ì¤Î RMS ¥¸¥Ã¥¿¡¢100 Ëüʬ¤Î 1 (PPM) ñ°Ì¤Î Allan Êк¹¡¢ »þ·×³Ø½¬¥¢¥ë¥´¥ê¥º¥à¤Î»þÄê¿ô¤Ç¤¹¡£

ÄÌ¿®Áê¼ê¤Ë´Ø¤¹¤ëÅý·×¾ðÊó¤Îµ­Ï¿¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤³¤ì¤Ë¤Ï¡¢ÀßÄꤵ¤ì¤¿¤â¤Î¤È¸½ºßÍ­¸ú¤Ê¤â¤Î¤È¤ÎξÊý¤Ë¤Ä¤¤¤Æ¡¢ NTP ¥µ¡¼¥Ð¤ÎÄÌ¿®Áê¼ê¤ÎÁ´¤Æ¡¢ÆÃÊ̤ʻþ¹ï¿®¹æ¤ÎÄÌ¿®Áê¼ê¤ÎÁ´¤Æ ¤ËÂФ¹¤ëÅý·×¥ì¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ Í­¸ú¤Ê¹¹¿·¤¬¹Ô¤ï¤ì¤ëÅ٤ˡ¢peerstats ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Î ¸½ºß¤ÎÍ×ÁǤ˼¡¤Î·Á¼°¤Î¹Ô¤òÄɲä·¤Þ¤¹:
48773 10847.650 127.127.4.1 9714 -0.001605 0.00000 0.00142
        
ºÇ½é¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ÆüÉÕ (¥æ¥ê¥¦¥¹Îñ¤Ë½¤ÀµºÑ)¡¢ »þ¹ï (UTC ¤Ç¸áÁ° 0 »þ¤«¤é¤ÎÉÿô) ¤Ç¤¹¡£ ¼¡¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¤½¤ì¤¾¤ì¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿ ·Á¼°¤Îµ­Ë¡¤Ç½ñ¤«¤ì¤¿ÄÌ¿®Áê¼ê¤Î¥¢¥É¥ì¥¹¤ª¤è¤Ó¥¹¥Æ¡¼¥¿¥¹¤Ç¤¹¡£ ¥¹¥Æ¡¼¥¿¥¹¥Õ¥£¡¼¥ë¥É¤Ï¡¢RFC 1305 ¤Î NTP »ÅÍͤÎÄɵ­ A ¤Ç½Ò¤Ù¤Æ¤¤¤ë ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍѤ¤¤Æ¡¢16 ¿Ê¿ô¤ÇÉä¹æ²½¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ºÇ¸å¤Î 3 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¥ª¥Õ¥»¥Ã¥È¡¢Ãٱ䡢RMS ¥¸¥Ã¥¿¤Ç¡¢ ¤¹¤Ù¤ÆÉÃñ°Ì¤Ç¤¹¡£
»þ·×¥É¥é¥¤¥Ð¤ÎÅý·×¾ðÊó¤Îµ­Ï¿¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ »þ·×¥É¥é¥¤¥Ð¤«¤é¤Î¹¹¿·¤ò¼õ¤±¤ëÅ٤ˡ¢clockstats ¤È¤¤¤¦Ì¾Á°¤Î ¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ë¡¢¼¡¤Î·Á¼°¤Î¹Ô¤òÄɲýÐÎϤ·¤Þ¤¹:
49213 525.624 127.127.4.1 93 226 00:08:29.606 D
        
ºÇ½é¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ÆüÉÕ (¥æ¥ê¥¦¥¹Îñ¤Ë½¤ÀµºÑ) ¤ª¤è¤Ó»þ¹ï (UTC ¤Ç¸áÁ° 0 »þ¤«¤é¤ÎÉÿô) ¤Ç¤¹¡£ ¼¡¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤Îµ­Ë¡¤Ç½ñ¤«¤ì¤¿ »þ·×¤Î¥¢¥É¥ì¥¹¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ºÇ¸å¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢»þ·×¤«¤é¼õ¤±¼è¤Ã¤¿ºÇ¸å¤Î¥¿¥¤¥à¥³¡¼¥É¤ò °ÕÌ£¤Î¤¢¤ë ASCII ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ë¥Ç¥³¡¼¥É¤·¤¿¤â¤Î¤Ç¤¹¡£ »þ·×¥É¥é¥¤¥Ð¤Ë¤è¤Ã¤Æ¤Ï¡¢¤³¤ì°Ê³°¤ËÄɲäǤ½¤³¤½¤³¤Î¾ðÊó¤ò½¸¤á¡¢ ¤¢¤ï¤»¤Æɽ¼¨¤¹¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢³Æ»þ·×ÆÃÍ­¤Î¾ðÊó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
¤½¤Î¤Þ¤Þ¤Î¥¿¥¤¥à¥¹¥¿¥ó¥× (raw-timestamp) ¤ÎÅý·×¾ðÊó¤ò µ­Ï¿¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£ ¤³¤ì¤Ë¤Ï¡¢ÀßÄꤵ¤ì¤¿¤â¤Î¤È¸½ºßÍ­¸ú¤Ê¤â¤Î¤È¤ÎξÊý¤Ë¤Ä¤¤¤Æ¡¢ NTP ¥µ¡¼¥Ð¤ÎÄÌ¿®Áê¼ê¤ÎÁ´¤Æ¡¢ÆÃÊ̤ʻþ¹ï¿®¹æ¤ÎÄÌ¿®Áê¼ê¤ÎÁ´¤Æ ¤ËÂФ¹¤ëÅý·×¥ì¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ÄÌ¿®Áê¼ê¤Þ¤¿¤Ï»þ·×¥É¥é¥¤¥Ð¤«¤é¼õ¤±¼è¤Ã¤¿ NTP ¥á¥Ã¥»¡¼¥¸¤Ï ¤½¤ì¤¾¤ì¡¢rawstats ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ë ¼¡¤Î¤è¤¦¤Ê·Á¼°¤Ç 1 ¹ÔÉÕ¤±Â­¤·¤Þ¤¹:
50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000
        
ºÇ½é¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ÆüÉÕ (¥æ¥ê¥¦¥¹Îñ¤Ë½¤ÀµºÑ) ¤ª¤è¤Ó»þ¹ï (UTC ¤Ç¸áÁ° 0 »þ¤«¤é¤ÎÉÿô) ¤Ç¤¹¡£ ¼¡¤Î 2 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ ÄÌ¿®Áê¼ê¤¢¤ë¤¤¤Ï»þ·×¤Î¥¢¥É¥ì¥¹¤È¡¢ ¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Ï¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿µ­Ë¡¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ºÇ¸å¤Î 4 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢ À¸µ¯¡¢¼õ¿®¡¢Á÷¿®¡¢ºÇ½ª¤Î 4 ¼ïÎà¤Î NTP ¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò ½ç¤Ë¼¨¤·¤¿¤â¤Î¤Ç¤¹¡£ ¥¿¥¤¥à¥¹¥¿¥ó¥×¤ÎÃͤϼõ¤±¼è¤Ã¤¿¤Þ¤Þ¤Î¤â¤Î¤Ç¤¢¤ê¡¢¤µ¤Þ¤¶¤Þ¤Ê ¥Ç¡¼¥¿Ê¿³ê²½¤ä´ËÏÂ¥¢¥ë¥´¥ê¥º¥à¤¬½èÍý¤¹¤ëÁ°¤Î¤â¤Î¤Ç¤¹¡£
directory_path
Åý·×¥Õ¥¡¥¤¥ë¤òºî¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥ë¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹ (²¼µ­»²¾È)¡£ ¤³¤Î¥­¡¼¥ï¡¼¥É¤Ë¤è¤ê¡¢¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Î¤¿¤á¤Î filegen ¥Õ¥¡¥¤¥ë̾¤Î¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤ÎÊѹ¹ (¤³¤ì¤¬¤Ê¤±¤ì¤Ð¸ÇÄê¤Î¤Þ¤Þ¤Ç¤¹) ¤¬²Äǽ¤È¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢Åý·×¥í¥°¤ò°·¤¦¤Î¤ËÊØÍø¤Ç¤¹¡£
name [file filename] [type typename] [link | nolink] [enable | disable]
¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç name ¤ÎÀßÄê¤òÊѹ¹¤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ï¡¢¥µ¡¼¥Ð¤Î³èÆ°´ü´Ö¤òÄ̤¸¤Æ ·Ñ³Ū¤ËÂ礭¤¯¤Ê¤Ã¤Æ¤¤¤¯¥Õ¥¡¥¤¥ë¤ò°·¤¦¼êÃʤòÄ󶡤·¤Þ¤¹¡£ ¥µ¡¼¥Ð¤ÎÅý·×¤Ï¤³¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤Îŵ·¿Îã¤Ç¤¹¡£ ¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ï¡¢¼ÂºÝ¤Î¥Ç¡¼¥¿¤ò³ÊǼ¤¹¤ë¤Î¤ËÍѤ¤¤é¤ì¤ë ¥Õ¥¡¥¤¥ë½¸¹ç¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ󶡤·¤Þ¤¹¡£ ¤É¤ó¤Ê»þÅÀ¤Ç¤â¡¢¥Õ¥¡¥¤¥ë½¸¹ç¤Î¹â¡¹ 1 ¤Ä¤ÎÍ×ÁǤËÂФ·¤Æ¤À¤± ½ñ¤­¹þ¤ß¤¬¹Ô¤ï¤ì¤Þ¤¹¡£ »ØÄꤷ¤¿ type ¤Ï¡¢¥Õ¥¡¥¤¥ë½¸¹ç¤Î¿·¤·¤¤Í×ÁǤˡ¢¥Ç¡¼¥¿¤¬¤¤¤Ä¡¢ ¤É¤Î¤è¤¦¤Ë½ÐÎϤµ¤ì¤ë¤Î¤«¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÊýË¡¤Ç¡¢ ntpd(8) ¤ÎÆ°ºî¤ò˸¤²¤ë´í¸±¤òËÁ¤¹¤³¤È¤Ê¤¯¡¢ ¸½ºß»ÈÍѤµ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë½¸¹ç¤ÎÍ×ÁǤ˳ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ðÊó¤ò¡¢ ´ÉÍýÁàºî¤Î¤¿¤á¤Ë»ÈÍѤǤ­¤Þ¤¹ (ºÇ¤â½ÅÍפÊÁàºî: ¿·¤¿¤Ê½ÐÎϥǡ¼¥¿ÍѤζõ¤­¤òºî¤ë¤¿¤á¤Ë¡¢¤³¤ì¤éÍ×ÁǤòºï½ü¤Ç¤­¤Þ¤¹)¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥ê¥â¡¼¥È¤ÇÆ°ºî¤·¤Æ¤¤¤ë ntpdc(8) ¥×¥í¥°¥é¥à¤«¤éÁ÷¿®²Äǽ¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
name
¤³¤ì¤Ï¡¢Åý·×¥ì¥³¡¼¥É¤Î¥¿¥¤¥×¤Ç¤¹¡£ statistics ¥³¥Þ¥ó¥É¤Î¹à¤Ç¼¨¤¹¤â¤Î¤ÈƱ¤¸¤Ç¤¹¡£
filename
¤³¤ì¤Ï¡¢Åý·×¥ì¥³¡¼¥ÉÍѤΥե¡¥¤¥ë̾¤Ç¤¹¡£ ½¸¹ç¤Î¥á¥ó¥Ð¤Î¥Õ¥¡¥¤¥ë̾¤Ï¡¢¼¡¤Î 3 ¤Ä¤ÎÍ×ÁǤηë¹ç¡¢ ¤¹¤Ê¤ï¤Á¥×¥ì¥Õ¥£¥Ã¥¯¥¹¡¢¥Õ¥¡¥¤¥ë̾¡¢¥µ¥Õ¥£¥Ã¥¯¥¹¤«¤é¤Ç¤­¤Æ¤¤¤Þ¤¹¡£
prefix
¥Õ¥¡¥¤¥ë̾¤Î¥Ñ¥¹¤Ç¤¢¤ê¡¢Äê¿ô¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢ filegen ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¤âÊѹ¹¤µ¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¥Ñ¥¹¤Ï¡¢¥µ¡¼¥Ð¤¬ÄêµÁ¤·¤Þ¤¹¡£ Ä̾ï¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë»þ¤ËÄê¿ô¤È¤·¤Æ»ØÄꤷ¤Þ¤¹¡£ ¤·¤«¤·¡¢Ê̤Υ³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¡¢¸Ä¡¹¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤ËÂФ· ÀßÄꤹ¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£ Î㤨¤Ð¡¢ loopstats ¤ª¤è¤Ó peerstats À¸À®»þ¤Ë»È¤ï¤ì¤ë¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢ Á°¤ËÀâÌÀ¤·¤¿ statsdir ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆÀßÄê²Äǽ¤Ç¤¹¡£
filename
¤³¤Îʸ»úÎó¤Ï¡¢¤½¤Î¤Þ¤ÞÀè¤Ë½Ò¤Ù¤¿¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Î¸å¤í¤Ë·ë¤Ó¤Ä¤­¤Þ¤¹ (´Ö¤Ë ‘/’ (¥¹¥é¥Ã¥·¥å) ¤ÏÆþ¤ê¤Þ¤»¤ó)¡£ ¤³¤ì¤Ï¡¢ filegen ¥¹¥Æ¡¼¥È¥á¥ó¥È¤Î file °ú¿ô¤ò»ÈÍѤ¹¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ ¤³¤ÎÃæ¿È¤Ë¤Ï¡¢ ‘..’ ¤È¤¤¤¦Í×ÁǤò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¤½¤ì¤Ï¡¢¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Ç¼¨¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î³¬Áس°¤ò filename ¤¬»²¾È¤·¤Æ¤·¤Þ¤¦¤Î¤òËɤ°¤¿¤á¤Ç¤¹¡£
suffix
¤³¤ÎÉôʬ¤Ï¡¢¥Õ¥¡¥¤¥ë½¸¹ç¤ÎÍ×ÁǤҤȤĤҤȤĤòÈ¿±Ç¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¥Õ¥¡¥¤¥ë½¸¹ç¤Î¼ïÎà¤Ë°Í¸¤·¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£
typename
¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ï¡¢¥¿¥¤¥×¤Ë¤è¤Ã¤ÆÆÃħ¤Å¤±¤µ¤ì¤Þ¤¹¡£ ¼¡¤Î¤è¤¦¤Ê¼ïÎब¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹:
none
¤³¤Î¥Õ¥¡¥¤¥ë½¸¹ç¤Ï¤´¤¯ÉáÄ̤Υե¡¥¤¥ë 1 ¤Ä¤Ç¤¹¡£
pid
ntpd(8) ¥µ¡¼¥Ð¤¬À¸À®¤µ¤ì¤ë¤´¤È¤Ë¡¢¥Õ¥¡¥¤¥ë½¸¹ç¤ÎÍ×ÁǤ¬ 1 ¤Ä »ÈÍѤµ¤ì¤Þ¤¹¡£ ¤³¤Î¥¿¥¤¥×¤Ï¡¢Æ°ºîÃæ¤Ë¥Õ¥¡¥¤¥ë½¸¹ç¤Î¥á¥ó¥Ð¤Ë²¿¤ÎÊѹ¹¤â »Ü¤¹¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢°Û¤Ê¤ë ntpd(8) ¥µ¡¼¥Ð¤ÎÀ¸À®¤Ë°¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤òʬ¤±¤ë¤Î¤Ë´Êñ¤ÊÊýË¡¤ò Ä󶡤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë½¸¹ç¤Î¥á¥ó¥Ð¤Î¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤È filename ʸ»úÎó¤ò¤Ä¤Ê¤¤¤À¤â¤Î¤Ë ‘.’ (¥É¥Ã¥È) ¤òÉÕ¤±²Ã¤¨¡¢ ntpd(8) ¥µ¡¼¥Ð¤Î¥×¥í¥»¥¹¤Î¥×¥í¥»¥¹ ID ¤ò 10 ¿Ê¿ô¤Çɽ¸½¤·¤¿¤â¤Î¤ò ÉÕ¤±²Ã¤¨¤¿¤â¤Î¤Ç¤¹¡£
day
1 Æü¤´¤È¤Ë¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤ÎÍ×ÁǤ¬ 1 ¤ÄÀ¸À®¤µ¤ì¤Þ¤¹¡£ 1 Æü¤È¤Ï¡¢UTC »þ¹ï¤Ç 0:00 ¤«¤é 24:00 ¤Þ¤Ç¤Î´ü´Ö¤ÈÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë½¸¹ç¥á¥ó¥Ð¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ë¤Ï¡¢ “.” (¥É¥Ã¥È) ¤ÈÆüÉÕ¤ò YYYYMMdd ·Á¼°¤Çɽ¤·¤¿¤â¤Î¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤³¤Ç¡¢ YYYY ¤Ï¡¢4 ·å¤Çɽ¤·¤¿À¾Îñǯ¤Ç¤¹ (Î㤨¤Ð¡¢1992)¡£ MM ¤Ï¡¢2 ·å¤Î·î¤Ç¤¹¡£ dd ¤Ï¡¢2 ·å¤ÎÆü¤Ç¤¹¡£ ¤Ä¤Þ¤ê¡¢1992 ǯ 12 ·î 10 Æü¤Ë½ñ¤«¤ì¤¿¾ðÊó¤ÏÁ´¤Æ¡¢ ~prefix/filename/19921210 ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
week
¤É¤ÎÍ×ÁǤâ 1 ǯ¤Î¤¦¤Á¤Î¤¢¤ë½µ¤Ë´ØÏ¢¤¹¤ë¥Ç¡¼¥¿¤ò´Þ¤ß¤Þ¤¹¡£ ¤³¤³¤Ç¡¢½µ¤È¤¤¤¦ÍѸì¤Ï¡¢Ç¯¤Î»Ï¤Þ¤ê¤«¤é¤ÎÆü¿ô¤Î 7 ¤Î¾¦¤Ë¤è¤ê ÄêµÁ¤µ¤ì¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤ÎÍ×ÁǤϡ¢¥Õ¥¡¥¤¥ë½¸¹ç¤Î filename ¤Î¥Ù¡¼¥¹¤Ë¡¢¼¡¤Î¤è¤¦¤Ê¥µ¥Õ¥£¥Ã¥¯¥¹¤ò¤Ä¤±¤ë¤³¤È¤Ç¶èÊ̤µ¤ì¤Þ¤¹: ¥É¥Ã¥È¡¢4 ·å¤ÎÀ¾Îñǯ¡¢Ê¸»ú ‘W’, 2 ·å¤Î½µÈÖ¹æ¤Ç¤¹¡£ Î㤨¤Ð¡¢1992 ǯ 1 ·î 10 Æü¤«¤é¤Î¾ðÊó¤Ï¡¢¥µ¥Õ¥£¥Ã¥¯¥¹ .1992W1 ¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤Ë½ÐÎϤµ¤ì¤Þ¤¹¡£
month
1 ·î¤Ë 1 ¤Ä¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤ÎÍ×ÁǤ¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë̾¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢¥É¥Ã¥È¡¢4 ·å¤ÎÀ¾Îñǯ¡¢2 ·å¤Î·î¤«¤é ¤Ê¤ê¤Þ¤¹¡£
year
1 ǯ¤Ë 1 ¤Ä¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤ÎÍ×ÁǤ¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë̾¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢¥É¥Ã¥È¤È 4 ·å¤ÎÀ¾Îñǯ¤«¤é¤Ê¤ê¤Þ¤¹¡£
age
¤³¤Î·¿¤Î¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Ï¡¢¥µ¡¼¥Ð¤¬ 24 »þ´Ö³èÆ°¤¹¤ë¤´¤È¤Ë¿·¤¿¤ÊÍ×ÁÇ¤Ë ÊѤï¤ê¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë̾¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢¥É¥Ã¥È¡¢Ê¸»ú ‘a’, 8 ·å¤Î¿ô¤«¤é ¤Ê¤ê¤Þ¤¹¡£ ¤³¤Î¿ô¤Ï¡¢Âбþ¤¹¤ë 24 »þ´Ö¤Î»Ï¤á¤«¤é¥µ¡¼¥Ð¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë Éÿô¤Ç¤¢¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¾ðÊó¤Ï¡¢¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤¬ enable ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤È¤­¤Î¤ß¡¢¤½¤Î½¸¹ç¤Ë ½ñ¤­¹þ¤Þ¤ì¤Þ¤¹¡£ ½ÐÎϤϡ¢ disable ¤Ë»ØÄꤹ¤ë¤³¤È¤ÇÍÞÀ©¤µ¤ì¤Þ¤¹¡£
nolink
¥Õ¥¡¥¤¥ëÀ¤Â彸¹ç¤Î¸½ºß¤ÎÍ×ÁǤˡ¢·è¤Þ¤Ã¤¿Ì¾Á°¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤ë¤È ÊØÍø¤Ç¤¹¡£ ¤³¤Îµ¡Ç½¤Ï¡¢ link ¤ò»ØÄꤹ¤ë¤³¤È¤ÇÍ­¸ú¤Ë¤Ê¤ê¡¢ nolink ¤ò»ÈÍѤ¹¤ë¤È̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ link ¤¬»ØÄꤵ¤ì¤ë¤È¡¢¸½ºß¤Î¥Õ¥¡¥¤¥ë½¸¹ç¤ÎÍ×ÁǤ«¤é¡¢ ¥µ¥Õ¥£¥Ã¥¯¥¹¤ò»ý¤¿¤Ê¤¤¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ï¡¼¥É¥ê¥ó¥¯¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ ¤¹¤Ç¤Ë¤½¤Î̾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯¿ô¤¬ 1 ¤Ç¤¢¤ë¤È¤­¡¢¤½¤Î¥Õ¥¡¥¤¥ë̾¤ò¡¢¥É¥Ã¥È¡¢Ê¸»ú ‘C’ ¤½¤·¤Æ ntpd(8) ¥µ¡¼¥Ð¥×¥í¥»¥¹¤Î¥×¥í¥»¥¹ ID ¤ò¸å¤í¤ËÉÕ¤±²Ã¤¨¤¿¤â¤Î¤ËÊѹ¹¤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯¿ô¤¬ 1 ¤è¤ê¤âÂ礭¤¤¾ì¹ç¤Ï¡¢ ¥Õ¥¡¥¤¥ë¤Ï¥¢¥ó¥ê¥ó¥¯¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤Ã¤Æ¡¢¸½ºß¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢°ìÄê¤Î̾Á°¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤¹¡£
disable
¾ðÊóµ­Ï¿µ¡Ç½¤òÍ­¸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤·¤Þ¤¹¡£

ntpd(8) ¤Ï¡¢°ìÈÌŪ¤ÊÍÑÅӤΥ¢¥É¥ì¥¹¤ª¤è¤Ó¥Þ¥¹¥¯¥Ù¡¼¥¹¤ÎÀ©¸Â¥ê¥¹¥È¤ò ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÀ©¸Â¥ê¥¹¥È¤Ï¡¢¥¢¥É¥ì¥¹¤ª¤è¤Ó¥Þ¥¹¥¯¤Ç¥½¡¼¥È¤µ¤ì¤Æ¤ª¤ê¡¢ ¥Þ¥Ã¥Á¤¹¤ë¤«Èݤ«¤ò¤ß¤ë¤Î¤Ë¡¢¤³¤Î½ç½ø¤Çõº÷¤¬¹Ô¤ï¤ì¤Þ¤¹¡£ ¤³¤Î·ë²Ì¡¢ºÇ¸å¤Ë¥Þ¥Ã¥Á¤·¤¿¤â¤Î¤¬¡¢ÆþÎϥѥ±¥Ã¥È¤È ´ØÏ¢ÉÕ¤±¤é¤ì¤¿À©¸Â¥Õ¥é¥°¤òÄêµÁ¤·¤Þ¤¹¡£ ÆþÎϥѥ±¥Ã¥È¤ÎÁ÷¤ê¼ç¤Î¥¢¥É¥ì¥¹¤¬¥Þ¥Ã¥Á¤Ë»È¤ï¤ì¤Þ¤¹¡£ 32 ¥Ó¥Ã¥È¤Î¥¢¥É¥ì¥¹¤È¡¢À©¸ÂÍѤΥ¨¥ó¥È¥ê¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ ¥Þ¥¹¥¯¤È¤Î AND ¤ò¤È¤ê¡¢¤½¤ì¤«¤é¥¨¥ó¥È¥ê¤Î¥¢¥É¥ì¥¹¤ÈÈæ³Ó¤ò¤·¤Æ ¥Þ¥Ã¥Á¤¬¹Ô¤ï¤ì¤Þ¤¹ (¥¨¥ó¥È¥ê¤Î¥¢¥É¥ì¥¹¤â¥Þ¥¹¥¯¤È AND ¤¬¼è¤é¤ì¤Æ¤¤¤Þ¤¹)¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤äÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢ “NTP ¤ÎÀßÄê¤È NTP ¥µ¥Ö¥Í¥Ã¥È¤ÎÀßÄê¤Ë´Ø¤¹¤ëÃí°Õ” ¤Î¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£

¥¢¥¯¥»¥¹À©¸Âµ¡Ç½¤Ï¡¢¥ª¥ê¥¸¥Ê¥ë¤Î NSFnet ¥Ð¥Ã¥¯¥Ü¡¼¥ó ¥¿¥¤¥à¥µ¡¼¥Ð¤ËÂФ¹¤ë¥¢¥¯¥»¥¹¥Ý¥ê¥·¤È°ìÃפ¹¤ë¤è¤¦¤Ë¼ÂÁõ¤µ¤ì¤Þ¤·¤¿¡£ ¤³¤Îµ¡Ç½¤Ï¡¢Ë¾¤Þ¤Ê¤¤¤â¤Î¤äÍî¤Á¤Æ¤·¤Þ¤Ã¤¿¥ê¥â¡¼¥È¤Î¥¿¥¤¥à¥µ¡¼¥Ð¤¬ ¼«Ê¬¤Î¥¿¥¤¥à¥µ¡¼¥Ð¤Ë±Æ¶Á¤òÍ¿¤¨¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Ë¤ÏÍ­¸ú¤«¤â ¤·¤ì¤Þ¤»¤ó¤¬¡¢¤³¤Îµ¡Ç½¤ò¡¢É¸½à¤Î NTP ǧ¾Úµ¡Ç½¤ÎÂåÍѤˤʤë¤È ¹Í¤¨¤ë¤Ù¤­¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ Á÷¤ê¸µ¥¢¥É¥ì¥¹¤Ë´ð¤Å¤¤¤¿À©¸Â¤È¤¤¤¦¤Î¤Ï¡¢¤ä¤ëµ¤½½Ê¬¤Î¥¯¥é¥Ã¥«¡¼ ¤Ë¤Ï´Êñ¤Ë²óÈò¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¤â¤È¤â¤È¡¢¥µ¡¼¥Ó¥¹¤òµñÈݤµ¤ì¤¿¥Ñ¥±¥Ã¥È¤Ï¡¢Ã±½ã¤Ë¼Î¤Æ¤é¤ì¤ë¤À¤±¤Ç¡¢ Åý·×¥«¥¦¥ó¥¿¤òÁý¤ä¤¹°Ê³°¤Ë°ìÀÚ¤ÎÆ°ºî¤òÀ¸¤¸¤µ¤»¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¥¯¥é¥¤¥¢¥ó¥È¤ËÌÀ¼¨Åª¤ËÁ÷¿®Ää»ß¤òÍ׵ᤷ¡¢¤Þ¤¿¥·¥¹¥Æ¥à¥ª¥Ú¥ì¡¼¥¿¤Ë ¥á¥Ã¥»¡¼¥¸¤ò»Ä¤¹¥µ¡¼¥Ð¥á¥Ã¥»¡¼¥¸¤Ê¤É¤Î¡¢¤è¤êÁ°¸þ¤­¤Ê±þÅú¤¬ ɬÍפȤʤ뤳¤È¤¬¤È¤­¤É¤­¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë¡¢Æä˥ѥ±¥Ã¥È·Á¼°¤¬ºî¤é¤ì¤Þ¤·¤¿¡£ ¤½¤ì¤ò¾Î¤·¤Æ¡¢»à¤ÎÀÜÊ­ (kiss-of-death) ¥Ñ¥±¥Ã¥È¤È¸À¤¤¤Þ¤¹¡£ kod ¥Õ¥é¥°¤¬ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¥µ¡¼¥Ó¥¹¤¬µñÈݤµ¤ì¤ë¤«¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬ ¸Â³¦Ãͤò±Û¤¨¤¿¤È¤­¡¢¥µ¡¼¥Ð¤Ï¥Ñ¥±¥Ã¥È¤òÊÖ¤·¡¢leap ¥Ó¥Ã¥È¤ò ÈóƱ´ü¤ËÀßÄꤷ¡¢³¬Áؤò 0 ¤ËÀßÄꤷ¡¢ASCII ʸ»úÎó "DENY" ¤ò »²¾È¥½¡¼¥¹¼±Ê̻ҥե£¡¼¥ë¥É¤ËÀßÄꤷ¤Þ¤¹¡£ kod ¥Õ¥é¥°¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥µ¡¼¥Ð¤Ïñ¤Ë¥Ñ¥±¥Ã¥È¤ò¼Î¤Æ¤ë¤À¤±¤Ç¤¹¡£

»à¤ÎÀÜÊ­¥Ñ¥±¥Ã¥È¤ò¼õ¿®¤·¤¿¥¯¥é¥¤¥¢¥ó¥È¤Þ¤¿¤ÏÄÌ¿®Áê¼ê¤Ï¡¢°ìÏ¢¤Î ·òÁ´À­¥Á¥§¥Ã¥¯¤ò¹Ô¤Ê¤¤¡¢¥»¥­¥å¥ê¥Æ¥£¤ÎϪ½Ð (exposure) ¤òºÇ¾®¸Â¤Ë ²¡¤¨¤Þ¤¹¡£ ¤³¤Î¥Ñ¥±¥Ã¥È¤¬¡¢¤½¤Î¥µ¡¼¥Ð¤«¤é¼õ¿®¤·¤¿ºÇ½é¤Î¥Ñ¥±¥Ã¥È¤Ç¤¢¤ë¾ì¹ç¡¢ ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢¤½¤Î¥µ¡¼¥Ð¤Î¾ò·ï¤Ç¤Ï¥¢¥¯¥»¥¹¤ÏµñÈݤµ¤ì¤¿¤ÈÁÛÄꤷ¤Þ¤¹¡£ ¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ï³¬ÁؤȻ²¾È¼±Ê̻ҤÎÄÌ¿®Áê¼êÊÑ¿ô¤È¤ò¹¹¿·¤·¡¢ ÄÌ¿®Áê¼ê¥Õ¥é¥Ã¥·¥åÊÑ¿ô¤Î¥¢¥¯¥»¥¹µñÈÝ (¥Æ¥¹¥È 4) ¥Ó¥Ã¥È¤òÀßÄꤷ¤Þ¤¹¡£ ¤³¤Î¥Ó¥Ã¥È¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¤½¤Î¥µ¡¼¥Ð¤ËÂФ· ¥Ñ¥±¥Ã¥È¤òÁ÷¿®¤·¤Þ¤»¤ó¡£ ¤½¤Î¥µ¡¼¥Ð¤«¤é¼õ¿®¤·¤¿ºÇ½é¤Î¥Ñ¥±¥Ã¥È¤Ç¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï ¥µ¡¼¥Ð¦¤Ç¸Â³¦Ãͤò±Û¤¨¤¿¤ÈÁÛÄꤷ¤Þ¤¹¡£ ¤·¤«¤·¡¢ÄÌ¿®Áê¼êÊÑ¿ô¤Ï¹¹¿·¤·¤Þ¤»¤ó¡£ ¤¤¤º¤ì¤Î¾ì¹ç¤Ç¤â¡¢¥á¥Ã¥»¡¼¥¸¤ò¥·¥¹¥Æ¥à¥í¥°¤ËÁ÷½Ð¤·¤Þ¤¹¡£

[mask numeric_mask] [flag ...]
numeric_address °ú¿ô¤Ï¡¢¥Û¥¹¥È¤¢¤ë¤¤¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£ mask °ú¿ô¤â¡¢¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï 255.255.255.255 ¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢ numeric_address ¤¬¸ÄÊ̤Υۥ¹¥È¤Î¥¢¥É¥ì¥¹¤È¤·¤Æ°·¤ï¤ì¤ë¤â¤Î¤Ç¤¢¤ë¤³¤È¤ò °ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê (¥¢¥É¥ì¥¹ 0.0.0.0, ¥Þ¥¹¥¯ 0.0.0.0) ¤Ï¾ï¤Ë´Þ¤Þ¤ì¤Æ¤ª¤ê¡¢´ûÄê¤Î¥½¡¼¥È¥¢¥ë¥´¥ê¥º¥à¤Ç¤Ï¡¢ ¾ï¤Ë¥ê¥¹¥È¤ÎÀèƬ¤Î¥¨¥ó¥È¥ê¤È¤Ê¤ê¤Þ¤¹¡£ numeric_address ¤Ï¡¢Ä̾ï¥É¥Ã¥È¤Ç 4 ¤Ä¤ÎÉôʬ¤Ë¶èÀÚ¤é¤ì¤¿·Á¼°¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹¤¬¡¢ mask ¥ª¥×¥·¥ç¥ó¤òȼ¤ï¤Ê¤¤¥Æ¥­¥¹¥Èʸ»úÎó ‘default’ ¤Ï¡¢ ¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê¤ò¼¨¤¹¤¿¤á¤Ë»ÈÍѤǤ­¤ë¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£ ¸½ºß¤Î¼ÂÁõ¤Ç¤Ï¡¢ flag ¤Ï¾ï¤Ë¥¢¥¯¥»¥¹¤òÀ©¸Â¤·¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á¡¢¥Õ¥é¥°¤ò»ý¤¿¤Ê¤¤¥¨¥ó¥È¥ê¤Ï¡¢¥µ¡¼¥Ð¤Ø¤Î¼«Í³¤Ê¥¢¥¯¥»¥¹¤¬ Í¿¤¨¤é¤ì¤ë¤³¤È¤ò¼¨¤¹¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥Õ¥é¥°¤Ïľ¸òŪ¤Ç¤Ï¤Ê¤¯¡¢¤è¤êÀ©¸Â¤Î¶¯¤¤¥Õ¥é¥°¤Ï¡¢ ¤è¤êÀ©¸Â¤Î¼å¤¤¥Õ¥é¥°¤ò¾éŤˤ¹¤ë¤³¤È¤â¤·¤Ð¤·¤Ð¤Ç¤¹¡£ ¥Õ¥é¥°¤Ï¡¢°ìÈÌ¤Ë 2 ¤Ä¤Î¥«¥Æ¥´¥ê¤ËʬÎव¤ì¤Þ¤¹¡£ »þ´Ö¥µ¡¼¥Ó¥¹¤òÀ©¸Â¤¹¤ë¤â¤Î¤È¡¢¾ðÊóÌ䤤¹ç¤ï¤»¤ä¥µ¡¼¥Ð¤ò ¼Â¹Ô»þ¤ËºÆÀßÄꤷ¤è¤¦¤È¤¹¤ë¤Î¤òÀ©¸Â¤¹¤ë¤â¤Î¤Ç¤¹¡£ ¼¡¤Î¥Õ¥é¥°¤Î¤¦¤Á¡¢1 ¤Ä°Ê¾å¤ò»ØÄê¤Ç¤­¤Þ¤¹:
¥¢¥¯¥»¥¹¤¬µñÈݤµ¤ì¤¿¾ì¹ç¡¢»à¤ÎÀÜÊ­¥Ñ¥±¥Ã¥È¤òÁ÷¿®¤·¤Þ¤¹¡£
¤³¤Î¥¨¥ó¥È¥ê¤Ë¥Þ¥Ã¥Á¤¹¤ë¥Û¥¹¥È¤«¤é¤Î¤¹¤Ù¤Æ¤Î¥Ñ¥±¥Ã¥È¤ò̵»ë¤·¤Þ¤¹¡£ ¤³¤Î¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤ë¤È¡¢Ì䤤¹ç¤ï¤»¤â»þ´Ö¥µ¡¼¥Ð¤Ø¤Î¥Ý¡¼¥ê¥ó¥°¤â ±þÅú¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
NTP ¤Î¥â¡¼¥É 6 ¤È 7 ¤Î¤¹¤Ù¤Æ¤Î¥Ñ¥±¥Ã¥È (¤Ä¤Þ¤ê¾ðÊóÌ䤤¹ç¤ï¤»¤È ÀßÄêÍ×µá) ¤ò̵»ë¤·¤Þ¤¹¡£ »þ´Ö¥µ¡¼¥Ó¥¹¤Ï±Æ¶Á¤ò¼õ¤±¤Þ¤»¤ó¡£
¥µ¡¼¥Ð¤Î¾õÂÖ¤òÊѤ¨¤è¤¦¤È¤¹¤ë¥â¡¼¥É 6 ¤È 7 ¤Î¤¹¤Ù¤Æ¤Î¥Ñ¥±¥Ã¥È (¤Ä¤Þ¤ê¼Â¹Ô»þºÆÀßÄê) ¤ò̵»ë¤·¤Þ¤¹¡£ ¾ðÊó¤òÊÖ¤¹Ì䤤¹ç¤ï¤»¤Ïµö¤µ¤ì¤Þ¤¹¡£
¥Þ¥Ã¥Á¤·¤¿¥Û¥¹¥È¤Ë¥â¡¼¥É 6 ¤ÎÀ©¸æ¥á¥Ã¥»¡¼¥¸¤Î¥È¥é¥Ã¥×¥µ¡¼¥Ó¥¹¤òÄó¶¡ ¤¹¤ë¤³¤È¤òµñÈݤ·¤Þ¤¹¡£ ¥È¥é¥Ã¥×¥µ¡¼¥Ó¥¹¤Ï¡¢¥â¡¼¥É 6 ¤ÎÀ©¸æ¥á¥Ã¥»¡¼¥¸¥×¥í¥È¥³¥ë¤Î ¥µ¥Ö¥·¥¹¥Æ¥à¤Ç¡¢¥ê¥â¡¼¥È¤Î¥¤¥Ù¥ó¥È¥í¥®¥ó¥°¥×¥í¥°¥é¥à¤Ë¤è¤ë »ÈÍѤ¬°Õ¿Þ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¥Þ¥Ã¥Á¤·¤¿¥Û¥¹¥È¤Ë¤è¤ë¥È¥é¥Ã¥×¥»¥Ã¥È¤òÄ㤤ͥÀèÅ٤Ȥ·¤ÆÀë¸À¤·¤Þ¤¹¡£ 1 ¤Ä¤Î¥µ¡¼¥Ð¤¬ÊÝ»ý¤·ÆÀ¤ë¥È¥é¥Ã¥×¤Î¿ô¤ÏÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹ (¸½ºß¤ÎÀ©¸ÂÃÍ¤Ï 3 ¤Ç¤¹)¡£ ¥È¥é¥Ã¥×¤ÏÄ̾ÀèÆþ¤ìÀè½Ð¤·¥Ù¡¼¥¹¤Ç³ä¤êÅö¤Æ¤é¤ì¡¢¸å¤«¤éÍ褿 ¥È¥é¥Ã¥×Í×µá¤Ï¥µ¡¼¥Ó¥¹¤òµñÈݤµ¤ì¤Þ¤¹¡£ ¤³¤Î¥Õ¥é¥°¤Ï¡¢¸å¤«¤éÅþÃ夹¤ëÍ×µá¤Î¤¿¤á¤ÎÄ̾ïÍ¥ÀèÅ٤Υȥé¥Ã¥×¤¬ Ä㤤ͥÀèÅ٤Υȥé¥Ã¥×¤ò¾å½ñ¤­¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç¡¢ ³ä¤êÅö¤Æ¥¢¥ë¥´¥ê¥º¥à¤òÊѹ¹¤·¤Þ¤¹¡£
¥â¡¼¥É 6 ¤È 7 °Ê³°¤Î¤¹¤Ù¤Æ¤Î NTP ¥Ñ¥±¥Ã¥È¤ò̵»ë¤·¤Þ¤¹¡£ ´ðËÜŪ¤Ë¤Ï¡¢»þ´Ö¥µ¡¼¥Ó¥¹¤ÏµñÈݤµ¤ì¤Þ¤¹¤¬¡¢¤½¤ì¤Ç¤â Ì䤤¹ç¤ï¤»¤Ïµö¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¥Ý¡¼¥ê¥ó¥°¤·¤Æ¤¤¤ë¥Û¥¹¥È¤Ë¡¢¾õÂÖ¤ò»ý¤¿¤Ê¤¤ (stateless) »þ´Ö¥µ¡¼¥Ó¥¹ ¤òÍ¿¤¨¤Þ¤¹¤¬¡¢ÄÌ¿®Áê¼êÍѤΥá¥â¥ê»ñ¸»¤ò³ä¤êÅö¤Æ¤Þ¤»¤ó¡£ ³ä¤êÅö¤Æ¤Æ¤ª¤±¤Ð¡¢¾­Í衢Ʊ´ü¤ÎÁê¼ê¤È¤·¤ÆÍ­ÍѤˤʤ뤫¤â ¤·¤ì¤Ê¤¤¤È¤·¤Æ¤â¤Ç¤¹¡£
¤³¤ì¤é¤Î¥Û¥¹¥È¤ÏƱ´ü¸»¤È¤·¤Æ¤Ï·è¤·¤Æ»ÈÍѤµ¤ì¤Þ¤»¤ó¤¬¡¢¤½¤Î¾¤ÎÅÀ¤Ç¤Ï ÉáÄ̤˰·¤ï¤ì¤Þ¤¹¡£
¤³¤ì¤é¤Î¥Û¥¹¥È¤Ï¡¢Æ±°ì¤Î¥Í¥Ã¥È¤«¤é¤Î¥¯¥é¥¤¥¢¥ó¥È¿ô¤ÎÀ©¸Â¤ÎÂÐ¾Ý¤È ¤Ê¤ê¤Þ¤¹¡£ ¤³¤³¤Ç¸À¤¦¥Í¥Ã¥È¤È¤Ï¡¢ (class A, class B, class C Åù¤Î) ¥Í¥Ã¥È¤Î IP ɽµ­¤Î¤³¤È¤Ç¤¹¡£ ¥µ¡¼¥Ð¤Ë¸«¤¨¤ë¥Û¥¹¥È¤Ç¡¢²áµî client_limit_period Éäδ֥¢¥¯¥Æ¥£¥Ö¤Ç¤¢¤Ã¤¿¡¢ºÇ½é¤Î client_limit ¸Ä¤Î¥Û¥¹¥È¤Î¤ß¤¬¡¢¼õ¤±ÉÕ¤±¤é¤ì¤Þ¤¹¡£ Ʊ°ì¤Î¥Í¥Ã¥È¤Î¾¤Î¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤ÎÍ×µá¤ÏµñÈݤµ¤ì¤Þ¤¹¡£ »þ´ÖÍ×µá¥Ñ¥±¥Ã¥È¤Î¤ß¤¬¹Í褵¤ì¤Þ¤¹¡£ ntpq(8) ¤ª¤è¤Ó ntpdc(8) ¥×¥í¥°¥é¥à¤¬Á÷¿®¤·¤¿Ì䤤¹ç¤ï¤»¥Ñ¥±¥Ã¥È¤Ï¡¢¤³¤ÎÀ©¸Â¤Î±Æ¶Á¤Ï ¼õ¤±¤Þ¤»¤ó¡£ ¥¯¥é¥¤¥¢¥ó¥È¤ÎÍúÎò¤Ï¡¢ ntpd(8) ¤Î¥â¥Ë¥¿¥ê¥ó¥°µ¡Ç½¤òÍѤ¤¤ÆÊÝ»ý¤µ¤ì¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢ limited ¥Õ¥é¥°¤Î¤Ä¤¤¤¿¥¢¥¯¥»¥¹À©¸Â¤Î¥¨¥ó¥È¥ê¤¬¤¢¤ì¤Ð¡¢ ¥â¥Ë¥¿¥ê¥ó¥°µ¡Ç½¤Ï¾ï¤Ë¥¢¥¯¥Æ¥£¥Ö¤Ç¤¹¡£
¼Â¼ÁŪ¤Ë¤Ï¡¢À©¸Â¥Õ¥é¥°¤È¸À¤¦¤è¤ê¡¢¥Þ¥Ã¥Á¤Î¥¢¥ë¥´¥ê¥º¥à¤ò Êѹ¹¤¹¤ë¤â¤Î¤Ç¤¹¡£ ¤³¤Î¥Õ¥é¥°¤¬Â¸ºß¤¹¤ë¤È¡¢¥Ñ¥±¥Ã¥È¤Î¥½¡¼¥¹¥Ý¡¼¥È¤¬É¸½à¤Î NTP ¤Î UDP ¥Ý¡¼¥È (123) ¤Ç¤¢¤ë¾ì¹ç¤Ë¤Î¤ß¡¢À©¸Â¥¨¥ó¥È¥ê¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£ ntpport ¤È non-ntpport ¤Î¤É¤Á¤é¤â»ØÄê¤Ç¤­¤Þ¤¹¡£ ntpport ¤ÎÊý¤¬¸ÂÄêŪ¤Ê¤â¤Î¤Ç¤¢¤ë¤È¹Í¤¨¤é¤ì¡¢¥ê¥¹¥È¤Î¸å¤í¤ÎÊý¤Ë ¥½¡¼¥È¤µ¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÀ©¸Â¥ê¥¹¥È¥¨¥ó¥È¥ê¤Ï¡¢¥Õ¥é¥° ignore, interface, ntpport ¤ò»ý¤Á¡¢¥í¡¼¥«¥ë¥Û¥¹¥È¤Î ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥¢¥É¥ì¥¹¤½¤ì¤¾¤ì¤ËÂбþ¤¹¤ë¤â¤Î¤Ç¡¢ ¥µ¡¼¥Ð¤¬¼«Ê¬¼«¿È¤Î»þ´Ö¤ËƱ´ü¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¡¢ ¥¹¥¿¡¼¥È¥¢¥Ã¥×»þ¤Ë¥Æ¡¼¥Ö¥ë¤ËÁÞÆþ¤µ¤ì¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê¤Ï¾ï¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£ ¤µ¤â¤Ê¤¯¤Ð̵ÀßÄê¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¾ì¹ç¤Ç¤¢¤Ã¤Æ¤â¤Ç¤¹¡£ ¾¤ÇÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¤É¤Î¥Õ¥é¥°¤â¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê¤Ë ´ØÏ¢¤Å¤±¤é¤ì¤Þ¤»¤ó (¤¹¤Ê¤ï¤Á¡¢¤¢¤Ê¤¿¼«¿È¤Î NTP ¥µ¡¼¥Ð°Ê³°¤Î ¤¹¤Ù¤Æ¤¬ÌµÀ©¸Â¤Ë¤Ê¤ê¤Þ¤¹)¡£

limit
client_limit ÊÑ¿ô¤òÀßÄꤷ¤Þ¤¹¡£ ¤³¤ÎÊÑ¿ô¤Ï¡¢Æ±»þ¤Ë¥¢¥¯¥»¥¹À©¸æ¤µ¤ì¤ë¥¯¥é¥¤¥¢¥ó¥È¿ô¤òÀ©¸Â¤·¤Þ¤¹¡£ ¤³¤ÎÊÑ¿ô¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 3 ¤Ç¤¹¡£
period
client_limit_period ÊÑ¿ô¤òÀßÄꤷ¤Þ¤¹¡£ ¤³¤ÎÊÑ¿ô¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬Èó¥¢¥¯¥Æ¥£¥Ö¤Ç¤¢¤ë¤È¤ß¤Ê¤µ¤ì¡¢ ¤½¤Î¤¿¤á¤Ë¡¢¤â¤Ï¤äÀ©¸Â¤µ¤ì¤ë¥¯¥é¥¤¥¢¥ó¥È¿ô¤Ë¿ô¤¨¤é¤ì¤Ê¤¯¤Ê¤ë¤Þ¤Ç¤ÎÉÿô¤ò »ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÊÑ¿ô¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 3600 ÉäǤ¹¡£

NTP ¥Ð¡¼¥¸¥ç¥ó 4 ¥Ç¡¼¥â¥ó¤Ï¡¢40 ¼ïÎà¤Û¤É¤Î¡¢ÅÅÇÈ¡¢±ÒÀ±¡¢ ¥â¥Ç¥à¤ò»²¾È¤¹¤ë »þ·×¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¤µ¤é¤Ë¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×ÍѤª¤è¤Ó¥¯¥í¥Ã¥¯¸»¤¬Â¾¤ËÍøÍѤǤ­¤Ê¤¯ ¤Ê¤Ã¤¿¤È¤­¤Î¤¿¤á¤Ë¡¢Æüì¤Êµ¿»÷»þ·×¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¸ÄÊ̤ΥǥХ¤¥¹¥É¥é¥¤¥Ð¤ä¥ª¥×¥·¥ç¥ó¤Ë´Ø¤¹¤ë¾ÜºÙ¤ÊÀâÌÀ¤Ï¡¢ “»²¾È¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð” ¤Î¥Ú¡¼¥¸ (¤³¤ì¤Ï¡¢ /usr/share/doc/ntp ¤Ë¤¢¤ë HTML ʸ½ñ¤Î°ìÉô¤È¤·¤ÆÍøÍѲÄǽ¤Ç¤¹) ¤Ë¤¢¤ê¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤Ï¡¢ “»²¾È¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¤Î¥Ç¥Ð¥Ã¥°¤Î¥Ò¥ó¥È” ¤ä¡¢ “»²¾È¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¤Î½ñ¤­Êý” ¤Ê¤É¡¢¤½¤³¤«¤é¥ê¥ó¥¯¤µ¤ì¤¿¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ë²Ã¤¨¡¢ PPS ¿®¹æ¤Î¥µ¥Ý¡¼¥È¤Ë¤Ä¤¤¤Æ¤Ï¡¢ “1 Éôֳ֤Υѥ륹 (PPS) ¿®¹æ¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹” ¤Î¥Ú¡¼¥¸¤ÎÀâÌÀ¤¬ÍøÍѤǤ­¤Þ¤¹¡£ ¥É¥é¥¤¥Ð¤Î¿¤¯¤Ï¡¢Æüì¤Ê²óÀþµ¬Ìó / ¥¹¥È¥ê¡¼¥à¥â¥¸¥å¡¼¥ë¤ò ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥â¥¸¥å¡¼¥ë¤òÍѤ¤¤ë¤È¡¢»þ¹ï¤ÎÀµ³ÎÀ­¤¬ÈôÌöŪ¤Ë¸þ¾å¤·¤Þ¤¹¡£ ¤³¤ì¤Ë´Ø¤·¤Æ¤Ï¡¢ “²óÀþµ¬Ìó¤È¥¹¥È¥ê¡¼¥à¥É¥é¥¤¥Ð” ¤Î¥Ú¡¼¥¸¤ËÀâÌÀ¤¬¤¢¤ê¤Þ¤¹¡£

»²¾È¥¯¥í¥Ã¥¯¤Ï¡¢°ìÈÌ¤Ë (¾ï¤Ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬) ̵Àþ»þ¹ï¥³¡¼¥É¼õ¿®µ¡¤Ç¤¹¡£ ¤³¤Î̵Àþ»þ¹ï¥³¡¼¥É¼õ¿®µ¡¤Ï¡¢ ¥«¥Ê¥À¤Î NRC ¤ä¹ç½£¹ñ¤Î NIST ¤ä USNO ¤¬Ä󶡤·¤Æ¤¤¤ë¥µ¡¼¥Ó¥¹¤Î ¤è¤¦¤Ê¡¢É¸½à»þ¹ï¤Î¶¡µë¸»¤ËƱ´ü¤·¤Þ¤¹¡£ ¥³¥ó¥Ô¥å¡¼¥¿¤È»þ¹ï¥³¡¼¥É¼õ¿®µ¡¤È¤Î´Ö¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï ¥Ç¥Ð¥¤¥¹°Í¸¤Ç¤¹¤¬¡¢¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò»È¤¦¤Î¤¬ÉáÄ̤Ǥ¹¡£ ¤½¤ì¤¾¤ì¤Î»²¾È¥¯¥í¥Ã¥¯¤ËÆÃÍ­¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤òÁªÂò¤·¡¢ ¤½¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¥³¥ó¥Ñ¥¤¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢ ¤â¤Ã¤È¤âɸ½à¤Î̵Àþ¡¢±ÒÀ±¡¢¤½¤·¤Æ¥â¥Ç¥à»þ·×¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î»þ·×ÍѤΥɥ饤¥Ð¤¬¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¡¢ ¥Ï¡¼¥É¥¦¥§¥¢¤Î¥Ý¡¼¥È¤¬ ŬÀÚ¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Ë»²¾È¥¯¥í¥Ã¥¯¤òÀßÄꤷ¤è¤¦¤È¤¹¤ë¤È¡¢ ¥·¥¹¥Æ¥à¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Ë·ã¤·¤¤·Ù¹ð¤¬¤Ç¤Þ¤¹¤¬¡¢¤½¤Î¾¤Î¾ã³²¤¬ µ¯¤³¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£

ÀßÄê¤Î´ÑÅÀ¤«¤é¸«¤ë¤È¡¢ ntpd(8) ¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤ò¡¢ÉáÄ̤ΠNTP ¤Î¸ò¿®Áê¼ê¤Ë¤¹¤ë¤Î¤È¤Ç¤­¤ë¸Â¤êƱ¤¸¤è¤¦¤ÊÊýË¡¤Ç°·¤¤¤Þ¤¹¡£ »²¾È¥¯¥í¥Ã¥¯¤Ï¡¢Ä̾ï¤Î NTP ÄÌ¿®Áê¼ê¤È¶èÊ̤¹¤ë¤¿¤á¡¢ ʸˡŪ¤Ë¤ÏÀµ¤·¤¤¤¬¡¢Ìµ¸ú¤Ê IP ¥¢¥É¥ì¥¹¤ò»È¤Ã¤Æǧ¼±¤µ¤ì¤Þ¤¹¡£ »²¾È¥¯¥í¥Ã¥¯¤Î¥¢¥É¥ì¥¹¤Ï¡¢ 127.127.t.u ¤Î·Á¼°¤Ç¤¹¡£ ¤³¤³¤Ç¡¢ t ¤Ï»þ·×¤Î¼ïÎà¤ò¼¨¤·¤¿À°¿ô¤Ç¡¢ u ¤Ï¥æ¥Ë¥Ã¥ÈÈÖ¹æ (ÈÏ°Ï¤Ï 0-3) ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢²á¾ê¤Ë¸«¤¨¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ ¼Â¤Î¤È¤³¤í¡¢Æ±¼ïÎà¤Î»²¾È¥¯¥í¥Ã¥¯¤òÊ£¿ôÀßÄꤹ¤ë¤Î¤Ë¤Ï»þ¤È¤·¤Æ ÊØÍø¤Ç¤¹¡£ ¤³¤Î¾ì¹ç¡¢¥æ¥Ë¥Ã¥ÈÈÖ¹æ¤Ï°ì°Õ¤Î¤â¤Î¤Ç¤¢¤ë¤³¤È¤¬É¬ÍפǤ¹¡£

server ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ»²¾È¥¯¥í¥Ã¥¯¤òÀßÄꤷ¤Þ¤¹¡£ ¤³¤³¤Ç¡¢¤³¤Î¥³¥Þ¥ó¥É¤Î address °ú¿ô¤Ï»²¾È¥¯¥í¥Ã¥¯¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£ key, version, ttl ¥ª¥×¥·¥ç¥ó¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤Î¥µ¥Ý¡¼¥È¤Ç¤Ï»ÈÍѤ·¤Þ¤»¤ó¡£ »²¾È¥¯¥í¥Ã¥¯¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¢ mode ¥ª¥×¥·¥ç¥ó¤¬Äɲ䵤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¸å¤Ç½Ò¤Ù¤Þ¤¹¡£ prefer ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥µ¡¼¥Ð¤Ë¡¢Â¾¤Î»²¾È¥¯¥í¥Ã¥¯¤äÄÌ¿®Áê¼ê¤è¤ê¤â ¤¤¤¯¤é¤«Ç®¿´¤Ë¡¢¤¢¤ë»²¾È¥¯¥í¥Ã¥¯¤òÂçÀڤ˰·¤ï¤»¤ë¤è¤¦¤ËÂ¥¤¹¤Î¤Ë Í­¸ú¤Ç¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë´Ø¤·¤Æ¤Î¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ “´ËÏ¥롼¥ë¤È prefer ¥­¡¼¥ï¡¼¥É” ¤Î¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£ minpoll ¤È maxpoll ¥ª¥×¥·¥ç¥ó¤Ï¡¢ÁªÂò¤µ¤ì¤¿¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¤Ë ÂФ·¤Æ¤Î¤ß°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢Ê̸ĤΥ¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¤Î¥É¥­¥å¥á¥ó¥È¥Ú¡¼¥¸¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

fudge ¥³¥Þ¥ó¥É¤Ï¡¢¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¸ÇÍ­¤ÎÄɲþðÊó¤òÄ󶡤¹¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£ Ä̾ï¤Ï¡¢ server ¥³¥Þ¥ó¥É¤Îľ¸å¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ address °ú¿ô¤Ï¥¯¥í¥Ã¥¯¤Î¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Þ¤¹¡£ refid ¤È stratum ¤Ï¡¢¤½¤Î¥Ç¥Ð¥¤¥¹¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò¾å½ñ¤­¤¹¤ë¤¿¤á¤Ë»ÈÍѤ¹¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£ 2 ¸Ä¤Î¥ª¥×¥·¥ç¥ó¤Î¥Ç¥Ð¥¤¥¹°Í¸¤Î»þ¹ï¥ª¥Õ¥»¥Ã¥È¤È 4 ¸Ä¤Î¥Õ¥é¥°¤¬¤¢¤ê¡¢ ¤½¤ì¤é¤âƱÍÍ¤Ë fudge ¥³¥Þ¥ó¥É¤Ë´Þ¤á¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£

»²¾È¥¯¥í¥Ã¥¯¤Î³¬ÁØ (stratum) ÈÖ¹æ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç 0 ¤Ç¤¹¡£ ntpd(8) ¥Ç¡¼¥â¥ó¤Ï³ÆÄÌ¿®Áê¼ê¤Î³¬ÁØ¤Ë 1 ¤ò­¤¹¤Î¤Ç¡¢ ¥×¥é¥¤¥Þ¥ê¥µ¡¼¥Ð¤Ï¡¢Ä̾³°Éô³¬ÁØ 1 ¤ò¼¨¤·¤Þ¤¹¡£ ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹ª¤ß¤Ë±¿ÍѤ¹¤ë¤¿¤á¡¢ »²¾È¥¯¥í¥Ã¥¯¤Î³¬Áؤò 0 ¤è¤êÂ礭¤¤¿ô¤Ë»ØÄꤹ¤ë¤Î¤¬Í­±×¤Ê ¤³¤È¤¬Â¿¤¤¤Ç¤¹¡£ ¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë¡¢ stratum ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£ »²¾È¥¯¥í¥Ã¥¯¤È¡¢1 Éôֳ֥ѥ륹 (PPS) Ä´À°¿®¹æ¤ÎξÊý¤ò ´Þ¤à¾ì¹ç¡¢»²¾È¥¯¥í¥Ã¥¯¼±Ê̻Ҥò¥Ç¥Õ¥©¥ë¥ÈÃͰʳ°¤Î¡¢¥É¥é¥¤¥Ð¤Ë °Í¸¤·¤¿¤â¤Î¤Ë»ØÄꤹ¤ë¤Î¤¬Í­¸ú¤Ç¤¹¡£ ¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë¡¢ refid ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£ µ­½Ò¤¬¤Ê¤¤¸Â¤ê¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤¹¤Ù¤Æ¤Î»þ·× ¥É¥é¥¤¥Ð¤ËŬÍѤµ¤ì¤Þ¤¹¡£

127.127.t.u [prefer] [mode int] [minpoll int] [maxpoll int]
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤òÆüì¤ÊÊýË¡¤ÇÀßÄꤹ¤ë¤Î¤Ë »ÈÍѤǤ­¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤Ï¼¡¤Î¤è¤¦¤Ë²ò¼á¤µ¤ì¤Þ¤¹:
¤½¤Î»²¾È¥¯¥í¥Ã¥¯¤òÍ¥ÀèŪ¤Ê¤â¤Î¤È¤·¤Æ°õ¤ò¤Ä¤±¤Þ¤¹¡£ ¤½¤Î¾¤ÎÅÀ¤Ç¤ÏÂÐÅù¤Ç¤¢¤ì¤Ð¡¢Àµ¤·¤¯Æ°ºî¤·¤Æ¤¤¤ë¥Û¥¹¥È¤ÎÃ椫¤é ¤³¤Î»²¾È¥¯¥í¥Ã¥¯¤¬Æ±´ü¤ò¤È¤ëÂоݤȤ·¤ÆÁª¤Ð¤ì¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ “´ËÏ¥롼¥ë¤È prefer ¥­¡¼¥ï¡¼¥É” ¤Î¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
int
¥â¡¼¥ÉÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÈÖ¹æ¤Ï¡¢¥Ç¥Ð¥¤¥¹ÆÃÍ­¤Î¤ä¤êÊý¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£ Î㤨¤Ð¡¢¥â¡¼¥ÉÈÖ¹æ¤Ï¡¢ACTS ¥É¥é¥¤¥Ð¤Ç¤Ï ¥À¥¤¥ä¥ëÍѤΥץí¥È¥³¥ë¤òÁªÂò¤·¤Þ¤¹¤¬¡¢parse ¥É¥é¥¤¥Ð¤Ç¤Ï ¥Ç¥Ð¥¤¥¹¤Î¥µ¥Ö¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£
int
 
int
¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤Î¥á¥Ã¥»¡¼¥¸¤ËÂФ¹¤ë¥Ý¡¼¥ê¥ó¥°¤Î ºÇ¾®´Ö³Ö¤ª¤è¤ÓºÇÂç´Ö³Ö¤ò 2 ¤Î»Ø¿ô¤Çɽ¤·¤¿Éÿô¤Ç»ØÄꤷ¤Þ¤¹¡£ ľÀÜÀܳ¤µ¤ì¤Æ¤¤¤ë»²¾È¥¯¥í¥Ã¥¯¤ÎÂçÉôʬ¤Ç¤Ï¡¢ minpoll ¤ª¤è¤Ó maxpoll ¤Ï ¥Ç¥Õ¥©¥ë¥È¤Ç 6 (64 ÉÃ) ¤Ç¤¹¡£ ¥â¥Ç¥à¤Î»²¾È¥¯¥í¥Ã¥¯¤Ç¤Ï¡¢ minpoll ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç 10 (17.1 ÉÃ) ¤Ç¡¢ maxpoll ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç 14 (4.5 »þ´Ö) ¤Ç¤¹¡£ ¤È¤ê¤¦¤ëÈϰϤϡ¢4 (16 ÉÃ) ¤«¤é 17 (36.4 »þ´Ö) ¤Þ¤Ç¤Ç¤¹¡£
127.127.t.u [time1 sec] [time2 sec] [stratum int] [refid string] [mode int] [flag1 0 | 1] [flag2 0 | 1] [flag3 0 | 1] [flag4 0 | 1]
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤òÆüì¤ÊÊýË¡¤ÇÀßÄꤹ¤ë¤Î¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ ¥É¥é¥¤¥Ð¤òÀßÄꤹ¤ë¥³¥Þ¥ó¥É¤Ç¤¢¤ë server ¥³¥Þ¥ó¥É¤Îľ¸å¤ËÃÖ¤«¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¼Â¹ÔÃæ¤Ë ntpdc(8) ¥×¥í¥°¥é¥à¤ò»ÈÍѤ·¤Æ¡¢¤³¤ì¤ÈƱ¤¸¤³¤È¤¬¤Ç¤­¤ë¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥ª¥×¥·¥ç¥ó¤Ï¡¢¼¡¤Î¤è¤¦¤Ë²ò¼á¤µ¤ì¤Þ¤¹:
sec
¥É¥é¥¤¥Ð¤¬À¸À®¤¹¤ë»þ´Ö¤Î¥ª¥Õ¥»¥Ã¥È¤ËÄɲ䵤ì¤ë¡¢ÉÃñ°Ì¤Ç¡¢¸ÇÄê¾®¿ôÅÀ¤Î 10 ¿Ê¿ô¤ÎÄê¿ô¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÄê¿ô¤Ï¡¢Î㤨¤ÐÀµ³Î¤Ê PPS ¿®¹æ¤Î¤è¤¦¤Ê³°Éô¤Îɸ½à»þ´Ö¤Ë ¹ç¤ï¤»¤ë¤¿¤á¤Ë¡¢ÆÃÄê¤Î»þ·×¤Î¤ï¤º¤«¤Î»þ´Ö¥ª¥Õ¥»¥Ã¥È¤òÄ´À᤹¤ë ÊäÀµÍÑÄê¿ô¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£ ¤Þ¤¿¡¢¤³¤ÎÄê¿ô¤Ï¡¢¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ÎÃٱ䡢 ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤ÎÃÙ±ä¤ä¡¢¥±¡¼¥Ö¥ë¤ÎŤµ¤Î°ã¤¤¡¢ ¼õ¿®µ¡ÆâÉô¤ÎÃÙ±ä¤Ëµ¯°ø¤¹¤ë¡¢¥·¥¹¥Æ¥àŪ¤Ê¸íº¹¤ä ¥Ð¥¤¥¢¥¹¤òÊäÀµ¤¹¤ëÊýË¡¤âÄ󶡤·¤Þ¤¹¡£ »ØÄꤵ¤ì¤¿¥ª¥Õ¥»¥Ã¥ÈÃͤϡ¢ÅÁÇÅÃÙ±ä¤Ë²Ã¤¨¤Æ¡¢ ¾¤Î¼êÃÊ¡¢Î㤨¤ÐÆâÉô¥Ç¥£¥Ã¥×¥¹¥¤¥Ã¥Á¤ÇÄ󶡤µ¤ì¤ë¤â¤Î¤Ç¤¹¡£ ¸ÄÊ̤Υ·¥¹¥Æ¥à¤ä¥É¥é¥¤¥Ð¤ËÂФ¹¤ëÊäÀµ¤Ï»ÈÍѤǤ­¤Þ¤¹¤¬¡¢ Âç¤Þ¤«¤ÊÊäÀµ¤Ë´Ø¤·¤Æ¤Ï¡¢¥É¥é¥¤¥Ð¤Î¥É¥­¥å¥á¥ó¥È¥Ú¡¼¥¸¤Ë µ­ºÜ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ Ãí°Õ: 2¸Ä°Ê¾å¤Î¥é¥¸¥ª»þ·×¤ä PPS ¿®¹æ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Î ¹»Àµ¤ò±ß³ê¤Ë¹Ô¤Ê¤¦¤¿¤á¤Ë¡¢ÆÃÊ̤ι»Àµµ¡Ç½¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó ¤Î¥Ú¡¼¥¸¤ÇÀâÌÀ¤·¤Æ¤¤¤ë enable ¥³¥Þ¥ó¥É¤Î°ú¿ô¤Î·Á¼°¤ò¼è¤ê¡¢ “»²¾È¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð” ¤Î¥Ú¡¼¥¸¤Ëµ­ºÜ¤µ¤ì¤ë¤è¤¦¤ËÆ°ºî¤·¤Þ¤¹¡£
secs
ÉÃñ°Ì¤Î¡¢¸ÇÄê¾®¿ôÅÀ 10 ¿Ê¿ô¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¥É¥é¥¤¥Ð°Í¸¤ÎÊýË¡¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£ “»²¾È¥¯¥í¥Ã¥¯Íѥɥ饤¥Ð” ¥Ú¡¼¥¸¤Î³Æ¥É¥é¥¤¥Ð¤ÎÀâÌÀ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
int
¥É¥é¥¤¥Ð¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿³¬ÁØÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÈÖ¹æ¤Ï¡¢0 ¤«¤é 15 ¤Þ¤Ç¤ÎÀ°¿ôÃͤǤ¹¡£ ¤³¤ÎÈÖ¹æ¤Ï¡¢ºÇ½é¤Ë¥É¥é¥¤¥Ð¼«¿È¤¬³ä¤êÅö¤Æ¤Æ¤¤¤¿ ³¬ÁØÈÖ¹æ (Ä̾ï¤Ï 0) ¤ò¾å½ñ¤­¤·¤Þ¤¹¡£
string
1 ʸ»ú¤«¤é 4 ʸ»ú¤Þ¤Ç¤Î ASCII ʸ»úÎó¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Îʸ»úÎó¤Ï¡¢¥É¥é¥¤¥Ð¤¬»ÈÍѤ¹¤ë»²¾È¼±Ê̻ҤòÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Îʸ»úÎó¤Ï¡¢ºÇ½é¤Ë¥É¥é¥¤¥Ð¼«¿È¤¬³ä¤êÅö¤Æ¤Æ¤¤¤¿¡¢ ¥Ç¥Õ¥©¥ë¥È¤Î¼±Ê̻Ҥò¾å½ñ¤­¤·¤Þ¤¹¡£
int
¥â¡¼¥ÉÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤ÎÈÖ¹æ¤Ï¡¢¥Ç¥Ð¥¤¥¹¤´¤È¤Ë¸ÇÍ­¤Î¤ä¤êÊý¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£ Î㤨¤Ð¡¢ACTS ¥É¥é¥¤¥Ð¤Ç¤Ï¥À¥¤¥ä¥ëÍÑ¥×¥í¥È¥³¥ë¤òÁªÂò¤·¤Þ¤¹¤¬¡¢ parse ¥É¥é¥¤¥Ð¤Ç¤Ï¥Ç¥Ð¥¤¥¹¤Î¥µ¥Ö¥¿¥¤¥×¤òÁªÂò¤·¤Þ¤¹¡£
0 | 1
 
0 | 1
 
0 | 1
 
0 | 1
¤³¤ì¤é 4 ¤Ä¤Î¥Õ¥é¥°¤Ï»þ·×¥É¥é¥¤¥Ð¤ò¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë¤Î¤Ë »ÈÍѤµ¤ì¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÃͤβò¼á¤ä¡¢¤¹¤Ù¤Æ¤¬»ÈÍѤµ¤ì¤ë¤«Èݤ«¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¸Ä¡¹¤Î»þ·×¥É¥é¥¤¥Ð¤Ë°Í¸¤·¤¿µ¡Ç½¤Ç¤¹¡£ ¤·¤«¤·´·½¬¤È¤·¤Æ¤Ï¡¢ flag4 ¤Ï¡¢¥â¥Ë¥¿Âоݥǡ¼¥¿¤ò¡¢ filegen ¥³¥Þ¥ó¥É¤ÇÀßÄꤷ¤¿ clockstats ¥Õ¥¡¥¤¥ë¤Øµ­Ï¿ ¤¹¤ëµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£ filegen ¥³¥Þ¥ó¥É¤Ë´Ø¤¹¤ë¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¥â¥Ë¥¿µ¡Ç½¤Î¥ª¥×¥·¥ç¥ó ¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

seconds
¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¤ª¤è¤Ó¥Þ¥ë¥Á¥­¥ã¥¹¥È¥â¡¼¥É¤Ç¤Ï¡¢¥í¡¼¥«¥ë¥µ¡¼¥Ð¤È ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤È¤Î´Ö¤ÎÃÙ±ä¤ò·èÄꤹ¤ë¤¿¤á¤ÎÆüì¤ÊÊäÀµ¤¬É¬ÍפǤ¹¡£ Ä̾¤³¤ì¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð´Ö¤ÎºÇ½é¤Î ¥×¥í¥È¥³¥ë¤Î¤ä¤ê¤È¤ê¤Ç¼«Æ°Åª¤Ë¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ ¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢Î㤨¤Ð¥Í¥Ã¥È¥ï¡¼¥¯¤ä¥µ¡¼¥Ð¤Î¥¢¥¯¥»¥¹À©¸æ¤Ë¤è¤Ã¤Æ¡¢ ¤³¤ÎÊäÀµ¤Î¼ê³¤­¤¬¼ºÇÔ¤·¤Æ¤·¤Þ¤¦¤³¤È¤â¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¤³¤¦¤·¤¿¾õ¶·¤Î»þ¤Ë»ÈÍѤµ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÃÙ±ä¤ò »ØÄꤷ¤Þ¤¹¡£ ŵ·¿Åª¤Ë¤Ï (¥¤¡¼¥µ¥Í¥Ã¥È¤Ç¤Ï)¡¢ 0.003 ¤«¤é 0.007 ÉäޤǤ¬Å¬ÀڤǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϡ¢0.004 ÉäǤ¹¡£
driftfile
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥í¡¼¥«¥ë¤Î»þ·×ȯ¿¶»Ò¤Î¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¤òµ­Ï¿¤¹¤ë¤¿¤á ¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤È¡¢µ¯Æ°»þ¤ËÆɤ߹þ¤Þ¤ì¡¢ ½é´ü¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¤ò»ØÄꤹ¤ë¤Î¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ ¤½¤Î¸å 1 »þ´Ö¤Ë 1 ÅÙ¡¢ ¥Ç¡¼¥â¥ó¤Ï¤½¤Î»þÅÀ¤Ç¤Î¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¤ò·×»»¤·¡¢ ¤½¤ÎÃͤǥե¡¥¤¥ë¤ò¹¹¿·¤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢¤³¤Î¥³¥Þ¥ó¥É¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ ½é´ü¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¤Ï 0 ¤È²¾Äꤵ¤ì¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¡¢¼þÇÈ¿ô¤¬°ÂÄꤷ¡¢ »Äα»þ´Ö¸íº¹¤¬¼ý¤Þ¤ë¤Î¤Ë¿ô»þ´Ö¤«¤«¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢ÉâÆ°¾®¿ôÅÀ¿ô 1 ¸Ä¤À¤±¤ò´Þ¤à 1 ¹Ô¤«¤é ¤Ê¤ê¤Þ¤¹¡£ ¤³¤ÎÉâÆ°¾®¿ôÅÀ¿ô¤Ï¡¢100 Ëüʬ¤Î 1 (PPM) ñ°Ì¤Ç¤Î¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥ÈÃͤò µ­Ï¿¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤Ï¡¢ ºÇ½é¤Ë¸½ºß¤ÎÊÑÆ°Ãͤò°ì»þ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤ß¡¢¤½¤ì¤«¤é ¥Õ¥¡¥¤¥ë¤Î̾Á°¤òÊѹ¹¤·¤Æ¸Å¤¤¥Õ¥¡¥¤¥ë¤ÈÃÖ´¹¤¨¤ë¤³¤È¤Ë¤è¤ê¹Ô¤Ê¤¤¤Þ¤¹¡£ ¤³¤Î¤³¤È¤Ï¡¢ ntpd(8) ¤¬¡¢¥É¥ê¥Õ¥È¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ËÂФ·½ñ¤­¹þ¤ß¸¢¤ò»ý¤Ã¤Æ¤¤¤ë ɬÍפ¬¤¢¤ë¤³¤È¤È¡¢¥·¥ó¥Ü¥ê¥Ã¥¯¤Ç¤¢¤í¤¦¤È¤Ê¤«¤í¤¦¤È¡¢ ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥ê¥ó¥¯¤ÏÈò¤±¤ë¤Ù¤­¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£

[auth | bclient | calibrate | kernel | monitor | ntp | stats]
 
[auth | bclient | calibrate | kernel | monitor | ntp | stats]
¤µ¤Þ¤¶¤Þ¤Ê¥µ¡¼¥Ð¥ª¥×¥·¥ç¥ó¤òÍ­¸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤·¤¿¤ê¤¹¤ë ¼êÃʤòÄ󶡤·¤Þ¤¹¡£ »ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥é¥°¤Ë¤Ï±Æ¶Á¤¬¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤é¤Î¥Õ¥é¥°¤ÏÁ´¤Æ ntpdc(8) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥×¥í¥°¥é¥à¤ò»ÈÍѤ·¤Æ¥ê¥â¡¼¥È¤ËÀ©¸æ¤Ç¤­¤ë¤È¤¤¤¦ ¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥Õ¥é¥°¤ÎÀâÌÀ¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡£
Í­¸ú¤Î¾ì¹ç¡¢ broadcastclient ¥³¥Þ¥ó¥É¤ÈƱ°ì¤Î¸ú²Ì¤¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤³¤Î¥Õ¥é¥°¤Ï disable ¤Ç¤¹¡£
¹»Àµµ¡Ç½¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤Ï¡¢¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð¤½¤ì¤¾¤ì¤Î time1 ¤ÎÃͤòÊäÀµ¤·¡¢¸½ºßÁªÂò¤·¤Æ¤¤¤ë»þ¹ï¸»¤Þ¤¿¤Ï¡¢¥«¡¼¥Í¥ë³Ø½¬¿®¹æ¤È Ʊ¤¸¥ª¥Õ¥»¥Ã¥È¤ò¼¨¤¹¤è¤¦¤Ë¤·¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ “»²¾È¥¯¥í¥Ã¥¯¥É¥é¥¤¥Ð” ¤Î¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Õ¥é¥°¤Î¥Ç¥Õ¥©¥ë¥È¤Ï disable ¤Ç¤¹¡£
adjtime(2) ¥·¥¹¥Æ¥à¥³¡¼¥ë¤ËÂФ·¡¢Àµ³Î¤Ë·×»þ¤Ç¤­¤ë ¥«¡¼¥Í¥ë¥µ¥Ý¡¼¥È¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢¤³¤ì¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤â¤È¤â¤È¡¢NTP ¥Ç¡¼¥â¥ó¤¬ ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤ë¤È¤­¤Ë¡¢¤³¤Î¥ë¡¼¥Á¥ó¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤«¤É¤¦¤«¤Ï ¼«Æ°Åª¤Ë¸¡½Ð¤µ¤ì¤ë¤Î¤Ç¡¢¥æ¡¼¥¶¤¬¤³¤Î¥Õ¥é¥°¤Î¤³¤È¤òµ¤¤Ë¤¹¤ë ɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥Õ¥é¥°¤ÏËÜÍè¡¢¥«¡¼¥Í¥ë¤Î³«È¯Ãæ¤Ë¤³¤Î¥µ¥Ý¡¼¥È¤ò ̵¸ú¤Ë¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¤³¤Î¥Õ¥é¥°¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ enable ¤Ç¤¹¡£
¥â¥Ë¥¿Íѵ¡Ç½¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤¬É¬Íפʤ顢 ntpdc(8) ¥×¥í¥°¥é¥à¤Î monlist ¥³¥Þ¥ó¥É¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Õ¥é¥°¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ enable ¤Ç¤¹¡£
¥µ¡¼¥Ð¤¬¡¢NTP ¤òÍѤ¤¤Æ¥í¡¼¥«¥ë»þ·×¤òÄ´À°¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£ ̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¥í¡¼¥«¥ë»þ·×¤Ï¡¢Æ⢤λþ¹ï¤È¼þÇÈ¿ô¥ª¥Õ¥»¥Ã¥È¤Ç ¼«Ê¬¾¡¼ê¤ËÆ°¤­¤Þ¤¹¡£ ¤³¤Î¥Õ¥é¥°¤¬Í­ÍѤʤΤϡ¢ ¥í¡¼¥«¥ë»þ·×¤¬Ê̤ΥǥХ¤¥¹¤ä¥×¥í¥È¥³¥ë¤ÇÀ©¸æ¤µ¤ì¡¢ ¾¤Î¥¯¥é¥¤¥¢¥ó¥ÈÍѤËƱ´ü¤òÄ󶡤¹¤ë¤¿¤á¤À¤±¤Ë NTP ¤ò»È¤¦¾ì¹ç¤Ç¤¹¡£ ¤³¤Î¾ì¹ç¡¢¥í¡¼¥«¥ë»þ·×¤Î¥É¥é¥¤¥Ð¤ò¤³¤Îµ¡Ç½¤ä¡¢ ¤µ¤é¤Ë¡¢¸íº¹Í½Â¬¤ä±¼ÉÃɽ¼¨»Ò (leap-indicators) ¤òÄ󶡤¹¤ë ¤¿¤á¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤¬É¬Íפʤ顢 “»²¾È»þ´Ö¥É¥é¥¤¥Ð” ¤Î¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Õ¥é¥°¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ enable ¤Ç¤¹¡£
Åý·×µ¡Ç½¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤µ¤é¤Ê¤ë¾ðÊó¤¬É¬Íפʤ顢 “¥â¥Ë¥¿ÍÑ¥ª¥×¥·¥ç¥ó” ¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Õ¥é¥°¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ enable ¤Ç¤¹¡£
configkeyword
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥·¥¹¥Æ¥à¤Î syslog(3) µ¡Ç½¤ä¡¢¤½¤ÎÂåÍѤΠlogfile ¥í¥°¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤ë½ÐÎϤÎÎ̤ȼïÎà¤òÀ©¸æ¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤¹¤Ù¤Æ¤Î½ÐÎϤ¬¥ª¥ó¤Ç¤¹¡£ configkeyword ¥­¡¼¥ï¡¼¥É¤Ï¤¹¤Ù¤Æ¡¢ ‘=’, ‘+’, ‘-’ ¤òÀèƬ¤Ë¤Ä¤±¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£ ¤³¤³¤Ç¡¢ ‘=’ ¤Ï¡¢ syslog(3) ¤ÎÍ¥ÀèÅÙ¥Þ¥¹¥¯¤òÀßÄꤷ¡¢ ‘+’ ¤Ï¥á¥Ã¥»¡¼¥¸¤òÄɲä·¡¢ ‘-’ ¤Ï¥á¥Ã¥»¡¼¥¸¤òºï½ü¤·¤Þ¤¹¡£ syslog(3) ¥á¥Ã¥»¡¼¥¸¤Ï¡¢4 ¤Ä¤Î¥¯¥é¥¹ (clock, peer, sys, sync) ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥¯¥é¥¹¤ÎÆâÉô¤Ç¡¢ 4 ¼ï¤Î¥á¥Ã¥»¡¼¥¸¤¬À©¸æ¤Ç¤­¤Þ¤¹¡£ ¾ðÊó¥á¥Ã¥»¡¼¥¸ (info) ¤ÏÀßÄê¾ðÊó¤òÀ©¸æ¤·¤Þ¤¹¡£ ¥¤¥Ù¥ó¥È¥á¥Ã¥»¡¼¥¸ (events) ¤Ï¥¤¥Ù¥ó¥È¤Î¥í¥®¥ó¥° (Åþã²ÄǽÀ­¡¢Æ±´ü¡¢¥¢¥é¡¼¥à¾õ¶·) ¤òÀ©¸æ¤·¤Þ¤¹¡£ Åý·×¾ðÊó¤Î½ÐÎϤϡ¢ statistics ¥­¡¼¥ï¡¼¥É¤ò»ÈÍѤ·¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£ ºÇ¸å¤Î¥á¥Ã¥»¡¼¥¸¥°¥ë¡¼¥×¤Ï¡¢¥¹¥Æ¡¼¥¿¥¹¥á¥Ã¥»¡¼¥¸¤Ç¤¹¡£ ¤³¤ì¤Ï¼ç¤Ë¡¢Æ±´ü¤Î¥¹¥Æ¡¼¥¿¥¹¤òɽ¤·¤Þ¤¹¡£ ÀßÄꥭ¡¼¥ï¡¼¥É¤Ï¥á¥Ã¥»¡¼¥¸¥¯¥é¥¹¤È¥¤¥Ù¥ó¥È¥¯¥é¥¹¤È¤ò ¤½¤Î¤Þ¤Þ·ë¤Ó¤Ä¤±¤¿·Á¤ò¤·¤Æ¤¤¤Þ¤¹¡£ ¥×¥ì¥Õ¥£¥Ã¥¯¥¹ all ¤Ï¡¢¥á¥Ã¥»¡¼¥¸¥¯¥é¥¹¤ÎÂå¤ï¤ê¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ ¥á¥Ã¥»¡¼¥¸¥¯¥é¥¹¤Î¸å¤í¤Ë¡¢¥­¡¼¥ï¡¼¥É all ¤ò³¤±¤ë¤³¤È¤¬¤Ç¤­¡¢ ¤½¤ì¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¾¤ì¤Î¥á¥Ã¥»¡¼¥¸¥¯¥é¥¹¤Î¥á¥Ã¥»¡¼¥¸¤ò¤¹¤Ù¤Æ Í­¸ú / ̵¸ú¤Ë¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¤¿¤á¡¢ºÇÄã¸Â¤Î¥í¥°¤ÎÀßÄê¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦:
logconfig =syncstatus +sysevents
    

¤³¤ÎÀßÄê¤Ç¤Ï¡¢Ã±¤Ë ntpd(8) ¤ÎƱ´ü¤Î¥¹¥Æ¡¼¥¿¥¹¤È½ÅÍפʥ·¥¹¥Æ¥à¥¤¥Ù¥ó¥È¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£ ñ½ã¤Ê»²¾È¥µ¡¼¥Ð¤ËÂФ·¤Æ¤Ï¡¢ ¼¡¤Î¤è¤¦¤ÊºÇÄã¸Â¤Î¥á¥Ã¥»¡¼¥¸¤ÎÀßÄê¤ò¹Ô¤¦¤ÈÍ­±×¤Ç¤·¤ç¤¦:

logconfig =syncall +clockall
    

¤³¤ÎÀßÄê¤Ç¤Ï¡¢»þ·×¤Î¾ðÊ󤹤٤ƤÈƱ´ü¾ðÊó¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£ ¾¤Î¥¤¥Ù¥ó¥È¤äÄÌ¿®Áê¼ê¤Ë´Ø¤¹¤ë¥á¥Ã¥»¡¼¥¸¡¢¤½¤·¤Æ¥·¥¹¥Æ¥à¤Î ¥¤¥Ù¥ó¥È¤Ê¤É¤ÏÍ޻ߤµ¤ì¤Þ¤¹¡£

logfile
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥·¥¹¥Æ¥à¤Î syslog(3) µ¡Ç½¤ÎÂå¤ï¤ê¤Ë»ÈÍѤµ¤ì¤ë¡¢ÂåÍÑ¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Îºß½è¤ò»ØÄꤷ¤Þ¤¹¡£
variable [default]
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥·¥¹¥Æ¥àÊÑ¿ô¤òÄɲä·¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÊÑ¿ô¤Ï¡¢¥¢¥¯¥»¥¹¥Ý¥ê¥·¤Ê¤É¤Î¾ðÊó¤òÄɲä·¤Æ ÇÛÉÛ¤¹¤ë¤¿¤á¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ name=value ¤Î·Á¼°¤ÎÊÑ¿ô¤Ë default ¥­¡¼¥ï¡¼¥É¤¬Â³¤¤¤Æ¤¤¤ë¾ì¹ç¡¢ ¤½¤ÎÊÑ¿ô¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥·¥¹¥Æ¥àÊÑ¿ô¤Î°ìÉô¤È¤·¤Æ ¥ê¥¹¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹ (ntpq(8) rv ¥³¥Þ¥ó¥É¤ò»²¾È¡£) ¤³¤¦¤·¤¿ÊÑ¿ô¤ÎÄɲäϡ¢¾ðÊó¤òÍ¿¤¨¤ëÌÜŪ¤À¤±¤ò²Ì¤¿¤·¤Þ¤¹¡£ ¥ê¥¹¥È¤µ¤ì¤ë¤È¤¤¤¦¤³¤È°Ê³°¤Ë¡¢¥×¥í¥È¥³¥ë¤Ë´Ø·¸¤·¤Þ¤»¤ó¡£ ´ûÃΤΥץí¥È¥³¥ëÊÑ¿ô¤Ï¾ï¤Ë¡¢ setvar ¤Îµ¡¹½¤Ë¤è¤êÄêµÁ¤µ¤ì¤¿¤¤¤«¤Ê¤ëÊÑ¿ô¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ Ʊ¤¸¥°¥ë¡¼¥×¤Î¤¹¤Ù¤Æ¤ÎÊÑ¿ô̾¤ò´Þ¤ó¤À 3 ¤Ä¤ÎÆÃÊ̤ÊÊÑ¿ô¤¬¤¢¤ê¤Þ¤¹¡£ sys_var_list ¤Ï¡¢¤¹¤Ù¤Æ¤Î¥·¥¹¥Æ¥àÊÑ¿ô̾¤òÊÝ»ý¤·¤Æ¤¤¤Þ¤¹¡£ peer_var_list ¤Ï¡¢¤¹¤Ù¤Æ¤ÎÄÌ¿®Áê¼ê¤ÎÊÑ¿ô̾¤òÊÝ»ý¤·¤Æ¤¤¤Þ¤¹¡£ ¤½¤·¤Æ¡¢ clock_var_list ¤Ï¡¢»²¾È¥¯¥í¥Ã¥¯¤ÎÊÑ¿ô̾¤òÊÝ»ý¤·¤Æ¤¤¤Þ¤¹¡£
[step step | panic panic | dispersion dispersion | stepout stepout | minpoll minpoll | allan allan | huffpuff huffpuff]
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¶Ë¤á¤ÆÎ㳰Ū¤Ê¾õ¶·²¼¤Ç¡¢ ¤¤¤¯¤Ä¤«¤Î¥·¥¹¥Æ¥àÊÑ¿ô¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£ ÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Ç¡¢ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢Â¾¤ÎÀßÄꥪ¥×¥·¥ç¥ó¤Î¤É¤ì¤è¤ê¤âÁ°¤ËÃÖ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÊÑ¿ô¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϡ¢ ¥Í¥Ã¥È¥ï¡¼¥¯Â®Å٤ȿ®ÍêÀ­¤Îͽ¬ÃͤˤĤ¤¤Æ¡¢ Éý¹­¤¤ÈϰϤǡ¢Ãí°Õ¿¼¤¯ºÇŬ²½¤µ¤»¤Æ¤¢¤ê¤Þ¤¹¡£ °ìÈ̤ˡ¢¤³¤ì¤éÊÑ¿ô¤Ï´Êñ¤Ëͽ¬¤Ç¤­¤Ê¤¤¹þ¤ßÆþ¤Ã¤¿ÊýË¡¤Ç Áê¸ßºîÍѤòµÚ¤Ü¤·¹ç¤¤¤Þ¤¹¡£ ¤Þ¤¿¡¢ÊÑ¿ô¤ÎÁȹ礻¤Ë¤è¤Ã¤Æ¤Ï¡¢¤È¤ó¤Ç¤â¤Ê¤¤Æ°ºî¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦ ²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤´¤¯¤Þ¤ì¤Ë¤Ç¤¹¤¬¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÃͤòÊѹ¹¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤¬ ¤¢¤ê¤Þ¤¹¤¬¡¢¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢ ¤Ä¤Þ¤ß¤ò²ó¤·¤¿¤¤¤È¤¤¤¦Í¶ÏǤËÄñ¹³¤Ç¤­¤Ê¤¤ÇڤϤ¤¤ë¤â¤Î¤Ç¡¢ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¤½¤¦¤¤¤¦¿Íã¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ Æä˶¯Ä´¤·¤Æ¤ª¤­¤Þ¤¹¤¬¡¢¤³¤Î¤Ä¤Þ¤ß¤ò²ó¤¹¤Î¤Ï³Æ¼«¤Î¾¡¼ê¤Ç ¤ä¤ë¤³¤È¤Ç¡¢¥µ¥Ý¡¼¥È¥°¥ë¡¼¥×¤Ë°ìÀڤνõ¤±¤òµá¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

Á´¤Æ¤Î°ú¿ô¤Ï¡¢ÉâÆ°¾®¿ôÅÀ¿ô¤ÎÉᢤޤ¿¤ÏÉÃʬ¤ÎÉäǤ¹¡£ minpoll °ú¿ô¤Ï¡¢Éäò2¤Î¥Ù¥­À°¿ô¤Çɽ¤·¤¿¤â¤Î¤Ç¤¹¡£ ¤³¤ÎÊÑ¿ô¤Ï¼¡¤Î¤è¤¦¤ËÆ°ºî¤·¤Þ¤¹¡£

step
¤³¤Î°ú¿ô¤Ï¡¢»þ¹ïÀßÄê¤ÎïçÃÍ (Ä̾ï 0.128ÉÃ) ¤Î ¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£ 0 ¤ËÀßÄꤷ¤¿¾ì¹ç¡¢»þ¹ïÀßÄê (step) ¤Ë¤è¤ëÊäÀµ¤ÏÀ¸¤¸¤Þ¤»¤ó¡£ °ìÈ̤ˤϡ¢»þ¹ïÀßÄê¤òÈò¤±¤ëÌÜŪ¤Î¤¿¤á¤Ë¤Ï¡¢»þ¹ïÀßÄêïçÃÍ¤Ï ¿¨¤é¤º¤Ë¡¢ -x ¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤Î¤¬ÉáÄ̤Ǥ¹¡£
panic
¤³¤Î°ú¿ô¤Ï¡¢¥Ñ¥Ë¥Ã¥¯ïçÃÍ (Ä̾ï 1000 ÉÃ) ¤Î¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£ 0 ¤ËÀßÄꤷ¤¿¾ì¹ç¡¢¥Ñ¥Ë¥Ã¥¯·òÁ´À­¥Á¥§¥Ã¥¯¤Ï̵¸ú¤Ë¤µ¤ì¡¢ »þ¹ï¥ª¥Õ¥»¥Ã¥È¤È¤·¤ÆÁ´¤Æ¤ÎÃͤ¬¼õÍý¤µ¤ì¤Þ¤¹¡£
dispersion
¤³¤Î°ú¿ô¤Ï¡¢Ê¬»¶ÃÍÁý²ÃΨ (Ä̾.000015) ¤Î¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£
stepout
¤³¤Î°ú¿ô¤Ï¡¢¥ï¥Ã¥Á¥É¥Ã¥°¥¿¥¤¥à¥¢¥¦¥È (Ä̾ï 900 ÉÃ) ¤Î¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£
minpoll
¤³¤Î°ú¿ô¤Ï¡¢¥Þ¥ë¥Á¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¡¢ ¥á¥Ë¡¼¥­¥ã¥¹¥È¥¯¥é¥¤¥¢¥ó¥È¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¡¢ ÂоΥѥ工֥⡼¥É¥¢¥½¥·¥¨¡¼¥·¥ç¥ó¤òÀßÄꤹ¤ë¤È¤­¤ËÍѤ¤¤ë ºÇ¾®¥Ý¡¼¥ê¥ó¥°´Ö³Ö¤Î¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 6 (64ÉÃ) ¤Ç¡¢²¼¸Â¤Ï 4 (16ÉÃ) ¤Ç¤¹¡£
allan
¤³¤Î°ú¿ô¤Ï¡¢ºÇ¾® Allan ¼×ÃÇÃͤο·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£ ¤³¤ÎÃÍ¤Ï PLL/FLL »þ¹ï³Ø½¬¥¢¥ë¥´¥ê¥º¥à¤Î¥Ñ¥é¥á¡¼¥¿¤Î 1 ¤Ä¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï 1024 Éäǡ¢¤³¤ÎÃͤ¬²¼¸Â¤Ç¤â¤¢¤ê¤Þ¤¹¡£
huffpuff
¤³¤Î°ú¿ô¤Ï¸½ºß¼Â¸³Åª¤ËÄ󶡤µ¤ì¤ë ¥¹¡¼¥Ï¡¼¥Õ¥£¥ë¥¿ (huff-n'-puff filter) ¤Î¥¹¥Ñ¥ó¤Î¿·¤·¤¤Ãͤˤʤê¤Þ¤¹¡£ ¤³¤ÎÃͤϡ¢¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤¬ºÇ¾®ÃÙ±ä¤òµá¤á¤ë»þ´Ö´Ö³Ö¤Î¤¦¤Á ºÇ¤â¿·¤·¤¤¤â¤Î¤ò·èÄꤷ¤Þ¤¹¡£ ²¼¸Â¤Ï 900 Éà (15ʬ) ¤Ç¤¹¤¬¡¢¤è¤ê¤Þ¤È¤â¤ÊÃÍ¤Ï 7200 (2»þ´Ö) ¤Ç¤¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤¬Í¿¤¨¤é¤ì¤ë¤Þ¤Ç¤³¤Î¥Õ¥£¥ë¥¿¤ÏÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó¤Î¤Ç¡¢ ¥Ç¥Õ¥©¥ë¥È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
host_address [port port_number] [interface interface_address]
¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢»ØÄꤷ¤¿¥Û¥¹¥È¥¢¥É¥ì¥¹¡¢¥Ý¡¼¥ÈÈÖ¹æ¤Ë ¥È¥é¥Ã¥×¼õ¿®´ï¤òÀßÄꤷ¤Þ¤¹¡£ ¤³¤Î¥È¥é¥Ã¥×¼õ¿®´ï¤Ï¡¢»ØÄꤷ¤¿¥í¡¼¥«¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥¢¥É¥ì¥¹¤ò »ý¤Ä¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤·¤Þ¤¹¡£ ¥Ý¡¼¥ÈÈÖ¹æ¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ÃÍ 18447 ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£ ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ ¤½¤Î¥á¥Ã¥»¡¼¥¸¤¬Á÷¿®¤µ¤ì¤¿¥í¡¼¥«¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò ¥½¡¼¥¹¥¢¥É¥ì¥¹¤Ë»ý¤Ä¥á¥Ã¥»¡¼¥¸¤¬Á÷¿®¤µ¤ì¤Þ¤¹¡£ ¥Þ¥ë¥Á¥Û¡¼¥à¤ò»ý¤Ä¥Û¥¹¥È¤Ç¤Ï¡¢·ÐÏ©¾ðÊó¤Î Êѹ¹¤Ë¤È¤â¤Ê¤¤¡¢»þ¤Ë¤è¤ê»ÈÍѤ¹¤ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬ÊѤï¤ë¤³¤È¤Ë Ãí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

¥È¥é¥Ã¥×¼õ¿®´ï¤Ï¥¤¥Ù¥ó¥È¥á¥Ã¥»¡¼¥¸¤ä¡¢ ¥µ¡¼¥Ð¤«¤é¤Î¤½¤Î¾¤Î¾ðÊó¤ò¡¢¥í¥°¥Õ¥¡¥¤¥ë¤Ë¥í¥°¤ò¼è¤ê¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ê´Æ»ë¥×¥í¥°¥é¥à¤Ï¡¢¼«Ê¬¼«¿È¤Î¥È¥é¥Ã¥×¤òưŪ¤ËÍ׵᤹¤ë¤³¤È¤â ¤¢¤ê¤Þ¤¹¤¬¡¢¥È¥é¥Ã¥×¼õ¿®´ï¤ÎÀßÄê¤Ë¤è¤ê¡¢¥µ¡¼¥Ð¤Îµ¯Æ°¸å¤Ë ¼º¤ï¤ì¤ë¥á¥Ã¥»¡¼¥¸¤Ï¤Ê¤¤¤³¤È¤ÏÊݾڤµ¤ì¤Þ¤¹¡£

/etc/ntp.conf
¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë̾
ntp.keys
MD5 ÈëÌ©¸°
ntpkey
RSA ÈëÌ©¸°
ntpkey_host
RSA ¸ø³«¸°
ntp_dh
Diffie-Hellman ¹ç°Õ¥Ñ¥é¥á¡¼¥¿

ntpd(8), ntpdc(8), ntpq(8)

Ä󶡤µ¤ì¤Æ¤¤¤ë¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë²Ã¤¨¤Æ¡¢Íý²ò¤·¤ä¤¹¤¤¥É¥­¥å¥á¥ó¥È¤¬ world wide web ¾å¤ÇÆþ¼ê²Äǽ¤Ç¤¹¡£ http://www.ntp.org/ ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¥É¥­¥å¥á¥ó¥È¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤¬ HTML ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç /usr/share/doc/ntp ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë¤¢¤ê¤Þ¤¹¡£ David L. Mills, Network Time Protocol (Version 3), RFC1305.

¹½Ê¸¥Á¥§¥Ã¥¯¤Ë¹¥¤­·ù¤¤¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤Ê¤ó¤Ç¤â´î¤ó¤Ç¿©¤Ù¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤ä¥â¡¼¥É¤Î¡¢¤Ð¤«¤²¤¿Áȹ礻¤ä¤ª¾Ð¤¤¤ÎÁȹ礻¤µ¤¨ ¸¡½Ð¤·¤Ê¤¤¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

ntpkey_host ¤Ï¼ÂºÝ¤Ë¤Ï¥Ç¥¸¥¿¥ëǧ¾Ú¤Ç¤¹¡£ ¥»¥­¥å¥ê¥Æ¥£¥Ç¥£¥ì¥¯¥È¥ê¥µ¡¼¥Ó¥¹¤¬Éý¹­¤¯ÍøÍѲÄǽ¤Ë ¤Ê¤Ã¤¿ºÝ¤Ë¤Ï¡¢¤½¤³¤«¤é¼èÆÀ¤¹¤Ù¤­¤Ç¤¹¡£

January 13, 2000 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.