r/ipv6 • Pioneer (Pre-2006) • 5d ago

Guides & Tools IPv6 coding skills

https://www.peachymango.org/ipv6

Get your AI Agents to implement those skills!

18 Upvotes

12 comments sorted by

•

u/AutoModerator 5d ago

Hello there, /u/FranckMartin! Welcome to /r/ipv6.

We are here to discuss Internet Protocol and the technology around it. Regardless of what your opinion is, do not make it personal. Only argue with the facts and remember that it is perfectly fine to be proven wrong. None of us is as smart as all of us. Please review our community rules and report any violations to the mods.

If you need help with IPv6 in general, feel free to see our FAQ page for some quick answers. If that does not help, share as much unidentifiable information as you can about what you observe to be the problem, so that others can understand the situation better and provide a quick response.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

26

u/zekica 5d ago

It is a great disservice to the entire software ecosystem that harnesses use LLMs that (by definition) default to the median.

The median doesn't care at all as long as it "works".

I am writing IPv6 compatible software for at least 15 years. It's not at all difficult.

2

u/FranckMartin Pioneer (Pre-2006) 5d ago

yes, I argue that “default” is the same wth security, this is why you now see security reviews in harnesses to compensate. We need the same for IPv6 regarding networking.
https://www.peachymango.org/m/ipv6-for-ai

10

u/tankerkiller125real 5d ago

My personal favorite is when people/AI are using IPv6 compatible network stacks and what not, add SSRF protections to do things like prevent users exploring their internal networks/localhost, and then fail to implement the IPv6 side of those protections. Great fun to report that their SSRF protections are useless because they didn't account for the various IPv6 -> IPv4 translations.

3

u/RealPropRandy 5d ago

The high output slop means they can now ship faster! CVE’s here we come!

8

u/creeper6530 5d ago

Unless you're doing address assignment or routing, an average socket doesn't give shit about IP version, just give it an address 

2

u/cvmiller 3d ago

Unless one/AI does stupid things like:

listen(0.0.0.0)

2

u/RealPropRandy 5d ago

Amen

5

u/RayneYoruka Enthusiast 5d ago

"But learning is hard" /s !!!!

7

u/DaryllSwer 5d ago

draft-martin-deploying-ipv6-data-center

I haven't tracked this, but I hope it supports and advocates for /60 ia_pd per VM and works bottom-up from there. A single /56 per hypervisor isn't enough to provide sufficient /60 ia_pd per VM across, say, maybe 60 VMs per hypervisor. I do /32 per data centre and go from there with a /33 for customer-only use and /47 per customer-ID per DC, then hand-off sufficient subnets per VM, per bare-metal host, per VPC.

2

u/FranckMartin Pioneer (Pre-2006) 5d ago

yes there is a chapter about it, but you can also be constrained by the cloud numbering if you have an hybrid environment. Anyhow, please check and feel free to open an issue on the GitHub repo. The more real-life experiences, the better.

5

u/DaryllSwer 5d ago

I am not keen on wasting my time with v6ops, to be honest, and I've been vocal about it before. I just shared my thoughts; up to you and your co-authors if it's worth considering.

My recommendation is not to use "cloud constrained" as a logic to deprive self-owned data centre networks - where we, the network team and/or stakeholders, OWN the network and we can 100% route large prefixes to the compute node and give /60 per VM minimum. Not every data centre network is owned by AWS, Azure, or GCP.

So maybe different sections for:
"Poorly done IPv6 in the cloud" vs "Self-owned data centre networks IPv6".