]> git.gir.st - ircpipe.git/log
ircpipe.git
8 weeks agouse IRCv3 USER command
Tobias Girstmair [Fri, 3 May 2024 16:56:40 +0000 (18:56 +0200)]
use IRCv3 USER command

* mode must be '0'
* if the client's host does not expose an ident server, the username
  should be prefixed by '~'

living standard document: https://modern.ircdocs.horse/#user-message

2 months agoswitch to RFC2812 style USER command
Tobias Girstmair [Sat, 27 Apr 2024 12:18:17 +0000 (14:18 +0200)]
switch to RFC2812 style USER command

we don't (yet?) allow setting user mode, though.

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