Commit graph

3096 commits

Author SHA1 Message Date
2c6cbe9b7d debian
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-14 21:53:17 +01:00
17a237d5e3 debian
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-14 21:10:42 +01:00
38fffafd48 debian 2020-12-14 21:10:42 +01:00
a272115969 debian 2020-12-14 21:10:42 +01:00
4998c80937 debian/control 2020-12-14 21:10:42 +01:00
3fc2483e3e update README.md
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/drone/push Build is passing
2020-07-13 16:48:50 +02:00
d4a49167d5 update README
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/drone/push Build is passing
2020-07-13 16:43:42 +02:00
ff1c4317e1 update .drone.yml
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/drone/push Build is passing
2020-07-13 16:41:01 +02:00
beba6c29ed update .drone.yml
Some checks failed
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/drone/push Build is failing
2020-07-13 16:36:55 +02:00
ce2e028559 add .drone.yml
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2020-07-13 16:33:37 +02:00
thorkill
7030127fce Revert changes to top command - myself flag was missing
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2017-06-17 23:27:19 +02:00
thorkill
94e5a9082b Sanitize mtu in send_mtu_info() 2017-05-06 17:52:13 +02:00
thorkill
f96d2d5d76 Add functions for timers initialization and cleanup 2017-05-06 17:51:58 +02:00
thorkill
3335860dc7 Fix NULL pointer dereference in send_udp_info 2017-05-06 01:42:23 +02:00
thorkill
bbe60c0f35 Sanitize input in id_h - prevent integer overflows 2017-05-01 12:49:43 +02:00
thorkill
350e2d2d15 merged with guus/1.1 2017-04-28 10:40:50 +02:00
thorkill
5b45524c51 Added sanity check for the keylength to prevent heap-buffer-overflow in chacha_keysetup() 2017-04-28 10:29:09 +02:00
thorkill
0bfcf46e94 Moved header includes to slpd.c 2017-04-28 10:16:40 +02:00
Guus Sliepen
18646deca1 Fix some minor issues found by cppcheck. 2017-04-18 20:09:38 +02:00
Guus Sliepen
060ab1cd7c Add field widths to sscanf() calls.
Found by cppcheck.
2017-04-18 20:09:08 +02:00
Guus Sliepen
be8e5cbd1c Remove dead stores.
Found by the Clang static analyzer.
2017-04-18 20:07:33 +02:00
Guus Sliepen
70fed5f7ff Add missing tinc stop command to the scripts test. 2017-04-17 16:05:30 +02:00
Guus Sliepen
a144147319 Fix tests on *BSD. 2017-04-17 14:22:39 +02:00
Guus Sliepen
db80dbbac9 Fix segfault when adding environment variables. 2017-04-17 13:53:48 +02:00
Guus Sliepen
1be0c284c7 Fix compiler warnings on *BSD. 2017-04-17 13:07:15 +02:00
Guus Sliepen
2b4c0c6362 Make sure realname is always initialized. 2017-04-17 13:02:39 +02:00
Guus Sliepen
c87a77b5fd Ensure tests compile on *BSD. 2017-04-17 12:50:30 +02:00
thorkill
557adb0695 Merged new env 2017-04-11 16:09:03 +02:00
Guus Sliepen
95f09569be Use getmsg()/putmsg() instead of read()/write() on Solaris.
This fixes a problem where read() returns packets from the IP layer before
fragmentation is done.

# Conflicts:
#	src/solaris/device.c
2017-04-08 13:34:40 +02:00
Guus Sliepen
6011197be5 Use /dev/udp instead of /dev/ip on Solaris.
# Conflicts:
#	src/solaris/device.c
2017-04-08 13:31:04 +02:00
Guus Sliepen
9a113db0a6 Ensure sptps_keypair and sptps_test get build for make check. 2017-03-29 08:08:56 +02:00
Guus Sliepen
d9a7f2d105 Use 127.0.0.1 instead of localhost to ensure tests are reproducible. 2017-03-29 08:08:19 +02:00
Guus Sliepen
3ab1893a4b Ensure proper logging in the invite-offline test. 2017-03-26 17:54:37 +02:00
Guus Sliepen
0af3dcf7a8 Add the scripts test.
This test whether all the scripts are run with the right information in
the right order.
2017-03-26 17:54:30 +02:00
Guus Sliepen
ebade1e8f8 Update .gitignore. 2017-03-26 16:48:02 +02:00
Guus Sliepen
fd3ec60757 Add the invite-offline test.
This tests generating an invitation on the server while no tinc daemon is
running.
2017-03-26 16:47:54 +02:00
Guus Sliepen
5fcf6e16ac Remove superfluous sleep command in invite-join test. 2017-03-26 16:46:31 +02:00
Guus Sliepen
ccb4fb6f7a Use unique ports for all tests. 2017-03-26 16:46:03 +02:00
Guus Sliepen
add75303e9 Add DEBUG environment variable for scripts.
This contains the current debug level used by tinc. Scripts can use it
to decide whether to log debugging information of their own.

Closes #138 on GitHub.
2017-03-21 21:25:27 +01:00
Guus Sliepen
5cbef90620 Put script environment creation/deletion in functions.
This makes environment handling safer, and also has a single place where
we can add new environment variables that should be present for all
scripts.
2017-03-21 21:25:19 +01:00
Vittorio Gambaletta (VittGam)
3e643d5d7e route: Support ToS/DiffServ priority inheritance when routing IPv6 packets.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
2017-03-20 22:38:59 +01:00
Guus Sliepen
aebaaa8db8 Merge remote-tracking branch 'dechamps/sleep' into 1.1 2017-03-20 22:33:18 +01:00
Guus Sliepen
2c333f0f45 Don't try to use kill() on Windows. 2017-03-20 22:20:25 +01:00
Guus Sliepen
26dc50599d Add missing #defines used by fd_device.c. 2017-03-20 22:15:20 +01:00
Guus Sliepen
3fc678a8df Use free_known_addresses() to free memory allocated by get_known_addresses().
We know what struct addrinfo looks like, but the standard says nothing
about how it is allocated. So we cannot trust freeaddrinfo() to work
correctly on the struct addrinfo list we allocated ourselves in
get_known_addresses(). To make a distinction by allocations from the
latter and from str2addrinfo(), we keep two pointers (*ai and *kai) in
struct outgoing, and use the freeing function that is appropriate for
each.
2017-03-07 19:19:19 +01:00
Roman Savelyev
ef661316f1 Fix lost pointer trails in get_known_addresses(). 2017-03-07 19:07:19 +01:00
Pacien TRAN-GIRARD
7a54fe5e88
Add fd_device 2017-03-01 21:34:37 +01:00
Guus Sliepen
e59bfd024f Remove the description of the LocalDiscoveryAddress option from the manual.
This option is no longer implemented.
2017-02-19 00:03:39 +01:00
Guus Sliepen
4a45a65fe2 Remove the description of the LocalDiscoveryAddress option from the manual.
This option is no longer implemented.
2017-02-14 20:51:43 +01:00
thorkill
c20b8ce5dd -Werror=format breaks configure (asprintf) 2017-01-31 15:48:05 +01:00