summaryrefslogtreecommitdiff
path: root/zyklonb.c
Commit message (Collapse)AuthorAgeFilesLines
* ZyklonB: use XDG paths by defaultPřemysl Eric Janouch2020-10-281-8/+30
| | | | | | | | | | | | 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.
* Improve OpenSSL integrationPřemysl Eric Janouch2020-10-201-7/+5
| | | | | | | | | 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.
* Name changePřemysl Eric Janouch2020-09-021-1/+1
|
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-211-3/+2
| | | | | | | | | 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.
* Rework constructors/destructorsPřemysl Janouch2017-06-221-16/+11
|
* Bump libertyPřemysl Janouch2017-06-221-33/+23
|
* Avoid the "poller_fd::closed" featurePřemysl Janouch2017-05-061-4/+2
| | | | | | | 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.
* Bump libertyPřemysl Janouch2017-01-231-17/+17
|
* CleanupPřemysl Janouch2016-12-281-11/+1
|
* Add support for OpenSSL 1.1.0Přemysl Janouch2016-12-281-1/+6
|
* Get rid of the remaining FAILsPřemysl Janouch2016-10-111-2/+8
|
* Bump libertyPřemysl Janouch2016-10-111-13/+18
|
* ZyklonB, kike: Use pledge(2) in OpenBSDPřemysl Janouch2016-03-301-0/+6
| | | | | | 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.
* ZyklonB: run plugins in a special work directoryPřemysl Janouch2016-02-201-28/+54
| | | | Also small refactoring.
* ZyklonB: revisit error handlingPřemysl Janouch2016-02-201-54/+18
|
* Resolve tls_ca_{file,path} relative to config dirPřemysl Janouch2016-02-191-31/+55
|
* ZyklonB: fix segfault on total SOCKS failurePřemysl Janouch2016-02-121-0/+2
|
* ZyklonB: avoid infinite reexec loopsPřemysl Janouch2016-02-121-0/+3
|
* Bump liberty, enable TLS SNIPřemysl Janouch2016-01-041-1/+3
| | | | | | | 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.
* ZyklonB: fix tls_ca_{path,file} config. optionsPřemysl Janouch2016-01-011-2/+2
|
* degesch: add the first Lua plugin to distributionPřemysl Janouch2015-11-211-0/+1
| | | | This required separate plugin directories for both pluginized executables.
* Bump libertyPřemysl Janouch2015-08-171-4/+4
|
* More SSL -> TLS renamingPřemysl Janouch2015-07-281-18/+18
|
* ZyklonB: fix SOCKSPřemysl Janouch2015-07-231-2/+2
|
* SOCKS: various fixes to API and codePřemysl Janouch2015-07-231-6/+3
|
* Rewrite socks to asyncPřemysl Janouch2015-07-201-23/+91
| | | | Not quite working yet, however it's a massive and important change.
* ZyklonB: fix certificate verificationPřemysl Janouch2015-07-131-3/+2
|
* Disable SSL 2 and 3Přemysl Janouch2015-07-131-1/+2
|
* Call ERR_clear_error() where necessaryPřemysl Janouch2015-07-121-0/+2
|
* Bump libertyPřemysl Janouch2015-07-111-5/+6
|
* Fix various issues reported by CoverityPřemysl Janouch2015-07-111-3/+2
|
* ZyklonB: factor out plugin_process_ipc()Přemysl Janouch2015-06-151-46/+50
|
* ZyklonB: allow killing zombiesPřemysl Janouch2015-06-151-6/+27
| | | | Asking to terminate the process twice now forcefully kills all plugins.
* ZyklonB: factor out make_status_report()Přemysl Janouch2015-06-151-27/+33
|
* ZyklonB: unfuck registrationPřemysl Janouch2015-06-151-9/+7
|
* ZyklonB: factor out try_reap_plugin()Přemysl Janouch2015-06-151-25/+30
|
* ZyklonB: factor out on_plugin_death()Přemysl Janouch2015-06-151-40/+46
|
* ZyklonB: struct plugin_data -> pluginPřemysl Janouch2015-06-151-25/+27
|
* Get rid of "All rights reserved"Přemysl Janouch2015-05-011-1/+0
|
* Rename project to uirc3Přemysl Janouch2015-04-301-0/+2
|
* Move the SOCKS code to common.cPřemysl Janouch2015-04-111-408/+0
|
* ZyklonB: Fix an old typoPřemysl Janouch2015-04-111-1/+1
|
* ZyklonB: better SSL configurationPřemysl Janouch2015-04-111-39/+76
| | | | | | | | | 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".
* ZyklonB: actually do verify the server certificatePřemysl Janouch2015-04-101-2/+15
| | | | Bud still tolerate if it doesn't pass verification.
* Update commentsPřemysl Janouch2015-03-291-4/+3
|
* Move to libertyPřemysl Janouch2015-02-281-1/+1
|
* ZyklonB: fix issues with plugin unloadingPřemysl Janouch2015-02-211-3/+8
|
* Add a missing break;Přemysl Janouch2015-02-141-0/+1
|
* Fix resource leaks in socks_connect()Přemysl Janouch2015-02-141-13/+14
|
* Import optimized event loop from ponymapPřemysl Janouch2015-02-121-38/+63
|