dunnel

An experimental DTLS proxy

git clone https://git.8pit.net/dunnel.git

 1# dunnel
 2
 3A less bloated version of `stunnel(1)` for [DTLS][RFC6347].
 4
 5# Status
 6
 7Unmaintained and **totally unfinished**. For instance, only 1-to-1
 8relationships are supported currently. Consider this an **experiment**
 9which still needs a lot of work and care.
10
11# Usage example
12
13Generate key/identity files:
14
15	$ printf Client_identity > identity
16	$ printf secretPSK > key
17
18Client usage example:
19
20	$ cd tinydtls/tests
21	$ ./dtls-server -A ::1 -p 2323 &
22	$ ./dunnel -a ::1 -p 4242 -i identity -k key ::1 2323 &
23	$ busybox nc -u ::1 4242
24
25Server usage example:
26
27	$ busybox nc -u -l -p 4242 ::1 &
28	$ ./dunnel -s -a ::1 -p 4242 -i identity -k key ::1 2342 &
29	$ cd tinydtls/tests
30	$ ./dtls-client -i ../../identity -k ../../key ::1 2342
31
32
33# License
34
35This program is free software: you can redistribute it and/or modify it
36under the terms of the GNU General Public License as published by the
37Free Software Foundation, either version 3 of the License, or (at your
38option) any later version.
39
40This program is distributed in the hope that it will be useful, but
41WITHOUT ANY WARRANTY; without even the implied warranty of
42MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
43Public License for more details.
44
45You should have received a copy of the GNU General Public License along
46with this program. If not, see <http://www.gnu.org/licenses/>.
47
48[RFC6347]: https://tools.ietf.org/html/rfc6347