- auth.c:auth_dns_callback(): minor readability improvements
- Add address_compare() and make use of it in some places
- Cleanup server connecting related code even further - Make comm_connect_tcp() take less arguments and remove unused dns resolving functionality
- s_auth.c:auth_read_reply(): use sizeof(buf)-1 instead of RFC1413_BUFSIZ for recv()
- auth.c: sprinkle some assert()
- Update copyright years
- auth: replace AM_DOING_AUTH and AM_DNS_PENDING with dedicated variables
- Get rid of Connection::allow_read and have parse_client_queued() determine max lines to be processed
- Make use of the bool data type in some more places
- Make use of the bool data type in some places
- Stylistic changes
- auth.c: style correction; add some assert() to auth_error()
- Killed userhost.c. Rewrote everything to use ipcache.c
- auth.c: deduplicate; minor cleanups
- Stylistic changes
- Rip out mempool
- auth.c: added some assert()
- Style corrections
- auth.c:make_auth(): fixes to previous commit
- auth.c:make_auth(): properly assign 'auth' to 'auth->client->connection->auth'
- Restore fd_table. No longer allocate fde_t items from within any other structures like the AuthRequest, or Connection structure - struct AuthRequest once again is no longer allocated from within the Connection structure
- auth.h, auth.c: reformating; rename some functions to comply with naming convention
- auth.h, auth.c: made release_auth_client() 'static'; removed declaration in auth.h
- auth.c:auth_delete(): clear AM_DOING_AUTH, and AM_DNS_PENDING flags as appropriate
- auth.c:release_auth_client(): use the AddFlag macro
- Update copyright years
- auth.c: add documentation
- auth.c: have auth_dns_callback() to check for invalid hostnames rather than in user.c:register_local_user()
- Store real host information in Client.realhost and extend the UID message to send the actual host. This allows operators to see the real host of a client in /whois and /whowas.
- Rename get_client_name() to client_get_name()
- Rename some functions in auth.c to comply with naming convention
- Update copyright years
- Style corrections
- Fixed svn properties
- token_vector(): use unsigned where appropriate
- Update copyright years
- auth.c: change start_auth_query() to void
- auth.c: fixed core on ident lookup if comm_open() fails
- auth.c:auth_connect_callback(): remove two pointless remove_ipv6_mapping() calls
- Rename variables for consistency
- auth.c: rename auth_pending_list to auth_list
- Make use of the *Flag() macros in some more places
- Style corrections
- auth.c: use C99-style array initialization
- auth.c:auth_connect_callback(): saved a strlen(); hardened test of send()'s return value to ensure all bytes were sent
- auth.c:sendheader(): fixed compile warnings with -Wformat-security
- Update copyright years
- auth.c:start_auth_query(): removed archaic comment
- auth.c:auth_connect_callback(): use report_error() for reporting failed getsockname() or getpeername() calls
- auth.c: constifications
- auth.c:auth_connect_callback(): decreased size of 'authbuf'
- auth.c: constifications
- auth.c: constification
- Renamed variables
- auth.c:start_auth_query(): removed extraneous ilog(). report_error() already does the logging
- auth.c:timeout_auth_queries_event(): removed logging
- Renamed 'localClient' Client structure member to just 'connection'
- Update GPL 2 license headers
- Removed CNCB typedef
- Removed stupid PF typedef in fdlist.h which prevented both gcc and clang from spitting out a warning about the first argument of s_bsd:ssl_handshake() being an 'int' when it really has to be a 'fde_t' pointer. - Fixed first argument of s_bsd:ssl_handshake() which should be a 'fde_t' pointer instead of an 'int'.
- Removed ipv6 detection. We now assume all systems that run hybrid have ipv6 availability and sockaddr_storage.
- Fixed resolver/auth issues with too long hostnames
- Renamed structures to meet code conventions
- Backported auth code related cleanups from newio branch
- Don't add/remove unregistered connections to/from global_client_list
- Allow [ in usernames
- Merged Adam's event system rewrite
- auth.c: constification
- Create 8.2.x branch
- Moved s_auth.c to auth.c
- Moved irc_res.c to res.c - Moved irc_reslib.c to reslib.c
- Clean up redundant/unused header includes
- Fixed inconsistent style in several places
- s_auth.c: made sendheader macro use sendto_one_notice()
- s_auth.c, s_auth.h: optimized so we save unecessary auth_doing_list traversals. Patch provided by Adam.
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs) - Fixed copyright years
- Fixed debug assertion being triggered on ident lookup as reported by Stuart Walsh
- Cleanup/reorganize header file layout - Fixed naming convention in some places
- Implemented memory pool allocator which basically is taken from Tor's mempool allocator for Tor cells - Fixed compile warnings in conf_class.c - ./configure --enable-assert works again
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to svnroot/ircd-hybrid/trunk
- renaming files: ircd_parser.y -> conf_parser.y ircd_lexer.l -> conf_lexer.l s_conf.c -> conf.c s_conf.h -> conf.h s_log.c -> log.c s_log.h -> log.h
- Rewrite and cleanup half-broken logging subsystem. Logfile rotating is not working yet
- move content of msg.h, ircd_handler.h and handlers.h into parse.h and remove headers accordingly - killed common.h - remove m_killhost.c and m_flags.c from contrib/ - sort out unused header includes here and there
- move firsttime, since, and lasttime Client struct members to LocalUser struct - m_watch.c: show_watch() now properly reports signon times. This also fixes an invalid signon time of zero for remote clients.
- create ircd-hybrid-8 "branch"
- recreate "trunk"
- replace several ircsprintf with snprintf
- fixed compile errors as reported by Peter Evans
- branch off trunk to create 7.3 branch
- move ircd-hybrid-7.2 to trunk
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified - Fixed several compile warnings - 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding
- move list manipulation routines from tools.c to list.c - mem_frob() goes to memory.c - sort out redundant/unneeded header includes
- remove half done and broken win32 support
- timeout_auth_queries_event(): don't try to close auth->fd twice
- change resolver/auth to use balloc memory pool - ircd.c: init_resolver() has to be called *before* read_conf_files(), otherwise recvfrom() aborts with ENOTSOCK in case there are configured connect{} blocks with a host that needs to be resolved on the very first configuration read.
- fix possible auth/dns related memleaks
- Killed s_stats.c
- Fixed small memory leak in delete_auth()
- Fixed compile error in s_auth.c
- Fixed bug that would exit unknown clients in check_unknowns_list() that are still processing auth/dns queries. Basically check_unknowns_list() should only exit clients that have finished auth/dns and didn't send a NICK/USER combination since they have been released from auth. Reported by ThaPrince.
MFC r396 from ircd-hybrid 7.3 (s_auth.c reliability fixes)
create 7.2 branch, we can move/rename it as needed.
- svn:keywords
- svn:keywords
- Fix svn:keywords
- imported sources - can be moved later according to the directory/branching scheme, but we need the svn up
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.