Commit Graph

65 Commits

Author SHA1 Message Date
8ccf38ad76
Minor rebranding
There's nothing experimental about this project anymore.  It's stable.

Maybe we should add a photo of Hitler or something.
2020-10-31 13:42:56 +01:00
8429995cb6
ZyklonB: don't look for plugins in /usr/lib
It's quite unlikely that this project will ever see compiled plugins.
2020-10-28 17:17:48 +01:00
03ed097353
ZyklonB: use XDG paths by default
Install plugins to /usr/share rather than /usr/lib since they're
arch-independent.  Many precedents can be found for scripted plugins
in /usr/share and fewer for /usr/lib.

Look for plugins in all XDG data directories and repurpose
the "plugin_dir" setting to override this behaviour.

This adds some complexity to the bot but unifies the project.
It might make sense to remove the "plugin_dir" setting.
2020-10-28 17:17:34 +01:00
383f6af344
Improve OpenSSL integration
Ensure the error stack is cleared after errors are processed.

Also handle NULL returns safely.

Makes the debug mode spew more data, though almost none of
the contexts is in reaction to network peer data.
2020-10-20 01:55:46 +02:00
deb096a0e9
Name change 2020-09-02 19:37:29 +02:00
a0e9ede3e3
Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-21 23:46:03 +02:00
a2611cdc3c
Rework constructors/destructors 2017-06-22 22:56:24 +02:00
68bc297809
Bump liberty 2017-06-22 22:39:39 +02:00
c3d62b8799
Avoid the "poller_fd::closed" feature
Reliability enhancement for Linux.

This feature was created for ponymap, however we don't care about an
extra syscall in most places.  Doing it right even saves lines.
2017-05-06 21:35:44 +02:00
9e5725662f
Bump liberty 2017-01-23 23:50:27 +01:00
eb70bf3fbc
Cleanup 2016-12-28 12:44:27 +01:00
d86a68f510
Add support for OpenSSL 1.1.0 2016-12-28 12:40:47 +01:00
4848354bb9
Get rid of the remaining FAILs 2016-10-11 12:05:17 +02:00
8028c7fa47
Bump liberty 2016-10-11 10:52:49 +02:00
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
ed20322e5e ZyklonB: run plugins in a special work directory
Also small refactoring.
2016-02-20 00:37:57 +01:00
a275f9636c ZyklonB: revisit error handling 2016-02-20 00:01:54 +01:00
056e0a4765 Resolve tls_ca_{file,path} relative to config dir 2016-02-19 23:46:44 +01:00
798ed73a8c ZyklonB: fix segfault on total SOCKS failure 2016-02-12 04:11:33 +01:00
7be995f74a ZyklonB: avoid infinite reexec loops 2016-02-12 04:05:09 +01:00
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
28fec6d4a6 ZyklonB: fix tls_ca_{path,file} config. options 2016-01-01 02:00:02 +01:00
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
abd892cbd7 Bump liberty 2015-08-17 00:13:05 +02:00
637a3d2bf7 More SSL -> TLS renaming 2015-07-28 20:31:42 +02:00
6c5e038187 ZyklonB: fix SOCKS 2015-07-23 04:47:56 +02:00
4a89572089 SOCKS: various fixes to API and code 2015-07-23 04:26:59 +02:00
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
b9241bdef9 ZyklonB: fix certificate verification 2015-07-13 00:13:14 +02:00
e86dc2fbcd Disable SSL 2 and 3 2015-07-13 00:13:14 +02:00
d5a153bbe3 Call ERR_clear_error() where necessary 2015-07-12 05:30:13 +02:00
0c4b727961 Bump liberty 2015-07-11 17:54:38 +02:00
5692da47be Fix various issues reported by Coverity 2015-07-11 14:48:00 +02:00
20a3f25211 ZyklonB: factor out plugin_process_ipc() 2015-06-15 22:21:22 +02:00
ac466d5ac9 ZyklonB: allow killing zombies
Asking to terminate the process twice now forcefully kills all plugins.
2015-06-15 01:29:20 +02:00
e8aefd9f96 ZyklonB: factor out make_status_report() 2015-06-15 01:11:22 +02:00
3582789cf5 ZyklonB: unfuck registration 2015-06-15 01:04:58 +02:00
f2998db30b ZyklonB: factor out try_reap_plugin() 2015-06-15 00:58:56 +02:00
e34ecd6bb9 ZyklonB: factor out on_plugin_death() 2015-06-15 00:53:42 +02:00
634841ea18 ZyklonB: struct plugin_data -> plugin 2015-06-15 00:40:08 +02:00
57f052a2be Get rid of "All rights reserved" 2015-05-01 23:41:22 +02:00
37fa19f4c9 Rename project to uirc3 2015-04-30 01:39:08 +02:00
4d4bdc1e6a Move the SOCKS code to common.c 2015-04-11 21:09:06 +02:00
f194a240df ZyklonB: Fix an old typo 2015-04-11 21:04:19 +02:00
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
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
355ecaed47 Update comments 2015-03-29 03:46:29 +02:00
9681ad0021 Move to liberty 2015-02-28 20:09:51 +01:00
3d44081789 ZyklonB: fix issues with plugin unloading 2015-02-21 12:33:15 +01:00
200cf2cdb5 Add a missing break; 2015-02-14 07:24:01 +01:00