zeek/testing/btest/Baseline/scripts.base.protocols.ntp.ntp2/ntp.log
Johanna Amann 0c875220e9 Default canonifier change to only remove first timestamp in line
In the past, we used a default canonifier, which removes everything that
looks like a timestamp from log files. The goal of this is to prevent
logs from changing, e.g., due to local system times ending up in log
files.

This, however, also has the side-effect of removing information that is
parsed from protocols which probably should be part of our tests.
There is at least one test (1999 certificates) where the entire test
output was essentially removed by the canonifier.

GH-4521 was similarly masked by this.

This commit changes the default canonifier, so that only the first
timestamp in a line is removed. This should skip timestamps that are
likely to change while keeping timestamps that are parsed
from protocol information.

A pass has been made over the tests, with some additional adjustments
for cases which require the old canonifier.

There are some cases in which we probably could go further and not
remove timestamps at all - that, however, seems like a follow-up
project.
2025-06-18 15:41:48 +01:00

44 lines
7.3 KiB
Text

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
#separator \x09
#set_separator ,
#empty_field (empty)
#unset_field -
#path ntp
#open XXXX-XX-XX-XX-XX-XX
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p version mode stratum poll precision root_delay root_disp ref_id ref_time org_time rec_time xmt_time num_exts
#types time string addr port addr port count count count interval interval interval interval string time time time time count
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 192.168.43.118 123 80.211.52.109 123 4 3 2 64.000000 0.000000 0.046280 0.028229 85.199.214.99 1559246556.073681 1559246818.058351 1559246818.079217 1559246885.027449 0
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 192.168.43.118 123 80.211.52.109 123 4 4 4 64.000000 0.000000 0.048843 0.075409 105.237.207.28 1559245852.721794 1559246885.027449 1559246885.069212 1559246885.069247 0
XXXXXXXXXX.XXXXXX ClEkJM2Vm5giqnMf4h 192.168.43.118 123 212.45.144.88 123 4 3 2 64.000000 0.000000 0.046280 0.028259 85.199.214.99 1559246556.073681 1559246820.060608 1559246820.081498 1559246887.027425 0
XXXXXXXXXX.XXXXXX ClEkJM2Vm5giqnMf4h 192.168.43.118 123 212.45.144.88 123 4 4 2 64.000000 0.000000 0.003799 0.037018 193.204.114.233 1559245541.537424 1559246887.027425 1559246887.050758 1559246887.050774 0
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc 192.168.43.118 123 31.14.131.188 123 4 3 2 64.000000 0.000000 0.046280 0.028275 85.199.214.99 1559246556.073681 1559246819.064014 1559246819.079147 1559246888.027454 0
XXXXXXXXXX.XXXXXX CtPZjS20MLrsMUOJi2 192.168.43.118 123 185.19.184.35 123 4 3 2 64.000000 0.000000 0.046280 0.028275 85.199.214.99 1559246556.073681 1559246822.050275 1559246822.064562 1559246888.030021 0
XXXXXXXXXX.XXXXXX CtPZjS20MLrsMUOJi2 192.168.43.118 123 185.19.184.35 123 4 4 2 64.000000 0.000008 0.003235 0.000565 193.204.114.233 1559246481.481997 1559246888.030021 1559246888.220330 1559246888.220401 0
XXXXXXXXXX.XXXXXX C4J4Th3PJpwUYZZ6gc 192.168.43.118 123 31.14.131.188 123 4 4 2 64.000000 0.000000 0.040375 0.001236 195.113.144.238 1559246882.967102 1559246888.027454 1559246888.234035 1559246888.234061 0
XXXXXXXXXX.XXXXXX CUM0KZ3MLUfNB0cl11 192.168.43.118 123 212.45.144.3 123 4 3 2 64.000000 0.000000 0.046280 0.028290 85.199.214.99 1559246556.073681 1559246822.058090 1559246822.069097 1559246889.027449 0
XXXXXXXXXX.XXXXXX CUM0KZ3MLUfNB0cl11 192.168.43.118 123 212.45.144.3 123 4 4 2 64.000000 0.000001 0.003510 0.040573 193.204.114.232 1559245278.442390 1559246889.027449 1559246889.061203 1559246889.061220 0
XXXXXXXXXX.XXXXXX CmES5u32sYpV7JYN 192.168.43.118 123 85.199.214.99 123 4 3 2 64.000000 0.000000 0.046280 0.028305 85.199.214.99 1559246556.073681 1559246824.073855 1559246824.095227 1559246890.027469 0
XXXXXXXXXX.XXXXXX CP5puj4I8PtEU4qzYg 192.168.43.118 123 31.14.133.122 123 4 3 2 64.000000 0.000000 0.046280 0.028305 85.199.214.99 1559246556.073681 1559246821.052836 1559246821.069165 1559246890.027512 0
XXXXXXXXXX.XXXXXX C37jN32gN3y3AZzyf6 192.168.43.118 123 188.213.165.209 123 4 3 2 64.000000 0.000000 0.046280 0.028305 85.199.214.99 1559246556.073681 1559246823.123950 1559246823.295751 1559246890.027523 0
XXXXXXXXXX.XXXXXX C37jN32gN3y3AZzyf6 192.168.43.118 123 188.213.165.209 123 4 4 2 64.000000 0.000000 0.013596 0.025208 193.204.114.232 1559246828.086879 1559246890.027523 1559246890.060644 1559246890.060687 0
XXXXXXXXXX.XXXXXX CP5puj4I8PtEU4qzYg 192.168.43.118 123 31.14.133.122 123 4 4 2 64.000000 0.000000 0.010910 0.037491 193.204.114.233 1559245577.265702 1559246890.027512 1559246890.069012 1559246890.069048 0
XXXXXXXXXX.XXXXXX CmES5u32sYpV7JYN 192.168.43.118 123 85.199.214.99 123 4 4 1 16.000000 0.000000 0.000000 0.000000 GPS\x00 1559246890.000000 1559246890.027469 1559246890.070262 1559246890.070268 0
XXXXXXXXXX.XXXXXX C3eiCBGOLw3VtHfOj 192.168.43.118 123 93.41.196.243 123 4 3 2 64.000000 0.000000 0.046280 0.028320 85.199.214.99 1559246556.073681 1559246822.051730 1559246822.067161 1559246891.027395 0
XXXXXXXXXX.XXXXXX CwjjYJ2WqgTbAqiHl6 192.168.43.118 123 94.177.187.22 123 4 3 2 64.000000 0.000000 0.046280 0.028320 85.199.214.99 1559246556.073681 1559246825.052045 1559246825.066358 1559246891.029953 0
XXXXXXXXXX.XXXXXX C3eiCBGOLw3VtHfOj 192.168.43.118 123 93.41.196.243 123 4 4 2 64.000000 0.000000 0.025391 0.015671 193.204.114.233 1559246412.455332 1559246891.027395 1559246891.051818 1559246891.051827 0
XXXXXXXXXX.XXXXXX CwjjYJ2WqgTbAqiHl6 192.168.43.118 123 94.177.187.22 123 4 4 2 64.000000 0.000000 0.013657 0.025818 193.204.114.233 1559246788.670839 1559246891.029953 1559246891.061992 1559246891.062023 0
XXXXXXXXXX.XXXXXX C0LAHyvtKSQHyJxIl 192.168.43.118 123 212.45.144.206 123 4 3 2 64.000000 0.000000 0.046280 0.028336 85.199.214.99 1559246556.073681 1559246824.061335 1559246824.082820 1559246892.027401 0
XXXXXXXXXX.XXXXXX C0LAHyvtKSQHyJxIl 192.168.43.118 123 212.45.144.206 123 4 4 2 64.000000 0.000002 0.003510 0.042603 193.204.114.232 1559245178.020777 1559246892.027401 1559246892.051390 1559246892.051436 0
XXXXXXXXXX.XXXXXX CFLRIC3zaTU1loLGxh 192.168.43.118 123 147.135.207.214 123 4 3 2 64.000000 0.000000 0.046280 0.028366 85.199.214.99 1559246556.073681 1559246825.064608 1559246825.074985 1559246894.027491 0
XXXXXXXXXX.XXXXXX CFLRIC3zaTU1loLGxh 192.168.43.118 123 147.135.207.214 123 4 4 2 64.000000 0.000008 0.042236 0.041504 212.7.1.132 1559245356.576177 1559246894.027491 1559246894.059304 1559246894.059380 0
XXXXXXXXXX.XXXXXX C9rXSW3KSpTYvPrlI1 192.168.43.118 123 80.211.88.132 123 3 3 2 64.000000 0.000000 0.046280 0.028427 85.199.214.99 1559246556.073681 1559246829.060691 1559246829.079018 1559246898.027403 0
XXXXXXXXXX.XXXXXX Ck51lg1bScffFj34Ri 192.168.43.118 123 80.211.171.177 123 4 3 2 64.000000 0.000000 0.046280 0.028427 85.199.214.99 1559246556.073681 1559246830.071400 1559246830.089710 1559246898.029953 0
XXXXXXXXXX.XXXXXX C9rXSW3KSpTYvPrlI1 192.168.43.118 123 80.211.88.132 123 3 4 3 64.000000 0.000001 0.011917 0.000565 185.19.184.35 1559246667.219303 1559246898.027403 1559246898.077958 1559246898.078029 0
XXXXXXXXXX.XXXXXX Ck51lg1bScffFj34Ri 192.168.43.118 123 80.211.171.177 123 4 4 4 64.000000 0.000000 0.036819 0.050842 73.98.4.223 1559246822.407510 1559246898.029953 1559246898.078347 1559246898.078430 0
XXXXXXXXXX.XXXXXX C9mvWx3ezztgzcexV7 192.168.43.118 123 147.135.207.213 123 4 3 2 64.000000 0.000000 0.046280 0.028458 85.199.214.99 1559246556.073681 1559246833.067975 1559246833.079650 1559246900.027439 0
XXXXXXXXXX.XXXXXX CNnMIj2QSd84NKf7U3 192.168.43.118 123 80.211.155.206 123 4 3 2 64.000000 0.000000 0.046280 0.028458 85.199.214.99 1559246556.073681 1559246831.053954 1559246831.069547 1559246900.030036 0
XXXXXXXXXX.XXXXXX CNnMIj2QSd84NKf7U3 192.168.43.118 123 80.211.155.206 123 4 4 2 64.000000 0.000000 0.013535 0.029602 193.204.114.232 1559246283.180069 1559246900.030036 1559246900.088810 1559246900.088844 0
XXXXXXXXXX.XXXXXX C9mvWx3ezztgzcexV7 192.168.43.118 123 147.135.207.213 123 4 4 2 64.000000 0.000008 0.042236 0.041595 212.7.1.132 1559245356.576177 1559246900.027439 1559246900.103765 1559246900.103887 0
XXXXXXXXXX.XXXXXX C7fIlMZDuRiqjpYbb 192.168.43.118 58229 193.204.114.232 123 4 3 0 16.000000 0.015625 1.000000 1.000000 \x00\x00\x00\x00 0.000000 0.000000 0.000000 1101309131.444112 0
XXXXXXXXXX.XXXXXX C7fIlMZDuRiqjpYbb 192.168.43.118 58229 193.204.114.232 123 4 4 1 16.000000 0.000000 0.000000 0.000122 CTD\x00 1559246910.937978 1101309131.444112 1559246940.281161 1559246940.281191 0
#close XXXX-XX-XX-XX-XX-XX