Package: vtun / 3.0.4-2

Metadata

Package Version Patches format
vtun 3.0.4-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
00 sslauth.patch | (download)

auth.c | 91 72 + 19 - 0 !
cfg_file.y | 9 8 + 1 - 0 !
cfg_kwords.h | 1 1 + 0 - 0 !
main.c | 16 16 + 0 - 0 !
vtun.h | 4 4 + 0 - 0 !
5 files changed, 101 insertions(+), 20 deletions(-)

---
01 pidfile.patch | (download)

Makefile.in | 4 2 + 2 - 0 !
main.c | 30 23 + 7 - 0 !
2 files changed, 25 insertions(+), 9 deletions(-)

---
02 dumpfile.patch | (download)

linkfd.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
03 signedness warnings.patch | (download)

auth.c | 10 5 + 5 - 0 !
lfd_encrypt.c | 36 18 + 18 - 0 !
netlib.c | 7 4 + 3 - 0 !
server.c | 5 3 + 2 - 0 !
4 files changed, 30 insertions(+), 28 deletions(-)

---
04 implicit pointer conversions.patch | (download)

generic/pty_dev.c | 8 5 + 3 - 0 !
lfd_encrypt.c | 1 1 + 0 - 0 !
lfd_lzo.c | 1 0 + 1 - 0 !
lfd_shaper.c | 1 1 + 0 - 0 !
lib.c | 1 1 + 0 - 0 !
lib.h | 1 1 + 0 - 0 !
lock.c | 1 1 + 0 - 0 !
7 files changed, 10 insertions(+), 4 deletions(-)

---
05 unix98pty.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
generic/pty_dev.c | 38 19 + 19 - 0 !
2 files changed, 20 insertions(+), 20 deletions(-)

---
06 ipv6.patch | (download)

netlib.c | 22 14 + 8 - 0 !
1 file changed, 14 insertions(+), 8 deletions(-)

 replace gethostbyname() with getaddrinfo().
 In recent versions of glibc, a call to gethostbyname()
 will be default return an IPv6 reference as first entry.
 This completely breaks communication between the vtund
 server instance and the vtund client instance.
 .
 The solution to this clash is to migrate the code in
 'netlib.c' to use getaddrinfo(), since this function
 can easily be configured to only return IPv4 addresses.
07 dual family transport.patch | (download)

cfg_file.y | 10 9 + 1 - 0 !
cfg_kwords.h | 2 2 + 0 - 0 !
client.c | 8 3 + 5 - 0 !
main.c | 9 8 + 1 - 0 !
netlib.c | 180 122 + 58 - 0 !
netlib.h | 10 6 + 4 - 0 !
server.c | 40 24 + 16 - 0 !
vtun.h | 2 2 + 0 - 0 !
vtund.8 | 14 14 + 0 - 0 !
vtund.conf.5 | 6 6 + 0 - 0 !
10 files changed, 196 insertions(+), 85 deletions(-)

 enable transport in ipv4 and in ipv6 tunnels.
 A migration to use 'struct sockaddr_storage' makes it possible
 to establish a carrier tunnel using either IPv4 or IPv6.
 .
 Command line options '-4' and '-6' determines these.
 The default is to use IPv4. Observe that either family
 can be tunneled inside the tunnel, independently of
 the wrapping address family.
 .
 It is by intention the carrier is of one kind for each
 server instance. The options section can use 'ipv4' and
 'ipv6' to choose either.
08 gcc5 inline.patch | (download)

cfg_file.y | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix gcc5 build failure:
 The visibility of one of the functions in the yacc grammar is increased so
 the program links without error now.
09 client uses lot of CPU after a SIGHUP.patch | (download)

client.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 vtun client uses lot of cpu after a sighup
10 reproducible build.patch | (download)

configure | 7 6 + 1 - 0 !
configure.in | 8 7 + 1 - 0 !
2 files changed, 13 insertions(+), 2 deletions(-)

 make the build reproducible
11 libssl 1.1.patch | (download)

lfd_encrypt.c | 91 48 + 43 - 0 !
1 file changed, 48 insertions(+), 43 deletions(-)

---
12 nostrip.patch | (download)

Makefile.in | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

---