Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IPv6 MD5 Password protected BGP sessions not working
On IPv6 the address starts later in on the struct-blob thing that is done inside buildTCPMD5Sig(), this was discovered after going down the rabbit hole with this code (I referanced this block in bgp.tools'es bgp daemon) with it not working on v6. After comparing the output of strace for bird 2 and the output of this code, I realised the offsets were slightly different for IPv6, I assume this was already known since there was a branch that did the same thing for both address families
- Loading branch information