programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JimmyWorldEater to Linux · 3 years ago

Enabling IPv6 support for IPv4-only apps on Linux

blog.apnic.net

external-link
message-square
2
link
fedilink
  • cross-posted to:
  • [email protected]
8
external-link

Enabling IPv6 support for IPv4-only apps on Linux

blog.apnic.net

JimmyWorldEater to Linux · 3 years ago
message-square
2
link
fedilink
  • cross-posted to:
  • [email protected]
Enabling IPv6 support for IPv4-only apps on Linux | APNIC Blog
blog.apnic.net
external-link
Guest Post: How to easily enable IPv6 support for apps without it.
alert-triangle
You must log in or # to comment.
  • cbarrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 years ago

    Yeah, no.

    I’m not going to LD_PRELOAD some random library into my SSH process, and I’m definitely not going to export LD_PRELOAD as a global environment variable.

    Couldn’t this be setup with some kind of virtual IPv4 interface that routes to your IPv6? I guess you’d need some kind of driver to add the prefix.

    Edit: I think this is supported by the standard 4-in-6 tunnel interface: https://serverfault.com/questions/422791/which-software-could-i-use-to-setup-a-4in6-ip-tunnel-rfc-2473-on-gnu-linux

    • frog
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Yeah I’m pretty sure with some simple virtual network bridges and routing rules a 4-to-6 converter is plenty possible without touching the actual processes.

Linux

linux

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • [email protected]
  • [email protected]
  • our Matrix group chat
  • [email protected]

Original icon base courtesy of [email protected] and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 271 users / day
  • 2.15K users / week
  • 5.17K users / month
  • 11.6K users / 6 months
  • 1.95K local subscribers
  • 13.2K subscribers
  • 4.4K Posts
  • 35.5K Comments
  • Modlog
  • mods:
  • Ategon
  • adr1an
  • dwraf_of_ignorance
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org