ipv6 routes with % interface #51

Open
opened 2021-02-10 08:41:45 +08:00 by scooterh928 · 1 comment
scooterh928 commented 2021-02-10 08:41:45 +08:00 (Migrated from github.com)

I've joined the DN42 network to learn and mess around, and I've setup Alice and haev no issues with the ipv4 part of it, but it seems when I try to look at ipv6 routes with IPV6IP%interfacename I get the below error:

API ERROR :: xxxx (IPv6).routes_filtered(sheepjp) :: parse "http://ip.here:29186//routes/peer/fd88:ee35:b221:1::100%sheepjp": invalid URL escape "%sh"

I run wireguard interfaces as with bird2 I use the ip%interface I the bgp peer.
I'm sure I'm just overlooking something.

Thank you,

I've joined the DN42 network to learn and mess around, and I've setup Alice and haev no issues with the ipv4 part of it, but it seems when I try to look at ipv6 routes with IPV6IP%interfacename I get the below error: API ERROR :: xxxx (IPv6).routes_filtered(sheepjp) :: parse "http://ip.here:29186//routes/peer/fd88:ee35:b221:1::100%sheepjp": invalid URL escape "%sh" I run wireguard interfaces as with bird2 I use the ip%interface I the bgp peer. I'm sure I'm just overlooking something. Thank you,
annikahannig commented 2021-03-26 05:43:12 +08:00 (Migrated from github.com)

Hi!

Looks like the "%sh" is being passed to something which url-decodes it.
So I guess the address is not correctly urlencoded.
Otherwise it would look like http://ip.here:29186//routes/peer/fd88%253Aee35%253Ab221%253A1%253A%253A100%2525sheepjp...

Hi! Looks like the "%sh" is being passed to something which url-decodes it. So I guess the address is not correctly urlencoded. Otherwise it would look like `http://ip.here:29186//routes/peer/fd88%253Aee35%253Ab221%253A1%253A%253A100%2525sheepjp`...
Sign in to join this conversation.
No description provided.