Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 4b7e8db418340576c95f1edad8470b66d6fe886d
https://github.com/ngircd/ngircd/commit/4b7e8db418340576c95f1edad8470b66d6f…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-07 (Thu, 07 May 2020)
Changed paths:
M src/ngircd/irc-info.c
Log Message:
-----------
Show allowed channel types in ISUPPORT(005) numeric only
Don't show the static list of all possibly available channel types ...
Closes #273.
Commit: fcf2874a9d64675c64afbce58cd4cdc73de54978
https://github.com/ngircd/ngircd/commit/fcf2874a9d64675c64afbce58cd4cdc73de…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-07 (Thu, 07 May 2020)
Changed paths:
M src/ngircd/conf.c
Log Message:
-----------
Allow more characters per line in MOTD and help text files
Change the line buffer in the Read_TextFile() function from 127 to
COMMAND_LEN (=512) bytes. Lines can't even get that long, because they
have to be prefixed before being sent to the client, so this is a sane
maximum.
This allows for even more "fancy" and "wider" MOTDs :-)
Closes #271.
Compare: https://github.com/ngircd/ngircd/compare/bc22f41c513f...fcf2874a9d64
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 21f33e591185fcd8ea5fa02924ffca6f7bf6a686
https://github.com/ngircd/ngircd/commit/21f33e591185fcd8ea5fa02924ffca6f7bf…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-07 (Thu, 07 May 2020)
Changed paths:
M src/testsuite/connect-ssl-cert1-test.e
M src/testsuite/connect-ssl-cert2-test.e
M src/testsuite/ngircd-test3.conf
Log Message:
-----------
SSL test server: Use port 6790, like "test server #2"
Don't use the "standard" IRC SSL port 6697, as this easily collides with
real (ng)IRCd instances running on the same machine.
And by reusing port 6790, which is already used by the "test server #2",
we don't need any other port than the test suite already uses.
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 88cc2985b1258ebecddb005859ca4040018e172f
https://github.com/ngircd/ngircd/commit/88cc2985b1258ebecddb005859ca4040018…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M src/testsuite/connect-ssl-cert1-test.e
M src/testsuite/connect-ssl-cert2-test.e
M src/testsuite/ngircd-test3.conf
Log Message:
-----------
SSL test server: Use port 6790, like "test server #2"
Don't use the "standard" IRC SSL port 6789, as this easily collides with
real (ng)IRCd instances running on the same machine.
And by reusing port 6790, which is already used by the "test server #2",
we don't need any other port than the test suite already uses.
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: eead4a631feb4d3cb8d7fefb2b09207d771035ca
https://github.com/ngircd/ngircd/commit/eead4a631feb4d3cb8d7fefb2b09207d771…
Author: Hilko Bengen <bengen(a)hilluzination.de>
Date: 2020-04-17 (Fri, 17 Apr 2020)
Changed paths:
M src/ngircd/conf-ssl.h
M src/ngircd/conn-ssl.c
Log Message:
-----------
Add support for GnuTLS certificate reload
This requires keeping track of currently active certificates, so those
are stored separately, along with a reference counter, and discarded
when they are no longer in use.
Commit: 86f3c563d6a6f86fd4f8c9fc303808bbf85d29c3
https://github.com/ngircd/ngircd/commit/86f3c563d6a6f86fd4f8c9fc303808bbf85…
Author: Hilko Bengen <bengen(a)hilluzination.de>
Date: 2020-04-19 (Sun, 19 Apr 2020)
Changed paths:
M src/ngircd/conn-ssl.c
Log Message:
-----------
GnuTLS: Eliminate memory leaks for DH parameters, priorities cache
The DH parameters reference has to be stored next to the x509_cred
which holds a reference to it.
Commit: 11ea6a5070e27194a28267937067203d13e5b4a4
https://github.com/ngircd/ngircd/commit/11ea6a5070e27194a28267937067203d13e…
Author: Johann Hartwig Hauschild <git(a)hauschild.it>
Date: 2020-04-25 (Sat, 25 Apr 2020)
Changed paths:
M .gitignore
M configure.ng
M src/testsuite/Makefile.ng
A src/testsuite/cleanup-server3
A src/testsuite/connect-ssl-cert1-test.e
A src/testsuite/connect-ssl-cert2-test.e
A src/testsuite/ngircd-test3.conf
A src/testsuite/prep-server3
A src/testsuite/reload-server.sh
A src/testsuite/reload-server3
A src/testsuite/ssl/cert-my-first-domain-tld.pem
A src/testsuite/ssl/cert-my-second-domain-tld.pem
A src/testsuite/ssl/dhparams-my-first-domain-tld.pem
A src/testsuite/ssl/dhparams-my-second-domain-tld.pem
A src/testsuite/ssl/key-my-first-domain-tld.pem
A src/testsuite/ssl/key-my-second-domain-tld.pem
A src/testsuite/start-server3
A src/testsuite/stop-server3
A src/testsuite/switch-server3
Log Message:
-----------
updating testsuite to support ssl-tests
Commit: 02850008f4a4e8fff5799157d21ee7924345b3e1
https://github.com/ngircd/ngircd/commit/02850008f4a4e8fff5799157d21ee792434…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M .gitignore
M configure.ng
M src/ngircd/conf-ssl.h
M src/ngircd/conn-ssl.c
M src/testsuite/Makefile.ng
A src/testsuite/cleanup-server3
A src/testsuite/connect-ssl-cert1-test.e
A src/testsuite/connect-ssl-cert2-test.e
A src/testsuite/ngircd-test3.conf
A src/testsuite/prep-server3
A src/testsuite/reload-server.sh
A src/testsuite/reload-server3
A src/testsuite/ssl/cert-my-first-domain-tld.pem
A src/testsuite/ssl/cert-my-second-domain-tld.pem
A src/testsuite/ssl/dhparams-my-first-domain-tld.pem
A src/testsuite/ssl/dhparams-my-second-domain-tld.pem
A src/testsuite/ssl/key-my-first-domain-tld.pem
A src/testsuite/ssl/key-my-second-domain-tld.pem
A src/testsuite/start-server3
A src/testsuite/stop-server3
A src/testsuite/switch-server3
Log Message:
-----------
Merge pull request #269 from hillu/gnutls-reload-cert
Add support for GnuTLS certificate reload.
Thanks a lot, Hilko Bengen!
Compare: https://github.com/ngircd/ngircd/compare/52d8fa2c09c3...02850008f4a4
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 629a45ee0f4469729f6a9c22a983000fcc39fe61
https://github.com/ngircd/ngircd/commit/629a45ee0f4469729f6a9c22a983000fcc3…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M src/ngircd/conn.c
M src/ngircd/defines.h
Log Message:
-----------
Revert "Increase read buffer size for server connections"
This reverts commit c6e3c13f27744971fcb1d2de4e561d3bcdaa5aed.
This sounded like the right approach at first, but I'm not that sure
that it really makes sense to have different sizes of read buffers: the
per-connection read buffer only needs to keep data that is needed to
parse one full command, be it plain text, encrypted and/or compressed.
Then ngIRCd should handle this one command, move leftover data to the
beginning of the buffer and read the next chunk from the network that is
missing to get the next complete command (512 bytes at max).
So I revert this for now and try to fix the logic in Read_Request(),
which is broken nevertheless, as it results in servers becoming
disconnected during "server burst" when "big" lists are transferred.
Commit: 9f05f5ee61d23292d55edef09439c38936b86037
https://github.com/ngircd/ngircd/commit/9f05f5ee61d23292d55edef09439c38936b…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Read_Request(): Clean up code and add some more comments
No functional changes.
Commit: 54fac576030d7aaf8bce4a982c880fe18680741e
https://github.com/ngircd/ngircd/commit/54fac576030d7aaf8bce4a982c880fe1868…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Handle commands in the read buffer before reading more data
If there are more bytes in the read buffer already than a single valid
IRC command can get long (513 bytes, COMMAND_LEN), wait for this/those
command(s) to be handled first and don't try to read even more data from
the network (which most probably would overflow the read buffer of this
connection soon).
Commit: 387a29a7fdbf00f5d792ba1450c608db8670308a
https://github.com/ngircd/ngircd/commit/387a29a7fdbf00f5d792ba1450c608db867…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Don't wait for the network when read buffers possibly hold commands
There is no point in waiting up to one second for the network receiving
new data when there is still a read buffer holding at least one command;
we shouldn't waste time but handle it immediately!
Compare: https://github.com/ngircd/ngircd/compare/8d414b079c1b...387a29a7fdbf
Branch: refs/heads/proposed/read-buffer-fixes
Home: https://github.com/ngircd/ngircd
Commit: 41b8b75f6dcbf5c15f414cdca1aec7a784aa6ca1
https://github.com/ngircd/ngircd/commit/41b8b75f6dcbf5c15f414cdca1aec7a784a…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-03 (Sun, 03 May 2020)
Changed paths:
M src/ngircd/conn.c
M src/ngircd/defines.h
Log Message:
-----------
Revert "Increase read buffer size for server connections"
This reverts commit c6e3c13f27744971fcb1d2de4e561d3bcdaa5aed.
This sounded like the right approach at first, but I'm not that sure
that it really makes sense to have different sizes of read buffers: the
per-connection read buffer only needs to keep data that is needed to
parse one full command, be it plain text, encrypted and/or compressed.
Then ngIRCd should handle this one command, move leftover data to the
beginning of the buffer and read the next chunk from the network that is
missing to get the next complete command (512 bytes at max).
So I revert this for now and try to fix the logic in Read_Request(),
which is broken nevertheless, as it results in servers becoming
disconnected during "server burst" when "big" lists are transferred.
Commit: f5da13caf4d2ee45a8a6c32a09d60fc4e2c027b2
https://github.com/ngircd/ngircd/commit/f5da13caf4d2ee45a8a6c32a09d60fc4e2c…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-03 (Sun, 03 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Read_Request(): Clean up code and add some more comments
No functional changes.
Commit: edb666693a8117c3f5f2ef77a9461cec0974876d
https://github.com/ngircd/ngircd/commit/edb666693a8117c3f5f2ef77a9461cec097…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-03 (Sun, 03 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Handle commands in the read buffer before reading more data
If there are more bytes in the read buffer already than a single valid
IRC command can get long (513 bytes, COMMAND_LEN), wait for this/those
command(s) to be handled first and don't try to read even more data from
the network (which most probably would overflow the read buffer of this
connection soon).
Commit: 5c1c5ecacbe8d8a5cdac212985619433a86850bb
https://github.com/ngircd/ngircd/commit/5c1c5ecacbe8d8a5cdac212985619433a86…
Author: Alexander Barton <alex(a)barton.de>
Date: 2020-05-03 (Sun, 03 May 2020)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Don't wait for the network when read buffers possibly hold commands
There is no point in waiting up to one second for the network receiving
new data when there is still a read buffer holding at least one command;
we shouldn't waste time but handle it immediately!
Compare: https://github.com/ngircd/ngircd/compare/41b8b75f6dcb%5E...5c1c5ecacbe8