summaryrefslogtreecommitdiff
path: root/sockets.c
AgeCommit message (Expand)Author
2020-10-21Don't have arrindex() return 0 on failure as 0 is a valid index. Instead ret...Luke Bratch
2020-01-05Have openssl_accept return 0 if fd_toggle_blocking failed.Luke Bratch
2019-09-15Use global signal(SIGPIPE, SIG_IGN) instead of the send() flag MSG_NOSIGNAL s...Luke Bratch
2019-09-15Set the MSG_NOSIGNAL flag send send()ing so a bad socket write doesn't termin...Luke Bratch
2019-07-09Change some SSL_accept() debug output to be DEBUG_FULL instead of DEBUG_CRIT.Luke Bratch
2019-07-09Avoid SSL_accept() blocking if the client fails to do TLS negotiation.Luke Bratch
2019-06-16Log OpenSSL errors properly instead of printing to stderr.Luke Bratch
2019-06-12Handle failing to connect to the server on startup.Luke Bratch
2019-06-10Add copyright and GPL 3 notices.Luke Bratch
2019-05-30Remove most (all?) exit()s with error handling without exiting where possible...Luke Bratch
2019-05-30Convert debugprint() from being to file/screen/disabled to always being to fi...Luke Bratch
2019-05-27Make debug output optional and disabled by default.Luke Bratch
2019-05-19Add some help output if certificate or key files are missing.Luke Bratch
2019-05-13Implement optional TLS for the server side.Luke Bratch
2019-05-12Make using TLS for clients connecting to the bouncer optional.Luke Bratch
2019-05-12Make certificate and key file paths configurable.Luke Bratch
2019-05-12Make client port configurable and move settings structure to be initialised i...Luke Bratch
2019-05-12Implement TLS using OpenSSL.Luke Bratch
2019-04-19Lots and lots of refactoring and comments work in preparation for more actual...Luke Bratch
2019-04-18Split functions into different filesLuke Bratch