]> git.gir.st - ircpipe.git/log
ircpipe.git
2 months agoimplement TLS_WANT_POLL{IN,OUT}
Tobias Girstmair [Sat, 27 Apr 2024 10:43:40 +0000 (12:43 +0200)]
implement TLS_WANT_POLL{IN,OUT}

we always listen for POLLIN events, so we don't need to explicitly check
for it. not sure if this implementation is correct. modeled after
https://github.com/openbsd/src/blob/master/usr.bin/nc/netcat.c

2 months agodefend against malformed messages
Tobias Girstmair [Sat, 27 Apr 2024 10:41:31 +0000 (12:41 +0200)]
defend against malformed messages

if a message consists of only the prefix, we'd overrun the buffer.

2 months agodocument password and tls related flags
Tobias Girstmair [Sat, 27 Apr 2024 10:41:11 +0000 (12:41 +0200)]
document password and tls related flags

4 months agoimplement TLS support using libtls or libretls
Tobias Girstmair [Fri, 16 Feb 2024 20:56:12 +0000 (21:56 +0100)]
implement TLS support using libtls or libretls

also fixes some c90 related pedantic warnings and improves error
messages for bad or missing cli parameters.

3 years agoremove debug printfs
Tobias Girstmair [Mon, 28 Dec 2020 16:32:39 +0000 (17:32 +0100)]
remove debug printfs

3 years agouse getaddrinfo() for transparent ipv4/6 support
Tobias Girstmair [Mon, 28 Dec 2020 16:18:22 +0000 (17:18 +0100)]
use getaddrinfo() for transparent ipv4/6 support

introduces a malloc :(

3 years agofix polling standard input
Tobias Girstmair [Mon, 28 Dec 2020 15:15:08 +0000 (16:15 +0100)]
fix polling standard input

3 years agosupport server password (PASS message)
Tobias Girstmair [Mon, 28 Dec 2020 15:00:48 +0000 (16:00 +0100)]
support server password (PASS message)

3 years agoinitial commit
Tobias Girstmair [Wed, 23 Dec 2020 21:16:47 +0000 (22:16 +0100)]
initial commit

Imprint / Impressum