[CT420]: Finish Assignment 1
97
year4/semester2/CT420/assignments/assignment1/code/alt.tsv
Normal file
@ -0,0 +1,97 @@
|
||||
timestamp remote refid st t when poll reach delay offset jitter
|
||||
1740232526 +213.5.132.231 145.185.133.33 4 u 59 64 377 34.469 -14.073 48.932
|
||||
1740232526 +150.241.82.187 193.182.111.13 3 u 57 64 367 66.581 +46.757 31.494
|
||||
1740232526 +159.196.178.7 .PPS. 1 u 61 64 377 295.743 -31.768 26.968
|
||||
1740232526 +202.65.114.202 202.65.114.203 2 u 58 64 377 216.438 +6.475 35.272
|
||||
1740232526 *2a01:258:fffe:f 193.120.142.71 2 u 57 64 377 38.375 +8.914 32.574
|
||||
1740232526 -2603:c020:0:836 128.138.140.44 2 u 63 64 377 185.345 -23.551 40.647
|
||||
1740233738 +213.5.132.231 145.185.133.33 4 u 30 64 377 32.845 -5.825 6.128
|
||||
1740233738 +150.241.82.187 193.182.111.13 3 u 32 64 377 62.523 -5.295 4.704
|
||||
1740233738 -159.196.178.7 .PPS. 1 u 34 64 377 304.526 -20.162 31.028
|
||||
1740233738 +202.65.114.202 202.65.114.203 2 u 22 64 377 215.020 -8.388 33.008
|
||||
1740233738 *2a01:258:fffe:f 193.120.142.71 2 u 27 64 377 26.234 -2.956 24.725
|
||||
1740233738 -2603:c020:0:836 128.138.140.44 2 u 27 64 377 180.673 -19.230 3.443
|
||||
1740234946 +213.5.132.231 145.185.133.33 4 u 66 128 377 32.983 +3.612 4.993
|
||||
1740234946 +150.241.82.187 193.182.111.13 3 u 63 128 377 62.665 +1.800 5.497
|
||||
1740234946 -159.196.178.7 .PPS. 1 u 52 128 377 321.411 -1.570 35.295
|
||||
1740234946 -202.65.114.202 202.65.114.203 2 u 119 128 377 215.484 -4.635 31.465
|
||||
1740234946 *2a01:258:fffe:f 193.120.142.71 2 u 65 128 377 23.667 +8.115 4.483
|
||||
1740234946 -2603:c020:0:836 128.138.140.44 2 u 130 128 377 195.104 -7.888 1.796
|
||||
1740236156 +213.5.132.231 145.185.133.33 4 u 84 128 377 30.801 +0.948 3.151
|
||||
1740236156 +150.241.82.187 193.182.111.13 3 u 88 128 377 57.901 -1.680 4.657
|
||||
1740236156 -159.196.178.7 .PPS. 1 u 84 128 377 301.274 -16.730 16.612
|
||||
1740236156 -202.65.114.202 202.65.114.203 2 u 6 128 377 215.650 -3.137 1.659
|
||||
1740236156 *2a01:258:fffe:f 193.120.142.71 2 u 81 128 377 24.165 +3.802 5.170
|
||||
1740236156 -2603:c020:0:836 128.138.140.44 2 u 18 128 377 185.933 -15.906 1.227
|
||||
1740237365 +213.5.132.231 145.185.133.33 4 u 108 128 377 33.070 +0.575 2.795
|
||||
1740237365 +150.241.82.187 193.182.111.13 3 u 121 128 377 65.274 +0.081 1.549
|
||||
1740237365 -159.196.178.7 .PPS. 1 u 106 128 377 307.935 -13.482 23.426
|
||||
1740237365 -202.65.114.202 202.65.114.203 2 u 30 128 377 219.183 -5.931 1.771
|
||||
1740237365 *2a01:258:fffe:f 193.120.142.71 2 u 106 128 377 25.832 +4.774 2.960
|
||||
1740237365 -2603:c020:0:836 128.138.140.44 2 u 51 128 377 184.826 -17.325 1.732
|
||||
1740238572 +213.5.132.231 145.185.133.33 4 u 128 256 377 33.070 +0.575 0.587
|
||||
1740238572 +150.241.82.187 193.182.111.13 3 u 18 256 377 61.788 -0.117 0.735
|
||||
1740238572 -159.196.178.7 .PPS. 1 u 12 256 377 300.445 -18.472 29.400
|
||||
1740238572 -202.65.114.202 202.65.114.203 2 u 40 256 377 215.240 -4.332 2.123
|
||||
1740238572 *2a01:258:fffe:f 193.120.142.71 2 u 265 256 377 24.406 +3.272 3.045
|
||||
1740238572 -2603:c020:0:836 128.138.140.44 2 u 73 256 377 183.681 -17.182 2.957
|
||||
1740239785 +213.5.132.231 145.185.133.33 4 u 33 256 377 29.524 +0.047 1.106
|
||||
1740239785 +150.241.82.187 193.182.111.13 3 u 169 256 377 61.788 -0.117 1.413
|
||||
1740239785 -159.196.178.7 .PPS. 1 u 159 256 377 300.445 -18.472 21.244
|
||||
1740239785 -202.65.114.202 202.65.114.203 2 u 207 256 363 212.034 -4.548 1.912
|
||||
1740239785 *2a01:258:fffe:f 193.120.142.71 2 u 153 256 377 24.940 +6.712 1.055
|
||||
1740239785 -2603:c020:0:836 128.138.140.44 2 u 219 256 377 180.389 -13.754 1.606
|
||||
1740240997 +213.5.132.231 145.185.133.33 4 u 191 256 377 28.801 +0.410 1.688
|
||||
1740240997 +150.241.82.187 193.182.111.13 3 u 51 256 365 62.650 -0.122 2.628
|
||||
1740240997 -159.196.178.7 .PPS. 1 u 69 256 377 301.755 -15.123 14.616
|
||||
1740240997 -202.65.114.202 202.65.114.203 2 u 95 256 177 212.034 -4.548 2.292
|
||||
1740240997 *2a01:258:fffe:f 193.120.142.71 2 u 47 256 377 24.940 +6.712 0.882
|
||||
1740240997 -2603:c020:0:836 128.138.140.44 2 u 102 256 377 180.389 -13.754 1.360
|
||||
1740242198 +213.5.132.231 145.185.133.33 4 u 72 256 377 32.312 +2.771 1.223
|
||||
1740242198 +150.241.82.187 193.182.111.13 3 u 202 256 133 64.204 +2.646 1.696
|
||||
1740242198 -159.196.178.7 .PPS. 1 u 237 256 377 302.473 -14.154 10.833
|
||||
1740242198 -202.65.114.202 202.65.114.203 2 u 5 256 377 217.281 -5.171 2.711
|
||||
1740242198 *2a01:258:fffe:f 193.120.142.71 2 u 182 256 377 22.422 +5.857 2.431
|
||||
1740242198 -2603:c020:0:836 128.138.140.44 2 u 262 256 377 182.811 -12.583 1.450
|
||||
1740243400 +213.5.132.231 145.185.133.33 4 u 211 256 377 32.312 +2.771 1.338
|
||||
1740243400 +150.241.82.187 193.182.111.13 3 u 87 256 177 61.794 -0.073 2.232
|
||||
1740243400 -159.196.178.7 .PPS. 1 u 124 256 377 302.473 -14.154 10.404
|
||||
1740243400 -202.65.114.202 202.65.114.203 2 u 146 256 377 217.419 -5.514 3.041
|
||||
1740243400 *2a01:258:fffe:f 193.120.142.71 2 u 58 256 377 22.422 +5.857 2.632
|
||||
1740243400 -2603:c020:0:836 128.138.140.44 2 u 141 256 377 183.171 -14.969 2.419
|
||||
1740244608 +213.5.132.231 145.185.133.33 4 u 96 512 377 30.089 -2.940 5.540
|
||||
1740244608 +150.241.82.187 193.182.111.13 3 u 764 256 374 61.794 -0.073 1.912
|
||||
1740244608 -159.196.178.7 .PPS. 1 u 23 512 377 299.728 -16.883 2.142
|
||||
1740244608 -202.65.114.202 202.65.114.203 2 u 28 512 377 218.139 -6.002 2.376
|
||||
1740244608 *2a01:258:fffe:f 193.120.142.71 2 u 488 512 377 26.175 +3.771 2.980
|
||||
1740244608 -2603:c020:0:836 128.138.140.44 2 u 13 512 377 187.154 -15.460 3.044
|
||||
1740245810 +213.5.132.231 145.185.133.33 4 u 275 512 377 30.089 -2.940 4.572
|
||||
1740245810 +150.241.82.187 193.182.111.13 3 u 140 512 347 62.524 -5.225 4.891
|
||||
1740245810 -159.196.178.7 .PPS. 1 u 174 512 377 299.728 -16.883 2.706
|
||||
1740245810 -202.65.114.202 202.65.114.203 2 u 176 512 377 210.120 -5.795 1.538
|
||||
1740245810 *2a01:258:fffe:f 193.120.142.71 2 u 113 512 377 27.884 -1.490 5.386
|
||||
1740245810 -2603:c020:0:836 128.138.140.44 2 u 154 512 377 186.014 -21.271 5.699
|
||||
1740247011 +213.5.132.231 145.185.133.33 4 u 433 512 377 33.585 -5.726 5.858
|
||||
1740247011 +150.241.82.187 193.182.111.13 3 u 300 512 237 62.524 -5.225 3.297
|
||||
1740247011 -159.196.178.7 .PPS. 1 u 342 512 377 304.476 -23.612 4.889
|
||||
1740247011 -202.65.114.202 202.65.114.203 2 u 324 512 377 210.120 -5.795 1.865
|
||||
1740247011 *2a01:258:fffe:f 193.120.142.71 2 u 270 512 377 27.884 -1.490 3.950
|
||||
1740247011 -2603:c020:0:836 128.138.140.44 2 u 329 512 377 186.014 -21.271 3.689
|
||||
1740248219 +213.5.132.231 145.185.133.33 4 u 45 512 377 33.585 -5.726 7.733
|
||||
1740248219 +150.241.82.187 193.182.111.13 3 u 421 512 177 62.565 -7.301 8.783
|
||||
1740248219 -159.196.178.7 .PPS. 1 u 488 512 377 304.476 -23.612 3.826
|
||||
1740248219 -202.65.114.202 202.65.114.203 2 u 471 512 377 209.834 -8.503 2.285
|
||||
1740248219 *2a01:258:fffe:f 193.120.142.71 2 u 416 512 377 28.826 -2.366 3.055
|
||||
1740248219 -2603:c020:0:836 128.138.140.44 2 u 501 512 377 187.564 -24.577 3.778
|
||||
1740249427 +213.5.132.231 145.185.133.33 4 u 174 512 377 35.546 -6.469 8.140
|
||||
1740249427 +150.241.82.187 193.182.111.13 3 u 90 512 375 67.540 -5.908 8.359
|
||||
1740249427 -159.196.178.7 .PPS. 1 u 104 512 377 305.213 -24.129 3.682
|
||||
1740249427 -202.65.114.202 202.65.114.203 2 u 96 512 377 210.108 -8.692 2.907
|
||||
1740249427 *2a01:258:fffe:f 193.120.142.71 2 u 19 512 377 29.041 -2.731 1.190
|
||||
1740249427 -2603:c020:0:836 128.138.140.44 2 u 132 512 377 186.885 -24.498 1.680
|
||||
1740250631 +213.5.132.231 145.185.133.33 4 u 314 512 377 34.605 -5.401 7.383
|
||||
1740250631 +150.241.82.187 193.182.111.13 3 u 258 512 367 66.971 -5.443 8.180
|
||||
1740250631 -159.196.178.7 .PPS. 1 u 253 512 377 305.213 -24.129 4.534
|
||||
1740250631 -202.65.114.202 202.65.114.203 2 u 253 512 377 215.096 -10.676 4.488
|
||||
1740250631 *2a01:258:fffe:f 193.120.142.71 2 u 163 512 377 29.041 -2.731 1.440
|
||||
1740250631 -2603:c020:0:836 128.138.140.44 2 u 278 512 377 186.457 -24.247 0.434
|
|
145
year4/semester2/CT420/assignments/assignment1/code/backup.tsv
Normal file
@ -0,0 +1,145 @@
|
||||
timestamp remote refid st t when poll reach delay offset jitter
|
||||
1740232526 +213.5.132.231 ( 145.185.133.33 4 u 59 64 377 34.469 -14.073 48.932
|
||||
1740232526 +150.241.82.187 193.182.111.13 3 u 57 64 367 66.581 +46.757 31.494
|
||||
1740232526 +159.196.178.7 .PPS. 1 u 61 64 377 295.743 -31.768 26.968
|
||||
1740232526 +202.65.114.202 202.65.114.203 2 u 58 64 377 216.438 +6.475 35.272
|
||||
1740232526 *2a01:258:fffe:f 193.120.142.71 2 u 57 64 377 38.375 +8.914 32.574
|
||||
1740232526 -2603:c020:0:836 128.138.140.44 2 u 63 64 377 185.345 -23.551 40.647
|
||||
1740233738 +213.5.132.231 ( 145.185.133.33 4 u 30 64 377 32.845 -5.825 6.128
|
||||
1740233738 +150.241.82.187 193.182.111.13 3 u 32 64 377 62.523 -5.295 4.704
|
||||
1740233738 -159.196.178.7 .PPS. 1 u 34 64 377 304.526 -20.162 31.028
|
||||
1740233738 +202.65.114.202 202.65.114.203 2 u 22 64 377 215.020 -8.388 33.008
|
||||
1740233738 *2a01:258:fffe:f 193.120.142.71 2 u 27 64 377 26.234 -2.956 24.725
|
||||
1740233738 -2603:c020:0:836 128.138.140.44 2 u 27 64 377 180.673 -19.230 3.443
|
||||
1740234946 +213.5.132.231 ( 145.185.133.33 4 u 66 128 377 32.983 +3.612 4.993
|
||||
1740234946 +150.241.82.187 193.182.111.13 3 u 63 128 377 62.665 +1.800 5.497
|
||||
1740234946 -159.196.178.7 .PPS. 1 u 52 128 377 321.411 -1.570 35.295
|
||||
1740234946 -202.65.114.202 202.65.114.203 2 u 119 128 377 215.484 -4.635 31.465
|
||||
1740234946 *2a01:258:fffe:f 193.120.142.71 2 u 65 128 377 23.667 +8.115 4.483
|
||||
1740234946 -2603:c020:0:836 128.138.140.44 2 u 130 128 377 195.104 -7.888 1.796
|
||||
1740236156 +213.5.132.231 ( 145.185.133.33 4 u 84 128 377 30.801 +0.948 3.151
|
||||
1740236156 +150.241.82.187 193.182.111.13 3 u 88 128 377 57.901 -1.680 4.657
|
||||
1740236156 -159.196.178.7 .PPS. 1 u 84 128 377 301.274 -16.730 16.612
|
||||
1740236156 -202.65.114.202 202.65.114.203 2 u 6 128 377 215.650 -3.137 1.659
|
||||
1740236156 *2a01:258:fffe:f 193.120.142.71 2 u 81 128 377 24.165 +3.802 5.170
|
||||
1740236156 -2603:c020:0:836 128.138.140.44 2 u 18 128 377 185.933 -15.906 1.227
|
||||
1740237365 +213.5.132.231 ( 145.185.133.33 4 u 108 128 377 33.070 +0.575 2.795
|
||||
1740237365 +150.241.82.187 193.182.111.13 3 u 121 128 377 65.274 +0.081 1.549
|
||||
1740237365 -159.196.178.7 .PPS. 1 u 106 128 377 307.935 -13.482 23.426
|
||||
1740237365 -202.65.114.202 202.65.114.203 2 u 30 128 377 219.183 -5.931 1.771
|
||||
1740237365 *2a01:258:fffe:f 193.120.142.71 2 u 106 128 377 25.832 +4.774 2.960
|
||||
1740237365 -2603:c020:0:836 128.138.140.44 2 u 51 128 377 184.826 -17.325 1.732
|
||||
1740238572 +213.5.132.231 ( 145.185.133.33 4 u 128 256 377 33.070 +0.575 0.587
|
||||
1740238572 +150.241.82.187 193.182.111.13 3 u 18 256 377 61.788 -0.117 0.735
|
||||
1740238572 -159.196.178.7 .PPS. 1 u 12 256 377 300.445 -18.472 29.400
|
||||
1740238572 -202.65.114.202 202.65.114.203 2 u 40 256 377 215.240 -4.332 2.123
|
||||
1740238572 *2a01:258:fffe:f 193.120.142.71 2 u 265 256 377 24.406 +3.272 3.045
|
||||
1740238572 -2603:c020:0:836 128.138.140.44 2 u 73 256 377 183.681 -17.182 2.957
|
||||
1740239785 +213.5.132.231 ( 145.185.133.33 4 u 33 256 377 29.524 +0.047 1.106
|
||||
1740239785 +150.241.82.187 193.182.111.13 3 u 169 256 377 61.788 -0.117 1.413
|
||||
1740239785 -159.196.178.7 .PPS. 1 u 159 256 377 300.445 -18.472 21.244
|
||||
1740239785 -202.65.114.202 202.65.114.203 2 u 207 256 363 212.034 -4.548 1.912
|
||||
1740239785 *2a01:258:fffe:f 193.120.142.71 2 u 153 256 377 24.940 +6.712 1.055
|
||||
1740239785 -2603:c020:0:836 128.138.140.44 2 u 219 256 377 180.389 -13.754 1.606
|
||||
1740240997 +213.5.132.231 ( 145.185.133.33 4 u 191 256 377 28.801 +0.410 1.688
|
||||
1740240997 +150.241.82.187 193.182.111.13 3 u 51 256 365 62.650 -0.122 2.628
|
||||
1740240997 -159.196.178.7 .PPS. 1 u 69 256 377 301.755 -15.123 14.616
|
||||
1740240997 -202.65.114.202 202.65.114.203 2 u 95 256 177 212.034 -4.548 2.292
|
||||
1740240997 *2a01:258:fffe:f 193.120.142.71 2 u 47 256 377 24.940 +6.712 0.882
|
||||
1740240997 -2603:c020:0:836 128.138.140.44 2 u 102 256 377 180.389 -13.754 1.360
|
||||
1740242198 +213.5.132.231 ( 145.185.133.33 4 u 72 256 377 32.312 +2.771 1.223
|
||||
1740242198 +150.241.82.187 193.182.111.13 3 u 202 256 133 64.204 +2.646 1.696
|
||||
1740242198 -159.196.178.7 .PPS. 1 u 237 256 377 302.473 -14.154 10.833
|
||||
1740242198 -202.65.114.202 202.65.114.203 2 u 5 256 377 217.281 -5.171 2.711
|
||||
1740242198 *2a01:258:fffe:f 193.120.142.71 2 u 182 256 377 22.422 +5.857 2.431
|
||||
1740242198 -2603:c020:0:836 128.138.140.44 2 u 262 256 377 182.811 -12.583 1.450
|
||||
1740243400 +213.5.132.231 ( 145.185.133.33 4 u 211 256 377 32.312 +2.771 1.338
|
||||
1740243400 +150.241.82.187 193.182.111.13 3 u 87 256 177 61.794 -0.073 2.232
|
||||
1740243400 -159.196.178.7 .PPS. 1 u 124 256 377 302.473 -14.154 10.404
|
||||
1740243400 -202.65.114.202 202.65.114.203 2 u 146 256 377 217.419 -5.514 3.041
|
||||
1740243400 *2a01:258:fffe:f 193.120.142.71 2 u 58 256 377 22.422 +5.857 2.632
|
||||
1740243400 -2603:c020:0:836 128.138.140.44 2 u 141 256 377 183.171 -14.969 2.419
|
||||
1740244608 +213.5.132.231 ( 145.185.133.33 4 u 96 512 377 30.089 -2.940 5.540
|
||||
1740244608 +150.241.82.187 193.182.111.13 3 u 764 256 374 61.794 -0.073 1.912
|
||||
1740244608 -159.196.178.7 .PPS. 1 u 23 512 377 299.728 -16.883 2.142
|
||||
1740244608 -202.65.114.202 202.65.114.203 2 u 28 512 377 218.139 -6.002 2.376
|
||||
1740244608 *2a01:258:fffe:f 193.120.142.71 2 u 488 512 377 26.175 +3.771 2.980
|
||||
1740244608 -2603:c020:0:836 128.138.140.44 2 u 13 512 377 187.154 -15.460 3.044
|
||||
1740245810 +213.5.132.231 ( 145.185.133.33 4 u 275 512 377 30.089 -2.940 4.572
|
||||
1740245810 +150.241.82.187 193.182.111.13 3 u 140 512 347 62.524 -5.225 4.891
|
||||
1740245810 -159.196.178.7 .PPS. 1 u 174 512 377 299.728 -16.883 2.706
|
||||
1740245810 -202.65.114.202 202.65.114.203 2 u 176 512 377 210.120 -5.795 1.538
|
||||
1740245810 *2a01:258:fffe:f 193.120.142.71 2 u 113 512 377 27.884 -1.490 5.386
|
||||
1740245810 -2603:c020:0:836 128.138.140.44 2 u 154 512 377 186.014 -21.271 5.699
|
||||
1740247011 +213.5.132.231 ( 145.185.133.33 4 u 433 512 377 33.585 -5.726 5.858
|
||||
1740247011 +150.241.82.187 193.182.111.13 3 u 300 512 237 62.524 -5.225 3.297
|
||||
1740247011 -159.196.178.7 .PPS. 1 u 342 512 377 304.476 -23.612 4.889
|
||||
1740247011 -202.65.114.202 202.65.114.203 2 u 324 512 377 210.120 -5.795 1.865
|
||||
1740247011 *2a01:258:fffe:f 193.120.142.71 2 u 270 512 377 27.884 -1.490 3.950
|
||||
1740247011 -2603:c020:0:836 128.138.140.44 2 u 329 512 377 186.014 -21.271 3.689
|
||||
1740248219 +213.5.132.231 ( 145.185.133.33 4 u 45 512 377 33.585 -5.726 7.733
|
||||
1740248219 +150.241.82.187 193.182.111.13 3 u 421 512 177 62.565 -7.301 8.783
|
||||
1740248219 -159.196.178.7 .PPS. 1 u 488 512 377 304.476 -23.612 3.826
|
||||
1740248219 -202.65.114.202 202.65.114.203 2 u 471 512 377 209.834 -8.503 2.285
|
||||
1740248219 *2a01:258:fffe:f 193.120.142.71 2 u 416 512 377 28.826 -2.366 3.055
|
||||
1740248219 -2603:c020:0:836 128.138.140.44 2 u 501 512 377 187.564 -24.577 3.778
|
||||
1740249427 +213.5.132.231 ( 145.185.133.33 4 u 174 512 377 35.546 -6.469 8.140
|
||||
1740249427 +150.241.82.187 193.182.111.13 3 u 90 512 375 67.540 -5.908 8.359
|
||||
1740249427 -159.196.178.7 .PPS. 1 u 104 512 377 305.213 -24.129 3.682
|
||||
1740249427 -202.65.114.202 202.65.114.203 2 u 96 512 377 210.108 -8.692 2.907
|
||||
1740249427 *2a01:258:fffe:f 193.120.142.71 2 u 19 512 377 29.041 -2.731 1.190
|
||||
1740249427 -2603:c020:0:836 128.138.140.44 2 u 132 512 377 186.885 -24.498 1.680
|
||||
1740250631 +213.5.132.231 ( 145.185.133.33 4 u 314 512 377 34.605 -5.401 7.383
|
||||
1740250631 +150.241.82.187 193.182.111.13 3 u 258 512 367 66.971 -5.443 8.180
|
||||
1740250631 -159.196.178.7 .PPS. 1 u 253 512 377 305.213 -24.129 4.534
|
||||
1740250631 -202.65.114.202 202.65.114.203 2 u 253 512 377 215.096 -10.676 4.488
|
||||
1740250631 *2a01:258:fffe:f 193.120.142.71 2 u 163 512 377 29.041 -2.731 1.440
|
||||
1740250631 -2603:c020:0:836 128.138.140.44 2 u 278 512 377 186.457 -24.247 0.434
|
||||
1740251837 +213.5.132.231 ( 145.185.133.33 4 u 468 512 377 34.605 -5.401 7.959
|
||||
1740251837 +150.241.82.187 193.182.111.13 3 u 419 512 337 66.971 -5.443 8.311
|
||||
1740251837 -159.196.178.7 .PPS. 1 u 418 512 377 308.921 -22.274 22.784
|
||||
1740251837 +202.65.114.202 202.65.114.203 2 u 399 512 377 215.096 -10.676 19.248
|
||||
1740251837 *2a01:258:fffe:f 193.120.142.71 2 u 312 512 377 32.318 -2.579 25.152
|
||||
1740251837 -2603:c020:0:836 128.138.140.44 2 u 435 512 377 186.457 -24.247 2.585
|
||||
1740253043 +213.5.132.231 ( 145.185.133.33 4 u 81 1024 377 43.467 -0.454 3.719
|
||||
1740253043 +150.241.82.187 193.182.111.13 3 u 76 1024 177 75.512 -0.865 4.220
|
||||
1740253043 -159.196.178.7 .PPS. 1 u 24 1024 377 315.692 -15.619 28.865
|
||||
1740253043 +202.65.114.202 202.65.114.203 2 u 1070 1024 377 215.096 -10.676 19.674
|
||||
1740253043 *2a01:258:fffe:f 193.120.142.71 2 u 1001 1024 377 32.318 -2.579 25.314
|
||||
1740253043 -2603:c020:0:836 128.138.140.44 2 u 24 1024 377 186.285 -22.312 2.968
|
||||
1740254244 +213.5.132.231 ( 145.185.133.33 4 u 211 1024 377 40.720 -5.772 5.008
|
||||
1740254244 +150.241.82.187 193.182.111.13 3 u 255 1024 377 78.718 -1.508 3.365
|
||||
1740254244 -159.196.178.7 .PPS. 1 u 203 1024 377 335.595 -9.868 33.215
|
||||
1740254244 -202.65.114.202 202.65.114.203 2 u 147 1024 377 210.647 -6.739 26.532
|
||||
1740254244 *2a01:258:fffe:f 193.120.142.71 2 u 136 1024 377 38.867 +4.270 27.873
|
||||
1740254244 -2603:c020:0:836 128.138.140.44 2 u 139 1024 377 186.285 -22.312 3.177
|
||||
1740255448 +213.5.132.231 ( 145.185.133.33 4 u 347 1024 377 31.636 -5.209 4.606
|
||||
1740255448 +150.241.82.187 193.182.111.13 3 u 384 1024 377 74.375 -3.129 3.286
|
||||
1740255448 -159.196.178.7 .PPS. 1 u 320 1024 377 325.424 -15.206 29.034
|
||||
1740255448 +202.65.114.202 202.65.114.203 2 u 276 1024 377 207.773 -5.473 27.196
|
||||
1740255448 *2a01:258:fffe:f 193.120.142.71 2 u 275 1024 377 27.829 -0.743 26.001
|
||||
1740255448 -2603:c020:0:836 128.138.140.44 2 u 281 1024 377 187.313 -23.173 3.562
|
||||
1740256655 +213.5.132.231 ( 145.185.133.33 4 u 507 1024 377 31.636 -5.209 5.764
|
||||
1740256655 +150.241.82.187 193.182.111.13 3 u 512 1024 377 74.375 -3.129 3.834
|
||||
1740256655 -159.196.178.7 .PPS. 1 u 453 1024 377 325.424 -15.206 35.337
|
||||
1740256655 +202.65.114.202 202.65.114.203 2 u 415 1024 377 207.773 -5.473 30.374
|
||||
1740256655 *2a01:258:fffe:f 193.120.142.71 2 u 430 1024 377 27.829 -0.743 26.226
|
||||
1740256655 -2603:c020:0:836 128.138.140.44 2 u 405 1024 377 187.313 -23.173 12.723
|
||||
1740257862 +213.5.132.231 ( 145.185.133.33 4 u 674 1024 377 44.258 +4.037 5.739
|
||||
1740257862 +150.241.82.187 193.182.111.13 3 u 639 1024 377 74.808 +3.800 5.031
|
||||
1740257862 -159.196.178.7 .PPS. 1 u 585 1024 377 325.424 -15.206 38.036
|
||||
1740257862 -202.65.114.202 202.65.114.203 2 u 551 1024 377 207.773 -5.473 32.092
|
||||
1740257862 *2a01:258:fffe:f 193.120.142.71 2 u 578 1024 377 41.311 +8.047 29.335
|
||||
1740257862 -2603:c020:0:836 128.138.140.44 2 u 562 1024 377 201.211 -12.652 17.856
|
||||
1740259063 +213.5.132.231 ( 145.185.133.33 4 u 819 1024 377 45.981 +5.197 6.519
|
||||
1740259063 +150.241.82.187 193.182.111.13 3 u 799 1024 377 74.808 +3.800 4.012
|
||||
1740259063 -159.196.178.7 .PPS. 1 u 766 1024 377 308.857 -22.633 29.387
|
||||
1740259063 -202.65.114.202 202.65.114.203 2 u 734 1024 377 207.773 -5.473 36.340
|
||||
1740259063 *2a01:258:fffe:f 193.120.142.71 2 u 725 1024 377 30.702 +1.383 26.840
|
||||
1740259063 -2603:c020:0:836 128.138.140.44 2 u 685 1024 377 200.054 -14.216 16.454
|
||||
1740260264 +213.5.132.231 ( 145.185.133.33 4 u 966 1024 377 46.231 +3.284 4.906
|
||||
1740260264 +150.241.82.187 193.182.111.13 3 u 965 1024 377 79.569 +2.905 3.025
|
||||
1740260264 -159.196.178.7 .PPS. 1 u 935 1024 377 308.857 -22.633 23.850
|
||||
1740260264 -202.65.114.202 202.65.114.203 2 u 880 1024 377 222.677 -1.101 33.017
|
||||
1740260264 *2a01:258:fffe:f 193.120.142.71 2 u 846 1024 377 30.702 +1.383 4.470
|
||||
1740260264 -2603:c020:0:836 128.138.140.44 2 u 821 1024 377 186.564 -21.739 13.685
|
Can't render this file because it has a wrong number of fields in line 2.
|
81
year4/semester2/CT420/assignments/assignment1/code/plot.py
Executable file
@ -0,0 +1,81 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
from datetime import datetime
|
||||
|
||||
# dictionary that maps IPs to server names for readability
|
||||
servers = {
|
||||
"2a01:258:fffe:f": "Ireland",
|
||||
"213.5.132.231": "UK",
|
||||
"150.241.82.187": "Europe",
|
||||
"2603:c020:0:836": "US",
|
||||
"159.196.178.7": "Australia",
|
||||
"202.65.114.202": "Asia",
|
||||
}
|
||||
|
||||
df = pd.read_csv("results.tsv", sep="\t")
|
||||
|
||||
df['time'] = df['timestamp'].apply(lambda x: datetime.utcfromtimestamp(x).strftime('%H:%M'))
|
||||
|
||||
plt.figure(figsize=(10, 6))
|
||||
|
||||
for remote in df['remote'].unique():
|
||||
remote_data = df[df['remote'] == remote]
|
||||
plt.plot(remote_data['time'], remote_data['jitter'], label=servers[remote], marker="o")
|
||||
|
||||
plt.title('Jitter over Time by Remote')
|
||||
plt.xlabel('Time (UTC)')
|
||||
plt.ylabel('Jitter')
|
||||
plt.legend(title='Remote', loc='best')
|
||||
plt.xticks(rotation=45)
|
||||
plt.tight_layout()
|
||||
|
||||
plt.show()
|
||||
|
||||
plt.figure(figsize=(10, 6))
|
||||
|
||||
for remote in df['remote'].unique():
|
||||
remote_data = df[df['remote'] == remote]
|
||||
plt.plot(remote_data['time'], remote_data['delay'], label=servers[remote], marker="o")
|
||||
|
||||
plt.title('Delay over Time by Remote')
|
||||
plt.xlabel('Time (UTC)')
|
||||
plt.ylabel('Delay')
|
||||
plt.legend(title='Remote', loc='best')
|
||||
plt.xticks(rotation=45)
|
||||
plt.tight_layout()
|
||||
|
||||
plt.show()
|
||||
|
||||
|
||||
plt.figure(figsize=(10, 6))
|
||||
|
||||
for remote in df['remote'].unique():
|
||||
remote_data = df[df['remote'] == remote]
|
||||
plt.plot(remote_data['time'], remote_data['offset'], label=servers[remote], marker="o")
|
||||
|
||||
plt.title('Offset over Time by Remote')
|
||||
plt.xlabel('Time (UTC)')
|
||||
plt.ylabel('Offset')
|
||||
plt.legend(title='Remote', loc='best')
|
||||
plt.xticks(rotation=45)
|
||||
plt.tight_layout()
|
||||
|
||||
plt.show()
|
||||
|
||||
|
||||
|
||||
df['server'] = df['remote'].map(servers)
|
||||
jitter_statistics = df.groupby('server')['jitter'].agg(['max', 'min', 'mean', 'std']).reset_index()
|
||||
|
||||
print("Jitter stats:")
|
||||
print(jitter_statistics)
|
||||
|
||||
delay_statistics = df.groupby('server')['delay'].agg(['max', 'min', 'mean', 'std']).reset_index()
|
||||
print("Delay stats:")
|
||||
print(delay_statistics)
|
||||
|
||||
offset_statistics = df.groupby('server')['offset'].agg(['max', 'min', 'mean', 'std']).reset_index()
|
||||
print("Offset stats:")
|
||||
print(offset_statistics)
|
@ -12,7 +12,7 @@ for i in $(seq 1 24); do
|
||||
gsub(/ +/, "\t");
|
||||
print(timestamp "\t" $0);
|
||||
}
|
||||
' | tee "$file"
|
||||
' | tee --append "$file"
|
||||
|
||||
# do nothing for 20 minutes
|
||||
sleep 20m
|
||||
|
145
year4/semester2/CT420/assignments/assignment1/code/results.tsv
Normal file
@ -0,0 +1,145 @@
|
||||
timestamp remote refid st t when poll reach delay offset jitter
|
||||
1740232526 213.5.132.231 145.185.133.33 4 u 59 64 377 34.469 -14.073 48.932
|
||||
1740232526 150.241.82.187 193.182.111.13 3 u 57 64 367 66.581 +46.757 31.494
|
||||
1740232526 159.196.178.7 .PPS. 1 u 61 64 377 295.743 -31.768 26.968
|
||||
1740232526 202.65.114.202 202.65.114.203 2 u 58 64 377 216.438 +6.475 35.272
|
||||
1740232526 2a01:258:fffe:f 193.120.142.71 2 u 57 64 377 38.375 +8.914 32.574
|
||||
1740232526 2603:c020:0:836 128.138.140.44 2 u 63 64 377 185.345 -23.551 40.647
|
||||
1740233738 213.5.132.231 145.185.133.33 4 u 30 64 377 32.845 -5.825 6.128
|
||||
1740233738 150.241.82.187 193.182.111.13 3 u 32 64 377 62.523 -5.295 4.704
|
||||
1740233738 159.196.178.7 .PPS. 1 u 34 64 377 304.526 -20.162 31.028
|
||||
1740233738 202.65.114.202 202.65.114.203 2 u 22 64 377 215.020 -8.388 33.008
|
||||
1740233738 2a01:258:fffe:f 193.120.142.71 2 u 27 64 377 26.234 -2.956 24.725
|
||||
1740233738 2603:c020:0:836 128.138.140.44 2 u 27 64 377 180.673 -19.230 3.443
|
||||
1740234946 213.5.132.231 145.185.133.33 4 u 66 128 377 32.983 +3.612 4.993
|
||||
1740234946 150.241.82.187 193.182.111.13 3 u 63 128 377 62.665 +1.800 5.497
|
||||
1740234946 159.196.178.7 .PPS. 1 u 52 128 377 321.411 -1.570 35.295
|
||||
1740234946 202.65.114.202 202.65.114.203 2 u 119 128 377 215.484 -4.635 31.465
|
||||
1740234946 2a01:258:fffe:f 193.120.142.71 2 u 65 128 377 23.667 +8.115 4.483
|
||||
1740234946 2603:c020:0:836 128.138.140.44 2 u 130 128 377 195.104 -7.888 1.796
|
||||
1740236156 213.5.132.231 145.185.133.33 4 u 84 128 377 30.801 +0.948 3.151
|
||||
1740236156 150.241.82.187 193.182.111.13 3 u 88 128 377 57.901 -1.680 4.657
|
||||
1740236156 159.196.178.7 .PPS. 1 u 84 128 377 301.274 -16.730 16.612
|
||||
1740236156 202.65.114.202 202.65.114.203 2 u 6 128 377 215.650 -3.137 1.659
|
||||
1740236156 2a01:258:fffe:f 193.120.142.71 2 u 81 128 377 24.165 +3.802 5.170
|
||||
1740236156 2603:c020:0:836 128.138.140.44 2 u 18 128 377 185.933 -15.906 1.227
|
||||
1740237365 213.5.132.231 145.185.133.33 4 u 108 128 377 33.070 +0.575 2.795
|
||||
1740237365 150.241.82.187 193.182.111.13 3 u 121 128 377 65.274 +0.081 1.549
|
||||
1740237365 159.196.178.7 .PPS. 1 u 106 128 377 307.935 -13.482 23.426
|
||||
1740237365 202.65.114.202 202.65.114.203 2 u 30 128 377 219.183 -5.931 1.771
|
||||
1740237365 2a01:258:fffe:f 193.120.142.71 2 u 106 128 377 25.832 +4.774 2.960
|
||||
1740237365 2603:c020:0:836 128.138.140.44 2 u 51 128 377 184.826 -17.325 1.732
|
||||
1740238572 213.5.132.231 145.185.133.33 4 u 128 256 377 33.070 +0.575 0.587
|
||||
1740238572 150.241.82.187 193.182.111.13 3 u 18 256 377 61.788 -0.117 0.735
|
||||
1740238572 159.196.178.7 .PPS. 1 u 12 256 377 300.445 -18.472 29.400
|
||||
1740238572 202.65.114.202 202.65.114.203 2 u 40 256 377 215.240 -4.332 2.123
|
||||
1740238572 2a01:258:fffe:f 193.120.142.71 2 u 265 256 377 24.406 +3.272 3.045
|
||||
1740238572 2603:c020:0:836 128.138.140.44 2 u 73 256 377 183.681 -17.182 2.957
|
||||
1740239785 213.5.132.231 145.185.133.33 4 u 33 256 377 29.524 +0.047 1.106
|
||||
1740239785 150.241.82.187 193.182.111.13 3 u 169 256 377 61.788 -0.117 1.413
|
||||
1740239785 159.196.178.7 .PPS. 1 u 159 256 377 300.445 -18.472 21.244
|
||||
1740239785 202.65.114.202 202.65.114.203 2 u 207 256 363 212.034 -4.548 1.912
|
||||
1740239785 2a01:258:fffe:f 193.120.142.71 2 u 153 256 377 24.940 +6.712 1.055
|
||||
1740239785 2603:c020:0:836 128.138.140.44 2 u 219 256 377 180.389 -13.754 1.606
|
||||
1740240997 213.5.132.231 145.185.133.33 4 u 191 256 377 28.801 +0.410 1.688
|
||||
1740240997 150.241.82.187 193.182.111.13 3 u 51 256 365 62.650 -0.122 2.628
|
||||
1740240997 159.196.178.7 .PPS. 1 u 69 256 377 301.755 -15.123 14.616
|
||||
1740240997 202.65.114.202 202.65.114.203 2 u 95 256 177 212.034 -4.548 2.292
|
||||
1740240997 2a01:258:fffe:f 193.120.142.71 2 u 47 256 377 24.940 +6.712 0.882
|
||||
1740240997 2603:c020:0:836 128.138.140.44 2 u 102 256 377 180.389 -13.754 1.360
|
||||
1740242198 213.5.132.231 145.185.133.33 4 u 72 256 377 32.312 +2.771 1.223
|
||||
1740242198 150.241.82.187 193.182.111.13 3 u 202 256 133 64.204 +2.646 1.696
|
||||
1740242198 159.196.178.7 .PPS. 1 u 237 256 377 302.473 -14.154 10.833
|
||||
1740242198 202.65.114.202 202.65.114.203 2 u 5 256 377 217.281 -5.171 2.711
|
||||
1740242198 2a01:258:fffe:f 193.120.142.71 2 u 182 256 377 22.422 +5.857 2.431
|
||||
1740242198 2603:c020:0:836 128.138.140.44 2 u 262 256 377 182.811 -12.583 1.450
|
||||
1740243400 213.5.132.231 145.185.133.33 4 u 211 256 377 32.312 +2.771 1.338
|
||||
1740243400 150.241.82.187 193.182.111.13 3 u 87 256 177 61.794 -0.073 2.232
|
||||
1740243400 159.196.178.7 .PPS. 1 u 124 256 377 302.473 -14.154 10.404
|
||||
1740243400 202.65.114.202 202.65.114.203 2 u 146 256 377 217.419 -5.514 3.041
|
||||
1740243400 2a01:258:fffe:f 193.120.142.71 2 u 58 256 377 22.422 +5.857 2.632
|
||||
1740243400 2603:c020:0:836 128.138.140.44 2 u 141 256 377 183.171 -14.969 2.419
|
||||
1740244608 213.5.132.231 145.185.133.33 4 u 96 512 377 30.089 -2.940 5.540
|
||||
1740244608 150.241.82.187 193.182.111.13 3 u 764 256 374 61.794 -0.073 1.912
|
||||
1740244608 159.196.178.7 .PPS. 1 u 23 512 377 299.728 -16.883 2.142
|
||||
1740244608 202.65.114.202 202.65.114.203 2 u 28 512 377 218.139 -6.002 2.376
|
||||
1740244608 2a01:258:fffe:f 193.120.142.71 2 u 488 512 377 26.175 +3.771 2.980
|
||||
1740244608 2603:c020:0:836 128.138.140.44 2 u 13 512 377 187.154 -15.460 3.044
|
||||
1740245810 213.5.132.231 145.185.133.33 4 u 275 512 377 30.089 -2.940 4.572
|
||||
1740245810 150.241.82.187 193.182.111.13 3 u 140 512 347 62.524 -5.225 4.891
|
||||
1740245810 159.196.178.7 .PPS. 1 u 174 512 377 299.728 -16.883 2.706
|
||||
1740245810 202.65.114.202 202.65.114.203 2 u 176 512 377 210.120 -5.795 1.538
|
||||
1740245810 2a01:258:fffe:f 193.120.142.71 2 u 113 512 377 27.884 -1.490 5.386
|
||||
1740245810 2603:c020:0:836 128.138.140.44 2 u 154 512 377 186.014 -21.271 5.699
|
||||
1740247011 213.5.132.231 145.185.133.33 4 u 433 512 377 33.585 -5.726 5.858
|
||||
1740247011 150.241.82.187 193.182.111.13 3 u 300 512 237 62.524 -5.225 3.297
|
||||
1740247011 159.196.178.7 .PPS. 1 u 342 512 377 304.476 -23.612 4.889
|
||||
1740247011 202.65.114.202 202.65.114.203 2 u 324 512 377 210.120 -5.795 1.865
|
||||
1740247011 2a01:258:fffe:f 193.120.142.71 2 u 270 512 377 27.884 -1.490 3.950
|
||||
1740247011 2603:c020:0:836 128.138.140.44 2 u 329 512 377 186.014 -21.271 3.689
|
||||
1740248219 213.5.132.231 145.185.133.33 4 u 45 512 377 33.585 -5.726 7.733
|
||||
1740248219 150.241.82.187 193.182.111.13 3 u 421 512 177 62.565 -7.301 8.783
|
||||
1740248219 159.196.178.7 .PPS. 1 u 488 512 377 304.476 -23.612 3.826
|
||||
1740248219 202.65.114.202 202.65.114.203 2 u 471 512 377 209.834 -8.503 2.285
|
||||
1740248219 2a01:258:fffe:f 193.120.142.71 2 u 416 512 377 28.826 -2.366 3.055
|
||||
1740248219 2603:c020:0:836 128.138.140.44 2 u 501 512 377 187.564 -24.577 3.778
|
||||
1740249427 213.5.132.231 145.185.133.33 4 u 174 512 377 35.546 -6.469 8.140
|
||||
1740249427 150.241.82.187 193.182.111.13 3 u 90 512 375 67.540 -5.908 8.359
|
||||
1740249427 159.196.178.7 .PPS. 1 u 104 512 377 305.213 -24.129 3.682
|
||||
1740249427 202.65.114.202 202.65.114.203 2 u 96 512 377 210.108 -8.692 2.907
|
||||
1740249427 2a01:258:fffe:f 193.120.142.71 2 u 19 512 377 29.041 -2.731 1.190
|
||||
1740249427 2603:c020:0:836 128.138.140.44 2 u 132 512 377 186.885 -24.498 1.680
|
||||
1740250631 213.5.132.231 145.185.133.33 4 u 314 512 377 34.605 -5.401 7.383
|
||||
1740250631 150.241.82.187 193.182.111.13 3 u 258 512 367 66.971 -5.443 8.180
|
||||
1740250631 159.196.178.7 .PPS. 1 u 253 512 377 305.213 -24.129 4.534
|
||||
1740250631 202.65.114.202 202.65.114.203 2 u 253 512 377 215.096 -10.676 4.488
|
||||
1740250631 2a01:258:fffe:f 193.120.142.71 2 u 163 512 377 29.041 -2.731 1.440
|
||||
1740250631 2603:c020:0:836 128.138.140.44 2 u 278 512 377 186.457 -24.247 0.434
|
||||
1740251837 213.5.132.231 145.185.133.33 4 u 468 512 377 34.605 -5.401 7.959
|
||||
1740251837 150.241.82.187 193.182.111.13 3 u 419 512 337 66.971 -5.443 8.311
|
||||
1740251837 159.196.178.7 .PPS. 1 u 418 512 377 308.921 -22.274 22.784
|
||||
1740251837 202.65.114.202 202.65.114.203 2 u 399 512 377 215.096 -10.676 19.248
|
||||
1740251837 2a01:258:fffe:f 193.120.142.71 2 u 312 512 377 32.318 -2.579 25.152
|
||||
1740251837 2603:c020:0:836 128.138.140.44 2 u 435 512 377 186.457 -24.247 2.585
|
||||
1740253043 213.5.132.231 145.185.133.33 4 u 81 1024 377 43.467 -0.454 3.719
|
||||
1740253043 150.241.82.187 193.182.111.13 3 u 76 1024 177 75.512 -0.865 4.220
|
||||
1740253043 159.196.178.7 .PPS. 1 u 24 1024 377 315.692 -15.619 28.865
|
||||
1740253043 202.65.114.202 202.65.114.203 2 u 1070 1024 377 215.096 -10.676 19.674
|
||||
1740253043 2a01:258:fffe:f 193.120.142.71 2 u 1001 1024 377 32.318 -2.579 25.314
|
||||
1740253043 2603:c020:0:836 128.138.140.44 2 u 24 1024 377 186.285 -22.312 2.968
|
||||
1740254244 213.5.132.231 145.185.133.33 4 u 211 1024 377 40.720 -5.772 5.008
|
||||
1740254244 150.241.82.187 193.182.111.13 3 u 255 1024 377 78.718 -1.508 3.365
|
||||
1740254244 159.196.178.7 .PPS. 1 u 203 1024 377 335.595 -9.868 33.215
|
||||
1740254244 202.65.114.202 202.65.114.203 2 u 147 1024 377 210.647 -6.739 26.532
|
||||
1740254244 2a01:258:fffe:f 193.120.142.71 2 u 136 1024 377 38.867 +4.270 27.873
|
||||
1740254244 2603:c020:0:836 128.138.140.44 2 u 139 1024 377 186.285 -22.312 3.177
|
||||
1740255448 213.5.132.231 145.185.133.33 4 u 347 1024 377 31.636 -5.209 4.606
|
||||
1740255448 150.241.82.187 193.182.111.13 3 u 384 1024 377 74.375 -3.129 3.286
|
||||
1740255448 159.196.178.7 .PPS. 1 u 320 1024 377 325.424 -15.206 29.034
|
||||
1740255448 202.65.114.202 202.65.114.203 2 u 276 1024 377 207.773 -5.473 27.196
|
||||
1740255448 2a01:258:fffe:f 193.120.142.71 2 u 275 1024 377 27.829 -0.743 26.001
|
||||
1740255448 2603:c020:0:836 128.138.140.44 2 u 281 1024 377 187.313 -23.173 3.562
|
||||
1740256655 213.5.132.231 145.185.133.33 4 u 507 1024 377 31.636 -5.209 5.764
|
||||
1740256655 150.241.82.187 193.182.111.13 3 u 512 1024 377 74.375 -3.129 3.834
|
||||
1740256655 159.196.178.7 .PPS. 1 u 453 1024 377 325.424 -15.206 35.337
|
||||
1740256655 202.65.114.202 202.65.114.203 2 u 415 1024 377 207.773 -5.473 30.374
|
||||
1740256655 2a01:258:fffe:f 193.120.142.71 2 u 430 1024 377 27.829 -0.743 26.226
|
||||
1740256655 2603:c020:0:836 128.138.140.44 2 u 405 1024 377 187.313 -23.173 12.723
|
||||
1740257862 213.5.132.231 145.185.133.33 4 u 674 1024 377 44.258 +4.037 5.739
|
||||
1740257862 150.241.82.187 193.182.111.13 3 u 639 1024 377 74.808 +3.800 5.031
|
||||
1740257862 159.196.178.7 .PPS. 1 u 585 1024 377 325.424 -15.206 38.036
|
||||
1740257862 202.65.114.202 202.65.114.203 2 u 551 1024 377 207.773 -5.473 32.092
|
||||
1740257862 2a01:258:fffe:f 193.120.142.71 2 u 578 1024 377 41.311 +8.047 29.335
|
||||
1740257862 2603:c020:0:836 128.138.140.44 2 u 562 1024 377 201.211 -12.652 17.856
|
||||
1740259063 213.5.132.231 145.185.133.33 4 u 819 1024 377 45.981 +5.197 6.519
|
||||
1740259063 150.241.82.187 193.182.111.13 3 u 799 1024 377 74.808 +3.800 4.012
|
||||
1740259063 159.196.178.7 .PPS. 1 u 766 1024 377 308.857 -22.633 29.387
|
||||
1740259063 202.65.114.202 202.65.114.203 2 u 734 1024 377 207.773 -5.473 36.340
|
||||
1740259063 2a01:258:fffe:f 193.120.142.71 2 u 725 1024 377 30.702 +1.383 26.840
|
||||
1740259063 2603:c020:0:836 128.138.140.44 2 u 685 1024 377 200.054 -14.216 16.454
|
||||
1740260264 213.5.132.231 145.185.133.33 4 u 966 1024 377 46.231 +3.284 4.906
|
||||
1740260264 150.241.82.187 193.182.111.13 3 u 965 1024 377 79.569 +2.905 3.025
|
||||
1740260264 159.196.178.7 .PPS. 1 u 935 1024 377 308.857 -22.633 23.850
|
||||
1740260264 202.65.114.202 202.65.114.203 2 u 880 1024 377 222.677 -1.101 33.017
|
||||
1740260264 2a01:258:fffe:f 193.120.142.71 2 u 846 1024 377 30.702 +1.383 4.470
|
||||
1740260264 2603:c020:0:836 128.138.140.44 2 u 821 1024 377 186.564 -21.739 13.685
|
|
@ -86,5 +86,248 @@ After installing \mintinline{shell}{ntpd} and enabling the daemon, and watching
|
||||
\end{figure}
|
||||
|
||||
\section{NTP Configuration}
|
||||
To select my servers in different locations for this assignment, I went through the pools for each location on \url{https://www.ntppool.org/} and added each one to my \verb|/etc/ntpc.conf| file one at a time, removing all other servers from the configuration file each time.
|
||||
Then, I restarted the \verb|ntpd| service by running \mintinline{shell}{sudo systemctl restart ntpd}.
|
||||
Finally, I ran \mintinline{shell}{ntpq -p} and picked a \verb|remote| for each area at random.
|
||||
|
||||
\begin{code}
|
||||
\begin{minted}[linenos, breaklines, frame=single]{shell}
|
||||
server bray.walcz.net # Ireland
|
||||
server 213.5.132.231 # United Kingdom
|
||||
server 150.241.82.187 # Europe (Sweden)
|
||||
server arm1.maxhost.io # United States
|
||||
server 159.196.178.7 # Australia
|
||||
server 202.65.114.202 # Asia (Indonesia)
|
||||
\end{minted}
|
||||
\caption{Servers added to \texttt{/etc/ntp.conf}}
|
||||
\end{code}
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/ntpqoutput.png}
|
||||
\caption{Output of \texttt{ntpq -p} with new servers added}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Ireland Server}
|
||||
The Ireland server I added had \verb|remote| \verb|bray.walcz.net| and appeared in the \verb|nptq -p| output with \verb|remote| \verb|2a01:258:fffe:f| which is just an abbreviated form of the IPv6 address \verb|2a01:258:fffe:f800:0:0:0:1|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/irelandserverloc.png}
|
||||
\caption{Location of my chosen Ireland server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the Ireland server is 187.07 kilometres.
|
||||
The server seemed to be blocking ICMPv6 packets sent via \verb|traceroute|, so I instead used \mintinline{shell}{sudo traceroute -T -p 443} to send TCP packets to circumvent this.
|
||||
The number of hops to the destination server was 11.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/irelandtraceroute.png}
|
||||
\caption{Output of \texttt{sudo traceroute -T -p 443 2a01:258:fffe:f800:0:0:0:1}}
|
||||
\end{figure}
|
||||
|
||||
\subsection{UK Server}
|
||||
The UK server I added had \verb|remote| \verb|213.5.132.231|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/ukserverloc.png}
|
||||
\caption{Location of my chosen UK server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the United Kingdom server is 595.76 kilometres.
|
||||
The server also seemed to be blocking ICMPv6 packets sent via \verb|traceroute|, so I instead used \mintinline{shell}{sudo traceroute -T -p 443} to send TCP packets to circumvent this.
|
||||
The number of hops to the destination server was 12.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/uktraceroute.png}
|
||||
\caption{Output of \texttt{sudo traceroute -T -p 443 213.5.132.231}}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Europe Server}
|
||||
The Europe server I added had \verb|remote| \verb|150.241.82.187|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/europeserverloc.png}
|
||||
\caption{Location of my chosen Europe server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the Europe Server is 1788.51 kilometres.
|
||||
The number of hops to the destination server was 14.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/europetraceroute.png}
|
||||
\caption{Output of \texttt{traceroute 150.241.82.187}}
|
||||
\end{figure}
|
||||
|
||||
\subsection{United States Server}
|
||||
The United States server I added had \verb|remote| \verb|arm1.maxhost.io| and appeared in the \mintinline{shell}{ntpq -p} output with \verb|remote| \verb|2603:c020:0:836| which is an abbreviated for of the IPv6 address \verb|2603:c020:0000:0836::|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/usserverloc.png}
|
||||
\caption{Location of my chosen United States server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the United States server is 7863.25 kilometres.
|
||||
The server seemed to be blocking both ICMPv6 and TCP packets sent via \mintinline{shell}{traceroute}.
|
||||
As a final attempt, I tried to pretend to be an NTP packet by pinging the well-known NTP port \verb|123| with UDP packets but that didn't work.
|
||||
In each attempt, the \mintinline{shell}{traceroute} stopped making progress at the 9\textsuperscript{th} hop, so I'm guessing that the 10\textsuperscript{th} hop might be the server itself had the \mintinline{shell}{traceroute} gone through.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/ustraceroute.png}
|
||||
\caption{Output of \texttt{sudo traceroute -U -p 123 2603:c020:0000:0836::}}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Australia Server}
|
||||
The Australia server I added had \verb|remote| \verb|159.196.178.7|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/australiaserverloc.png}
|
||||
\caption{Location of my chosen Australia server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the Australia server is 16790.45 kilometres.
|
||||
The server also seemed to be blocking ICMPv6 packets sent via \mintinline{shell}{traceroute}, so I instead used \mintinline{shell}{sudo traceroute -T -p 443} to send TCP packets to circumvent this.
|
||||
The number of hops to the destination server was 15.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/australiatraceroute.png}
|
||||
\caption{Output of \texttt{sudo traceroute -T -p 443 159.196.178.7}}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Asia Server}
|
||||
The Asia server I added had \verb|remote| \verb|202.65.114.202|.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/asiaserverloc.png}
|
||||
\caption{Location of my chosen Asia server (source: \url{https://www.ipaddress.com/})}
|
||||
\end{figure}
|
||||
|
||||
According to \url{https://gps-coordinates.org/distance-between-coordinates.php} the distance between the latitude and longitude of Galway (as given in the assignment specification) and the Asia Server is 12256.96 kilometres.
|
||||
The number of hops to the destination server was 14.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/asiatraceroute.png}
|
||||
\caption{Output of \texttt{traceroute 202.65.114.202}}
|
||||
\end{figure}
|
||||
|
||||
\section{Collected Data}
|
||||
I collected the NTP peers data over a period of 8 hours with one query every 20 minutes using a shell script which would then parse the data into TSV (tab-separated value) format and append it to a file called \verb|results.tsv|.
|
||||
|
||||
\begin{code}
|
||||
\inputminted[texcl, mathescape, linenos, breaklines, frame=single]{shell}{../code/query.sh}
|
||||
\caption{\texttt{query.sh}}
|
||||
\end{code}
|
||||
|
||||
The \verb|remote| column for the UK server contained a single \verb|(| character in the output, the meaning of which I'm not quite sure as I couldn't find anything about it in the NTP documentation or manual pages, which made parsing the data more difficult so I just removed any instances of the character from the file using the command \mintinline{shell}{sed -i 's/\(\t//g' results.tsv}.
|
||||
Then, I removed the prefix characters (\verb|+|, \verb|-|, \verb|*|) from the \verb|remote| column using Vim with visual-block editing.
|
||||
Finally, I wrote a short Python script to ingest the data, plot it, and perform the necessary calculations.
|
||||
|
||||
\begin{table}[H]
|
||||
\centering
|
||||
\begin{tabular}{lcccc}
|
||||
\hline
|
||||
Server & Max & Min & Mean & Std \\
|
||||
\hline
|
||||
Asia & 36.340 & 1.538 & 14.799 & 14.314 \\
|
||||
Australia & 38.036 & 2.142 & 20.088 & 12.054 \\
|
||||
Europe & 31.494 & 0.735 & 5.296 & 6.040 \\
|
||||
Ireland & 32.574 & 0.882 & 12.049 & 12.067 \\
|
||||
UK & 48.932 & 0.587 & 6.474 & 9.322 \\
|
||||
US & 40.647 & 0.434 & 6.249 & 8.860 \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\caption{Jitter statistics}
|
||||
\end{table}
|
||||
|
||||
\begin{table}[H]
|
||||
\centering
|
||||
\begin{tabular}{lcccc}
|
||||
\hline
|
||||
Server & Max & Min & Mean & Std \\
|
||||
\hline
|
||||
Asia & 222.677 & 207.773 & 213.492 & 4.114 \\
|
||||
Australia & 335.595 & 295.743 & 308.813 & 10.419 \\
|
||||
Europe & 79.569 & 57.901 & 67.093 & 6.319 \\
|
||||
Ireland & 41.311 & 22.422 & 28.672 & 5.045 \\
|
||||
UK & 46.231 & 28.801 & 34.843 & 5.228 \\
|
||||
US & 201.211 & 180.389 & 186.829 & 5.196 \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\caption{Delay statistics}
|
||||
\end{table}
|
||||
|
||||
\begin{table}[H]
|
||||
\centering
|
||||
\begin{tabular}{lcccc}
|
||||
\hline
|
||||
Server & Max & Min & Mean & Std \\
|
||||
\hline
|
||||
Asia & 6.475 & -10.676 & -5.678 & 3.500 \\
|
||||
Australia & -1.570 & -31.768 & -17.999 & 5.977 \\
|
||||
Europe & 46.757 & -7.301 & 0.464 & 10.393 \\
|
||||
Ireland & 8.914 & -2.956 & 2.186 & 4.099 \\
|
||||
UK & 5.197 & -14.073 & -1.955 & 4.641 \\
|
||||
US & -7.888 & -24.577 & -18.804 & 4.837 \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\caption{Offset statistics}
|
||||
\end{table}
|
||||
|
||||
I think that the results indicate a strong correlation between delay, jitter, \& offset with geographical distance and number of packet hops.
|
||||
As we saw previously, the number of packet hops was higher the further away the server was geographically from my computer.
|
||||
The Irish server needed only 11 hops, the UK server 12, the European server 14, the Australian server 15, and the Asian server 14.
|
||||
We estimated that the American server could've been accessed in just 10 hops, but really there's no good way of knowing since the packet was blocked every time.
|
||||
This pattern continues with the jitter, delay, and offset statistics:
|
||||
looking at the mean column for each table above, the Australian and US servers consistently have the highest absolute value, being the furthest away geographically.
|
||||
This is to be expected, as the packets have to take more time to physically travel across the world to those locations.
|
||||
Interestingly, the Irish server has consistently high jitter: one key reason for this might be that the data was collected across afternoon and evening time in Ireland, which are likely to peak times for load on Irish NTP servers and therefore introduce more jitter.
|
||||
Another interesting observation is that the Irish mean offset is actually more than the European mean offset; however, I think this can be explained by the fact that European offset had a much higher standard deviation, and a much wider range of offset values, which average out to be closer to zero despite being significantly worse.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/delayplot.png}
|
||||
\caption{Delay over Time}
|
||||
\end{figure}
|
||||
|
||||
The results of plotting delay against time are exactly as one would expect:
|
||||
the further away a server is, the higher the offset.
|
||||
Asutralia has consistently the highest offset, followed by Asia, followed by US, followed by Europe, UK, \& Ireland.
|
||||
We can see that the Irish server's delay follows the UK's server delay very closely:
|
||||
this is likely due to the closeness in time zones -- both servers would face peak hours at roughly the same times.
|
||||
The delay for these servers peaks in the evening time, when people are off work and home from school and thus using Internet-connected devices.
|
||||
However, for the most part, even with the temporal variation in the delay values, they stay remarkably consistent, which indicates that while they are somewhat dependent on the time of day, the delay values are primarily determined by geographical distance.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/jitterplot.png}
|
||||
\caption{Jitter over Time}
|
||||
\end{figure}
|
||||
|
||||
The jitter over time varies a great deal more.
|
||||
Of course, since jitter is a measure of the variance in delay, we can see that the jitter values peak for around the same times that there are small peaks in the delay data.
|
||||
Again, the Irish server's jitter peaks in the evening time, as one would expect.
|
||||
We can also see that despite varying more than the offset, the jitter values across different servers seem to be more aligned, being low around the same times and high around the same times, giving strong evidence that jitter is influenced by the time of day.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{./images/offsetplot.png}
|
||||
\caption{Offset over Time}
|
||||
\end{figure}
|
||||
|
||||
We can see that offset also varies over time, more wildly than the delay but less so than the jitter.
|
||||
We can also see that despite offset varying less than jitter, the offset curves tend to go up when the jitter curves go up, which makes sense, as greater variance and inconsistency in the amount of time a packet takes to get to its destination will necessarily impact the offset.
|
||||
|
||||
|
||||
|
||||
\end{document}
|
||||
|
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 400 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 356 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 215 KiB |
After Width: | Height: | Size: 251 KiB |
After Width: | Height: | Size: 181 KiB |
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 120 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 243 KiB |
After Width: | Height: | Size: 203 KiB |
After Width: | Height: | Size: 458 KiB |