Přemysl Eric Janouch
695d615225
ZyklonB, kike: Use pledge(2) in OpenBSD
...
degesch has something like "stdio wpath cpath inet tty proc exec"
but given that it's user-extensible and very annoying for users to
have it crash, I'm leaving it unrestricted for now.
2016-03-30 00:50:44 +02:00
Přemysl Eric Janouch
ed20322e5e
ZyklonB: run plugins in a special work directory
...
Also small refactoring.
2016-02-20 00:37:57 +01:00
Přemysl Eric Janouch
a275f9636c
ZyklonB: revisit error handling
2016-02-20 00:01:54 +01:00
Přemysl Eric Janouch
056e0a4765
Resolve tls_ca_{file,path} relative to config dir
2016-02-19 23:46:44 +01:00
Přemysl Eric Janouch
798ed73a8c
ZyklonB: fix segfault on total SOCKS failure
2016-02-12 04:11:33 +01:00
Přemysl Eric Janouch
7be995f74a
ZyklonB: avoid infinite reexec loops
2016-02-12 04:05:09 +01:00
Přemysl Eric Janouch
aeb047260f
Bump liberty, enable TLS SNI
...
Involves some rewrites to fit the new APIs.
SNI has been implemented Mostly just because we can, I don't think it's
widely in use and kike doesn't support this feature of the protocol either.
2016-01-04 01:12:42 +01:00
Přemysl Eric Janouch
28fec6d4a6
ZyklonB: fix tls_ca_{path,file} config. options
2016-01-01 02:00:02 +01:00
Přemysl Eric Janouch
71f3532e04
degesch: add the first Lua plugin to distribution
...
This required separate plugin directories for both pluginized executables.
2015-11-21 22:47:52 +01:00
Přemysl Eric Janouch
abd892cbd7
Bump liberty
2015-08-17 00:13:05 +02:00
Přemysl Eric Janouch
637a3d2bf7
More SSL -> TLS renaming
2015-07-28 20:31:42 +02:00
Přemysl Eric Janouch
6c5e038187
ZyklonB: fix SOCKS
2015-07-23 04:47:56 +02:00
Přemysl Eric Janouch
4a89572089
SOCKS: various fixes to API and code
2015-07-23 04:26:59 +02:00
Přemysl Eric Janouch
318b7400d1
Rewrite socks to async
...
Not quite working yet, however it's a massive and important change.
2015-07-20 23:56:31 +02:00
Přemysl Eric Janouch
b9241bdef9
ZyklonB: fix certificate verification
2015-07-13 00:13:14 +02:00
Přemysl Eric Janouch
e86dc2fbcd
Disable SSL 2 and 3
2015-07-13 00:13:14 +02:00
Přemysl Eric Janouch
d5a153bbe3
Call ERR_clear_error() where necessary
2015-07-12 05:30:13 +02:00
Přemysl Eric Janouch
0c4b727961
Bump liberty
2015-07-11 17:54:38 +02:00
Přemysl Eric Janouch
5692da47be
Fix various issues reported by Coverity
2015-07-11 14:48:00 +02:00
Přemysl Eric Janouch
20a3f25211
ZyklonB: factor out plugin_process_ipc()
2015-06-15 22:21:22 +02:00
Přemysl Eric Janouch
ac466d5ac9
ZyklonB: allow killing zombies
...
Asking to terminate the process twice now forcefully kills all plugins.
2015-06-15 01:29:20 +02:00
Přemysl Eric Janouch
e8aefd9f96
ZyklonB: factor out make_status_report()
2015-06-15 01:11:22 +02:00
Přemysl Eric Janouch
3582789cf5
ZyklonB: unfuck registration
2015-06-15 01:04:58 +02:00
Přemysl Eric Janouch
f2998db30b
ZyklonB: factor out try_reap_plugin()
2015-06-15 00:58:56 +02:00
Přemysl Eric Janouch
e34ecd6bb9
ZyklonB: factor out on_plugin_death()
2015-06-15 00:53:42 +02:00
Přemysl Eric Janouch
634841ea18
ZyklonB: struct plugin_data -> plugin
2015-06-15 00:40:08 +02:00
Přemysl Eric Janouch
57f052a2be
Get rid of "All rights reserved"
2015-05-01 23:41:22 +02:00
Přemysl Eric Janouch
37fa19f4c9
Rename project to uirc3
2015-04-30 01:39:08 +02:00
Přemysl Eric Janouch
4d4bdc1e6a
Move the SOCKS code to common.c
2015-04-11 21:09:06 +02:00
Přemysl Eric Janouch
f194a240df
ZyklonB: Fix an old typo
2015-04-11 21:04:19 +02:00
Přemysl Eric Janouch
efcb9d17e5
ZyklonB: better SSL configuration
...
Allow specifying a custom certificate bundle (can be handy for
connecting to servers with a self-signed certificate).
Enabled certificate verification by default.
Renamed the "ssl_use" to just "ssl".
2015-04-11 17:08:42 +02:00
Přemysl Eric Janouch
7de4bf3165
ZyklonB: actually do verify the server certificate
...
Bud still tolerate if it doesn't pass verification.
2015-04-10 03:17:01 +02:00
Přemysl Eric Janouch
355ecaed47
Update comments
2015-03-29 03:46:29 +02:00
Přemysl Eric Janouch
9681ad0021
Move to liberty
2015-02-28 20:09:51 +01:00
Přemysl Eric Janouch
3d44081789
ZyklonB: fix issues with plugin unloading
2015-02-21 12:33:15 +01:00
Přemysl Eric Janouch
200cf2cdb5
Add a missing break;
2015-02-14 07:24:01 +01:00
Přemysl Eric Janouch
781bd24780
Fix resource leaks in socks_connect()
2015-02-14 07:11:38 +01:00
Přemysl Eric Janouch
e8fe0dad81
Import optimized event loop from ponymap
2015-02-12 02:04:39 +01:00
Přemysl Eric Janouch
cd1a55a0d1
Import option handler from ponymap
2015-02-11 02:07:52 +01:00
Přemysl Eric Janouch
59b1c5c056
Convert to CMake
2015-02-11 01:53:19 +01:00
Přemysl Eric Janouch
d4c60dc105
s/_func/_fn/
2014-09-19 01:08:18 +02:00
Přemysl Eric Janouch
19ff2715b5
ZyklonB: better errors on TLS/SSL failure
2014-08-19 20:33:28 +02:00
Přemysl Eric Janouch
d53f2baa3b
Fix service name to port resolution
2014-08-17 17:50:25 +02:00
Přemysl Eric Janouch
bd0187a825
ZyklonB: add SOCKS 5/4a support
2014-08-17 17:37:15 +02:00
Přemysl Eric Janouch
3afd81df9b
Deal better with displaying IPv6 addresses
2014-08-17 16:59:59 +02:00
Přemysl Eric Janouch
8632e5fe83
Silence GCC
2014-08-17 15:45:24 +02:00
Přemysl Eric Janouch
fb74a46393
ZyklonB: `status' -> use semicolons in output
2014-08-15 20:11:34 +02:00
Přemysl Eric Janouch
d4e4f599f0
ZyklonB: make client certificates actually work
...
We forgot to set the private key, which can reside in the same file
as the certificate, appended at the end.
2014-08-13 19:23:09 +02:00
Přemysl Eric Janouch
fa2f234343
ZyklonB: cleanup not only wrt. timers
...
The code isn't async enough and needs some further changes.
2014-08-10 06:22:34 +02:00
Přemysl Eric Janouch
479da40a3d
ZyklonB: add connection timeouts
2014-08-10 04:58:24 +02:00