Revision
719 -
Directory Listing
-
[select for diffs]
Modified
Sun Jul 16 16:56:58 2006 UTC
(17 years, 8 months ago)
by
adx
Diff to
previous 702
+ reworked operator{} blocks to make them independent from oldconf
+ moved some utilities from s_conf.* to libio
+ added stub for auth{} blocks
Revision
702 -
Directory Listing
-
[select for diffs]
Modified
Sun Jun 25 10:27:09 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 701
- Removed pointless check_class() call in main()
- Removed unused function prototypes
- Moved s_serv.c to server.c
- Renamed initialize_server_capabs() to server_init() and move it to server.c
Revision
691 -
Directory Listing
-
[select for diffs]
Modified
Sat Jun 17 12:59:03 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 684
- Moved can_join() to m_join.c
- Use const keyword in channel.c whenever possible, fixed comments too
Revision
674 -
Directory Listing
-
[select for diffs]
Modified
Tue Jun 13 08:45:01 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 667
- Removed server connection scheduling leftovers. We just periodically continue
to check server confs in try_connections() without updating aconf->hold in
close_connection()
Revision
654 -
Directory Listing
-
[select for diffs]
Modified
Thu Jun 8 09:02:45 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 653
- Got rid of Server::dep_user,dep_server and renamed Server::user and Server::servers dlink
lists to client_list and server_list
Revision
651 -
Directory Listing
-
[select for diffs]
Modified
Thu Jun 8 07:38:56 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 649
- Backported r650 (clients are exited in check_unknowsn_list() while still
processing auth/dns)
- Changed Client::flags to 64bit integer type to allow more flags
Revision
649 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 7 17:57:52 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 648
- Removed all common.h header includes from libio sources
- Moved IRCD_MIN/IRCD_MAX macros to libio and renamed them
to LIBIO_MIN/LIBIO_MAX
Revision
648 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 7 15:16:38 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 644
- Moved our own getopt implementation to libio. We may replace this with gnu
getopt/getopt_long some day.
Revision
643 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 7 11:13:45 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 641
- Killed get_maxrss(). Kinda useless and not very portable.
- count_memory(): replaced all longs with size_t
Revision
641 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 7 10:51:31 2006 UTC
(17 years, 9 months ago)
by
michael
Diff to
previous 636
- Renamed basename() to libio_basename() and use it everywhere instead
of glibc's basename
- Updated configure.ac accordingly
Revision
628 -
Directory Listing
-
[select for diffs]
Modified
Mon May 29 20:04:32 2006 UTC
(17 years, 10 months ago)
by
adx
Diff to
previous 609
Added contrib module for character set recoding
Note it doesn't work at the moment because listen{} itself
is not yet modularised. Will probably also need some modifications
to include iconv headers and libraries in the build process.
Revision
603 -
Directory Listing
-
[select for diffs]
Modified
Sun May 14 10:32:26 2006 UTC
(17 years, 10 months ago)
by
michael
Diff to
previous 599
- Made cleanup_pending_glines() an event started off when loading
the m_gline module
- Removed s_gline.c, s_gline.h and metadata.c
Revision
539 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 25 10:17:25 2006 UTC
(18 years ago)
by
michael
Diff to
previous 534
- We do not need a local copy of addr in accept_connection()
Made several functions use the const keyword for read-only
parameters
Revision
515 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 5 09:26:04 2006 UTC
(18 years ago)
by
michael
Diff to
previous 513
- Moved tstats() to m_stats.c and killed s_stats.(c|h)
- Got rid of extra ServerStats pointer
- Killed ms_error which was basically a duplication of m_error
Revision
502 -
Directory Listing
-
[select for diffs]
Modified
Fri Mar 3 19:49:25 2006 UTC
(18 years ago)
by
michael
Diff to
previous 501
- Implemented CAP command handler based uppon ircu's m_cap()
- Added somewhat outdated draft-mitchell-irc-capabilities-01.txt until
I get the latest version from kev.
- Added "multi-prefix" cap so clients supporting "multi-prefix"
may recieve multi prefixed NAMES replies, e.g. @%+nick1 @+nick2 ..
- Fixed "make clean" for src/conf/
Revision
501 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 2 10:40:42 2006 UTC
(18 years, 1 month ago)
by
michael
Diff to
previous 491
- Removed all inlined versions of dlink* functions
- Added an assert()s to dlinkDelete()
- NDEBUG is now undefined by default for testing and beta versions
Revision
491 -
Directory Listing
-
[select for diffs]
Modified
Wed Mar 1 14:51:05 2006 UTC
(18 years, 1 month ago)
by
michael
Diff to
previous 477
- Got rid of extra strlenS and redundant hash_find_channel() calls
- Cleaned up channel name validation routines
- mo_force: don't allow servers to be added to a channel
Revision
477 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 18 12:34:09 2006 UTC
(18 years, 1 month ago)
by
adx
Diff to
previous 476
+ additional parameter 'exact' for find_module():
if NO, match only the canonical name i.e. m_part.ABC will match
m_part.so or built-in m_part (used to check if any version of a
module is loaded)
if YES, match the whole file name (used with /modunload and friends)
Revision
453 -
Directory Listing
-
[select for diffs]
Modified
Sun Feb 12 18:56:55 2006 UTC
(18 years, 1 month ago)
by
michael
Diff to
previous 450
- Get rid of can_send_part. This also fixes a bug where voiced clients
weren't able to send a PART message to the channel. Reported by ThaPrince.
Revision
443 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 11 23:37:10 2006 UTC
(18 years, 1 month ago)
by
adx
Diff to
previous 442
+ make it compile
+ fix contrib
+ fixed core when unloading spy_trace_notice, this one should be MFC'd
(etrace_cb was not unhooked properly)
Revision
442 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 11 23:14:21 2006 UTC
(18 years, 1 month ago)
by
adx
Diff to
previous 421
+ massive rewrite of module init/deinit/version headers,
we are introducing a new module manager which deals with static
and dynamic modules exactly the same way. (New possibilities
include loading/unloading statically compiled modules and
mixing static/dynamic ones in one build.)
Revision
420 -
Directory Listing
-
[select for diffs]
Modified
Fri Feb 10 14:23:33 2006 UTC
(18 years, 1 month ago)
by
adx
Diff to
previous 407
+ added support for syntax SECTION "value" { ...fields... };
ConfSection has a field 'def_field', if non-NULL it will be
assigned with the provided value.
Revision
398 -
Directory Listing
-
[select for diffs]
Modified
Tue Feb 7 12:00:21 2006 UTC
(18 years, 1 month ago)
by
michael
Diff to
previous 381
- Ripped out lazylinks as discussed on irc. the main concept wasn't very well
designed and will be done in a better way some day. Anyways, they propably
never worked and were considered bloat by most people. Good bye!
Revision
381 -
Directory Listing
-
[select for diffs]
Modified
Sun Jan 29 10:27:33 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 379
- Cleaned up some special magic in show_iline_prefix. Someone tell me why
we should copy aconf->user into a separate buffer after the prefix? Also
renamed it to make_iline_prefix.
Revision
379 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 28 08:31:31 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 378
- 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
Revision
378 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 28 08:13:58 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 374
- 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.
Revision
374 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 14 17:57:18 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 366
- More m_connect cleanups, I also never liked the idea of temporarily modifying
a connect item, so let's do this a bit different now.
Revision
364 -
Directory Listing
-
[select for diffs]
Modified
Sun Jan 8 15:39:24 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 359
- Entirely changed the way of ban match processing to be more cleaner.
It also should nicely speed up matching of pure ip (may include cidr mask)
bans.
- Removed match_cidr() which is now not longed needed
- Add back some prototypes to res.h to fix compile errors
Revision
357 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 5 16:06:45 2006 UTC
(18 years, 2 months ago)
by
michael
Diff to
previous 354
- 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()
Revision
315 -
Directory Listing
-
[select for diffs]
Modified
Fri Dec 23 11:56:34 2005 UTC
(18 years, 3 months ago)
by
michael
Diff to
previous 297
- Moved 'invited' dlink_list to LocalUser struct which will save
some 1.3mb of ram on a typical efnet server.
Revision
296 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 5 20:41:51 2005 UTC
(18 years, 3 months ago)
by
nenolod
Diff to
previous 291
- Add a simple metadata API for extending channel/client/whatever structs
via adding a single dlink_list to the structure you wish to make extensible.
Reviewed by db.
Revision
267 -
Directory Listing
-
[select for diffs]
Modified
Sun Nov 13 22:54:08 2005 UTC
(18 years, 4 months ago)
by
adx
Diff to
previous 249
+ s/extern/EXTERN/ in include/conf
+ implemented class{} from scratch; it's almost done,
I only need to add limit checking code
+ added nice syntax e.g. number_per_ip = 3, global:5;
+ added some aliases ie host_limit === number_per_ip,
userhost_limit === number_per_userhost
(replaces max_local & max_global mess)
+ check example.conf for more details.
Revision
235 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 5 11:31:51 2005 UTC
(18 years, 4 months ago)
by
michael
Diff to
previous 232
- Fixed and cleaned up new acceptcode, e.g fix memory leaks,
don't allow wildcards in a mask when removing accepts, don't
allow redundant masks etc.
Revision
227 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 3 18:29:22 2005 UTC
(18 years, 4 months ago)
by
db
Diff to
previous 224
- replace all MODE_PRIVATE with MODE_PARANOID
- Can't use make_dlink_node() too early in startup or it will core
Revision
224 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 3 17:05:46 2005 UTC
(18 years, 4 months ago)
by
adx
Diff to
previous 223
+ added logging{} block. I hate to add this rusty code to new conf
but it's the only way for now..
+ style corrections
Revision
221 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 3 15:36:27 2005 UTC
(18 years, 4 months ago)
by
michael
Diff to
previous 217
- 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.
Revision
211 -
Directory Listing
-
[select for diffs]
Modified
Tue Nov 1 21:42:01 2005 UTC
(18 years, 4 months ago)
by
adx
Diff to
previous 209
- reorganisations which aim at:
1) moving read_conf_files() at the end of daemon bootup process,
2) making load_*_modules a part of conf parsing, after the 1st pass
Revision
209 -
Directory Listing
-
[select for diffs]
Modified
Tue Nov 1 19:28:42 2005 UTC
(18 years, 4 months ago)
by
adx
Diff to
previous 206
+ coded new serverinfo
+ added parse_fatal, similar to parse_error but using L_CRIT and server_die
+ cold moved out from reset_conf, verify_conf callbacks to a global conf_cold
Revision
200 -
Directory Listing
-
[select for diffs]
Modified
Tue Nov 1 11:38:41 2005 UTC
(18 years, 4 months ago)
by
adx
Diff to
previous 198
+ removed invite_ops_only, controlled by +p now
+ sorted ircd.conf:channel{} a bit
+ added newconf framework for channel{}
+ added missing 7.2 RELNOTES
Revision
190 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 23 22:06:17 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 188
* prototypes are now prefixed with either nothing or EXTERN
(meaning it's an ircd.dll API)
* dynamic modules now work on win32.
Revision
186 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 23 16:05:01 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 185
- Q. When is an address not an address?
A. When it is a handle!
Keep track of handle address and base address of loaded module separately.
The address is also used for modlist and could be derived in modlist
from handle, but later.
Revision
165 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 21 03:50:50 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 162
- committed configure changes by nenolod (William Pitcock)
to check for HAVE_DLINFO
- fixed logic for picking up address for the mod_list
Revision
153 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 17 21:20:34 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 146
- compile libio as a dll on win32
- next step is compiling the whole ircd as a dll to export its symbols
- after that, we'll be able to support loadable *.dll modules.
NOTE: m_operspy.c doesn't compile now (error at localClient->iline)
Revision
146 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 16 15:45:25 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 141
- 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.
Revision
139 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 16 06:01:13 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 131
- get rid of map_conf_item and unmap_conf_item
- Use an union in struct ConfItem, but only allocate memory needed
Revision
128 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 14 19:29:26 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 126
- 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
Revision
126 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 14 02:41:46 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 120
- 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.
Revision
101 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 10 03:52:14 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 99
- 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.
Revision
99 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 9 14:33:36 2005 UTC
(18 years, 5 months ago)
by
michael
Diff to
previous 98
- CHANNELLEN vs. LOCAL_CHANNELLEN fix. Local JOINs are limited to 50chars whereas
remote SJOINs/JOINs can be upto 200chars for backwards compatibility.
Revision
91 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 8 03:46:09 2005 UTC
(18 years, 5 months ago)
by
db
Diff to
previous 90
- 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
Revision
89 -
Directory Listing
-
[select for diffs]
Modified
Thu Oct 6 21:22:58 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 78
- added dynamically extensible conf parser (compiles ok); enough to start
modularising general{} -> general.c, auth{} -> auth.c and so on.
Revision
78 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 4 21:16:00 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 77
- further win32 fixes, use ircd_signal.c interface (signals are wrapped
around WM_USER's wParam)
- note that the callback for WM_SIGNAL (ie WM_USER) defined in libio is
independent from the ircd, ie variable dispatch_wm_signal is set in
ircd_signal.c.
- now it compiles, to do: turn libio into a DLL to allow symbol references
in m_*.dll protocol modules.
Revision
69 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 4 16:09:51 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 68
- 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")
Revision
65 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 3 23:33:16 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 64
- removed external references from libio/misc
- imported s_misc.c to libio, moved CurrentTime there
Revision
61 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 3 21:20:41 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 60
- split libio Makefiles for easier maintenance
- moved pcre.h to main include/ as it is currently a part
of libio interface (in the future all such headers should
be moved to libio/ and integrated...)
Now, libio components like comm, misc etc. should be as independent
as possible (from the rest of ircd and from each other), to allow
easy reuse in other software and to keep the interface clean.
Revision
60 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 3 15:51:34 2005 UTC
(18 years, 5 months ago)
by
adx
Diff to
previous 55
- separate interface (irc_res.h) and implementation (irc_reslib.h)
- moved resolver from comm/ to net/
Revision
55 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 3 11:15:26 2005 UTC
(18 years, 5 months ago)
by
michael
Diff to
previous 49
- 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
Revision
30 -
Directory Listing
-
[select for diffs]
Added
Sun Oct 2 20:03:27 2005 UTC
(18 years, 5 months ago)
by
adx
- imported sources
- can be moved later according to the directory/branching scheme,
but we need the svn up