- Moved GLINE_PENDING_EXPIRE and CLEANUP_GLINES_TIME defines to m_gline.c
- Made cleanup_pending_glines() an event started off when loading the m_gline module - Removed s_gline.c, s_gline.h and metadata.c
- check_client: remove this useless IRCD_SOCKET_ERROR case
- We do not need a local copy of addr in accept_connection() Made several functions use the const keyword for read-only parameters
- Got rid of MAXCONFLINKS. You can even have a billion connect{} blocks if you want..
- Removed LL leftovers
- More preparations for the new u@h mask storage system, also added some small example to report_confitem_types() how to deal with it when reporting items
- Added mask_list dlink_list to MatchItem/AcccessItem structs. These lists will later be used to hold a chain of hostmasks used for hub_mask, leaf_mask, and auth{}/oper{} user masks so we later don't need to duplicate a whole MatchItem or AcccessItem via ugly ColllecItems.
+ this should fix the bug with low ping timeouts for servers. keep cleaning up the conf stuff.
- Mainly re-wrote split_nuh() to fix a regexp kline bug where we would cut off the user portion after 9 chars, but also to be a bit more flexible when we have to deal with different user/host name lengths. - Re-wrote m_capture() to use split_nuh()
- Finished WATCH implementation - Added missing 'return' after register_remote_user() call in nick_from_server() which would cause an extra hash_del/strcpy/hash_add combination.
+ removed invite_ops_only, controlled by +p now + sorted ircd.conf:channel{} a bit + added newconf framework for channel{} + added missing 7.2 RELNOTES
* prototypes are now prefixed with either nothing or EXTERN (meaning it's an ircd.dll API) * dynamic modules now work on win32.
- More conf cleanups, aconf->client count is no longer needed as an AccessItem can now be deleted immediately. - Note bug in s_conf.c with flush_deleted_I_P, it was trying to free MatchItems using an AccessConf this bug is in 7.1.4 as well as 7.2 flush_deleted_I_P() is no longer needed at all in 7.3 since AccessItems are removed immediately. - Fixed a few cores in server establishment, notably ->serv has to be allocated sooner since there are no confs to attach. make_server() is probably called once too often now.
- Make ->conf conf_ptr to be consistent in all places.
- removed free_access_item() - a few cleanups in s_conf.h as well
- get rid of map_conf_item and unmap_conf_item - Use an union in struct ConfItem, but only allocate memory needed
- Make delete_conf_item() table driven Still not quite done.
- still need a temporary copy of the client auth block for much the same reasons as a copy of the passwd is needed. - need a copy of the oper conf for get_oper_name() so reuse no longer needed temporary spot for client auth block
- attach/conf cleanup take 2 - Each client has now one AccessItem for its connect stored in localClient->iline - The corresponding class is now stored in localClient->class The ramifications of this move are, there is no conf list to traverse to find the AccessItem, the class is instantly available from the localClient struct without having to traverse the confs list and indirectly through the aconf. This speeds up get_sendq etc. functions. As a bonus, at least 4 fewer bytes are used in the Client struct, since a dlink list is 4 words. It does mean there is no longer a separate conf oper, which leads to the kludge of patching the clients iline into an oper conf when a client opers up. I don't think the oper flags are used after the client is opered, so the patching operation may not be necessary. - Server confs are stored in ->serv->sconf as before but attaching happens much earlier. - server hub/leaf masks continues to be a dlink list but linked from the ->serv which is only allocated for servers. - cleaned up some comments, added a comment, notably to check_server() which badly needed it. - Pass ClassItem or AccessItem etc. in when it makes more sense than passing in struct ConfItem. This simplified and clarified rebuild_cidr_class() And lo, there was a great rejoicing.
- First pass at s_conf.c cleanup for attach clients - attach_conf() is gone replaced with attach_iline() Clients/servers have one single I line "attached", i.e. the confs list is gone. - Add attach_leaf_hub() Add a leaf or hub mask to the given server, ->serv must exist since there can be a list of hub masks and leaf masks, this continues to be a dlink list - Removed redundant find_conf_exact() This function can be replaced in all cases with find_exact_name_conf() notably because all find_conf_exact did differently was count whether an oper conf would cause an already connected client to exceed class limits. - oper_up() now takes an extra conf pointer pointing to the found oper conf, the oper flags are set in the client->iline as necessary in oper_up() - Cleaned up more prototypes that should have been moved from s_conf.h to parse_aline.h notably. find_kill() and find_gkill() - m_stats.c needs more cleanup since memory in attached "confs" is now not counted. This should be replaced with iline memory count and hub/leaf confs memory count.
- Split out most of the *line *resv stuff into separate file parse_aline.c should go eventually into the subdir conf - removed double -o in Makefile.in in src, this caused compile to fail for me
- splitted ircd/libio, all headers connected with libio sources have been moved for internal use only. To use libio interface, include "libio.h" (which is already done in "stdinc.h")
- Re-added an equivalent of H6's sixth O-line field (Modes to get on operup). - Updated efnet's example.conf to reflect the new opers_bypass_callerid directive - Misc style corrections to s_user.c while on it
- 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.