ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/svn/ircd-hybrid/src
Revision 188 - Directory Listing - [select for diffs]
Modified Sun Oct 23 20:40:34 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 187
* compile dynamic modules under win32
Revision 187 - Directory Listing - [select for diffs]
Modified Sun Oct 23 20:30:07 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 186
- Fixed bug in sendto_channel_remote() that would cause
  multiple copies of the same message to be sent to the
  uplinked server.
  That one needs propably to be backported to 7.1.4 and 7.2

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 185 - Directory Listing - [select for diffs]
Modified Sun Oct 23 15:39:00 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 183
* dynamic module support for win32

Revision 183 - Directory Listing - [select for diffs]
Modified Sun Oct 23 00:01:26 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 182
- copyright fixes

Revision 182 - Directory Listing - [select for diffs]
Modified Sat Oct 22 23:49:43 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 181
* implemented general{}

Revision 181 - Directory Listing - [select for diffs]
Modified Sat Oct 22 19:30:19 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 180
* finish last commit

Revision 180 - Directory Listing - [select for diffs]
Modified Sat Oct 22 19:26:46 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 179
* added general{} framework

Revision 179 - Directory Listing - [select for diffs]
Modified Sat Oct 22 11:23:29 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 178
- rearranged new conf headers a bit

Revision 178 - Directory Listing - [select for diffs]
Modified Sat Oct 22 10:02:43 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 173
- somehow it didn't get committed, fixing

Revision 173 - Directory Listing - [select for diffs]
Modified Fri Oct 21 23:48:44 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 165
- Fixed problem with IP throttling

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 164
- committed configure changes by nenolod (William Pitcock)
  to check for HAVE_DLINFO
- fixed logic for picking up address for the mod_list


Revision 164 - Directory Listing - [select for diffs]
Modified Thu Oct 20 21:34:25 2005 UTC (18 years, 5 months ago) by db
Diff to previous 162
- Use dlinfo() to get the actual load address of the module i.e. its
  library base. The previous code was using the "handle" which is wrong.
  Hopefully should compile on linux as well, perhaps we should also have
  an HAVE_DLINFO checked for in configure.


Revision 162 - Directory Listing - [select for diffs]
Modified Thu Oct 20 10:34:50 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 158
- Removed LocalUser.port

Revision 158 - Directory Listing - [select for diffs]
Modified Wed Oct 19 09:35:52 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 153
- Fixed bug where we would increase Count.invisi even
  if invisible_on_connect is off

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 141 - Directory Listing - [select for diffs]
Modified Sun Oct 16 06:29:10 2005 UTC (18 years, 5 months ago) by db
Diff to previous 140
- Make ->conf conf_ptr to be consistent in all places.


Revision 140 - Directory Listing - [select for diffs]
Modified Sun Oct 16 06:09:42 2005 UTC (18 years, 5 months ago) by db
Diff to previous 139
- removed free_access_item()
- a few cleanups in s_conf.h as well


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 134
- get rid of map_conf_item and unmap_conf_item
- Use an union in struct ConfItem, but only allocate memory needed


Revision 134 - Directory Listing - [select for diffs]
Modified Sat Oct 15 22:57:28 2005 UTC (18 years, 5 months ago) by db
Diff to previous 133
= Commit y.tab.c part as well


Revision 133 - Directory Listing - [select for diffs]
Modified Sat Oct 15 22:55:36 2005 UTC (18 years, 5 months ago) by db
Diff to previous 131
- Fix ~ on oper flags, auth flags and connect flags


Revision 131 - Directory Listing - [select for diffs]
Modified Sat Oct 15 16:22:20 2005 UTC (18 years, 5 months ago) by db
Diff to previous 130
- Make delete_conf_item() table driven

Still not quite done.


Revision 130 - Directory Listing - [select for diffs]
Modified Sat Oct 15 01:47:46 2005 UTC (18 years, 5 months ago) by db
Diff to previous 129
- removed an unused function find_conf_name() from here
- fixed prototype for verify_access()
- added free_aconf_items() free_match_items()
- removed map_to_list() since this is merely a table lookup now
- cleaned up delete_conf_item() a bit more

Not done  yet...


Revision 129 - Directory Listing - [select for diffs]
Modified Fri Oct 14 20:27:45 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 128
- Don't do any client/oper conf attach at all if any possible

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 122
- 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 122 - Directory Listing - [select for diffs]
Modified Thu Oct 13 10:57:26 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 121
- it is probably more clean to do it this way..

Revision 121 - Directory Listing - [select for diffs]
Modified Thu Oct 13 10:34:56 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 120
- Moved ms_tburst() to m_tb.c as suggested by adx
- Fixed problem where we would send both TB and TBURST to the same server

Revision 120 - Directory Listing - [select for diffs]
Modified Thu Oct 13 09:51:10 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 116
- More TBURST changes

Revision 116 - Directory Listing - [select for diffs]
Modified Wed Oct 12 17:11:55 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 110
- More GCC4 fixes

Revision 110 - Directory Listing - [select for diffs]
Modified Wed Oct 12 14:16:38 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 109
- remove extra -o in gcc arguments

Revision 109 - Directory Listing - [select for diffs]
Modified Wed Oct 12 09:42:59 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 101
- Forward-ported GDENY core fix

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 98 - Directory Listing - [select for diffs]
Modified Sun Oct 9 10:15:07 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 97
- Moved llname to LocalUser struct

Revision 97 - Directory Listing - [select for diffs]
Modified Sun Oct 9 08:42:57 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 91
- Got rid of restart(), cleaned up m_restart() and make it use server_die()

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 90 - Directory Listing - [select for diffs]
Modified Fri Oct 7 02:04:15 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 89
- Finialise svn:ignore keywords to fix everything

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 87
- added dynamically extensible conf parser (compiles ok); enough to start
  modularising general{} -> general.c, auth{} -> auth.c and so on.

Revision 87 - Directory Listing - [select for diffs]
Modified Wed Oct 5 20:47:43 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 86
- integrated close_standard_fds with libio_init

Revision 86 - Directory Listing - [select for diffs]
Modified Wed Oct 5 20:36:04 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 78
* attached misc/tools.c to misc/list.c,
  this should really have been done earlier.

* moved mem_frob() to memory.c

* single libio_init() instead of all startup functions;
  btw, I don't know if ircd's still able to boot ..

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 77 - Directory Listing - [select for diffs]
Modified Tue Oct 4 20:45:31 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 69
- misc win32 fixes
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 68 - Directory Listing - [select for diffs]
Modified Tue Oct 4 00:44:29 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 65
- removed last references to the ircd core, libio is independent now
- to do: split headers

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 63
- removed external references from libio/misc
- imported s_misc.c to libio, moved CurrentTime there

Revision 63 - Directory Listing - [select for diffs]
Modified Mon Oct 3 22:25:15 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 62
- removed some libio sources left in src/

Revision 62 - Directory Listing - [select for diffs]
Modified Mon Oct 3 22:23:39 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 61
- reorganisation goes on, removed external references from libio/mem

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 59
- 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 59 - Directory Listing - [select for diffs]
Modified Mon Oct 3 15:11:57 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 57
- move non-irc related sources to /libio
- todo: make it independent of the rest of code

Revision 57 - Directory Listing - [select for diffs]
Modified Mon Oct 3 12:12:41 2005 UTC (18 years, 5 months ago) by michael
Diff to previous 55
- Reverted oper_privs_as_string() back to its previous version which is easier
  to maintain when adding new operflags. Even the one who wrote the new version
  introduced a bug by not taking care to keep the oper_flags_table in sync
  with the OPER_FLAGS_* bits.  (which also no one really wants to do ...)
- Updated it to deal with new 'remoteban', 'operwall' and 'operspy' flags

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 48
- 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 48 - Directory Listing - [select for diffs]
Modified Mon Oct 3 01:36:06 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 41
- added a hook for get_channel_access to allow oper override modules
- please review

Revision 41 - Directory Listing - [select for diffs]
Modified Sun Oct 2 23:25:13 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 37
- *hopefully* this hack fixes cryptlinks+ts6 instead of breaking them ;)

Revision 37 - Directory Listing - [select for diffs]
Modified Sun Oct 2 22:23:24 2005 UTC (18 years, 5 months ago) by adx
Diff to previous 33
- disallow ':' as the 1st character of server passwords, forbid spaces too
  (breaks PASS %s TS 6 %s)

Revision 33 - Directory Listing - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 32
- svn:keywords

Revision 32 - Directory Listing - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 31
- svn:keywords

Revision 31 - Directory Listing - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 5 months ago) by knight
Diff to previous 30
- Fix svn:keywords

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

(Current path doesn't exist after revision 1586)

Convenience Links