about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2009-07-17Client_CheckID(): fix connection informationAlexander Barton
This patch fixes the following silly log messages: 'ID "XXX" already registered (on connection -1)!' If the ID is already registered on a local connection, the local connection ID is printed; and if the ID is connected via a remote server, "via network" is displayed.
2009-07-17Fix return code of Conf_EnableServer()Alexander Barton
Conf_EnableServer() only reports success if all required variables, including host name and port, are set for the specific server.
2009-06-08AUTHORS: update my email addressFlorian Westphal
2009-06-05add section and rfc number to comment about QUIT errorFlorian Westphal
2009-05-25enforce upper limit on maximum number of handled commandsFlorian Westphal
reported on #ngircd: pasting lots of lines into a channel can kill off many people on the channel if the read buffer is drained quickly enough and the client-side TCP can't keep up with the incoming data. This implements a throttling scheme: - an irc client may send up to 3 commands per second before a one second pause is enforced. - an irc client may send up to 256 bytes per second before a one second pause is enforced. After discussion with Alexander Barton, server <-> server links are treated specially: There is no artificial limit on the number of bytes sent per second, and up to 10 commands are processed per second before a pause is enforced. It may be neccessary to make those limits tuneable to accomondate larger networks, but for now they are compile time values.
2009-05-17conn.c: fix NumConnections imbalanceFlorian Westphal
New_Server() can call Conn_Close() in its error paths, but that function decrements the number of current active connections. Thus we need to increment it earlier.
2009-05-17SSL/TLS: fix error handling when ssl ctx init for outgoing server link failsFlorian Westphal
2009-05-17SSL/TLS: fix error path in gnutls ssl ctx allocationFlorian Westphal
2009-05-17manpage: move SSLConnect option to the right sectionFlorian Westphal
2009-05-16SSL/TLS: remove redundant asserts/ifdefsFlorian Westphal
2009-05-14SSL/TLS: proper indentation, remove erroneous commentFlorian Westphal
2009-05-05Update copyright notice, it's 2009 already!Alexander Barton
2009-05-05Updated Debian "changelog" file for ngIRCd 14.1 rel-14-1Alexander Barton
2009-05-05ngIRCd release 14.1Alexander Barton
2009-05-05Added start/stop script for Red Hat based distributionsAlexander Barton
Script contributed by Naoya Nakazawa <naoya@sanow.net>.
2009-05-05Renamed contrib/ngircd.sh to contrib/ngircd-bsd.shAlexander Barton
2009-05-05security: fix remotely triggerable crash in SSL/TLS codeFlorian Westphal
When a server is running with SSL/TLS support compiled in, it is trivial to crash the server by sending an MOTD request via another server in the network. - ONLY servers without ssl/tls support compiled in are not affected. Disabling SSL in the configuration (no ssl listening ports, etc) does NOT help. - servers that are running standalone (i.e., not connected to any other servers) are not affected, either. This affects all ngircd releases since ngircd 13 (earlier versions have no SSL/TLS support).
2009-05-04Fixed "Conflicts:" line in debian/control: missing commaAlexander Barton
2009-04-29Debian: build ngircd-full-dbg packageAlexander Barton
In addition to the "ngircd" and "ngircd-full" packages a new package named "ngircd-full-dbg" is build: this package contains all the features of the "full" package but includes debug code and both the --debug and --sniffer options and the resulting binaries are _not_ stripped.
2009-04-29debian/rules: whitespace fixesAlexander Barton
2009-04-26Fix server list announcementTassilo Schweyer
When ngircd announces the list of currently known servers to a new (connecting) server, it sent the introducer of the servers instead of the top server. Assuming this network: irc1.example.com |--irc2.example.com | `--irc3.example.com | `--irc4.example.com `--irc5.example.com When irc4 connects to irc3, irc3 tells irc4 that irc5 was connected to irc2. (irc2 had introduced irc5 to irc3; but thats not what ngircd should have sent to the new server). This also placed users on the wrong servers.
2009-04-25Doxygen: update source code repository link to GITAlexander Barton
2009-04-23allow ping timeout quit messages to show the timeout valueDavid Kingston
2009-04-22irc-server: do not remove hostnames from info textFlorian Westphal
that code does not really make sense -- the info text is freely cofngiureable and des not follow a specific format. Also, that "+2" might have caused invalid memory accesses.
2009-04-21conn-zip: fix error handlingFlorian Westphal
callers of (Un)Zip_Buffer() assume that the function closes the connection on error. However, this was not always the case.
2009-04-21remove or translate old commentsFlorian Westphal
2009-04-21client.c: remove unecessary commentsFlorian Westphal
2009-04-21add const qualifier to pointers where possibleFlorian Westphal
2009-04-20ngIRCd release 14 rel-14Alexander Barton
2009-04-10Display IPv6 addresses as "[<addr>]" when accepting connections.Alexander Barton
With this patch ngIRCd displays IPv6 addresses as "[<addr>]:<port>" when accepting new connections and later, if no successful DNS lookup could be made (or DNS is disabled altogether).
2009-04-10Xcode: #define include __DATE__ in VERSIONAlexander Barton
Change VERSION to include the __DATE__ when compiling from within Xcode. When building using "make xcode" or "make osxpkg" VERSION already is defined to the "real" version number set in configure.in.
2009-04-09Fix ChangeLog: Local channels are already implemented in Release 13Alexander Barton
2009-03-30Fix up last Debian changelog entryAlexander Barton
2009-03-29ngIRCd release 14~rc1 rel-14-rc1Alexander Barton
2009-03-29Updated NEWS and ChangeLog filesAlexander Barton
2009-03-29Updated Debian/Linux init scriptAlexander Barton
- PidFile, ServerUID and ServerGID are read from actual server configuration - Exit code and behaviour is more LSB compliant - New "status" and "test" sub-functions
2009-03-25misspelling in ERR_NORECIPIENT replyDana Dahlstrom
2009-03-11Add missing contributors to AUTHORS fileAlexander Barton
2009-03-07testsuite: add more predefined channels to server configFlorian Westphal
make sure it creates & and +, and accepts channel names without a special character (ngircd should treat 'Name = chan' as 'Name = #chan').
2009-03-07allow creation of persistent modeless channelsFlorian Westphal
2009-03-07add and use Channel_IsModeless()Florian Westphal
avoid "name[0] == '+'" where possible, having Channel_IsModeless() makes things much more obvious.
2009-03-05Enhance INFO command to report compile time, if availableAlexander Barton
2009-03-03Update NEWS and ChangeLog filesAlexander Barton
2009-03-03Channel mode changes: break on errorAlexander Barton
Don't echo multiple syntax error messages (461) on invalid commands, but break after the first one. In addition, this solves corrupted 'Unknown mode "+' messages.
2009-03-03Channel_Mode(): code cleanup (no functional changes)Alexander Barton
2009-02-05TLS/SSL: remove useless error message when ssl connection is closedFlorian Westphal
When using OpenSSL, the following annoying "error" message was logged whenever an encrypted connection was shut down in a orderly fashion: TLS/SSL Connection shutdown: ConnSSL_Read: Unable to determine error of course, this isn't an error at all.
2009-02-04update ChangeLog.Florian Westphal
2009-02-04SSL/TLS: clear all ssl realted flags on shutdownFlorian Westphal
one ssl related flags was not cleared on ssl shutdown. introduce and use CONN_SSL_FLAGS_ALL to zap them all.
2009-02-04TLS/SSL: fix memory leak when using compressed server links with sslFlorian Westphal
commit 6bc2d3d06e9cb4da68ea4b63d9b6b219d88ab927 (New connection option CONN_RFC1459) forgot to adjust the ssl bitmasks. The result is that when a compressed AND encrypted server link goes down the memory allocated by zlib and the r/w buffers are no longer free'd as the previous ConnSSL_Free() would then also remove the CONN_ZIP flag from the flag mask.
2009-01-20Fix spelling of log message: "channek" vs. "channel" ...Alexander Barton