- Fixed issue where timeouts set with comm_setselect() were not working as in most places this function has been called with seconds when it really expected milliseconds. Removed all related multiply/divide by 1000 nonsense that's sprinkled in the code as ircd currently does support one-second granularity anyway.
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure
- Add support for monotonic clocks and have some timers make use of it; remove event_set_back_events()
- Cleanup server connecting related code even further - Make comm_connect_tcp() take less arguments and remove unused dns resolving functionality
- Made comm_get_sockerr() and comm_accept() take a fde_t pointer as argument
- Update copyright years
- Sprinkle some assert()
- More bool conversion. This should be everything now.
- Make use of the bool data type in some more places
- Make use of the bool data type in some more places
- Minor style corrections
- s_bsd.c:ssl_handshake: use 'F' instead of 'client_p->connection->fd'
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.
- Killed userhost.c. Rewrote everything to use ipcache.c
- Stylistic changes
- Rename some functions to comply with naming convention
- Move close_connection() from s_bsd.c to client.c
- Style corrections
- 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
- Remove experimental libgeoip support
- Clean up remaining sizeof() to sizeof(variable)
- s_bsd.c: removed useless auth.h header include
- Update copyright years
- s_bsd.c: from p4: add_connection(): clean up logic for ips beginning with :
- Have s_bsd.c:comm_accept() take a fde_t pointer instead of a struct Listener
- Rename some functions in client.c to comply with naming convention
- Rename some functions in auth.c to comply with naming convention
- Update copyright years
- Fixed svn properties
- Minor style cleanups & constification
- Cleanups to operator/connect block lookup routines
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers, we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and forever and use uintmax_t instead which has at least a 'standardized' conversion specifier associated with it.
- Let's do this better
- Don't exit out with GnuTLS when there's no key and/or certificate
- Improve libGeoIP support
- Remove useless raw_result -- from Adam
- Incorporate gnutls support by Adam & Attila
- Renamed MyCalloc to xcalloc
- Update copyright years
- s_bsd.h, s_bsd.c:comm_connect_tcp(): change the 'timeout' parameter to a time_t to match up with the other comm_* functions
- s_bsd.c:comm_connect_tcp(): move comments to proper place
- s_bsd.c: use C99-style array initialization
- Style corrections only
- Update copyright years
- Fixed compile warnings
- Renamed variables
- s_bsd.c:ssl_handshake(): use CONNECTTIMEOUT instead of hardcoded value - server.c:ssl_server_handshake(): use CONNECTTIMEOUT instead of hardcoded value
- 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'.
- Renamed various variables
- Removed ipv6 detection. We now assume all systems that run hybrid have ipv6 availability and sockaddr_storage.
- s_bsd.c:comm_accept(): fixed faulty memset()
- Let's allow overlength host name entries in connect {} blocks
- Fixed resolver/auth issues with too long hostnames
- Moved memset() from accept_connection() to comm_accept()
- Renamed structures to meet code conventions
- Added ssl_message_digest_algorithm configuration option to serverinfo{} block. See doc/reference.conf for more information.
- Make use of binary_to_hex() in ssl_handshake() and ssl_server_handshake()
- Create 8.2.x branch
- Style corrections
- Moved files: s_user.c -> user.c s_misc.c -> misc.c s_serv.c -> server.c
- Moved s_auth.c to auth.c
- Moved irc_res.c to res.c - Moved irc_reslib.c to reslib.c
- Readded FLAGS_BLOCKED
- Undo -r3215 for now
- Clean up redundant/unused header includes
- s_bsd.c: no longer resetting source_p->from in close_connection()
- Incorporate Adam's writev() patch
- Incorporate Adam's exit_client/quit storm cleanups Note: QS is mandatory now
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs) - Fixed copyright years
- Use the i/o subsystem to execute scheduled writes. Patch provided by Adam.
- s_bsd.c:ssl_handshake(): reset timeout handler once SSL_accept() has succeeded. Spotted by gp.
- Fixed bug where ircd didn't timeout SSL connections that haven't finished the SSL handshake. Reported by Adam.
- Removed setup_socket callback - Removed init_comm() as init_netio() can be called directly
- Fixed certificate fingerprint validation for outgoing server connects
- s_bsd.c:ssl_handshake(): no need to spam ircd.log with useless ssl errors
- s_bsd.c:ssl_handshake(): shrink buffer size of md
- Add usermode 'S' (client is connecte via SSL/TLS). Allows services to keep track of what users are connected via SSL, and allows to see ssl-status of remote clients in a /whois.
- Change CERTFP implementation to use SHA-256 hashes - Remove base16_encode()
- s_bsd.c:ssl_handshake() replaced a xstrndup() with xstrdup()
- Cleanups and fixes to previous commit -r2228
- Implement certificate fingerprint validation for oper{} and connect{} blocks. Some code taken from oftc-hybrid. Hello, stu!
- Fixed debug assertion being triggered on ident lookup as reported by Stuart Walsh
- Added basic support for libGeoIP - Added exempt configuration option to resv{} blocks
- minor MaskItem structure cleanup
- Initial rewrite of the configuration subsystem
- Made m_globops() and ms_globops() use sendto_realops_flags() - Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to svnroot/ircd-hybrid/trunk
- s_bsd.c:close_connection(): fixed connection scheduling
- Remove all Class related #defines like MaxTotal, MaxSendq, etc. All they do is lead to confusion.
- 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
- remove servlink in preparation for tls links/compression
- 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"
- Update NEWS file - Minor optimization to update_client_exit_stats close_connection - Move MaxConnectionCount/MaxClientCount to Counter struct
- Got rid of irc_addrinfo.c and irc_getnameinfo.c - Fixed broken ipv6 detection due to incorrect use of AC_CHECK_TYPES
- simplify remove_ipv6_mapping() and get rid of inetntoa
- remove old dot_in_ip6_addr configuration option. this is now obsolete.
- 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
- fix possible auth/dns related memleaks
- added ssl_server_protocol configuration option to servinfo{}. valid flags are 'sslv3' and 'tlsv1'
- squash several compile warnings
- lp64\llp64\ilp32 portability fixes
- Killed s_stats.c
- When a connect block uses a hostname instead of an IP, ircd will connect to the hostname's IPv6 if available, independent of the aftype setting. This causes the ircd to fail to connect to a IPv4 host that also has an IPv6 IP. Submitted By: evilmoon (hgchew) (via Sourceforge bts)
- close_connection(): Fixed some harmless bug that could result in incorrect sent statistics in "STATS t" - Updated RELNOTES
- Backported add_connection() speedups
- Properly close ssl clients
- Removed LocalUser.port - Removed two extra memsets in make_request()
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.