/[svn]/ircd-hybrid/src/s_serv.c
ViewVC logotype

Log of /ircd-hybrid/src/s_serv.c

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 1586)

Revision 328 - (view) (annotate) - [select for diffs]
Modified Sun Dec 25 10:42:33 2005 UTC (14 years, 8 months ago) by michael
File length: 69887 byte(s)
Diff to previous 320
- Fixed bug where we wouldn't send the HUB capability token when
  using cryptlinks


Revision 320 - (view) (annotate) - [select for diffs]
Modified Sat Dec 24 15:13:27 2005 UTC (14 years, 8 months ago) by michael
File length: 69880 byte(s)
Diff to previous 217
- Fixed core in case aconf->cipher_preference and
  ConfigFileEntry.default_cipher_preference are both NULL pointers

  Reported by opteron-hani via Joan


Revision 217 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 13:59:27 2005 UTC (14 years, 10 months ago) by michael
File length: 69747 byte(s)
Diff to previous 211
- Fixed compile error in m_invite.c and s_serv.c
- Added m_watch.c


Revision 211 - (view) (annotate) - [select for diffs]
Modified Tue Nov 1 21:42:01 2005 UTC (14 years, 10 months ago) by adx
File length: 69746 byte(s)
Diff to previous 208
- 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 208 - (view) (annotate) - [select for diffs]
Modified Tue Nov 1 15:38:03 2005 UTC (14 years, 10 months ago) by adx
File length: 69744 byte(s)
Diff to previous 146
+ an attempt to fix the HUB capability mess, we _should_ be able
  to establish an LL link now


Revision 146 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 15:45:25 2005 UTC (14 years, 11 months ago) by db
File length: 69826 byte(s)
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 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 06:29:10 2005 UTC (14 years, 11 months ago) by db
File length: 69810 byte(s)
Diff to previous 139
- Make ->conf conf_ptr to be consistent in all places.



Revision 139 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 06:01:13 2005 UTC (14 years, 11 months ago) by db
File length: 69806 byte(s)
Diff to previous 126
- get rid of map_conf_item and unmap_conf_item
- Use an union in struct ConfItem, but only allocate memory needed



Revision 126 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 02:41:46 2005 UTC (14 years, 11 months ago) by db
File length: 69944 byte(s)
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 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 10:57:26 2005 UTC (14 years, 11 months ago) by adx
File length: 69487 byte(s)
Diff to previous 121
- it is probably more clean to do it this way..


Revision 121 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 10:34:56 2005 UTC (14 years, 11 months ago) by michael
File length: 69735 byte(s)
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 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 09:51:10 2005 UTC (14 years, 11 months ago) by michael
File length: 69487 byte(s)
Diff to previous 101
- More TBURST changes


Revision 101 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 03:52:14 2005 UTC (14 years, 11 months ago) by db
File length: 68781 byte(s)
Diff to previous 69
- 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 69 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 16:09:51 2005 UTC (14 years, 11 months ago) by adx
File length: 68864 byte(s)
Diff to previous 41
- 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 41 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 23:25:13 2005 UTC (14 years, 11 months ago) by adx
File length: 69138 byte(s)
Diff to previous 33
- *hopefully* this hack fixes cryptlinks+ts6 instead of breaking them ;)


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (14 years, 11 months ago) by knight
File length: 69057 byte(s)
Diff to previous 32
- svn:keywords


Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (14 years, 11 months ago) by knight
File length: 69057 byte(s)
Diff to previous 31
- svn:keywords


Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (14 years, 11 months ago) by knight
File length: 69057 byte(s)
Diff to previous 30
- Fix svn:keywords


Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (14 years, 11 months ago) by adx
File length: 69110 byte(s)
- 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.

  Diffs between and
  Type of Diff should be a

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28