1 .TH VDE_CRYPTCAB 1 "December 6, 2006" "Virtual Distributed Ethernet"
3 vde_cryptcab \- Virtual Distributed Ethernet encrypted cable manager
16 .I [remote_user@]host[:remote_portnum]
26 is a distributed cable manager for VDE switches.
27 It allows two VDE switches on two machines to communicate
28 using a blowfish encrypted channel.
30 When used in client mode (i.e., with -c option), it generates a random
31 blowfish key, and uses
33 to transfer the key to the remote server.
35 After a 4-way handshake phase to verify client credentials, server and
36 client will exchange VDE datagrams encapsulating them into cryptograms
37 that are sent via udp to each remote host.
39 On server side, one could run:
42 .B vde_cryptcab -s /tmp/vde2.ctl -p 2100
44 To start a multi-peer cryptcab server, accepting udp datagrams on port
45 2100, that connects each authenticated remote client to a different
46 port of the switch. In fact, a new instance of
48 is started and connected to the switch through local unix socket.
53 .B vde_cryptcab -s /tmp/vde2.ctl -c foo@remote.machine.org:2100
55 will connect a client to the remote server, running on udp port 2100.
56 At this point, on server side a verify for user "foo" credentials is required,
57 typically it could be: host-based authentication, password challenge
58 or public key authentication. See
60 for more details about it.
62 If the two vde_switches run as daemon and they are connected to tap interfaces
63 a level 2 encrypted tunnel is established.
67 .B \-p "\fIportnum\fP"
68 It is possible to decide which local udp port to use.
69 When this option is not specified, cryptcab will use default udp port number,
72 .B \-c "\fI[remote_user@]host[:remote_portnum]\fP"
73 run vde_cryptcab in client mode, trying to connect to
79 parameters are not required.
80 If not specified, the same user running vde_cryptcab is used for
81 authentication on server, and default udp port 7667 is used.
83 .B \-s "\fIsocketpath\fP"
84 specify the UNIX socket to be used by local programs for joining the VDE.
85 The default value is "/tmp/vde.ctl".
87 .B \-P "\fIpre_shared.keypath\fP"
88 if specified, vde_cryptcab will run in pre-shared key mode, instead of generating a
89 random key to transmit with ssh.
90 Given option is the path to the pre-shared symmetric key file to use for data encryption.
91 The same key has to be used on both client and server.
93 Encapsulating IP packets into session+udp layer results in real datagrams larger
94 than tap device mtu. Since vde_cryptcab gets confused by packet fragmentation, the
95 tap device mtu must be set to a smaller value than real interface mtu. Use
99 to set up your tap device mtu.
103 Virtual Distributed Ethernet is not related in any way with
104 www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
105 i.e. the German "Association for Electrical, Electronic & Information
112 \fBvde_plug2tap\fP(1),
117 VDE is a project by Renzo Davoli <renzo@cs.unibo.it>.
119 vde_cryptcab is a VDE component by Daniele Lacamera <root@danielinux.net>