Hi, does the rust PDP support ipv6? I'm trying to ...
# permit-saas
h
Hi, does the rust PDP support ipv6? I'm trying to deploy it on fly.io which only supports ipv6 for internal applications
a
Hi @Hassan Munir, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
I don't have specific information about IPv6 support for the Permit PDP based on the available documentation. The PDP documentation shows it can be deployed as a Docker container (1) and accessed via standard HTTP endpoints , but doesn't explicitly mention IPv6 compatibility. For deployment on fly.io with IPv6 requirements, I'd recommend: 1. Reaching out to Permit.io support for confirmation on IPv6 support 2. Testing the PDP container with IPv6 addressing in your fly.io environment The PDP runs as a standard Docker container (
permitio/pdp-v2:latest
) which typically inherits network capabilities from the host system, but specific IPv6 compatibility would need to be confirmed with the Permit.io team. Would you like me to provide general information about container networking with IPv6, or would you prefer to contact support directly for authoritative guidance on this specific deployment scenario?
To learn more, see the sources I considered: [[1] Permit's PDP (Policy Decision Point)](https://docs.permit.io/concepts/pdp/overview)
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
o
I'd expect it to work, but will ask the team to check
Checked and you are correct it currently binds explicitly on IPv4, we'll sort that out in the next version
h
Thanks @Or Weis, appreciate it. Will keep an eye out for the release
👍 1
o
Hey @Hassan Munir, quick question - internally in the container itself, is the ipv4 communication available ? The only limitation is that connections from outside can only be done via ipv6, right ?
h
Hey @Omer Zuarets, yes ipv4 between services within the container should be fine. It's just the service that serves client endpoints like /user-permissions that needs to listen on ipv6
👍 2
o
Hey @Hassan Munir, Can you check pdp version
0.9.5-rc.1
with
PDP_HOST=::
environment variable and let us know if it works for you?
h
Thanks @Omer Zuarets, will give it a try tomorrow and let you know
p
Hey, thanks for reaching out ! It seems our team is a little busy right now, a human will be with you within the next hour or so. In the meantime, can I help you ?
h
it works, thanks!
permiticon 1