Commit Graph

901 Commits

Author SHA1 Message Date
frekky
8c831b0436 Merge https://github.com/yarrick/iodine
Conflicts:
	src/iodined.c
	src/osflags
2016-09-24 20:32:44 +08:00
frekky
cd39727432 Merge https://github.com/Pneumaticat/iodine 2016-08-05 20:47:37 +08:00
frekky
cf38506dd9 Merge pull request from WGH- 2016-08-05 20:38:22 +08:00
WGH
93cf0e67ba fixed buffer overflow and use of uninitialized memory in handle_dns_login 2016-08-03 01:15:06 +03:00
WGH
4c2f9bf4b7 fixed buffer overflow in handle_null_request() 2016-08-03 01:12:24 +03:00
Kevin Liu
9640f3ede6
Add window.c to Android.mk 2016-07-29 14:35:05 -04:00
Kevin Liu
9ce4b28b35
Fix build on Arch Linux 2016-07-29 14:34:42 -04:00
Erik Ekman
8e15a73a77 Merge pull request #20 from lexa/master
Add support for socket activation by ipv6 socket
2016-05-17 18:00:04 +02:00
Aleksei Fedotov
2edb879845 Listen on two different sockets for ipv6 and ipv4
Option BindIPv6Only is needed to restrict ipv6 to sending IPv6 packets
only, without it IPv6 socket can be used to send and receive packet to
and from an IPv6 address or an IPv4-mapped IPv6 address.
2016-05-11 00:20:30 +03:00
Aleksei Fedotov
4987aa536d Add support for socket activation by ipv6 socket
iodined may accept ipv4 and ipv6 sockets via systemd socket activation,
we need to figure out type of sockets.
2016-05-10 14:09:21 +03:00
Erik Ekman
36df8dc16b Merge pull request #19 from hardfalcon/master
Fix compilation with systemd>=230 and systemd versions without compat-libs
2016-05-02 17:51:02 +02:00
Pascal Ernster
7b1df75e3a Fix compilation with systemd>=230 and for older systemd versions without compat-libs 2016-04-30 18:27:15 +02:00
Anime4000
5dbe640ec5 mingw don't use arpa/inet.h (#2)
don't use arpa/inet.h in mingw
2016-04-17 22:24:34 +08:00
frekky
8384da195d Fixed systemd warning and compile error 2016-02-13 22:58:30 +08:00
frekky
6f43791ebc Fixed bug causing select invalid argument on iodined 2016-02-07 21:59:59 +08:00
frekky
c8105dcc08 Updated protocol docs for TCP forward support 2016-02-07 21:59:27 +08:00
frekky
a5a936f4e4 Implemented TCP forward function (can be used with SSH proxycommand) 2016-02-07 21:59:00 +08:00
frekky
d46766bcc9 Update server login protocol handling for TCP forwarding 2016-02-04 20:46:06 +08:00
frekky
cfd2411e45 Add utility functions for TCP sockets 2016-02-04 20:44:57 +08:00
frekky
d6b48fe4e1 Updated client-side TCP forwarding command line options 2016-02-04 20:44:34 +08:00
frekky
b1d7a78adf Added command line options for TCP forwarding - untested 2016-01-29 22:15:00 +08:00
frekky
0c33c81e3d Added partial server support for TCP forward negotiation + login 2016-01-29 22:13:42 +08:00
frekky
ffcd9da980 Added client support for negotiating TCP forward options 2016-01-29 22:12:05 +08:00
frekky
5233c2ab1e Cleaned up client send_packet functions, protocol changes 2016-01-22 21:57:33 +08:00
frekky
5ceb6312b4 Modified auth checking to count login attempts 2016-01-22 21:56:22 +08:00
frekky
88b11bffeb Cleaned up handle_null_request, some protocol changes 2016-01-22 21:55:52 +08:00
frekky
ae55020b03 Fix sed regex for making base64u.c for compatibility with OS X 2016-01-18 18:20:21 +08:00
frekky
4b4f73d11e Fixed duplicate unrecognised command line option error 2016-01-11 21:02:56 +08:00
frekky
2850b6043d Added long option support for iodined 2016-01-11 21:01:14 +08:00
frekky
ea062a0525 Fixed stats format warnings 2016-01-10 22:07:50 +08:00
frekky
07181e6a6a Fixed format string warnings when compiling for 32 bit systems 2016-01-10 22:00:52 +08:00
frekky
34e2285f22 Updated inline dotify test: TODO adjustible DNS max label length 2016-01-10 15:11:31 +08:00
frekky
150bd5dedc Fix clang reinitialization warning 2016-01-09 22:37:41 +08:00
frekky
ad4aa69be1 Make user.c independent of server for tests, add util.o to testobjs 2016-01-09 22:36:34 +08:00
frekky
122e42a5f7 Always print window sizes on startup 2016-01-09 22:13:13 +08:00
frekky
8232979a6e Added more presets - TODO: test to ensure they work as described 2016-01-09 22:12:00 +08:00
frekky
7068bcc08d Added command line option presets (--preset or -Y)
Fixed some refactoring issues and passing this.* as arguments
2016-01-09 19:29:17 +08:00
frekky
f4d1d1634c Server now functions the same as before, using default preset 2016-01-09 15:26:25 +08:00
frekky
4c3e546b57 Remove unused date constants 2016-01-09 15:05:41 +08:00
frekky
4cdb3900d8 Modify debug macro to use appropriate global instance 2016-01-09 15:05:16 +08:00
frekky
147119afee Refactor client code to use client_instance 2016-01-09 15:04:39 +08:00
frekky
506c1de67e Refactor server code to use global server_instance 2016-01-09 15:03:58 +08:00
frekky
eb6d2fae77 Update makefile to produce correct base64u files 2015-12-16 22:51:59 +08:00
frekky
a17b990570 Reduced max label size to accomodate fussy DNS servers
At some point this may become a command line option
2015-12-16 22:44:51 +08:00
frekky
1ff16293dc Refactor to match client.c usage 2015-12-16 22:43:47 +08:00
frekky
ac60bf66a9 Fixed unsigned assignment warnings in tests 2015-11-21 19:38:06 +08:00
frekky
68a53c4565 Fixed clang warnings + debug build 2015-11-21 19:27:28 +08:00
frekky
e3531378b5 Fixed err.h error 2015-11-17 18:59:26 +08:00
frekky
03909ad59b Fixed err.h errors 2015-11-16 21:59:01 +08:00
frekky
4c8732f0ca Should now compile with mingw cross (still need zlib + err.h) 2015-11-15 20:57:45 +08:00