Všem děkuji za rady, ale lepší asi bude, když upřesním, co řeším. Mám pochytané packety do pcap, v některých je záznam o GPS poloze. Já potřebuji získat seznam GPS poloh s časem, který je uveden na první řádce a mezi ideálně časy, kdy v tom packetu ta poloha nebyla. Poloha bývá v packetech nad length 170.
V mém příkladu je GPS poloha například: 14.444723,50.101715
22:09:58.868523 IP (tos 0x60, ttl 125, id 8727, offset 0, flags [none], proto UDP (17), length 87)
10.35.98.129.49261 > denethor.cz0.9871: [udp sum ok] UDP, length 59
0x0000: 4560 0057 2217 0000 7d11 e5c7 0a23 6281 E`.W"...}....#b.
0x0010: c0a8 080b c06d 268f 0043 a7e8 2b41 434b .....m&..C..+ACK
0x0020: 3a47 5448 4244 2c35 3530 3130 312c 3836 :GTHBD,550101,86
0x0030: 3335 3734 3034 3037 3235 3034 362c 474c 3574040725046,GL
0x0040: 3530 2c32 3031 3931 3232 3832 3131 3030 50,2019122821100
0x0050: 302c 3233 3832 24 0,2382$
22:09:59.348520 IP (tos 0x60, ttl 125, id 8728, offset 0, flags [none], proto UDP (17), length 88)
10.35.98.129.49261 > denethor.cz0.9871: [udp sum ok] UDP, length 60
0x0000: 4560 0058 2218 0000 7d11 e5c5 0a23 6281 E`.X"...}....#b.
0x0010: c0a8 080b c06d 268f 0044 6c8f 2b52 4553 .....m&..Dl.+RES
0x0020: 503a 4754 5044 502c 3535 3031 3031 2c38 P:GTPDP,550101,8
0x0030: 3633 3537 3430 3430 3732 3530 3436 2c47 63574040725046,G
0x0040: 4c35 302c 3230 3139 3132 3238 3231 3039 L50,201912282109
0x0050: 3535 2c32 3338 3124 55,2381$
22:12:06.950835 IP (tos 0x60, ttl 125, id 8729, offset 0, flags [none], proto UDP (17), length 87)
10.35.98.129.53565 > denethor.cz0.9871: [udp sum ok] UDP, length 59
0x0000: 4560 0057 2219 0000 7d11 e5c5 0a23 6281 E`.W"...}....#b.
0x0010: c0a8 080b d13d 268f 0043 8d16 2b41 434b .....=&..C..+ACK
0x0020: 3a47 5448 4244 2c35 3530 3130 312c 3836 :GTHBD,550101,86
0x0030: 3335 3734 3034 3037 3235 3034 362c 474c 3574040725046,GL
0x0040: 3530 2c32 3031 3931 3232 3832 3131 3230 50,2019122821120
0x0050: 382c 3233 3834 24 8,2384$
22:12:07.429099 IP (tos 0x60, ttl 125, id 8730, offset 0, flags [none], proto UDP (17), length 88)
10.35.98.129.53565 > denethor.cz0.9871: [udp sum ok] UDP, length 60
0x0000: 4560 0058 221a 0000 7d11 e5c3 0a23 6281 E`.X"...}....#b.
0x0010: c0a8 080b d13d 268f 0044 5dc8 2b52 4553 .....=&..D].+RES
0x0020: 503a 4754 5044 502c 3535 3031 3031 2c38 P:GTPDP,550101,8
0x0030: 3633 3537 3430 3430 3732 3530 3436 2c47 63574040725046,G
0x0040: 4c35 302c 3230 3139 3132 3238 3231 3132 L50,201912282112
0x0050: 3033 2c32 3338 3324 03,2383$
22:17:10.346636 IP (tos 0x60, ttl 125, id 8731, offset 0, flags [none], proto UDP (17), length 87)
10.35.98.129.62355 > denethor.cz0.9871: [udp sum ok] UDP, length 59
0x0000: 4560 0057 221b 0000 7d11 e5c3 0a23 6281 E`.W"...}....#b.
0x0010: c0a8 080b f393 268f 0043 65be 2b41 434b ......&..Ce.+ACK
0x0020: 3a47 5448 4244 2c35 3530 3130 312c 3836 :GTHBD,550101,86
0x0030: 3335 3734 3034 3037 3235 3034 362c 474c 3574040725046,GL
0x0040: 3530 2c32 3031 3931 3232 3832 3131 3730 50,2019122821170
0x0050: 382c 3233 3836 24 8,2386$
22:17:10.766337 IP (tos 0x60, ttl 125, id 8732, offset 0, flags [none], proto UDP (17), length 173)
10.35.98.129.62355 > denethor.cz0.9871: [udp sum ok] UDP, length 145
0x0000: 4560 00ad 221c 0000 7d11 e56c 0a23 6281 E`.."...}..l.#b.
0x0010: c0a8 080b f393 268f 0099 f2d4 2b42 5546 ......&.....+BUF
0x0020: 463a 4754 4354 4e2c 3535 3031 3031 2c38 F:GTCTN,550101,8
0x0030: 3633 3537 3430 3430 3732 3530 3436 2c47 63574040725046,G
0x0040: 4c35 302c 2c30 2c32 2c2c 312c 312c 302e L50,,0,2,,1,1,0.
0x0050: 302c 3432 2c32 3130 2e33 2c31 342e 3434 0,42,210.3,14.44
0x0060: 3435 3132 2c35 302e 3130 3137 3232 2c32 4512,50.101722,2
0x0070: 3031 3931 3232 3832 3130 3935 372c 3032 0191228210957,02
0x0080: 3330 2c30 3030 312c 3430 3332 2c30 3344 30,0001,4032,03D
0x0090: 392c 2c2c 3030 3030 2c32 3031 3931 3232 9,,,0000,2019122
0x00a0: 3832 3131 3430 392c 3233 3835 24 8211409,2385$
22:19:06.951354 IP (tos 0x60, ttl 125, id 8733, offset 0, flags [none], proto UDP (17), length 173)
10.35.98.129.62355 > denethor.cz0.9871: [udp sum ok] UDP, length 145
0x0000: 4560 00ad 221d 0000 7d11 e56b 0a23 6281 E`.."...}..k.#b.
0x0010: c0a8 080b f393 268f 0099 f7a3 2b52 4553 ......&.....+RES
0x0020: 503a 4754 4354 4e2c 3535 3031 3031 2c38 P:GTCTN,550101,8
0x0030: 3633 3537 3430 3430 3732 3530 3436 2c47 63574040725046,G
0x0040: 4c35 302c 2c30 2c32 2c2c 312c 312c 302e L50,,0,2,,1,1,0.
0x0050: 302c 3930 2c32 3039 2e37 2c31 342e 3434 0,90,209.7,14.44
0x0060: 3437 3233 2c35 302e 3130 3137 3135 2c32 4723,50.101715,2
0x0070: 3031 3931 3232 3832 3131 3435 352c 3032 0191228211455,02
0x0080: 3330 2c30 3030 312c 3430 3332 2c30 3344 30,0001,4032,03D
0x0090: 392c 2c2c 3030 3030 2c32 3031 3931 3232 9,,,0000,2019122
0x00a0: 3832 3131 3930 382c 3233 3837 24 8211908,2387$
22:19:16.327809 IP (tos 0x60, ttl 125, id 8734, offset 0, flags [none], proto UDP (17), length 87)
10.35.98.129.49845 > denethor.cz0.9871: [udp sum ok] UDP, length 59
0x0000: 4560 0057 221e 0000 7d11 e5c0 0a23 6281 E`.W"...}....#b.
0x0010: c0a8 080b c2b5 268f 0043 9598 2b41 434b ......&..C..+ACK
0x0020: 3a47 5448 4244 2c35 3530 3130 312c 3836 :GTHBD,550101,86
0x0030: 3335 3734 3034 3037 3235 3034 362c 474c 3574040725046,GL
0x0040: 3530 2c32 3031 3931 3232 3832 3131 3931 50,2019122821191
0x0050: 372c 3233 3839 24 7,2389$
22:19:16.808192 IP (tos 0x60, ttl 125, id 8735, offset 0, flags [none], proto UDP (17), length 88)
10.35.98.129.49845 > denethor.cz0.9871: [udp sum ok] UDP, length 60
0x0000: 4560 0058 221f 0000 7d11 e5be 0a23 6281 E`.X"...}....#b.
0x0010: c0a8 080b c2b5 268f 0044 6648 2b52 4553 ......&..DfH+RES
0x0020: 503a 4754 5044 502c 3535 3031 3031 2c38 P:GTPDP,550101,8
0x0030: 3633 3537 3430 3430 3732 3530 3436 2c47 63574040725046,G
0x0040: 4c35 302c 3230 3139 3132 3238 3231 3139 L50,201912282119
0x0050: 3134 2c32 3338 3824 14,2388$
22:21:24.229976 IP (tos 0x60, ttl 125, id 8736, offset 0, flags [none], proto UDP (17), length 87)
10.35.98.129.56842 > denethor.cz0.9871: [udp sum ok] UDP, length 59
0x0000: 4560 0057 2220 0000 7d11 e5be 0a23 6281 E`.W"...}....#b.
0x0010: c0a8 080b de0a 268f 0043 8438 2b41 434b ......&..C.8+ACK
0x0020: 3a47 5448 4244 2c35 3530 3130 312c 3836 :GTHBD,550101,86
0x0030: 3335 3734 3034 3037 3235 3034 362c 474c 3574040725046,GL
0x0040: 3530 2c32 3031 3931 3232 3832 3132 3132 50,2019122821212
0x0050: 352c 3233 3842 24 5,238B$
22:21:24.668765 IP (tos 0x60, ttl 125, id 8737, offset 0, flags [none], proto UDP (17), length 88)
10.35.98.129.56842 > denethor.cz0.9871: [udp sum ok] UDP, length 60
0x0000: 4560 0058 2221 0000 7d11 e5bc 0a23 6281 E`.X"!..}....#b.
0x0010: c0a8 080b de0a 268f 0044 3fff 2b52 4553 ......&..D?.+RES