PDA

View Full Version : [ubuntu] 12.04 hammers the ubuntu NTP servers?



fixitdude
June 24th, 2012, 10:16 AM
After upgrading to 12.04 I happened to be looking at tcpdump and here's NTP gong wild:



00:41:36.904562 IP 192.168.10.135.123 > 91.189.94.4.123: NTPv4, Client, length 48
0x0000: 45c0 004c 0000 4000 4011 b4f0 c0a8 0a87 E..L..@.@.......
0x0010: 5bbd 5e04 007b 007b 0038 7f4e e300 06eb [.^..{.{.8.N....
0x0020: 0000 0000 0000 0acc 494e 4954 0000 0000 ........INIT....
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 432f e784 74a8 ......C/..t.
00:41:36.904580 IP 192.168.10.135.123 > 64.73.32.135.123: NTPv4, Client, length 48
0x0000: 45c0 004c 0000 4000 4011 0de2 c0a8 0a87 E..L..@.@.......
0x0010: 4049 2087 007b 007b 0038 c43f e300 06eb @I...{.{.8.?....
0x0020: 0000 0000 0000 0acc 494e 4954 0000 0000 ........INIT....
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 432f e78a 88a2 ......C/....
00:41:36.904594 IP 192.168.10.135.123 > 155.101.3.115.123: NTPv4, Client, length 48
0x0000: 45c0 004c 0000 4000 4011 cfd9 c0a8 0a87 E..L..@.@.......
0x0010: 9b65 0373 007b 007b 0038 cfa8 e300 06eb .e.s.{.{.8......
0x0020: 0000 0000 0000 0acc 494e 4954 0000 0000 ........INIT....
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 432f e78b 3f30 ......C/..?0
00:41:36.981424 IP 155.101.3.115.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4520 004c 0000 4000 3111 df79 9b65 0373 E..L..@.1..y.e.s
0x0010: c0a8 0a87 007b 007b 0038 0129 2402 06eb .....{.{.8.)$...
0x0020: 0000 0ad8 0000 06d0 322b 7d43 d391 40f6 ........2+}C..@.
0x0030: a859 ea3d d391 432f e78b 3f30 d391 4330 .Y.=..C/..?0..C0
0x0040: e937 bf81 d391 4330 e93a 033e .7....C0.:.>
00:41:37.018744 IP 64.73.32.135.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4510 004c a0ca 0000 3611 b7c7 4049 2087 E..L....6...@I..
0x0010: c0a8 0a87 007b 007b 0038 d7e9 2402 06eb .....{.{.8..$...
0x0020: 0000 0a42 0000 0000 121a 0469 d391 3ac7 ...B.......i..:.
0x0030: 8d0f f7ff d391 432f e78a 88a2 d391 4330 ......C/......C0
0x0040: eb88 a7ff d391 4330 eb88 e7ff ......C0....
00:41:37.098265 IP 91.189.94.4.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4500 004c 0000 4000 2f11 c6b0 5bbd 5e04 E..L..@./...[.^.
0x0010: c0a8 0a87 007b 007b 0038 fb91 2402 06ec .....{.{.8..$...
0x0020: 0000 0253 0000 05a3 c14f ed0e d391 423c ...S.....O....B<
0x0030: 1a92 26f7 d391 432f e784 74a8 d391 4330 ..&...C/..t...C0
0x0040: f75a 5209 d391 4330 f75c 6437 .ZR...C0.\d7
00:41:37.904423 IP 192.168.10.135.123 > 69.64.72.238.123: NTPv4, Client, length 48
0x0000: 45c0 004c 0000 4000 4011 e083 c0a8 0a87 E..L..@.@.......
0x0010: 4540 48ee 007b 007b 0038 baf4 e300 06eb E@H..{.{.8......
0x0020: 0000 0000 0000 0ace 494e 4954 0000 0000 ........INIT....
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 4331 e784 6491 ......C1..d.
00:41:37.960063 IP 69.64.72.238.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4500 004c 0000 4000 3511 ec43 4540 48ee E..L..@.5..CE@H.
0x0010: c0a8 0a87 007b 007b 0038 2ba6 2402 06e9 .....{.{.8+.$...
0x0020: 0000 02e7 0000 0b2f c00c 1314 d391 3be4 ......./......;.
0x0030: 2007 bb6e d391 4331 e784 6491 d391 4331 ...n..C1..d...C1
0x0040: e41f 74a3 d391 4331 e422 b530 ..t...C1.".0
00:41:46.564972 IP 192.168.10.135.28003 > 8.8.8.8.53: 61799+ AAAA? 2.ubuntu.pool.ntp.org. (39)
0x0000: 4500 0043 0000 4000 4011 5f6b c0a8 0a87 E..C..@.@._k....
0x0010: 0808 0808 6d63 0035 002f 8c29 f167 0100 ....mc.5./.).g..
0x0020: 0001 0000 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01 ...
00:41:46.565037 IP 192.168.10.135.28003 > 4.2.2.5.53: 61799+ AAAA? 2.ubuntu.pool.ntp.org. (39)
0x0000: 4500 0043 0000 4000 4011 6974 c0a8 0a87 E..C..@.@.it....
0x0010: 0402 0205 6d63 0035 002f 9632 f167 0100 ....mc.5./.2.g..
0x0020: 0001 0000 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01 ...
00:41:46.601529 IP 4.2.2.5.53 > 192.168.10.135.28003: 61799 3/0/0 AAAA 2607:fc18:dead:beef::9, AAAA 2001:1868:213:5::2, AAAA 2001:1868:2001::22 (123)
0x0000: 4500 0097 7785 0000 3911 389b 0402 0205 E...w...9.8.....
0x0010: c0a8 0a87 0035 6d63 0083 0e6f f167 8180 .....5mc...o.g..
0x0020: 0001 0003 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01c0 0c00 1c00 0100 0001 8100 1026 ...............&
0x0050: 07fc 18de adbe ef00 0000 0000 0000 09c0 ................
0x0060: 0c00 1c00 0100 0001 8100 1020 0118 6802 ..............h.
0x0070: 1300 0500 0000 0000 0000 02c0 0c00 1c00 ................
0x0080: 0100 0001 8100 1020 0118 6820 0100 0000 ..........h.....
0x0090: 0000 0000 0000 22 ......"
00:41:46.602363 IP 192.168.10.135.59753 > 4.2.2.5.53: 41436+ A? 2.ubuntu.pool.ntp.org. (39)
0x0000: 4500 0043 0000 4000 4011 6974 c0a8 0a87 E..C..@.@.it....
0x0010: 0402 0205 e969 0035 002f 84b7 a1dc 0100 .....i.5./......
0x0020: 0001 0000 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 0100 01 ...
00:41:46.627121 IP 8.8.8.8.53 > 192.168.10.135.28003: 61799 3/0/0 AAAA 2604:3400:dc1:41:216:3eff:fe2e:eee8, AAAA 2600:3c03::19:d100, AAAA 2001:1868:213:5::2 (123)
0x0000: 4500 0097 81a8 0000 2f11 2e6f 0808 0808 E......./..o....
0x0010: c0a8 0a87 0035 6d63 0083 36b5 f167 8180 .....5mc..6..g..
0x0020: 0001 0003 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01c0 0c00 1c00 0100 0001 7100 1026 ............q..&
0x0050: 0434 000d c100 4102 163e fffe 2eee e8c0 .4....A..>......
0x0060: 0c00 1c00 0100 0001 7100 1026 003c 0300 ........q..&.<..
0x0070: 0000 0000 0000 0000 19d1 00c0 0c00 1c00 ................
0x0080: 0100 0001 7100 1020 0118 6802 1300 0500 ....q.....h.....
0x0090: 0000 0000 0000 02 .......
00:41:46.792976 IP 4.2.2.5.53 > 192.168.10.135.59753: 41436 3/0/0 A 74.117.214.3, A 64.6.144.6, A 66.220.1.205 (87)
0x0000: 4500 0073 7786 0000 3911 38be 0402 0205 E..sw...9.8.....
0x0010: c0a8 0a87 0035 e969 005f 0a5a a1dc 8180 .....5.i._.Z....
0x0020: 0001 0003 0000 0000 0132 0675 6275 6e74 .........2.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 0100 01c0 0c00 0100 0100 0001 8600 044a ...............J
0x0050: 75d6 03c0 0c00 0100 0100 0001 8600 0440 u..............@
0x0060: 0690 06c0 0c00 0100 0100 0001 8600 0442 ...............B
0x0070: dc01 cd ...
00:41:46.793953 IP 192.168.10.135.64989 > 4.2.2.5.53: 49710+ AAAA? 3.ubuntu.pool.ntp.org. (39)
0x0000: 4500 0043 0000 4000 4011 6974 c0a8 0a87 E..C..@.@.it....
0x0010: 0402 0205 fddd 0035 002f 34f0 c22e 0100 .......5./4.....
0x0020: 0001 0000 0000 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01 ...
00:41:46.963372 IP 4.2.2.5.53 > 192.168.10.135.64989: 49710 0/1/0 (103)
0x0000: 4500 0083 7787 0000 3911 38ad 0402 0205 E...w...9.8.....
0x0010: c0a8 0a87 0035 fddd 006f 0b67 c22e 8180 .....5...o.g....
0x0020: 0001 0000 0001 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 1c00 01c0 1500 0600 0100 0003 8400 3401 ..............4.
0x0050: 6105 6e74 706e 73c0 1e07 7375 7070 6f72 a.ntpns...suppor
0x0060: 7408 6269 746e 616d 6573 0363 6f6d 004f t.bitnames.com.O
0x0070: e6c3 6800 0015 1800 0015 1800 24ea 0000 ..h.........$...
0x0080: 0001 86 ...
00:41:46.963931 IP 192.168.10.135.32361 > 4.2.2.5.53: 28585+ AAAA? 3.ubuntu.pool.ntp.org.com. (43)
0x0000: 4500 0047 0000 4000 4011 6970 c0a8 0a87 E..G..@.@.ip....
0x0010: 0402 0205 7e69 0035 0033 9411 6fa9 0100 ....~i.5.3..o...
0x0020: 0001 0000 0000 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0363 u.pool.ntp.org.c
0x0040: 6f6d 0000 1c00 01 om.....
00:41:47.115845 IP 4.2.2.5.53 > 192.168.10.135.32361: 28585 0/1/0 (97)
0x0000: 4500 007d 7788 0000 3911 38b2 0402 0205 E..}w...9.8.....
0x0010: c0a8 0a87 0035 7e69 0069 af25 6fa9 8180 .....5~i.i.%o...
0x0020: 0001 0000 0001 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0363 u.pool.ntp.org.c
0x0040: 6f6d 0000 1c00 01c0 1e00 0600 0100 0002 om..............
0x0050: 5800 2a03 6e73 3109 6469 6769 6d65 6469 X.*.ns1.digimedi
0x0060: 61c0 2203 646e 73c0 3b77 ed2f 2100 002a a.".dns.;w./!..*
0x0070: 3000 000e 1000 093a 8000 000e 10 0......:.....
00:41:47.116478 IP 192.168.10.135.40505 > 4.2.2.5.53: 12179+ A? 3.ubuntu.pool.ntp.org. (39)
0x0000: 4500 0043 0000 4000 4011 6974 c0a8 0a87 E..C..@.@.it....
0x0010: 0402 0205 9e39 0035 002f 4230 2f93 0100 .....9.5./B0/...
0x0020: 0001 0000 0000 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 0100 01 ...
00:41:47.244495 IP 4.2.2.5.53 > 192.168.10.135.40505: 12179 3/0/0 A 108.61.73.243, A 128.10.254.7, A 216.218.235.3 (87)
0x0000: 4520 0073 7789 0000 3911 389b 0402 0205 E..sw...9.8.....
0x0010: c0a8 0a87 0035 9e39 005f d50f 2f93 8180 .....5.9._../...
0x0020: 0001 0003 0000 0000 0133 0675 6275 6e74 .........3.ubunt
0x0030: 7504 706f 6f6c 036e 7470 036f 7267 0000 u.pool.ntp.org..
0x0040: 0100 01c0 0c00 0100 0100 0001 8600 046c ...............l
0x0050: 3d49 f3c0 0c00 0100 0100 0001 8600 0480 =I..............
0x0060: 0afe 07c0 0c00 0100 0100 0001 8600 04d8 ................
0x0070: daeb 03 ...
00:41:47.245423 IP 192.168.10.135.39166 > 4.2.2.5.53: 32364+ AAAA? ntp.ubuntu.com. (32)
0x0000: 4500 003c 0000 4000 4011 697b c0a8 0a87 E..<..@.@.i{....
0x0010: 0402 0205 98fe 0035 0028 80f9 7e6c 0100 .......5.(..~l..
0x0020: 0001 0000 0000 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d00 001c 0001 ntu.com.....
00:41:47.277561 IP 4.2.2.5.53 > 192.168.10.135.39166: 32364 0/1/0 (93)
0x0000: 4500 0079 778a 0000 3911 38b4 0402 0205 E..yw...9.8.....
0x0010: c0a8 0a87 0035 98fe 0065 d51f 7e6c 8180 .....5...e..~l..
0x0020: 0001 0000 0001 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d00 001c 0001 c010 0006 ntu.com.........
0x0040: 0001 0000 0351 0031 036e 7331 0963 616e .....Q.1.ns1.can
0x0050: 6f6e 6963 616c c017 0a68 6f73 746d 6173 onical...hostmas
0x0060: 7465 72c0 3077 eda2 5d00 002a 3000 000e ter.0w..]..*0...
0x0070: 1000 093a 8000 000e 10 ...:.....
00:41:47.278107 IP 192.168.10.135.61153 > 4.2.2.5.53: 57497+ AAAA? ntp.ubuntu.com.com. (36)
0x0000: 4500 0040 0000 4000 4011 6977 c0a8 0a87 E..@..@.@.iw....
0x0010: 0402 0205 eee1 0035 002c f86d e099 0100 .......5.,.m....
0x0020: 0001 0000 0000 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d03 636f 6d00 001c 0001 ntu.com.com.....
00:41:47.363266 IP 4.2.2.5.53 > 192.168.10.135.61153: 57497 1/1/0 CNAME phx2-ss-5-lb.cnet.com. (118)
0x0000: 4520 0092 778b 0000 3911 387a 0402 0205 E...w...9.8z....
0x0010: c0a8 0a87 0035 eee1 007e 9d88 e099 8180 .....5...~......
0x0020: 0001 0001 0001 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d03 636f 6d00 001c 0001 ntu.com.com.....
0x0040: c00c 0005 0001 0000 012c 0014 0c70 6878 .........,...phx
0x0050: 322d 7373 2d35 2d6c 6204 636e 6574 c01b 2-ss-5-lb.cnet..
0x0060: c03d 0006 0001 0000 012c 0026 026e 73c0 .=.......,.&.ns.
0x0070: 3d0a 686f 7374 6d61 7374 6572 c03d 77ed =.hostmaster.=w.
0x0080: a25e 0000 5460 0000 0708 0024 ea00 0000 .^..T`.....$....
0x0090: 012c .,
00:41:47.363883 IP 192.168.10.135.62409 > 4.2.2.5.53: 37119+ A? ntp.ubuntu.com. (32)
0x0000: 4500 003c 0000 4000 4011 697b c0a8 0a87 E..<..@.@.i{....
0x0010: 0402 0205 f3c9 0035 0028 13b6 90ff 0100 .......5.(......
0x0020: 0001 0000 0000 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d00 0001 0001 ntu.com.....
00:41:47.392539 IP 4.2.2.5.53 > 192.168.10.135.62409: 37119 1/0/0 A 91.189.94.4 (48)
0x0000: 4500 004c 778c 0000 3911 38df 0402 0205 E..Lw...9.8.....
0x0010: c0a8 0a87 0035 f3c9 0038 171b 90ff 8180 .....5...8......
0x0020: 0001 0001 0000 0000 036e 7470 0675 6275 .........ntp.ubu
0x0030: 6e74 7503 636f 6d00 0001 0001 c00c 0001 ntu.com.........
0x0040: 0001 0000 0225 0004 5bbd 5e04 .....%..[.^.
00:41:47.496717 IP 192.168.10.135.123 > 108.59.14.130.123: NTPv4, Client, length 48
0x0000: 4500 004c 0000 4000 4011 f4b4 c0a8 0a87 E..L..@.@.......
0x0010: 6c3b 0e82 007b 007b 0038 546c e300 03fa l;...{.{.8Tl....
0x0020: 0001 0000 0001 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 433b 7f24 e740 ......C;.$.@
00:41:47.584344 IP 108.59.14.130.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4520 004c 0000 4000 3611 fe94 6c3b 0e82 E..L..@.6...l;..
0x0010: c0a8 0a87 007b 007b 0038 cc00 2402 03e9 .....{.{.8..$...
0x0020: 0000 01b3 0000 088d d133 a1ee d391 3ee9 .........3....>.
0x0030: f0a4 6ceb d391 433b 7f24 e740 d391 433b ..l...C;.$.@..C;
0x0040: 7c9e 6ebc d391 433b 7c9f c47a |.n...C;|..z
00:41:47.696705 IP 192.168.10.135.123 > 205.233.73.201.123: NTPv4, Client, length 48
0x0000: 4500 004c 0000 4000 4011 57bf c0a8 0a87 E..L..@.@.W.....
0x0010: cde9 49c9 007b 007b 0038 463a e300 03fa ..I..{.{.8F:....
0x0020: 0001 0000 0001 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 433b b258 2549 ......C;.X%I
00:41:47.788283 IP 205.233.73.201.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4520 004c 0000 4000 3511 629f cde9 49c9 E..L..@.5.b...I.
0x0010: c0a8 0a87 007b 007b 0038 8ffb 2402 03ec .....{.{.8..$...
0x0020: 0000 12a9 0000 06bb ad0a f6e9 d391 4276 ..............Bv
0x0030: b1d9 1932 d391 433b b258 2549 d391 433b ...2..C;.X%I..C;
0x0040: b06b ca3e d391 433b b06e 7e2d .k.>..C;.n~-
00:41:47.896724 IP 192.168.10.135.123 > 50.57.164.100.123: NTPv4, Client, length 48
0x0000: 4500 004c 0000 4000 4011 98d4 c0a8 0a87 E..L..@.@.......
0x0010: 3239 a464 007b 007b 0038 249e e300 03fa 29.d.{.{.8$.....
0x0020: 0001 0000 0001 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 433b e58b 54c7 ......C;..T.
00:41:47.972082 IP 50.57.164.100.123 > 192.168.10.135.123: NTPv4, Server, length 48
0x0000: 4500 004c 0000 4000 3711 a1d4 3239 a464 E..L..@.7...29.d
0x0010: c0a8 0a87 007b 007b 0038 af3e 2403 03ed .....{.{.8.>$...
0x0020: 0000 0193 0000 0a34 827e 1818 d391 3f4e .......4.~....?N
0x0030: 8d26 682d d391 433b e58b 54c7 d391 433b .&h-..C;..T...C;
0x0040: e203 35d8 d391 433b e20e 5e55 ..5...C;..^U
00:41:48.096716 IP 192.168.10.135.123 > 46.166.138.172.123: NTPv4, Client, length 48
0x0000: 4500 004c 0000 4000 4011 b61f c0a8 0a87 E..L..@.@.......
0x0010: 2ea6 8aac 007b 007b 0038 21f5 e300 03fa .....{.{.8!.....
0x0020: 0001 0000 0001 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 d391 433c 18be 4188 ......C<..A.



How many times in a day does it need to hit the things? And how many times does it have to do a DNS lookup for it? (sarcasm)

And there's no setting to limit this, that's a bad idea. I would at least restrict it to once a day.

I hate to be hitting those servers like this, I hope there's an EASY solution everyone can do.

mparillo
June 24th, 2012, 11:34 AM
If you do not get a response, here, maybe you could also try to open a bug report on Launchpad?
https://bugs.launchpad.net/ubuntu/+source/ntp

You could always label its importance Low or even Wishlist.