ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_server.c
Revision 8495 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:40:05 2018 UTC (5 years, 11 months ago) by michael
File length: 27701 byte(s)
Diff to previous 8483 , to selected 8000
- Killed userhost.c. Rewrote everything to use ipcache.c

Revision 8483 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 15:07:19 2018 UTC (5 years, 11 months ago) by michael
File length: 27725 byte(s)
Diff to previous 8438 , to selected 8000
- Move svstag related code into its own files

Revision 8438 - (view) (annotate) - [select for diffs]
Modified Thu Mar 29 13:05:42 2018 UTC (6 years ago) by michael
File length: 27698 byte(s)
Diff to previous 8436 , to selected 8000
- Add channel_get_list() to channel.c which should be used when accessing channel_list outside of channel.c

Revision 8436 - (view) (annotate) - [select for diffs]
Modified Thu Mar 29 09:04:53 2018 UTC (6 years ago) by michael
File length: 27685 byte(s)
Diff to previous 8432 , to selected 8000
- Stylistic changes

Revision 8432 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 20:10:09 2018 UTC (6 years ago) by michael
File length: 27679 byte(s)
Diff to previous 8425 , to selected 8000
- Allow a matching function to be passed to conf_service.c:service_find()

Revision 8425 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 17:45:13 2018 UTC (6 years ago) by michael
File length: 27663 byte(s)
Diff to previous 8424 , to selected 8000
- Rename some functions to comply with naming convention

Revision 8424 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 19:12:29 2018 UTC (6 years ago) by michael
File length: 27663 byte(s)
Diff to previous 8421 , to selected 8000
- m_server.c:ms_sid(): removed outdated/invalid comment

Revision 8421 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 18:54:45 2018 UTC (6 years ago) by michael
File length: 27692 byte(s)
Diff to previous 8420 , to selected 8000
- m_server.c:ms_sid(): use source_p->from instead of client_p

Revision 8420 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 18:49:50 2018 UTC (6 years ago) by michael
File length: 27608 byte(s)
Diff to previous 8394 , to selected 8000
- m_server.c:server_estab(): removed outdated/invalid comment

Revision 8394 - (view) (annotate) - [select for diffs]
Modified Sun Mar 18 13:13:20 2018 UTC (6 years ago) by michael
File length: 28135 byte(s)
Diff to previous 8338 , to selected 8000
- Rename attach_conf() -> conf_attach(), detach_conf() -> conf_detach(); clean up documentation

Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (6 years ago) by michael
File length: 28135 byte(s)
Diff to previous 8309 , to selected 8000
- 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

Revision 8309 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 16:45:52 2018 UTC (6 years ago) by michael
File length: 28112 byte(s)
Diff to previous 8280 , to selected 8000
- Clean up remaining sizeof() to sizeof(variable)

Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (6 years, 1 month ago) by michael
File length: 28112 byte(s)
Diff to previous 8213 , to selected 8000
- Update copyright years

Revision 8213 - (view) (annotate) - [select for diffs]
Modified Sun Apr 16 11:42:51 2017 UTC (6 years, 11 months ago) by michael
File length: 28112 byte(s)
Diff to previous 8165 , to selected 8000
- Store real host information in Client.realhost and extend the UID message to send the actual host.
  This allows operators to see the real host of a client in /whois and /whowas.

Revision 8165 - (view) (annotate) - [select for diffs]
Modified Sun Apr 9 16:08:02 2017 UTC (6 years, 11 months ago) by michael
File length: 27644 byte(s)
Diff to previous 8062 , to selected 8000
- Move all CAPAB related code to server_capab.c, and server_capab.h

Revision 8062 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 17:13:05 2017 UTC (7 years ago) by michael
File length: 27667 byte(s)
Diff to previous 8009 , to selected 8000
- Add UMODE_MAX_STR enum to user.h and make use of it in relevant places

Revision 8009 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 13:41:19 2017 UTC (7 years ago) by michael
File length: 27681 byte(s)
Diff to previous 8004 , to selected 8000
- Remove some pointless/outdated comments

Revision 8004 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 14:32:25 2017 UTC (7 years ago) by michael
File length: 27744 byte(s)
Diff to previous 8000
- m_server.c: stylistic changes

Revision 8000 - (view) (annotate) - [selected]
Modified Tue Mar 14 14:12:21 2017 UTC (7 years ago) by michael
File length: 27743 byte(s)
Diff to previous 7996
- Fixed old bug where lusers/stats u would report an invalid max local connection count in RPL_STATSCONN

Revision 7996 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 13:17:39 2017 UTC (7 years ago) by michael
File length: 27500 byte(s)
Diff to previous 7966 , to selected 8000
- Rename get_client_name() to client_get_name()

Revision 7966 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 19:09:33 2017 UTC (7 years ago) by michael
File length: 27500 byte(s)
Diff to previous 7962 , to selected 8000
- Get rid of Count.myserver

Revision 7962 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 18:48:59 2017 UTC (7 years ago) by michael
File length: 27521 byte(s)
Diff to previous 7956 , to selected 8000
- No longer put servers on the 'global_client_list'. This was just bad.

Revision 7956 - (view) (annotate) - [select for diffs]
Modified Sun Mar 5 11:52:53 2017 UTC (7 years ago) by michael
File length: 27654 byte(s)
Diff to previous 7950 , to selected 8000
- Rename some functions in client.c to comply with naming convention

Revision 7950 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 17:54:03 2017 UTC (7 years ago) by michael
File length: 27654 byte(s)
Diff to previous 7925 , to selected 8000
- Move check_server() from server.c to m_server.c; rename it to server_check()

Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (7 years, 2 months ago) by michael
File length: 26183 byte(s)
Diff to previous 7598 , to selected 8000
- Update copyright years

Revision 7598 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 18:55:15 2016 UTC (7 years, 9 months ago) by michael
File length: 26183 byte(s)
Diff to previous 7589 , to selected 8000
- Minor cleanup to send_umode() to get rid of the redundant struct Client * pointer

Revision 7589 - (view) (annotate) - [select for diffs]
Modified Mon Jun 6 17:41:13 2016 UTC (7 years, 9 months ago) by michael
File length: 26186 byte(s)
Diff to previous 7554 , to selected 8000
- Merge send_capabilities() and show_capabilities() into get_capabilities()

Revision 7554 - (view) (annotate) - [select for diffs]
Modified Sat Apr 30 17:03:50 2016 UTC (7 years, 10 months ago) by michael
File length: 26162 byte(s)
Diff to previous 7356 , to selected 8000
- Minor cleanup to client/channel burst logic

Revision 7356 - (view) (annotate) - [select for diffs]
Modified Mon Feb 22 18:59:30 2016 UTC (8 years, 1 month ago) by michael
File length: 27639 byte(s)
Diff to previous 7247 , to selected 8000
- Cleanup more conversion specifiers

Revision 7247 - (view) (annotate) - [select for diffs]
Modified Thu Feb 4 17:19:38 2016 UTC (8 years, 1 month ago) by michael
File length: 27639 byte(s)
Diff to previous 7106 , to selected 8000
- Move service {} block configuration management into its own module

Revision 7106 - (view) (annotate) - [select for diffs]
Modified Sat Jan 23 20:17:08 2016 UTC (8 years, 2 months ago) by michael
File length: 27693 byte(s)
Diff to previous 7033 , to selected 8000
- Incorporate gnutls support by Adam & Attila

Revision 7033 - (view) (annotate) - [select for diffs]
Modified Sun Jan 3 14:37:29 2016 UTC (8 years, 2 months ago) by michael
File length: 27372 byte(s)
Diff to previous 7007 , to selected 8000
- Renamed MyCalloc to xcalloc

Revision 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (8 years, 2 months ago) by michael
File length: 27373 byte(s)
Diff to previous 6921 , to selected 8000
- Update copyright years

Revision 6921 - (view) (annotate) - [select for diffs]
Modified Thu Dec 10 13:16:33 2015 UTC (8 years, 3 months ago) by michael
File length: 27373 byte(s)
Diff to previous 6781 , to selected 8000
- CAPAB_SVS is now mandatory

Revision 6781 - (view) (annotate) - [select for diffs]
Modified Sun Nov 15 18:45:53 2015 UTC (8 years, 4 months ago) by michael
File length: 27746 byte(s)
Diff to previous 6471 , to selected 8000
- Use the %ju conversion specifier for time_t and get rid of these non-portable (unsigned long) casts; replace some uint64_t with uintmax_t

Revision 6471 - (view) (annotate) - [select for diffs]
Modified Thu Sep 3 13:07:55 2015 UTC (8 years, 6 months ago) by michael
File length: 27823 byte(s)
Diff to previous 6439 , to selected 8000
- Make use of enum in some places; make use of the HasFlag() macro some more; minor style corrections

Revision 6439 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 15:24:14 2015 UTC (8 years, 7 months ago) by michael
File length: 27810 byte(s)
Diff to previous 6434 , to selected 8000
- m_server.c:ms_sid(): should be using get_client_name() in these two places

Revision 6434 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 12:42:34 2015 UTC (8 years, 7 months ago) by michael
File length: 27770 byte(s)
Diff to previous 6426 , to selected 8000
- m_server.c:server_estab(): use get_client_name() when reporting errors

Revision 6426 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 09:44:08 2015 UTC (8 years, 7 months ago) by michael
File length: 27597 byte(s)
Diff to previous 6388 , to selected 8000
- Fixed some server related get_client_name() calls where HIDE_IP is used instead of SHOW_IP. get_client_name()
  already deals with hide_server_ips and falls back to HIDE_IP if IP hiding is enabled.

Revision 6388 - (view) (annotate) - [select for diffs]
Modified Sat Aug 22 17:36:37 2015 UTC (8 years, 7 months ago) by michael
File length: 27597 byte(s)
Diff to previous 6374 , to selected 8000
- m_server.c:server_estab(): removed comment that's outdated for 24 years now

Revision 6374 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 10:01:21 2015 UTC (8 years, 7 months ago) by michael
File length: 27745 byte(s)
Diff to previous 6353 , to selected 8000
- Rename several functions in channel.c to comply with naming convention

Revision 6353 - (view) (annotate) - [select for diffs]
Modified Fri Aug 14 17:50:40 2015 UTC (8 years, 7 months ago) by michael
File length: 27745 byte(s)
Diff to previous 6317 , to selected 8000
- Rename server capabilities flags from CAP_* to CAPAB_*

Revision 6317 - (view) (annotate) - [select for diffs]
Modified Wed Aug 5 16:03:09 2015 UTC (8 years, 7 months ago) by michael
File length: 27737 byte(s)
Diff to previous 6314 , to selected 8000
- Get rid of UMODE_ALL

Revision 6314 - (view) (annotate) - [select for diffs]
Modified Sat Aug 1 18:06:37 2015 UTC (8 years, 7 months ago) by michael
File length: 27506 byte(s)
Diff to previous 6160 , to selected 8000
- Make use of the *Flag() macros in some more places

Revision 6160 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 10:49:13 2015 UTC (8 years, 9 months ago) by michael
File length: 27494 byte(s)
Diff to previous 5880 , to selected 8000
- Move all SID/UID related code to id.c

Revision 5880 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:01:42 2015 UTC (8 years, 10 months ago) by michael
File length: 27478 byte(s)
Diff to previous 5863 , to selected 8000
- Use C99-style initializers in all struct Message items
- Removed MFLG_SLOW
- Removed DUMMY_HANDLER

Revision 5863 - (view) (annotate) - [select for diffs]
Modified Tue Apr 28 12:23:14 2015 UTC (8 years, 11 months ago) by michael
File length: 27186 byte(s)
Diff to previous 5795 , to selected 8000
- Removed useless zero initializers from the module_entry as suggested by Adam

Revision 5795 - (view) (annotate) - [select for diffs]
Modified Fri Apr 17 16:09:23 2015 UTC (8 years, 11 months ago) by michael
File length: 27259 byte(s)
Diff to previous 5785 , to selected 8000
- Minor cleanups to CAPAB related code

Revision 5785 - (view) (annotate) - [select for diffs]
Modified Sun Apr 5 15:17:51 2015 UTC (8 years, 11 months ago) by michael
File length: 27262 byte(s)
Diff to previous 5773 , to selected 8000
- sendnick_TS(), introduce_client(): use the %u conversion specifier for unsigned ints

Revision 5773 - (view) (annotate) - [select for diffs]
Modified Sat Apr 4 15:42:35 2015 UTC (8 years, 11 months ago) by michael
File length: 27262 byte(s)
Diff to previous 5568 , to selected 8000
- Removed TS_DOESTS, DoesTS, and related code

Revision 5568 - (view) (annotate) - [select for diffs]
Modified Sat Feb 14 21:22:23 2015 UTC (9 years, 1 month ago) by michael
File length: 27842 byte(s)
Diff to previous 5559 , to selected 8000
- m_server.c:server_estab(): removed pointless detach_conf(client_p, CONF_OPER)

Revision 5559 - (view) (annotate) - [select for diffs]
Modified Sat Feb 14 19:39:06 2015 UTC (9 years, 1 month ago) by michael
File length: 27935 byte(s)
Diff to previous 5346 , to selected 8000
- Finish basic SVSTAG implementatio
- Added oper::whois configuration option which allows to override the default
  RPL_WHOISOPERATOR numeric string shown in /whois.

Revision 5346 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:41:14 2015 UTC (9 years, 2 months ago) by michael
File length: 27490 byte(s)
Diff to previous 4993 , to selected 8000
- Update copyright years

Revision 4993 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 13:23:06 2014 UTC (9 years, 3 months ago) by michael
File length: 27490 byte(s)
Diff to previous 4964 , to selected 8000
- Removed useless assert()s

Revision 4964 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 13:59:33 2014 UTC (9 years, 3 months ago) by michael
File length: 27511 byte(s)
Diff to previous 4963 , to selected 8000
- user.c, m_server.c: ip addresses are always propagated via UID regardless of ip spoofs

Revision 4963 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 13:08:44 2014 UTC (9 years, 3 months ago) by michael
File length: 27645 byte(s)
Diff to previous 4820 , to selected 8000
- Get rid of NOCAPS

Revision 4820 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 16:50:43 2014 UTC (9 years, 4 months ago) by michael
File length: 27665 byte(s)
Diff to previous 4817 , to selected 8000
- Renamed Client::svid to Client::account

Revision 4817 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 16:05:01 2014 UTC (9 years, 4 months ago) by michael
File length: 27662 byte(s)
Diff to previous 4816 , to selected 8000
- Renamed variables

Revision 4816 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:29:49 2014 UTC (9 years, 4 months ago) by michael
File length: 27659 byte(s)
Diff to previous 4754 , to selected 8000
- Renamed variables

Revision 4754 - (view) (annotate) - [select for diffs]
Modified Sat Oct 18 18:57:23 2014 UTC (9 years, 5 months ago) by michael
File length: 27619 byte(s)
Diff to previous 4710 , to selected 8000
- m_server.c, m_stats.c: constification

Revision 4710 - (view) (annotate) - [select for diffs]
Modified Tue Oct 7 09:53:11 2014 UTC (9 years, 5 months ago) by michael
File length: 27623 byte(s)
Diff to previous 4658 , to selected 8000
- Applied EOB fix from p4:
  Send EOB per-server during bursts

  Will fix incorrectly marking servers are done bursting if they are not when
  a server introduces a server currently bursting to you.

  At a later time we will adjust the behavior of the EOB handler to no
  longer recursively apply EOBs to all servers behind the source.

Revision 4658 - (view) (annotate) - [select for diffs]
Modified Tue Sep 23 15:33:43 2014 UTC (9 years, 6 months ago) by michael
File length: 27380 byte(s)
Diff to previous 4637 , to selected 8000
- m_server.c:mr_server(), ms_sid(): minor modification to allow for more parameters in the future

Revision 4637 - (view) (annotate) - [select for diffs]
Modified Sun Sep 21 10:58:26 2014 UTC (9 years, 6 months ago) by michael
File length: 27352 byte(s)
Diff to previous 4617 , to selected 8000
- m_server.c:ms_sid(): don't automatically consider servers behind u-lines are services as well

Revision 4617 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 13:00:55 2014 UTC (9 years, 6 months ago) by michael
File length: 27388 byte(s)
Diff to previous 4613 , to selected 8000
- Renamed Channel::chname to Channel::name

Revision 4613 - (view) (annotate) - [select for diffs]
Modified Tue Sep 2 08:55:41 2014 UTC (9 years, 6 months ago) by michael
File length: 27390 byte(s)
Diff to previous 4610 , to selected 8000
- m_server.c:server_estab(): since we no longer put connecting/unknown servers on the local_server_list,
  we can simplify that "I'm no hub, I'm not allowed to link" test.

Revision 4610 - (view) (annotate) - [select for diffs]
Modified Tue Sep 2 08:35:19 2014 UTC (9 years, 6 months ago) by michael
File length: 27568 byte(s)
Diff to previous 4606 , to selected 8000
- m_server.c: removed some redundant ERROR messages. exit_client() already takes care of sending ERRORs

Revision 4606 - (view) (annotate) - [select for diffs]
Modified Sun Aug 31 08:04:58 2014 UTC (9 years, 6 months ago) by michael
File length: 28052 byte(s)
Diff to previous 4604 , to selected 8000
- m_server.c:server_estab(): don't set SetGotId here. There is no reason why
  it should be done in this place

Revision 4604 - (view) (annotate) - [select for diffs]
Modified Sat Aug 30 18:18:47 2014 UTC (9 years, 6 months ago) by michael
File length: 28119 byte(s)
Diff to previous 4594 , to selected 8000
- m_server.c:server_estab(): cleaned up 'inpath', 'inpath_ip' mess

Revision 4594 - (view) (annotate) - [select for diffs]
Modified Sat Aug 30 16:52:46 2014 UTC (9 years, 6 months ago) by michael
File length: 28196 byte(s)
Diff to previous 4589 , to selected 8000
- m_server.c:server_estab(): removed 'host = client_p->name' assignment

Revision 4589 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:21 2014 UTC (9 years, 7 months ago) by michael
File length: 28217 byte(s)
Diff to previous 4580 , to selected 8000
- Renamed 'localClient' Client structure member to just 'connection'

Revision 4580 - (view) (annotate) - [select for diffs]
Modified Mon Aug 25 10:31:29 2014 UTC (9 years, 7 months ago) by michael
File length: 28230 byte(s)
Diff to previous 4571 , to selected 8000
- Fixed misspellings

Revision 4571 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 17:07:19 2014 UTC (9 years, 7 months ago) by michael
File length: 28229 byte(s)
Diff to previous 4564 , to selected 8000
- m_server.c: fixed spelling in some places

Revision 4564 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:24:47 2014 UTC (9 years, 7 months ago) by michael
File length: 28226 byte(s)
Diff to previous 4546 , to selected 8000
- Update GPL 2 license headers

Revision 4546 - (view) (annotate) - [select for diffs]
Modified Fri Aug 22 08:46:38 2014 UTC (9 years, 7 months ago) by michael
File length: 28222 byte(s)
Diff to previous 4438 , to selected 8000
- Fixed compile warnings with -Wmissing-field-initializers

Revision 4438 - (view) (annotate) - [select for diffs]
Modified Sat Aug 9 18:33:17 2014 UTC (9 years, 7 months ago) by michael
File length: 28210 byte(s)
Diff to previous 4341 , to selected 8000
- Renamed various variables

Revision 4341 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:48 2014 UTC (9 years, 7 months ago) by michael
File length: 28206 byte(s)
Diff to previous 4299 , to selected 8000
- Renamed structures to meet code conventions

Revision 4299 - (view) (annotate) - [select for diffs]
Modified Sun Jul 20 13:51:28 2014 UTC (9 years, 8 months ago) by michael
File length: 28202 byte(s)
Diff to previous 4246 , to selected 8000
- Fixed typos all over the place

Revision 4246 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 19:41:33 2014 UTC (9 years, 8 months ago) by michael
File length: 28201 byte(s)
Diff to previous 4212 , to selected 8000
- m_server.c: fixed build with LibreSSL which hasn't compression support
- ax_check_openssl.m4: 0.9.8m is now the minimum requirement

Revision 4212 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 09:24:10 2014 UTC (9 years, 8 months ago) by michael
File length: 27918 byte(s)
Diff to previous 4208 , to selected 8000
- Renamed serv_list to local_server_list

Revision 4208 - (view) (annotate) - [select for diffs]
Modified Sat Jul 12 18:13:06 2014 UTC (9 years, 8 months ago) by michael
File length: 27886 byte(s)
Diff to previous 4188 , to selected 8000
- Renammed global_serv_list to global_server_list

Revision 4188 - (view) (annotate) - [select for diffs]
Modified Mon Jul 7 18:29:35 2014 UTC (9 years, 8 months ago) by michael
File length: 27880 byte(s)
Diff to previous 4021 , to selected 8000
- Don't add/remove unregistered connections to/from global_client_list

Revision 4021 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 16:19:28 2014 UTC (9 years, 9 months ago) by michael
File length: 27820 byte(s)
Diff to previous 4008 , to selected 8000
- Got rid of SEND_UMODES. We now propagate all modes.

Revision 4008 - (view) (annotate) - [select for diffs]
Modified Thu Jun 19 15:18:21 2014 UTC (9 years, 9 months ago) by michael
File length: 27833 byte(s)
Diff to previous 3960 , to selected 8000
- m_server.c:server_estab(): SVINFO can be prefixed

Revision 3960 - (view) (annotate) - [select for diffs]
Modified Tue Jun 17 18:15:07 2014 UTC (9 years, 9 months ago) by michael
File length: 27822 byte(s)
Diff to previous 3945 , to selected 8000
- Fixed EOB logic for remote servers. Fix derived from p4

Revision 3945 - (view) (annotate) - [select for diffs]
Modified Mon Jun 16 18:04:33 2014 UTC (9 years, 9 months ago) by michael
File length: 27914 byte(s)
Diff to previous 3474 , to selected 8000
- Renamed global_channel_list to channel_list

Revision 3474 - (view) (annotate) - [select for diffs]
Modified Sun May 4 15:45:10 2014 UTC (9 years, 10 months ago) by michael
File length: 27921 byte(s)
Diff to previous 3377 , to selected 8000
- Renamed general::warn_no_nline to warn_no_connect_block

Revision 3377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:15:51 2014 UTC (9 years, 11 months ago) by michael
File length: 27913 byte(s)
Diff to previous 3347 , to selected 8000
- Create 8.2.x branch

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 27913 byte(s)
Diff to previous 3306 , to selected 8000
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3306 - (view) (annotate) - [select for diffs]
Modified Mon Apr 14 18:37:05 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 27917 byte(s)
Diff to previous 3303 , to selected 8000
- Made server_estab() and sendnick_TS() use 'static' keyword

Revision 3303 - (view) (annotate) - [select for diffs]
Modified Sun Apr 13 11:19:36 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 27903 byte(s)
Diff to previous 3246 , to selected 8000
- s_serv.c, m_server.c: moved all netburst related code to m_server.c

Revision 3246 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 17:37:13 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15620 byte(s)
Diff to previous 3192 , to selected 8000
- Fixed inconsistent style in several places

Revision 3192 - (view) (annotate) - [select for diffs]
Modified Sun Mar 23 19:46:39 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15606 byte(s)
Diff to previous 3190 , to selected 8000
- Fixed compile error in ms_sid()
- Cleaned up find_chasing(). Removed useless third 'chasing' argument.

Revision 3190 - (view) (annotate) - [select for diffs]
Modified Fri Mar 21 18:58:43 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15591 byte(s)
Diff to previous 3183 , to selected 8000
- mr_server(), ms_sid(): minor cleanup

Revision 3183 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 16:49:21 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15645 byte(s)
Diff to previous 3171 , to selected 8000
- Cleanup some places where we no longer need to use ID_or_name()

Revision 3171 - (view) (annotate) - [select for diffs]
Modified Sun Mar 16 11:51:48 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15663 byte(s)
Diff to previous 3156 , to selected 8000
- Incorporate Adam's exit_client/quit storm cleanups
  Note: QS is mandatory now

Revision 3156 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 19:57:38 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15798 byte(s)
Diff to previous 3148 , to selected 8000
- Removed client_p pointers from everywhere

Revision 3148 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 12:34:45 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15811 byte(s)
Diff to previous 3139 , to selected 8000
- m_server.c:mr_server(): check for bogus server ID

Revision 3139 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 18:33:51 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15230 byte(s)
Diff to previous 3135 , to selected 8000
- m_server.c:ms_sid(): constification + fixed comments

Revision 3135 - (view) (annotate) - [select for diffs]
Modified Mon Mar 10 21:11:25 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 15220 byte(s)
Diff to previous 3096 , to selected 8000
- Server now no longer accepts TS5 links

Revision 3096 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 23:31:45 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 21590 byte(s)
Diff to previous 2976 , to selected 8000
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 2976 - (view) (annotate) - [select for diffs]
Modified Fri Jan 31 12:31:22 2014 UTC (10 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 21608 byte(s)
Diff to previous 2850 , to selected 8000
- m_server.c:mr_server(): don't falsely exit a server with the reason
  being "SID already exists" if it's just hash_find_server() that
  returned non-NULL.

Revision 2850 - (view) (annotate) - [select for diffs]
Modified Fri Jan 17 18:22:04 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 21067 byte(s)
Diff to previous 2820 , to selected 8000
- m_server.c:mr_server(): if there's no connect block for a server,
  exit the connection with "No connect{} block." instead of
  "Invalid servername." 

Revision 2820 - (view) (annotate) - [select for diffs]
Modified Wed Jan 15 23:10:26 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 21067 byte(s)
Diff to previous 2433 , to selected 8000
- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years
- Made module handlers int type for later use

Revision 2433 - (view) (annotate) - [select for diffs]
Modified Fri Aug 2 18:43:00 2013 UTC (10 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20892 byte(s)
Diff to previous 2228 , to selected 8000
- Removed rfc1459_command_send_error() message handler

Revision 2228 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 19:46:30 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20910 byte(s)
Diff to previous 1997 , to selected 8000
- Implement certificate fingerprint validation for oper{} and connect{} blocks.
  Some code taken from oftc-hybrid. Hello, stu!

Revision 1997 - (view) (annotate) - [select for diffs]
Modified Sat May 11 17:35:07 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20357 byte(s)
Diff to previous 1652 , to selected 8000
- Mostly style cleanups & whitespace changes

Revision 1652 - (view) (annotate) - [select for diffs]
Modified Tue Nov 13 20:28:53 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20406 byte(s)
Diff to previous 1632 , to selected 8000
- changed match() polarity. match() now returns 0 on match and 1 on non-match
  This cleans up several places where function pointers of different matching
  functions like irccmp/strcmp/match are passed to other functions.
- added improved collapse() to match.c

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20402 byte(s)
Diff to previous 1624 , to selected 8000
- Initial rewrite of the configuration subsystem

Revision 1624 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 13:27:04 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20435 byte(s)
Diff to previous 1618 , to selected 8000
- Fixed compile warnings due to missing arguments to sendto_realops_flags()

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 20422 byte(s)
Diff to previous 1592 , to selected 8000
- 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

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/core/m_server.c
File length: 19898 byte(s)
Diff to previous 1569 , to selected 8000
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1569 - (view) (annotate) - [select for diffs]
Modified Tue Oct 16 18:46:53 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 19898 byte(s)
Diff to previous 1533 , to selected 8000
- Removed remnants of MFLG_UNREG which is no longer needed with the
  current implementation of message handlers

Revision 1533 - (view) (annotate) - [select for diffs]
Modified Sun Sep 23 13:04:45 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 19911 byte(s)
Diff to previous 1529 , to selected 8000
- A server's description can again include the '[' and ']' characters

Revision 1529 - (view) (annotate) - [select for diffs]
Modified Sun Sep 16 10:27:19 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21241 byte(s)
Diff to previous 1528 , to selected 8000
- removed server hostmasking leftovers

Revision 1528 - (view) (annotate) - [select for diffs]
Modified Fri Sep 14 18:20:34 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21428 byte(s)
Diff to previous 1527 , to selected 8000
- ms_sid, ms_server: minor optimization. if we already found a matching
  hub/leaf mask, don't continue looking for other masks

Revision 1527 - (view) (annotate) - [select for diffs]
Modified Fri Sep 14 17:58:08 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21392 byte(s)
Diff to previous 1474 , to selected 8000
- Fixed SID introduction as reported by Mantas M.
  This bug has been nicely implemented in -r1239

Revision 1474 - (view) (annotate) - [select for diffs]
Modified Sun Jul 22 14:44:07 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21378 byte(s)
Diff to previous 1414 , to selected 8000
- removed &localchannels

Revision 1414 - (view) (annotate) - [select for diffs]
Modified Sat May 26 08:36:29 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21396 byte(s)
Diff to previous 1385 , to selected 8000
- Minor cleanups to check_server(). Checking for long servernames was redundant
  here, since valid_servername() already does that job. Also make use of
  match_conf_password()

Revision 1385 - (view) (annotate) - [select for diffs]
Modified Tue May 1 11:31:35 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21855 byte(s)
Diff to previous 1384 , to selected 8000
- ms_server(), ms_sid(): it's client_p which has an attached
  CONF_SERVER, not source_p. Stupid me.

Revision 1384 - (view) (annotate) - [select for diffs]
Modified Tue May 1 11:25:58 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21855 byte(s)
Diff to previous 1383 , to selected 8000
- m_server.c: fixed core introduced by previous commit to m_server.c

Revision 1383 - (view) (annotate) - [select for diffs]
Modified Tue May 1 11:18:22 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 21822 byte(s)
Diff to previous 1321 , to selected 8000
- Cleanup/rewrite Hub/Leaf-mask configuration. Hub and Leaf configuration items
  are no longer separately attached to Client structures.

Revision 1321 - (view) (annotate) - [select for diffs]
Modified Fri Mar 30 11:23:16 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22267 byte(s)
Diff to previous 1309 , to selected 8000
- remove unused variables

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22275 byte(s)
Diff to previous 1302 , to selected 8000
- 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

Revision 1302 - (view) (annotate) - [select for diffs]
Modified Wed Mar 21 17:48:54 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22279 byte(s)
Diff to previous 1243 , to selected 8000
- remove servlink in preparation for tls links/compression

Revision 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22305 byte(s)
Diff to previous 1239 , to selected 8000
- 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

Revision 1239 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 14:02:25 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22432 byte(s)
Diff to previous 1230 , to selected 8000
- minor cleanup to m_sid and m_server: replace DLINK_FOREACH loops
 with sendto_server()

Revision 1230 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 19:41:19 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22973 byte(s)
Diff to previous 1219 , to selected 8000
- cleanup module loader. Make module api more flexible

Revision 1219 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 09:02:38 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22978 byte(s)
Diff to previous 1178 , to selected 8000
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1178 - (view) (annotate) - [select for diffs]
Modified Mon Aug 15 08:11:31 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22929 byte(s)
Diff to previous 1169 , to selected 8000
- Cleanup and restore older parts of the irc-command parser.
  Gives back ability to specify maximum amount of parameters
  that are processed within a command.

Revision 1169 - (view) (annotate) - [select for diffs]
Modified Fri Aug 12 18:45:03 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22953 byte(s)
Diff to previous 1157 , to selected 8000
- rename find_server to hash_find_server to satisfy naming convention
- pull m_services.c and m_jupe.c from contrib/
- style fixes in some places

Revision 1157 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 22:03:59 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22938 byte(s)
Diff to previous 1156 , to selected 8000
- preliminary services support

Revision 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_server.c
File length: 22685 byte(s)
Diff to previous 1155 , to selected 8000
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 22685 byte(s)
Diff to previous 1121 , to selected 8000
- recreate "trunk"

Revision 1121 - (view) (annotate) - [select for diffs]
Modified Sun Jan 9 11:03:03 2011 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_server.c
File length: 22685 byte(s)
Diff to previous 1118 , to selected 8000
- removed all instances of STATIC_MODULES since we don't have
  static modules anymore
- removed m_mkpasswd module from contrib

Revision 1118 - (view) (annotate) - [select for diffs]
Modified Thu Jan 6 13:39:10 2011 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_server.c
File length: 22715 byte(s)
Diff to previous 1115 , to selected 8000
- cleanup and sanitize m_server.c. remove hostmasking. Improve TS6 suppport

Revision 1115 - (view) (annotate) - [select for diffs]
Modified Tue Dec 21 14:42:54 2010 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_server.c
File length: 26442 byte(s)
Diff to previous 1029 , to selected 8000
- Rename bogus_host() found in several modules to check_servname() and move
  it to s_serv.c
- serverinfo::sid is now mandatory and must be specified.
  ircd won't start otherwise

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_server.c
File length: 26827 byte(s)
Diff to previous 1028 , to selected 8000
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 26827 byte(s)
Diff to previous 1011 , to selected 8000
- move ircd-hybrid-7.2 to trunk

Revision 1011 - (view) (annotate) - [select for diffs]
Modified Fri Sep 18 10:14:09 2009 UTC (14 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 26827 byte(s)
Diff to previous 946 , to selected 8000
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 946 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 23:18:04 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 26871 byte(s)
Diff to previous 896 , to selected 8000
- move m_error.c to modules/


Revision 896 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 08:54:09 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 26852 byte(s)
Diff to previous 889 , to selected 8000
- Killed s_stats.c

Revision 889 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 12:59:05 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 26895 byte(s)
Diff to previous 885 , to selected 8000
- Got rid of Serv.dep_users and Serv.dep_servers

Revision 885 - (view) (annotate) - [select for diffs]
Modified Wed Oct 31 18:09:24 2007 UTC (16 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 26955 byte(s)
Diff to previous 34 , to selected 8000
- Removed LazyLinks in 7.2 to stop people from asking why we keep
  broken code for half a decade. LL will be implemented in a smarter
  fashion in due time

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (18 years, 5 months ago) by lusky
Original Path: ircd-hybrid-7.2/modules/core/m_server.c
File length: 27925 byte(s)
Diff to previous 33 , to selected 8000
create 7.2 branch, we can move/rename it as needed.


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 27925 byte(s)
Diff to previous 32 , to selected 8000
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 27925 byte(s)
Diff to previous 31 , to selected 8000
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 27925 byte(s)
Diff to previous 30 , to selected 8000
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid/modules/core/m_server.c
File length: 27981 byte(s)
Diff to selected 8000
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

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