5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 11:50:28 +00:00
yggdrasil-go/src/util
cathugger ff5de89762
util: fix possible OOB in IPv4 flowkey calc, use switch there
ihl may grow upto 15*4=60 so extract and check it before using it as offset in flowkey calculation.
also replace IFs with switches for protocol matching as it's less redundant and nicer to document.
2019-12-11 15:24:43 +02:00
..
bytes_mobile.go document address, crypto, and util 2019-09-01 18:53:45 -05:00
bytes_other.go document address, crypto, and util 2019-09-01 18:53:45 -05:00
cancellation.go check packet length before checking if it's an ipv6 packet, and add some trace level logging whenever a packet is rejected for being too short to parse 2019-09-26 18:11:58 -05:00
util.go util: fix possible OOB in IPv4 flowkey calc, use switch there 2019-12-11 15:24:43 +02:00
workerpool.go add workerpool to util 2019-08-03 23:10:37 -05:00