ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/server.c
Revision 8878 - (view) (annotate) - [select for diffs]
Modified Sun Feb 24 09:12:52 2019 UTC (5 years, 1 month ago) by michael
File length: 19057 byte(s)
Diff to previous 8874 , to selected 5459
- server.c:server_connect_callback(): remove redundant memcpy(). Address is already being copied to client->ip in server_connect()

Revision 8874 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 21:53:04 2019 UTC (5 years, 1 month ago) by michael
File length: 19192 byte(s)
Diff to previous 8868 , to selected 5459
- Cleanup server connecting related code even further
- Make comm_connect_tcp() take less arguments and remove unused dns resolving functionality

Revision 8868 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 10:32:23 2019 UTC (5 years, 1 month ago) by michael
File length: 20307 byte(s)
Diff to previous 8865 , to selected 5459
- server.c:server_connect(): cleanup address binding related mess

Revision 8865 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 09:55:50 2019 UTC (5 years, 1 month ago) by michael
File length: 20939 byte(s)
Diff to previous 8838 , to selected 5459
- The 'serverinfo::vhost' and 'serverinfo:vhost6' configuration directives have been deprecated. If you need to bind() a specific address you can specify one in the connect {} block
- The 'connect::vhost' configuration directive has been renamed to 'connect::bind'

Revision 8838 - (view) (annotate) - [select for diffs]
Modified Sat Feb 2 22:38:05 2019 UTC (5 years, 1 month ago) by michael
File length: 21994 byte(s)
Diff to previous 8799 , to selected 5459
- server.c: move SetHandshake to proper place

Revision 8799 - (view) (annotate) - [select for diffs]
Modified Sat Jan 19 00:22:51 2019 UTC (5 years, 2 months ago) by michael
File length: 21926 byte(s)
Diff to previous 8751 , to selected 5459
- Use bool for SetOptions.autoconn

Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (5 years, 2 months ago) by michael
File length: 21922 byte(s)
Diff to previous 8687 , to selected 5459
- Update copyright years

Revision 8687 - (view) (annotate) - [select for diffs]
Modified Sun Dec 2 12:46:02 2018 UTC (5 years, 3 months ago) by michael
File length: 21922 byte(s)
Diff to previous 8659 , to selected 5459
- More bool conversion. This should be everything now.

Revision 8659 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:53:34 2018 UTC (5 years, 4 months ago) by michael
File length: 21906 byte(s)
Diff to previous 8657 , to selected 5459
- Make use of the bool data type in some more places

Revision 8657 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:02:38 2018 UTC (5 years, 4 months ago) by michael
File length: 21885 byte(s)
Diff to previous 8511 , to selected 5459
- Make use of the bool data type in some more places

Revision 8511 - (view) (annotate) - [select for diffs]
Modified Fri Apr 6 19:27:49 2018 UTC (5 years, 11 months ago) by michael
File length: 21866 byte(s)
Diff to previous 8499 , to selected 5459
- Style corrections

Revision 8499 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:59:25 2018 UTC (5 years, 11 months ago) by michael
File length: 21844 byte(s)
Diff to previous 8495 , to selected 5459
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.

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: 21847 byte(s)
Diff to previous 8436 , to selected 5459
- Killed userhost.c. Rewrote everything to use ipcache.c

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

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

Revision 8402 - (view) (annotate) - [select for diffs]
Modified Sun Mar 18 19:14:25 2018 UTC (6 years ago) by michael
File length: 21925 byte(s)
Diff to previous 8394 , to selected 5459
- server.c:serv_connect_callback, finish_ssl_server_handshake: cleanups; immediately continue with read_packet()

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

Revision 8390 - (view) (annotate) - [select for diffs]
Modified Sat Mar 17 21:43:52 2018 UTC (6 years ago) by michael
File length: 23111 byte(s)
Diff to previous 8338 , to selected 5459
- Clean up some awful CONF_SERVER handling in serv_connect()

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

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: 24205 byte(s)
Diff to previous 7996 , to selected 5459
- Move all CAPAB related code to server_capab.c, and server_capab.h

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

Revision 7994 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 12:35:54 2017 UTC (7 years ago) by michael
File length: 26603 byte(s)
Diff to previous 7990 , to selected 5459
- server.c: stylistic changes

Revision 7990 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 12:22:07 2017 UTC (7 years ago) by michael
File length: 26633 byte(s)
Diff to previous 7972 , to selected 5459
- server.c:server_hunt(): use 'tmp' instead of 'node->data'

Revision 7972 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 22:05:40 2017 UTC (7 years ago) by michael
File length: 26647 byte(s)
Diff to previous 7970 , to selected 5459
- Made server_hunt() return a const pointer

Revision 7970 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:55:33 2017 UTC (7 years ago) by michael
File length: 26641 byte(s)
Diff to previous 7962 , to selected 5459
- Cleanup some bad mess in mo_trace(). This also fixes some bug where we would get RPL_TRACELINK replies with
  "ac2ptr_is_NULL!!" from remote servers including SIDs or UIDs.

Revision 7962 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 18:48:59 2017 UTC (7 years ago) by michael
File length: 26437 byte(s)
Diff to previous 7956 , to selected 5459
- 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: 26467 byte(s)
Diff to previous 7952 , to selected 5459
- Rename some functions in client.c to comply with naming convention

Revision 7952 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 18:02:12 2017 UTC (7 years ago) by michael
File length: 26467 byte(s)
Diff to previous 7950 , to selected 5459
- Rename hunt_server() to server_hunt()

Revision 7950 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 17:54:03 2017 UTC (7 years ago) by michael
File length: 26467 byte(s)
Diff to previous 7925 , to selected 5459
- 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: 27929 byte(s)
Diff to previous 7686 , to selected 5459
- Update copyright years

Revision 7686 - (view) (annotate) - [select for diffs]
Modified Thu Aug 18 17:32:04 2016 UTC (7 years, 7 months ago) by michael
File length: 27929 byte(s)
Diff to previous 7667 , to selected 5459
- Remove excessive const keyword on dlink_node pointers

Revision 7667 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:36 2016 UTC (7 years, 8 months ago) by michael
File length: 27955 byte(s)
Diff to previous 7589 , to selected 5459
- Fixed svn properties

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: 27955 byte(s)
Diff to previous 7587 , to selected 5459
- Merge send_capabilities() and show_capabilities() into get_capabilities()

Revision 7587 - (view) (annotate) - [select for diffs]
Modified Wed Jun 1 19:31:47 2016 UTC (7 years, 9 months ago) by michael
File length: 28443 byte(s)
Diff to previous 7572 , to selected 5459
- server.c: style corrections

Revision 7572 - (view) (annotate) - [select for diffs]
Modified Tue May 24 16:33:40 2016 UTC (7 years, 10 months ago) by michael
File length: 28436 byte(s)
Diff to previous 7532 , to selected 5459
- Move initialize_server_capabs() from ircd.c to server.c and rename it to server_capab_init()

Revision 7532 - (view) (annotate) - [select for diffs]
Modified Sun Apr 10 17:34:51 2016 UTC (7 years, 11 months ago) by michael
File length: 28102 byte(s)
Diff to previous 7530 , to selected 5459
- server.c:find_servconn_in_progress(): replace match() call with irccmp()

Revision 7530 - (view) (annotate) - [select for diffs]
Modified Sun Apr 10 17:29:41 2016 UTC (7 years, 11 months ago) by michael
File length: 28117 byte(s)
Diff to previous 7520 , to selected 5459
- server.c:show_capabilities(): remove "TS" which is irrelevant info

Revision 7520 - (view) (annotate) - [select for diffs]
Modified Sat Apr 2 15:55:25 2016 UTC (7 years, 11 months ago) by michael
File length: 28160 byte(s)
Diff to previous 7400 , to selected 5459
- attach_connect_block(), check_server(): replace match() calls with irccmp() since the
  strings that are to be compared cannot contain wildcards anyway

Revision 7400 - (view) (annotate) - [select for diffs]
Modified Sun Mar 6 16:10:14 2016 UTC (8 years ago) by michael
File length: 28179 byte(s)
Diff to previous 7356 , to selected 5459
- Cleanups to operator/connect block lookup routines

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: 28175 byte(s)
Diff to previous 7347 , to selected 5459
- Cleanup more conversion specifiers

Revision 7347 - (view) (annotate) - [select for diffs]
Modified Sun Feb 21 11:44:24 2016 UTC (8 years, 1 month ago) by michael
File length: 28175 byte(s)
Diff to previous 7273 , to selected 5459
- Remove unused header includes

Revision 7273 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:55:20 2016 UTC (8 years, 1 month ago) by michael
File length: 28235 byte(s)
Diff to previous 7272 , to selected 5459
- Let's do this better

Revision 7272 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:48:06 2016 UTC (8 years, 1 month ago) by michael
File length: 28259 byte(s)
Diff to previous 7143 , to selected 5459
- Don't exit out with GnuTLS when there's no key and/or certificate

Revision 7143 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 09:57:03 2016 UTC (8 years, 2 months ago) by michael
File length: 28281 byte(s)
Diff to previous 7106 , to selected 5459
- Remove useless raw_result -- from Adam

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: 28311 byte(s)
Diff to previous 7033 , to selected 5459
- 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: 29097 byte(s)
Diff to previous 7007 , to selected 5459
- 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: 29102 byte(s)
Diff to previous 6726 , to selected 5459
- Update copyright years

Revision 6726 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 19:56:41 2015 UTC (8 years, 4 months ago) by michael
File length: 29102 byte(s)
Diff to previous 6724 , to selected 5459
- server.c:serv_connect(): update comments

Revision 6724 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 19:49:49 2015 UTC (8 years, 4 months ago) by michael
File length: 29067 byte(s)
Diff to previous 6722 , to selected 5459
- server.c:check_server(): removed oudated comment

Revision 6722 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 19:44:24 2015 UTC (8 years, 4 months ago) by michael
File length: 29167 byte(s)
Diff to previous 6634 , to selected 5459
- server.c:try_connections(): remove outdated comment

Revision 6634 - (view) (annotate) - [select for diffs]
Modified Sat Oct 24 15:16:18 2015 UTC (8 years, 5 months ago) by michael
File length: 29246 byte(s)
Diff to previous 6601 , to selected 5459
- Use client->name when updating the fd's associated name record with fd_note()

Revision 6601 - (view) (annotate) - [select for diffs]
Modified Thu Oct 22 18:07:22 2015 UTC (8 years, 5 months ago) by michael
File length: 29242 byte(s)
Diff to previous 6600 , to selected 5459
- server.c:read_links_file(), write_links_file(): do some logging if we cannot fopen links.txt

Revision 6600 - (view) (annotate) - [select for diffs]
Modified Thu Oct 22 17:54:57 2015 UTC (8 years, 5 months ago) by michael
File length: 28994 byte(s)
Diff to previous 6528 , to selected 5459
- Added serverhide::flatten_links_file configuration option and get rid of LIPATH

Revision 6528 - (view) (annotate) - [select for diffs]
Modified Fri Sep 11 16:33:52 2015 UTC (8 years, 6 months ago) by michael
File length: 28798 byte(s)
Diff to previous 6495 , to selected 5459
- Fixed inconsistent style in several places

Revision 6495 - (view) (annotate) - [select for diffs]
Modified Sat Sep 5 17:01:01 2015 UTC (8 years, 6 months ago) by michael
File length: 28797 byte(s)
Diff to previous 6427 , to selected 5459
- server.c:check_server(): removed redundant test on server_conf; constification

Revision 6427 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 09:59:24 2015 UTC (8 years, 7 months ago) by michael
File length: 28832 byte(s)
Diff to previous 6396 , to selected 5459
- server.c: make use of get_client_name() in some places; fixed some other get_client_name() calls to use the right argument value

Revision 6396 - (view) (annotate) - [select for diffs]
Modified Sun Aug 23 15:15:42 2015 UTC (8 years, 7 months ago) by michael
File length: 29208 byte(s)
Diff to previous 6389 , to selected 5459
- server.c:serv_connect_callback(): constification

Revision 6389 - (view) (annotate) - [select for diffs]
Modified Sat Aug 22 18:11:47 2015 UTC (8 years, 7 months ago) by michael
File length: 29190 byte(s)
Diff to previous 6349 , to selected 5459
- server.c:try_connections(): get rid of MIN_CONN_FREQ and allow class::connectfreq to work properly with values lower than 300 seconds; update comment for clarification

Revision 6349 - (view) (annotate) - [select for diffs]
Modified Tue Aug 11 17:53:32 2015 UTC (8 years, 7 months ago) by michael
File length: 29310 byte(s)
Diff to previous 6317 , to selected 5459
- Make use of enum in more places

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: 29306 byte(s)
Diff to previous 6160 , to selected 5459
- Get rid of UMODE_ALL

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: 29173 byte(s)
Diff to previous 6158 , to selected 5459
- Move all SID/UID related code to id.c

Revision 6158 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 09:35:55 2015 UTC (8 years, 9 months ago) by michael
File length: 29406 byte(s)
Diff to previous 6157 , to selected 5459
- server.c:generate_sid(): replace snprintf/strlcpy combo with just snprintf

Revision 6157 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 09:22:51 2015 UTC (8 years, 9 months ago) by michael
File length: 29479 byte(s)
Diff to previous 6061 , to selected 5459
- Automatically generate sid on startup if none is configured. Patch provided by Adam

Revision 6061 - (view) (annotate) - [select for diffs]
Modified Sat Jun 6 17:23:12 2015 UTC (8 years, 9 months ago) by michael
File length: 29173 byte(s)
Diff to previous 5795 , to selected 5459
- server.c:hunt_server(): prioritize wildcard lookups on server names as suggested by Adam. Could have used some
  dlinkAddTail magic for clients to keep the list ordered by servers and clients but introducing a second loop in
  hunt_server() makes things more obvious. Also it should be investigated if there's still good a reason for
  putting servers on the global_client_list.

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: 28788 byte(s)
Diff to previous 5775 , to selected 5459
- Minor cleanups to CAPAB related code

Revision 5775 - (view) (annotate) - [select for diffs]
Modified Sat Apr 4 17:31:06 2015 UTC (8 years, 11 months ago) by michael
File length: 28981 byte(s)
Diff to previous 5459
- Changed some function to void if we don't need a return value
- Have some other functions return saner values

Revision 5459 - (view) (annotate) - [selected]
Modified Tue Feb 3 22:24:23 2015 UTC (9 years, 1 month ago) by michael
File length: 28993 byte(s)
Diff to previous 5346
- Minor cleanups here and there

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: 29013 byte(s)
Diff to previous 5050 , to selected 5459
- Update copyright years

Revision 5050 - (view) (annotate) - [select for diffs]
Modified Sat Dec 13 21:30:17 2014 UTC (9 years, 3 months ago) by michael
File length: 29013 byte(s)
Diff to previous 4816 , to selected 5459
- Fixed compile warnings

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: 29007 byte(s)
Diff to previous 4738 , to selected 5459
- Renamed variables

Revision 4738 - (view) (annotate) - [select for diffs]
Modified Sun Oct 12 12:06:42 2014 UTC (9 years, 5 months ago) by michael
File length: 28963 byte(s)
Diff to previous 4731 , to selected 5459
- s_bsd.c:ssl_handshake(): use CONNECTTIMEOUT instead of hardcoded value
- server.c:ssl_server_handshake(): use CONNECTTIMEOUT instead of hardcoded value

Revision 4731 - (view) (annotate) - [select for diffs]
Modified Sun Oct 12 11:41:07 2014 UTC (9 years, 5 months ago) by michael
File length: 28927 byte(s)
Diff to previous 4676 , to selected 5459
- server.c:ssl_server_handshake(): correctly timeout outgoing connects

Revision 4676 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:03:06 2014 UTC (9 years, 5 months ago) by michael
File length: 28713 byte(s)
Diff to previous 4589 , to selected 5459
- server.c:serv_connect(): made failed connection notice more descriptive for remote
  /connects

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: 28692 byte(s)
Diff to previous 4564 , to selected 5459
- Renamed 'localClient' Client structure member to just 'connection'

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: 28717 byte(s)
Diff to previous 4463 , to selected 5459
- Update GPL 2 license headers

Revision 4463 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:26:13 2014 UTC (9 years, 7 months ago) by michael
File length: 28713 byte(s)
Diff to previous 4462 , to selected 5459
- Removed CNCB typedef

Revision 4462 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:08:22 2014 UTC (9 years, 7 months ago) by michael
File length: 28691 byte(s)
Diff to previous 4438 , to selected 5459
- Removed stupid PF typedef in fdlist.h which prevented both gcc and clang from spitting out
  a warning about the first argument of s_bsd:ssl_handshake() being an 'int' when it really
  has to be a 'fde_t' pointer.
- Fixed first argument of s_bsd:ssl_handshake() which should be a 'fde_t' pointer instead of an 'int'.

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: 28682 byte(s)
Diff to previous 4414 , to selected 5459
- Renamed various variables

Revision 4414 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 14:06:08 2014 UTC (9 years, 7 months ago) by michael
File length: 28681 byte(s)
Diff to previous 4341 , to selected 5459
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.

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: 28736 byte(s)
Diff to previous 4299 , to selected 5459
- 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: 28700 byte(s)
Diff to previous 4211 , to selected 5459
- Fixed typos all over the place

Revision 4211 - (view) (annotate) - [select for diffs]
Modified Sat Jul 12 19:22:22 2014 UTC (9 years, 8 months ago) by michael
File length: 28699 byte(s)
Diff to previous 4208 , to selected 5459
- server.c:hunt_server(): removed useless test. Discussed and approved by Adam.

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: 28769 byte(s)
Diff to previous 4207 , to selected 5459
- Renammed global_serv_list to global_server_list

Revision 4207 - (view) (annotate) - [select for diffs]
Modified Sat Jul 12 17:52:08 2014 UTC (9 years, 8 months ago) by michael
File length: 28767 byte(s)
Diff to previous 4197 , to selected 5459
- server.c: cleaned up hunt_server()

Revision 4197 - (view) (annotate) - [select for diffs]
Modified Thu Jul 10 19:49:02 2014 UTC (9 years, 8 months ago) by michael
File length: 29564 byte(s)
Diff to previous 4188 , to selected 5459
- server.c:try_connections(): whitespace changes

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: 29563 byte(s)
Diff to previous 4115 , to selected 5459
- Don't add/remove unregistered connections to/from global_client_list

Revision 4115 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:49:54 2014 UTC (9 years, 8 months ago) by michael
File length: 29624 byte(s)
Diff to previous 4112 , to selected 5459
- Added ssl_message_digest_algorithm configuration option to serverinfo{} block.
  See doc/reference.conf for more information.

Revision 4112 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:02:36 2014 UTC (9 years, 8 months ago) by michael
File length: 29601 byte(s)
Diff to previous 4029 , to selected 5459
- Make use of binary_to_hex() in ssl_handshake() and ssl_server_handshake()

Revision 4029 - (view) (annotate) - [select for diffs]
Modified Sat Jun 21 18:31:00 2014 UTC (9 years, 9 months ago) by michael
File length: 29662 byte(s)
Diff to previous 3747 , to selected 5459
- server.c:try_connections(): removed useless test on conf->class to
  make coverity shut up. There shouldn't ever be a MaskItem on the
  server_items list that hasn't a class attached to it.

Revision 3747 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 17:15:40 2014 UTC (9 years, 9 months ago) by michael
File length: 29733 byte(s)
Diff to previous 3505 , to selected 5459
- server.c:send_capabilities(): replaced sprintf() with strlcat(

Revision 3505 - (view) (annotate) - [select for diffs]
Modified Sat May 10 19:51:42 2014 UTC (9 years, 10 months ago) by michael
File length: 29727 byte(s)
Diff to previous 3452 , to selected 5459
- Renamed MyMalloc() to MyCalloc()

Revision 3452 - (view) (annotate) - [select for diffs]
Modified Thu May 1 19:20:08 2014 UTC (9 years, 10 months ago) by michael
File length: 29727 byte(s)
Diff to previous 3450 , to selected 5459
- server.c: minor valid_servname() cleanup

Revision 3450 - (view) (annotate) - [select for diffs]
Modified Thu May 1 19:14:55 2014 UTC (9 years, 10 months ago) by michael
File length: 29767 byte(s)
Diff to previous 3377 , to selected 5459
- server.c:hunt_server(): save extra has_wildcards() call everytime hunt_server()
  finds a client/server in the hash tables.

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: 29798 byte(s)
Diff to previous 3375 , to selected 5459
- Create 8.2.x branch

Revision 3375 - (view) (annotate) - [select for diffs]
Modified Wed Apr 23 16:03:50 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/server.c
File length: 29798 byte(s)
Diff to previous 3347 , to selected 5459
- Style corrections

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/src/server.c
File length: 29799 byte(s)
Copied from: ircd-hybrid/trunk/src/s_serv.c revision 3346
Diff to previous 3335 , to selected 5459
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3335 - (view) (annotate) - [select for diffs]
Modified Thu Apr 17 18:55:31 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 29801 byte(s)
Diff to previous 3320 , to selected 5459
- Style corrections

Revision 3320 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 15:58:33 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 29872 byte(s)
Diff to previous 3319 , to selected 5459
- Removed useless header includes

Revision 3319 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 15:41:50 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 29894 byte(s)
Diff to previous 3303 , to selected 5459
- Removed useless header includes

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/src/s_serv.c
File length: 29892 byte(s)
Diff to previous 3280 , to selected 5459
- s_serv.c, m_server.c: moved all netburst related code to m_server.c

Revision 3280 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 18:21:22 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42297 byte(s)
Diff to previous 3274 , to selected 5459
- Fixed compile warnings

Revision 3274 - (view) (annotate) - [select for diffs]
Modified Sun Apr 6 12:22:23 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42307 byte(s)
Diff to previous 3246 , to selected 5459
- Clean up redundant/unused header includes

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/src/s_serv.c
File length: 42395 byte(s)
Diff to previous 3215 , to selected 5459
- Fixed inconsistent style in several places

Revision 3215 - (view) (annotate) - [select for diffs]
Modified Tue Mar 25 19:23:15 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42475 byte(s)
Diff to previous 3187 , to selected 5459
- Fixed some comments; cleaned up style here and there

Revision 3187 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 18:29:05 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42487 byte(s)
Diff to previous 3186 , to selected 5459
- Get rid of the HasID() macro

Revision 3186 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 18:09:34 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42513 byte(s)
Diff to previous 3184 , to selected 5459
- Get rid of the ID() macro

Revision 3184 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 17:39:13 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42513 byte(s)
Diff to previous 3171 , to selected 5459
- Cleanup more places where ID_or_name() is no longer necessary

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/src/s_serv.c
File length: 42662 byte(s)
Diff to previous 3156 , to selected 5459
- 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/src/s_serv.c
File length: 42717 byte(s)
Diff to previous 3140 , to selected 5459
- Removed client_p pointers from everywhere

Revision 3140 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 19:23:20 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42736 byte(s)
Diff to previous 3137 , to selected 5459
- Get rid of halfop -> op rewriting for servers that don't support halfops

Revision 3137 - (view) (annotate) - [select for diffs]
Modified Tue Mar 11 19:01:43 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42836 byte(s)
Diff to previous 3136 , to selected 5459
- s_serv.c:server_estab() moved target_p pointer to inner scope

Revision 3136 - (view) (annotate) - [select for diffs]
Modified Tue Mar 11 18:24:03 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 42848 byte(s)
Diff to previous 3135 , to selected 5459
- Various fixes to previous ts5 removal changes

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/src/s_serv.c
File length: 43091 byte(s)
Diff to previous 3110 , to selected 5459
- Server now no longer accepts TS5 links

Revision 3110 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 20:33:17 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44787 byte(s)
Diff to previous 3109 , to selected 5459
- Added sendto_one_notice()

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44855 byte(s)
Diff to previous 3107 , to selected 5459
- Applied Adam's sendto_one_numeric() changes

Revision 3107 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 12:09:42 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44970 byte(s)
Diff to previous 3096 , to selected 5459
- Applied dbuf changes as provided by Adam:
  Refcount dbufs instead of copying the same message to many
  different buffers.

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/src/s_serv.c
File length: 44988 byte(s)
Diff to previous 2916 , to selected 5459
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 45217 byte(s)
Diff to previous 2718 , to selected 5459
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2718 - (view) (annotate) - [select for diffs]
Modified Wed Dec 25 13:43:46 2013 UTC (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 45227 byte(s)
Diff to previous 2691 , to selected 5459
- Fixed EOB not working for remote servers (Fake Direction)

Revision 2691 - (view) (annotate) - [select for diffs]
Modified Tue Dec 17 18:55:59 2013 UTC (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 45227 byte(s)
Diff to previous 2688 , to selected 5459
- Avoid magically sized temporary buffers

Revision 2688 - (view) (annotate) - [select for diffs]
Modified Tue Dec 17 17:42:06 2013 UTC (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 45217 byte(s)
Diff to previous 2463 , to selected 5459
- introduce_client(), sendnick_TS(): fixed buffer overflow if a client has all possible
  modes set that are defined in SEND_UMODES

Revision 2463 - (view) (annotate) - [select for diffs]
Modified Sat Aug 17 20:38:00 2013 UTC (10 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 45224 byte(s)
Diff to previous 2345 , to selected 5459
- Fixed certificate fingerprint validation for outgoing server connects

Revision 2345 - (view) (annotate) - [select for diffs]
Modified Wed Jul 3 18:17:39 2013 UTC (10 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44371 byte(s)
Diff to previous 2309 , to selected 5459
- White-space commit / style corrections

Revision 2309 - (view) (annotate) - [select for diffs]
Modified Wed Jun 19 20:48:02 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44401 byte(s)
Diff to previous 2282 , to selected 5459
- s_serv.c:show_capabilities(): fixed buffer oddities

Revision 2282 - (view) (annotate) - [select for diffs]
Modified Tue Jun 18 18:02:14 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44361 byte(s)
Diff to previous 2229 , to selected 5459
- s_serv.c: cleanup show_capabilities(). Replace sprintf() combo with strlcat()

Revision 2229 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 20:10:27 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44333 byte(s)
Diff to previous 2228 , to selected 5459
- Cleanups and fixes to previous commit -r2228

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/src/s_serv.c
File length: 44320 byte(s)
Diff to previous 2216 , to selected 5459
- Implement certificate fingerprint validation for oper{} and connect{} blocks.
  Some code taken from oftc-hybrid. Hello, stu!

Revision 2216 - (view) (annotate) - [select for diffs]
Modified Thu Jun 6 17:35:45 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 44037 byte(s)
Diff to previous 2212 , to selected 5459
- Added read_links_file()

Revision 2212 - (view) (annotate) - [select for diffs]
Modified Wed Jun 5 22:04:03 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43677 byte(s)
Diff to previous 2182 , to selected 5459
- s_serv.c:write_links_file(): replaced a dlinkAdd() with dlinkAddTail()

Revision 2182 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 12:19:04 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43673 byte(s)
Diff to previous 2156 , to selected 5459
- Style correcions/white-space changes

Revision 2156 - (view) (annotate) - [select for diffs]
Modified Fri May 31 20:53:11 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43305 byte(s)
Diff to previous 2134 , to selected 5459
- Cleanup flattened links code

Revision 2134 - (view) (annotate) - [select for diffs]
Modified Wed May 29 18:59:39 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43789 byte(s)
Diff to previous 2083 , to selected 5459
- s_user.c, s_serv.c, rsa.c: style corrections; mostly whitespace changes

Revision 2083 - (view) (annotate) - [select for diffs]
Modified Fri May 17 19:29:09 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43770 byte(s)
Diff to previous 1972 , to selected 5459
- s_serv.c:hunt_server(): removed collapse() call. Let match() deal with it.

Revision 1972 - (view) (annotate) - [select for diffs]
Modified Wed May 8 18:41:37 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43796 byte(s)
Diff to previous 1971 , to selected 5459
- Cleanup previous commit -r1957

Revision 1971 - (view) (annotate) - [select for diffs]
Modified Wed May 8 18:31:55 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43892 byte(s)
Diff to previous 1877 , to selected 5459
- EOB is now send to all servers globally

Revision 1877 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 10:26:51 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43955 byte(s)
Diff to previous 1857 , to selected 5459
- Made find_capability() return an unsigned int

Revision 1857 - (view) (annotate) - [select for diffs]
Modified Wed Apr 24 20:47:21 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43946 byte(s)
Diff to previous 1851 , to selected 5459
- Constification

Revision 1851 - (view) (annotate) - [select for diffs]
Modified Wed Apr 24 18:31:06 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43934 byte(s)
Diff to previous 1834 , to selected 5459
- Cleanup m_map.c
- Implemented serverhide::hide_services configuration option

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43841 byte(s)
Diff to previous 1832 , to selected 5459
- Revert to -r1831

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43811 byte(s)
Diff to previous 1793 , to selected 5459
- Made all numeric defines use the actual string instead of the numeric value
  which allows to use gcc's printf format attribute
- Remove current message locale implementation

Revision 1793 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:06:08 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43841 byte(s)
Diff to previous 1652 , to selected 5459
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

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/src/s_serv.c
File length: 43875 byte(s)
Diff to previous 1649 , to selected 5459
- 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 1649 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 19:27:13 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43872 byte(s)
Diff to previous 1646 , to selected 5459
- minor MaskItem structure cleanup

Revision 1646 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 21:02:43 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43870 byte(s)
Diff to previous 1636 , to selected 5459
- First pass of conf parser stabilization/cleanup

Revision 1636 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 17:09:47 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_serv.c
File length: 43871 byte(s)
Diff to previous 1632 , to selected 5459
- Cleanup configuration subsystem
- Fixed broken CIDR support for /challenge

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/src/s_serv.c
File length: 43872 byte(s)
Diff to previous 1618 , to selected 5459
- Initial rewrite of the configuration subsystem

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/src/s_serv.c
File length: 44723 byte(s)
Diff to previous 1592 , to selected 5459
- 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/src/s_serv.c
File length: 44318 byte(s)
Diff to previous 1559 , to selected 5459
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1559 - (view) (annotate) - [select for diffs]
Modified Sun Oct 14 01:38:28 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 44318 byte(s)
Diff to previous 1545 , to selected 5459
- Replaced TimeStamp based services IDs with more flexible account names

Revision 1545 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 15:21:59 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 44366 byte(s)
Diff to previous 1519 , to selected 5459
- write_links_file(): minor cleanups. Also remove useless assert()

Revision 1519 - (view) (annotate) - [select for diffs]
Modified Wed Sep 5 12:02:04 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 44878 byte(s)
Diff to previous 1514 , to selected 5459
- Topics as well as user-aways are now sent in a burst by default

Revision 1514 - (view) (annotate) - [select for diffs]
Modified Sun Aug 26 09:11:17 2012 UTC (11 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45225 byte(s)
Diff to previous 1490 , to selected 5459
- Removed two outdated/invalid XXX tags

Revision 1490 - (view) (annotate) - [select for diffs]
Modified Sat Jul 28 19:33:23 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45290 byte(s)
Diff to previous 1483 , to selected 5459
- removed serverhide::disable_hidden configuration option
- update NEWS

Revision 1483 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 19:15:48 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45326 byte(s)
Diff to previous 1472 , to selected 5459
- Made Client::away a fixed-size array at the expense of a somewhat higher
  memory consumption

Revision 1472 - (view) (annotate) - [select for diffs]
Modified Sun Jul 22 12:03:18 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45337 byte(s)
Diff to previous 1465 , to selected 5459
- remove CAP_TB
- add proper TS6 support to TBURST

Revision 1465 - (view) (annotate) - [select for diffs]
Modified Tue Jul 17 21:33:12 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45677 byte(s)
Diff to previous 1414 , to selected 5459
- s_serv.c:sendnick_TS(): another TS6 fixup when bursting AWAY

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/src/s_serv.c
File length: 45661 byte(s)
Diff to previous 1413 , to selected 5459
- 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 1413 - (view) (annotate) - [select for diffs]
Modified Sat May 26 08:25:12 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46278 byte(s)
Diff to previous 1401 , to selected 5459
- Don't try to access aconf->user when aconf is a SERVER_TYPE.
  aconf->user is a NULL pointer.

Revision 1401 - (view) (annotate) - [select for diffs]
Modified Tue May 8 18:58:13 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46316 byte(s)
Diff to previous 1400 , to selected 5459
o) Removed channel::burst_topicwho configuration option. Topicsetters are
   now sent by default

Revision 1400 - (view) (annotate) - [select for diffs]
Modified Mon May 7 20:08:32 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46599 byte(s)
Diff to previous 1398 , to selected 5459
- move has_wildcards() to irc_string.c and make use of it in several places

Revision 1398 - (view) (annotate) - [select for diffs]
Modified Sun May 6 10:57:06 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46628 byte(s)
Diff to previous 1389 , to selected 5459
- decrease HOSTIPLEN to 45
- fix some buffers that should use HOSTIPLEN+1

Revision 1389 - (view) (annotate) - [select for diffs]
Modified Tue May 1 13:08:29 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46624 byte(s)
Diff to previous 1386 , to selected 5459
- rename some struct AccessItem members

Revision 1386 - (view) (annotate) - [select for diffs]
Modified Tue May 1 11:35:46 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46647 byte(s)
Diff to previous 1383 , to selected 5459
- client.h: get rid of Server::sconf

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/src/s_serv.c
File length: 46662 byte(s)
Diff to previous 1377 , to selected 5459
- Cleanup/rewrite Hub/Leaf-mask configuration. Hub and Leaf configuration items
  are no longer separately attached to Client structures.

Revision 1377 - (view) (annotate) - [select for diffs]
Modified Mon Apr 30 19:35:16 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 47029 byte(s)
Diff to previous 1344 , to selected 5459
- Remove all Class related #defines like MaxTotal, MaxSendq, etc.
  All they do is lead to confusion.

Revision 1344 - (view) (annotate) - [select for diffs]
Modified Mon Apr 9 14:13:29 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 47026 byte(s)
Diff to previous 1325 , to selected 5459
- hunt_server(): removed extranous match(). me.name cannot contain wilds anylonger.
  This is basically a fakename leftover.

Revision 1325 - (view) (annotate) - [select for diffs]
Modified Sat Mar 31 10:29:02 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 47051 byte(s)
Diff to previous 1321 , to selected 5459
- Get rid of fileio.c. Replace some ircsprintf() with snprintf() while on it

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/src/s_serv.c
File length: 47052 byte(s)
Diff to previous 1309 , to selected 5459
- 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/src/s_serv.c
File length: 47091 byte(s)
Diff to previous 1308 , to selected 5459
- 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 1308 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 13:37:05 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 47095 byte(s)
Diff to previous 1306 , to selected 5459
- ssl_server_handshake(): better error reporting

Revision 1306 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 07:43:04 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46798 byte(s)
Diff to previous 1305 , to selected 5459
- improve ssl/tls support
- cipher suites can now be specified via ircd.conf

Revision 1305 - (view) (annotate) - [select for diffs]
Modified Fri Mar 23 12:43:55 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 46630 byte(s)
Diff to previous 1303 , to selected 5459
- show info about compression/expansion methods on link establishment

Revision 1303 - (view) (annotate) - [select for diffs]
Modified Fri Mar 23 10:52:19 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 45810 byte(s)
Diff to previous 1302 , to selected 5459
- Implement basic tls connections for server-server links

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/src/s_serv.c
File length: 42077 byte(s)
Diff to previous 1294 , to selected 5459
- remove servlink in preparation for tls links/compression

Revision 1294 - (view) (annotate) - [select for diffs]
Modified Wed Feb 22 20:48:30 2012 UTC (12 years, 1 month ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62572 byte(s)
Diff to previous 1247 , to selected 5459
- Add user mode +H which simply hides operator status to other users.
  This solution replaces current method of hidding operator status where the
  admin mode is not sent to other servers unless hidden_administrator is disabled.
- m_who() now takes care whether an operator is hidden or not

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (12 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62650 byte(s)
Diff to previous 1243 , to selected 5459
- Rewrite and cleanup half-broken logging subsystem.
  Logfile rotating is not working yet

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/src/s_serv.c
File length: 62634 byte(s)
Diff to previous 1241 , to selected 5459
- 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 1241 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 20:26:09 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62635 byte(s)
Diff to previous 1234 , to selected 5459
- move firsttime, since, and lasttime Client struct members to LocalUser struct
- m_watch.c: show_watch() now properly reports signon times. This also fixes
  an invalid signon time of zero for remote clients.

Revision 1234 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 08:15:04 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62622 byte(s)
Diff to previous 1219 , to selected 5459
- replace all instances of parv[0] with source_p->name

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/src/s_serv.c
File length: 62601 byte(s)
Diff to previous 1203 , to selected 5459
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1203 - (view) (annotate) - [select for diffs]
Modified Tue Aug 23 20:06:08 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62526 byte(s)
Diff to previous 1196 , to selected 5459
- make channel::topic and channel::topic_info fixed-size arrays

Revision 1196 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 10:09:23 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/s_serv.c
File length: 62611 byte(s)
Diff to previous 1169 , to selected 5459
- implement NICK/UID servicestamps
- add "SVS" to server capabilities

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/src/s_serv.c
File length: 61612 byte(s)
Diff to previous 1157 , to selected 5459
- 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/src/s_serv.c
File length: 61587 byte(s)
Diff to previous 1156 , to selected 5459
- 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/src/s_serv.c
File length: 61483 byte(s)
Diff to previous 1155 , to selected 5459
- 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/src/s_serv.c
File length: 61483 byte(s)
Diff to previous 1126 , to selected 5459
- recreate "trunk"

Revision 1126 - (view) (annotate) - [select for diffs]
Modified Sun Feb 20 14:30:12 2011 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_serv.c
File length: 61483 byte(s)
Diff to previous 1123 , to selected 5459
- add dlink_move_node() and make use of it in several places
- reuse LocalUser::lclient_node for local_client_list and serv_list
  (moving node between unknown_list and serv_list/local_client_list)

Revision 1123 - (view) (annotate) - [select for diffs]
Modified Sun Feb 6 21:57:50 2011 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_serv.c
File length: 61485 byte(s)
Diff to previous 1119 , to selected 5459
- Got rid of irc_addrinfo.c and irc_getnameinfo.c
- Fixed broken ipv6 detection due to incorrect use of AC_CHECK_TYPES

Revision 1119 - (view) (annotate) - [select for diffs]
Modified Fri Jan 7 22:01:47 2011 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_serv.c
File length: 61528 byte(s)
Diff to previous 1118 , to selected 5459
- removed HUB capability, which was a LL leftover

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/src/s_serv.c
File length: 61898 byte(s)
Diff to previous 1115 , to selected 5459
- 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/src/s_serv.c
File length: 62523 byte(s)
Diff to previous 1029 , to selected 5459
- 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/src/s_serv.c
File length: 62742 byte(s)
Diff to previous 1028 , to selected 5459
- 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/src/s_serv.c
File length: 62742 byte(s)
Diff to previous 1013 , to selected 5459
- move ircd-hybrid-7.2 to trunk

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 62742 byte(s)
Diff to previous 1011 , to selected 5459
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified
- Fixed several compile warnings
- 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding

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/src/s_serv.c
File length: 62808 byte(s)
Diff to previous 992 , to selected 5459
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 992 - (view) (annotate) - [select for diffs]
Modified Mon Aug 17 19:19:16 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 62827 byte(s)
Diff to previous 948 , to selected 5459
- fix possible auth/dns related memleaks

Revision 948 - (view) (annotate) - [select for diffs]
Modified Tue Jul 21 17:34:06 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 62579 byte(s)
Diff to previous 896 , to selected 5459
- lp64\llp64\ilp32 portability fixes

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/src/s_serv.c
File length: 62590 byte(s)
Diff to previous 889 , to selected 5459
- 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/src/s_serv.c
File length: 63679 byte(s)
Diff to previous 885 , to selected 5459
- 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/src/s_serv.c
File length: 63720 byte(s)
Diff to previous 391 , to selected 5459
- 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 391 - (view) (annotate) - [select for diffs]
Modified Fri Feb 3 09:57:22 2006 UTC (18 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 70655 byte(s)
Diff to previous 386 , to selected 5459
- fixed compile error in sendnick_TS()

Revision 386 - (view) (annotate) - [select for diffs]
Modified Tue Jan 31 12:40:56 2006 UTC (18 years, 2 months ago) by adx
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 70656 byte(s)
Diff to previous 337 , to selected 5459
+ this should fix sockhost relaying (ThaPrince #1)

Revision 337 - (view) (annotate) - [select for diffs]
Modified Mon Dec 26 19:20:47 2005 UTC (18 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 70601 byte(s)
Diff to previous 329 , to selected 5459
- Improved topic bursting.  Read the comment in s_serv.c:send_tb for
  further info

Revision 329 - (view) (annotate) - [select for diffs]
Modified Sun Dec 25 10:45:42 2005 UTC (18 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 69982 byte(s)
Diff to previous 319 , to selected 5459
- Finish off TBURST (untested)

Revision 319 - (view) (annotate) - [select for diffs]
Modified Sat Dec 24 15:06:49 2005 UTC (18 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 69275 byte(s)
Diff to previous 42 , to selected 5459
- Fixed core in case aconf->cipher_preference and
  ConfigFileEntry.default_cipher_preference are both NULL pointers

  Reported by opteron-hani via Joan

Revision 42 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 23:25:27 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid-7.2/src/s_serv.c
File length: 69138 byte(s)
Diff to previous 34 , to selected 5459
- *hopefully* this hack fixes cryptlinks+ts6 instead of breaking them ;)


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/src/s_serv.c
File length: 69057 byte(s)
Diff to previous 33 , to selected 5459
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/src/s_serv.c
File length: 69057 byte(s)
Diff to previous 32 , to selected 5459
- 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/src/s_serv.c
File length: 69057 byte(s)
Diff to previous 31 , to selected 5459
- 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/src/s_serv.c
File length: 69057 byte(s)
Diff to previous 30 , to selected 5459
- 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/src/s_serv.c
File length: 69110 byte(s)
Diff to selected 5459
- 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