LIBVDEPLUG_HUB(1)

πŸ’– LIBVDEPLUG_HUB πŸ’–

okay bestie, so this is a General Commands Manual page for libvdeplug_hub β€” the multiplexing vdeplug module, aka the hub. yes you read that right, we're networking now. sit down, hydrate, let's go 🫢


✨ NAME ✨

libvdeplug_hub β€” it's the multiplexing vdeplug module, and it's literally just a hub. that's the whole vibe. a virtual networking hub. iconic behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

libvdeplug_hub.so

that's it. that's the girl. just a shared object file living her best life πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So! This is a libvdeplug multiplex module that implements a virtual networking hub. Think of it as the group chat β€” everyone shows up, everyone hears everyone, nobody's left on read πŸ’¬βœ¨

This module of libvdeplug4 can be used in any program that supports vde, like:

  • vde_plug
  • kvm
  • qemu
  • user-mode-linux
  • virtualbox

The vde_plug_url syntax of this module is giving:

hub://[path]
hub://[path][[OPTION][/OPTION][/OPTION]...]

If path is omitted, the path of the hub defaults to /tmp/vdenode_$USERNAME. so like, if your username is john, you get /tmp/vdenode_john. cute, right? it's giving personalized πŸŽ€


πŸ’… OPTIONS πŸ’…

  • mode=MODE β€” sets the permissions for the hub (go check chmod if you're rusty). MODE is an octal number. The standard permission mask is 0600, which means only processes belonging to the same user can join the network. lowkey exclusive, highkey secure πŸ”’
  • dirmode=DIRMODE β€” sets the permissions for the hub control directory (again, see chmod). MODE is an octal number. If you omit it, it gets computed from mode. no need to stress, she'll figure it out ✨
  • grp=GROUP β€” sets the group ownership of the hub. that's it. that's the option 🫢

🌈 EXAMPLES 🌈

okay let's see her in action:

hub:///tmp/hub

Other virtual machines, namespaces or vde_plug can join this hub using vde:///tmp/hub β€” or, if you're feeling casual, just /tmp/hub. same hub, less typing 😌

hub:///tmp/hub[mode=0666]

It is the same hub, but now everybody is allowed to connect their processes. the doors are OPEN. we're all invited bestie πŸŽ‰βš οΈ


🚨 NOTICE 🚨

Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" β€” i.e. the German "Association for Electrical, Electronic & Information Technologies").

okay so this is the classic "same name, different girl" situation. not the same VDE. do NOT @ them. do not confuse them. they are unrelated, fr fr πŸ’€

πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, bestie! this was brought to you by Virtual Distributed Ethernet, dated April 30, 2017 β€” yeah she's a little vintage but she still ate πŸ’–βœ¨ go build a hub, slay, periodt πŸŽ€πŸ¦‹