Commit Graph

925 Commits

Author SHA1 Message Date
Chris Hellberg ab7e5b8656 Updated README with IPv6 details and fixed a bug with IPV6 only
enabled on one end of the tunnelx
2022-05-09 01:02:23 +00:00
Chris Hellberg 846082f13e further IPv6 changes 2022-05-08 19:45:32 +00:00
Chris Hellberg 3eb959c8fe fixed bug where IPv6 was always being set on the tunnel interface 2021-12-31 04:37:56 +00:00
Chris Hellberg 061fac44d2 fixed bug with initializing users structure. Wasn't allowing multiple users to connect V6 2021-12-31 04:15:04 +00:00
chris hellberg 9d86d0afdc minor updates 2021-12-30 21:24:25 -05:00
Chris Hellberg a2d65f6ec4 removing debug messages 2021-12-31 02:18:47 +00:00
Chris Hellberg 65c88a4e70 Merge branch 'server-client-v6' of https://github.com/chris-hellberg/iodine into server-client-v6 2021-12-31 02:13:49 +00:00
Chris Hellberg c9efbc0156 added IPv6 usage in iodined 2021-12-31 02:13:22 +00:00
chris hellberg 00c842933a reverted CHANGELOG in preparation for ipv6 submission 2021-12-30 21:06:28 -05:00
chris hellberg 461c4c3a41 bugfix to shift non-variable options to end of list in getopt() 2021-12-30 20:44:26 -05:00
chris hellberg 883ef8ba57 another stray comment 2021-12-30 00:32:32 -05:00
chris hellberg 8ee7290502 removed comments 2021-12-30 00:28:53 -05:00
Chris Hellberg ab2bbd987f further IPv6 commits 2021-12-30 05:09:16 +00:00
Chris Hellberg 16e1b731f6 Linux server interfaces populated with V6 addresses 2021-12-28 03:14:05 +00:00
Chris Hellberg 1e196bff4d test file add 2021-12-27 20:19:10 +00:00
chris hellberg 8e206aead2 v6 first pass 2021-12-27 15:15:01 -05:00
Chris Hellberg 70c6e9834d
Merge pull request #2 from chris-hellberg/new-master
switched to master branch update
2021-12-26 16:37:48 -05:00
chris hellberg 78b5b7d93f switched to master branch update 2021-12-26 16:37:05 -05:00
Chris Hellberg e75ca72301
Merge pull request #1 from chris-hellberg/iodine-0.8
Shifted to v0.8.0
2021-12-26 16:29:37 -05:00
chris hellberg bc061f09c1 Shifted to v0.8.0 2021-12-26 16:25:21 -05:00
Erik Ekman 1df7d235f5
Merge pull request #61 from NilsIrl/makefile_cd
Use `make -C <dir>` instead of (cd <dir> && make)
2021-10-11 00:10:53 +02:00
Nils c74618ae9e Use `make -C <dir>` instead of (cd <dir> && make)
* fixes the build for some people #57
* cleaner and more idiomatic
2021-10-10 17:40:33 +01:00
Erik Ekman 25867f20b4 readme: Reword the multiple domain section
Using the same host was repeated
2021-08-29 14:56:25 +02:00
Erik Ekman b004723a28 readme: Update markdown format
Remove backslash

Add note that all domains should point to the same host (will be assumed
later)
2021-08-29 13:54:48 +02:00
Erik Ekman 0032ffa055
readme: Add IPv6 DNS setup example 2021-08-25 22:18:38 +02:00
Erik Ekman 3818a59541 util: Remove duplicate assignments of rv to NULL 2021-08-25 22:05:19 +02:00
Erik Ekman 853d5f3764 Update CHANGELOG 2021-08-25 22:00:11 +02:00
Erik Ekman 95fde8b3ee Handle wildcard prefix of allowed tunnel domain names 2021-08-25 01:24:58 +02:00
Erik Ekman f1e7823a3d Add helper for matching topdomain and getting data length 2021-08-25 01:13:48 +02:00
Erik Ekman 589027568b Add option to allow wildcard as start of topdomain 2021-08-24 23:32:57 +02:00
Erik Ekman f09dadb1ed test: Replace assert_msg(strcmp(),...) with str_eq
str_eq will print the strings in case of failure:

Assertion '"BB." == buf' failed: "BB." == "BB.", buf == "BA."
2021-08-24 23:10:26 +02:00
Erik Ekman 5388eae1df test/common: Use ck_assert_str_eq to verify strings
Requires check 0.9.6, released Dec 2008

Also reset error ptr between checks.
2021-08-24 23:04:32 +02:00
Erik Ekman 6e4107a93b Avoid make recursing in case a directory is missing 2021-08-18 12:36:20 +02:00
Erik Ekman f5a82afe29 Initialize get_resolvconf_addr variable rv to NULL
Getting warning compiling for Android:

./util.c:35:6: warning: variable 'rv' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        if (sscanf(buf, "%15s", addr) == 1)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util.c:79:9: note: uninitialized use occurs here
        return rv;
               ^~
2021-08-16 15:06:02 +02:00
Erik Ekman cfd0b07e1f Attempt to do cross-android build in CI 2021-08-16 14:58:20 +02:00
Erik Ekman 569a86a140 Fix Android cross-compile
./common.h:136:29: error: unknown type name 'va_list'
 void vwarn(const char *fmt, va_list list);
                             ^
2021-08-16 14:45:02 +02:00
Erik Ekman cb6cbecba1 Make it clearer that iodine is asking for a password
To not confuse it with sudo or similar
2021-08-16 10:34:41 +02:00
Erik Ekman 348aee839a
Merge pull request #55 from yarrick/win-ci
Add github CI action for Windows
2021-08-16 09:36:20 +02:00
Erik Ekman d00eba8df2 Add github CI action for Windows
Hardcode TARGETOS to make it work.
2021-08-16 09:31:55 +02:00
Erik Ekman 8afcf4fb8d Add github CI action for macOS 2021-08-11 09:40:35 +02:00
Erik Ekman f19948b6cf Fix ubuntu CI test target 2021-08-11 09:36:53 +02:00
Erik Ekman aa5819fe35
Add github CI action for ubuntu 2021-08-11 09:35:05 +02:00
Erik Ekman 1684aa3806 Travis is dead 2021-08-11 09:28:33 +02:00
Erik Ekman ee623a2d84 Rework handling of IPv6 address failures
Skip IPv6 on any error getting the default address (::) if IPv6 is not
explicitly chosen.
2021-08-11 09:23:03 +02:00
Erik Ekman 43a82ef6be Print getaddrinfo failure properly 2021-08-09 13:42:49 +02:00
Erik Ekman 559dafb030 Attempt skipping IPv6 if not supported 2021-08-09 12:14:42 +02:00
Erik Ekman 3c7169fcf5 Change formatter for size_t from %d to %zu in tests 2021-06-05 14:47:24 +02:00
Erik Ekman f2b619faad Allow looking up external address and listen to it 2021-06-04 19:06:03 +02:00
Erik Ekman a6d82b1a44 Allow listen adresses to be non-numeric (using domains) 2021-06-04 18:57:34 +02:00
Erik Ekman 8041e0368c Print address when failing to bind 2021-06-04 18:38:50 +02:00