| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-09-11 | io: add io_cloexec to set close-on-exec flag. | Florian Westphal | |
| 2010-09-11 | ng_ipaddr.h: include assert.h | Florian Westphal | |
| We use assert() in this header, so we should include assert.h. | |||
| 2010-09-08 | Conn_SyncServerStruct(): test all connections; and work case insensitive | Alexander Barton | |
| Fix synchronization of established connections and configured server structures after a configuration update: - Not only test servers that already have a connection, but also check and update configured servers to which a new connection is beeing established (SERVER_WAIT state). - And do the server name comparision case-insensitive. | |||
| 2010-09-08 | Check_Servers(): skip servers already beeing connected | Alexander Barton | |
| Let CheckServers() not only skip servers that already have a connection, but also skip servers to which a new connection is already beeing established (SERVER_WAIT state). | |||
| 2010-09-08 | Check_Servers(): Code cleanup | Alexander Barton | |
| 2010-08-29 | Update ChangeLog and NEWS in preparation for the next release ... | Alexander Barton | |
| 2010-08-29 | Fix linebreak in INSTALL text to fit in 80 columns | Alexander Barton | |
| 2010-08-25 | configure: correctly indent IPv6 yes/no summary output | Alexander Barton | |
| 2010-08-19 | Don't reset My_Connections[Idx].lastping when reading data | Alexander Barton | |
| This fixes PING-PONG lag calculation (which resulted in "0" before). The "lastping" time is still reset it if a time shift backwards has been detected to prevent the daemon from miscalculating ping timeouts. | |||
| 2010-08-18 | write_whoreply(): respect hostname cloaking | Alexander Barton | |
| 2010-08-17 | IRC_USERHOST(): respect hostname cloaking | Alexander Barton | |
| 2010-08-17 | IRC_USERHOST(): Code cleanup & some documentation | Alexander Barton | |
| 2010-08-17 | Send_Message(): respect hostname cloaking | Alexander Barton | |
| 2010-08-17 | IRC_WriteStrClientPrefix() / Get_Prefix(): respect hostname cloaking | Alexander Barton | |
| 2010-08-17 | Refactor IRC_WriteStr{Channel|Related}Prefix(); support cloaking | Alexander Barton | |
| Move common code to new local function Send_Marked_Connections() and respect hostname cloaking. | |||
| 2010-08-17 | Implement user mode "x": hostname cloaking (closes: #102) | Alexander Barton | |
| When a client has user mode "x" set, its real hostname is cloaked by substituting it with the server name (as configured in ngircd.conf). Restricted clients (user mode "r") aren't allowed to change mode "x". Please note that hostname cloaking is only in effect in server-client communication! The server still uses the real hostname for its own logging and for all server-server communication -- therefore all servers in the network must support user mode "x" to prevent older servers from leaking the real hostname of a cloaked client! | |||
| 2010-08-17 | WHOWAS: respect hostname cloaking | Alexander Barton | |
| Store cloaked hostname if user mode "x" is set when the client disconnects from the server. | |||
| 2010-08-17 | WHOIS: respect hostname cloaking | Alexander Barton | |
| 2010-08-17 | Implement Client_HostnameCloaked() and Client_MaskCloaked() | Alexander Barton | |
| These two functions return the cloaked hostname, if the client has enabled hostname cloaking indicated by the -- still to implement -- user mode "x". See furter patches :-) | |||
| 2010-08-17 | Clean up an document Client_Hostname() and Client_Mask() | Alexander Barton | |
| 2010-08-17 | Make configure switch "--docdir" work (closes: #108) | Alexander Barton | |
| 2010-08-13 | Reformat and update FAQ.txt a little bit | Alexander Barton | |
| 2010-08-12 | INSTALL: mention SSL and IPv6 | Florian Westphal | |
| 2010-08-12 | INSTALL: mention changed handling of MotdFile. | Florian Westphal | |
| 2010-08-12 | ngircd: change MOTD file handling | Florian Westphal | |
| previously, the given MotdFile file was read whenever a client requested it. Change handling to read the MotdFile contents into memory once during config file parsing. Two side effects: - changes to the MOTD file do not have any effect until ngircds configuration is reloaded - MOTD file does no longer have to reside in the chroot directory (the MOTD contents will then not be re-read on reload in that case) | |||
| 2010-08-01 | startup: open /dev/null before chroot | Florian Westphal | |
| before people had to create a /dev/null inside the chroot to make redirection work. | |||
| 2010-07-25 | Allow IRC ops to change channel modes even without OperServerMode set | Alexander Barton | |
| 2010-07-25 | Allow IRC operators to use MODE command on any channel (closes: #100) | Florian Westphal | |
| This allows IRC operators to change channel modes of ANY channel, even without joining these channels first. | |||
| 2010-07-25 | Added mailmap file for git-[short]log and git-blame | Alexander Barton | |
| 2010-07-14 | Remove Proc_Kill(), use timeout to kill child processes | Alexander Barton | |
| This avoids a race and potentionally killing the wrong process on systems that use randomized process IDs; now the child itself is responsible to exit in a timely manner using SIGALRM. | |||
| 2010-07-14 | New function Conn_CloseAllSockets() to close all open sockets | Alexander Barton | |
| This is useful in forked child processes, for example, to make sure that they don't hold connections open that the main process wants to close. | |||
| 2010-07-13 | Authenticated users should be registered without the "~" mark | Alexander Barton | |
| 2010-07-13 | Don't Proc_Kill() childs after Proc_Read(): done there already. | Alexander Barton | |
| 2010-07-13 | Don't even fork a PAM-subprocess if "NoPAM" option is set | Alexander Barton | |
| 2010-07-13 | Use Proc_GenericSignalHandler() as handler for SIGTERM by default | Alexander Barton | |
| 2010-07-13 | Mark some variables as "unused" to prevent compiler warnings | Alexander Barton | |
| Some variables are only used when compiling with IDENT or PAM support or when the debug code is enabled. Mark them as "unused" so that gcc doesn't generate warnings when neither of these options is enabled. | |||
| 2010-07-13 | Set NoPAM=yes in configuration files used for the testsuite | Alexander Barton | |
| 2010-07-13 | New configuration option "NoPAM" to disable PAM | Alexander Barton | |
| When the "NoPAM" configuration option is set and ngIRCd is compiled with support for PAM, ngIRCd will not call any PAM functions: all connection attemps without password will succeed instead and all connection attemps with password will fail. If ngIRCd is compiled without PAM support, this option is a dummy option and nothing changes: the global server password will still be in effect. | |||
| 2010-07-12 | io.c: Include conn.h when using the select() API | Alexander Barton | |
| 2010-07-12 | Use correct preprocessor syntax when testing for PAM and IDENTAUTH | Alexander Barton | |
| 2010-07-12 | Make sure signal.h is #include'd when needed | Alexander Barton | |
| 2010-07-12 | Initial documentation for using PAM with ngIRCd | Alexander Barton | |
| 2010-07-12 | Implement asynchronous user authentication using PAM | Alexander Barton | |
| For each client connection a child process is forked which handles the actual PAM authentication and reports the result back to the master process using a pipe for communication. While the PAM authentication is in process the daemon does not block. | |||
| 2010-07-12 | Add new pam.{c|h} module to Xcode project | Alexander Barton | |
| Adjust Xcode project and Mac OS X static config.h header to use PAM. | |||
| 2010-07-12 | Add pam.{c|h} to project and implement PAM_Authenticate() function | Alexander Barton | |
| 2010-07-11 | New functions Client_[Set]OrigUser() to get/set user specified by peer | Alexander Barton | |
| The Client_SetOrigUser() function is used to store the peer-provided user name (see USER command) in its original form, not changed by IDENT results, for example. | |||
| 2010-07-11 | Detect PAM libraries | Alexander Barton | |
| 2010-07-11 | Refactor Resolve_Read() into generic Proc_Read() function | Alexander Barton | |
| 2010-07-11 | Make Proc_Kill() more fault-tolerant | Alexander Barton | |
| 2010-07-11 | New function Conn_GetProcStat() | Alexander Barton | |
| Get PROC_STAT sub-process structure of a given connection. | |||