VDE_CRYPTCAB(1)
π VDE_CRYPTCAB π
okay bestie, welcome to the vde_cryptcab manual β that's the Virtual Distributed Ethernet encrypted cable manager, living in the General Commands Manual. sit down, grab a strawberry, we're doing encrypted cables today π
β¨ NAME β¨
vde_cryptcab β Virtual Distributed Ethernet encrypted cable manager. she's the encrypted-cable manager of the VDE world, no cap. π
π SYNOPSIS π
vde_cryptcab [ -p portnum ] [ -s socketpath ] [ -c
[remote_user@]host[:remote_portnum] ] [ -P pre_shared.key ]| [ -x ] [ -v
[v][v][v] ] [ -k ] [ -d ]
π¦ DESCRIPTION π¦
okay so a vde_cryptcab is a distributed cable manager for VDE switches. literally what it does is let two VDE switches on two different machines talk to each other over a blowfish encrypted channel. it's giving secure long-distance relationship π
When used in client mode (i.e., with the -c option), it generates a random blowfish key, and uses scp(1) to transfer that key over to the remote server. key handoff, but make it dramatic β¨
On the client side, the environment variable SCP_EXTRA_OPTIONS may be set in order to append options to the scp command line. this is useful for example when dropbear or another non-standard ssh client is used to transfer the blowfish key. iykyk π«Ά
After a 4-way handshake phase to verify client credentials, server and client will exchange VDE datagrams encapsulating them into cryptograms that are sent via udp to each remote host. four steps, one glow-up, periodt π
On server side, one could run:
vde_cryptcab -s /tmp/vde2.ctl -p 2100
To start a multi-peer cryptcab server, accepting udp datagrams on port 2100, that connects each authenticated remote client to a different port of the switch. In fact, a new instance of vde_plug(1) is started and connected to the switch through local unix socket. every new bestie gets their own lil doorway πͺβ¨
The command
vde_cryptcab -s /tmp/vde2.ctl -c foo@remote.machine.org:2100
will connect a client to the remote server, running on udp port 2100. At this point, on server side a verify for user "foo" credentials is required, typically it could be: host-based authentication, password challenge or public key authentication. See ssh(1) for more details about it. the server is literally doing a vibe check on you π
If the two vde_switches run as daemon and they are connected to tap interfaces a level 2 encrypted tunnel is established. iconic. tunnel arc complete π
π OPTIONS π
-pportnum β It is possible to decide which local udp port to use. When this option is not specified, cryptcab will use default udp port number,7667. pick your own port if you're feeling spicy, otherwise she picks7667for you πΈ-c[remote_user@]host[:remote_portnum] β runvde_cryptcabin client mode, trying to connect to host. Both remote_user and remote_portnum parameters are not required. If not specified, the same user runningvde_cryptcabis used for authentication on server, and default udp port7667is used. optional everything, main character energy π-ssocketpath β specify the UNIX socket to be used by local programs for joining the VDE. The default value is"/tmp/vde.ctl". π«Ά-Ppre_shared.keypath β if specified,vde_cryptcabwill run in pre-shared key mode, instead of generating a random key to transmit with ssh. Given option is the path to the pre-shared symmetric key file to use for data encryption. The same key has to be used on both client and server. matching keys, matching outfits π-xβ Disable symmetric key encryption. π (see the KNOWN ISSUES, bestie, this one is Not It)-kβ Send periodic "keepalive" packets to avoid server timeouts. Useful when you want to keep a low-traffic link available. just checking in, love u, still here π-dβ Run as daemon.-vβ Verbose. (Use-vv-vvvor-vvvvfor more verbosity) more v's = more yapping π£οΈ
π KNOWN ISSUES π
Encapsulating IP packets into session+udp layer results in real datagrams larger than tap device mtu. Since vde_cryptcab gets confused by packet fragmentation, the tap device mtu must be set to a smaller value than real interface mtu. Use ip(8) or ifconfig(8) to set up your tap device mtu. fr fr, do not skip this step π
Explicitly disabling encryption leads to obvious security problems. It is advised to avoid unencrypted mode (-x) in non-controlled networks. bestie please. do not. π₯
π’ 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"). same letters, different people, no relation, we've never met π
π SEE ALSO π
vde_switch(1), vdeq(1), vde_plug(1), vde_plug2tap(1), scp(1), ssh(1).
π AUTHORS π
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>.
vde_cryptcab is a VDE component by Daniele Lacamera <root@danielinux.net>
and that's the whole page, bestie!! π this one came from the Virtual Distributed Ethernet source, dated December 6, 2006 β yeah she's vintage, she's a classic, she's still slaying. go forth and encrypt ur cables responsibly β¨π¦π
π¦ where this page comes from
- debian bookworm: vde2-cryptcab 2.3.2+r586-8+b1 Β· GPL-2.0-only
- debian trixie: vde2-cryptcab 2.3.2+r586-11 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2-cryptcab 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2-cryptcab 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2-cryptcab 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2-cryptcab 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: vde2-cryptcab 2.3.2+r586-8 Β· GPL-2.0-only
- ubuntu noble: vde2-cryptcab 2.3.2+r586-10 Β· GPL-2.0-only
- ubuntu questing: vde2-cryptcab 2.3.2+r586-11
- ubuntu resolute: vde2-cryptcab 2.3.2+r586-12.2 Β· GPL-2.0-only
- ubuntu stonking: vde2-cryptcab 2.3.2+r586-12.2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms