ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_connect.c
Revision 8871 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 19:22:41 2019 UTC (5 years, 2 months ago) by michael
File length: 7233 byte(s)
Diff to previous 8752
- m_connect.c:mo_connect(): swap conf->host and conf->name arguments in server connection notice

Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (5 years, 3 months ago) by michael
File length: 7233 byte(s)
Diff to previous 8660
- Update copyright years

Revision 8660 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:55:59 2018 UTC (5 years, 4 months ago) by michael
File length: 7233 byte(s)
Diff to previous 8603
- Make use of the bool data type in some more places

Revision 8603 - (view) (annotate) - [select for diffs]
Modified Sun Oct 28 19:43:30 2018 UTC (5 years, 5 months ago) by michael
File length: 7217 byte(s)
Diff to previous 8431
- Fixed style inconsistencies in various places

Revision 8431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:49:15 2018 UTC (6 years ago) by michael
File length: 7213 byte(s)
Diff to previous 8426
- Stylistic changes

Revision 8426 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 17:46:15 2018 UTC (6 years ago) by michael
File length: 7212 byte(s)
Diff to previous 8391
- Rename some functions to comply with naming convention

Revision 8391 - (view) (annotate) - [select for diffs]
Modified Sat Mar 17 21:45:30 2018 UTC (6 years, 1 month ago) by michael
File length: 7228 byte(s)
Diff to previous 8279
- Clean up some awful CONF_SERVER handling in serv_connect()

Revision 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (6 years, 1 month ago) by michael
File length: 7338 byte(s)
Diff to previous 7971
- Update copyright years

Revision 7971 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:56:53 2017 UTC (7 years, 1 month ago) by michael
File length: 7338 byte(s)
Diff to previous 7953
- 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 7953 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 18:02:23 2017 UTC (7 years, 1 month ago) by michael
File length: 7328 byte(s)
Diff to previous 7924
- Rename hunt_server() to server_hunt()

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (7 years, 3 months ago) by michael
File length: 7328 byte(s)
Diff to previous 7877
- Update copyright years

Revision 7877 - (view) (annotate) - [select for diffs]
Modified Fri Nov 11 20:43:16 2016 UTC (7 years, 5 months ago) by michael
File length: 7328 byte(s)
Diff to previous 7875
- m_connect.c: update comments

Revision 7875 - (view) (annotate) - [select for diffs]
Modified Fri Nov 11 20:19:21 2016 UTC (7 years, 5 months ago) by michael
File length: 7330 byte(s)
Diff to previous 7525
- m_connect.c: ignore the port argument to CONNECT and always use the port provided in conf->port

Revision 7525 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 18:52:06 2016 UTC (8 years ago) by michael
File length: 8139 byte(s)
Diff to previous 7401
- m_connect.c:mo_connect(): don't let 'flags::connect:remote' override 'flags::connect'

Revision 7401 - (view) (annotate) - [select for diffs]
Modified Sun Mar 6 16:15:22 2016 UTC (8 years, 1 month ago) by michael
File length: 8143 byte(s)
Diff to previous 7104
- Cleanups to operator/connect block lookup routines

Revision 7104 - (view) (annotate) - [select for diffs]
Modified Sat Jan 23 17:57:33 2016 UTC (8 years, 2 months ago) by michael
File length: 8247 byte(s)
Diff to previous 7068
- m_connect.c:mo_connect(): remove invalid comment

Revision 7068 - (view) (annotate) - [select for diffs]
Modified Tue Jan 19 17:32:57 2016 UTC (8 years, 2 months ago) by michael
File length: 8314 byte(s)
Diff to previous 7066
- m_connect.c: minor cleanup - avoid multiple array indices

Revision 7066 - (view) (annotate) - [select for diffs]
Modified Tue Jan 19 17:18:41 2016 UTC (8 years, 2 months ago) by michael
File length: 8287 byte(s)
Diff to previous 7058
- m_connect.c: improve CONNECT logging

Revision 7058 - (view) (annotate) - [select for diffs]
Modified Sat Jan 16 19:51:33 2016 UTC (8 years, 3 months ago) by michael
File length: 8291 byte(s)
Diff to previous 7056
- m_connect.c:mo_connect(): cleanups

Revision 7056 - (view) (annotate) - [select for diffs]
Modified Sat Jan 16 19:33:31 2016 UTC (8 years, 3 months ago) by michael
File length: 8477 byte(s)
Diff to previous 7006
- m_connect.c:ms_connect(): parv[3] is not allowed to be NULL, so clean up weird logic checking EmptyString(parv[2])

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (8 years, 3 months ago) by michael
File length: 8853 byte(s)
Diff to previous 6363
- Update copyright years

Revision 6363 - (view) (annotate) - [select for diffs]
Modified Wed Aug 19 09:59:26 2015 UTC (8 years, 7 months ago) by michael
File length: 8853 byte(s)
Diff to previous 6318
- Remove unused header includes

Revision 6318 - (view) (annotate) - [select for diffs]
Modified Wed Aug 5 16:04:43 2015 UTC (8 years, 8 months ago) by michael
File length: 8872 byte(s)
Diff to previous 5881
- Get rid of UMODE_ALL

Revision 5881 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:04:15 2015 UTC (8 years, 11 months ago) by michael
File length: 8865 byte(s)
Diff to previous 5864
- Use C99-style initializers in all struct Message items
- Removed MFLG_SLOW
- Removed DUMMY_HANDLER

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

Revision 5347 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:42:20 2015 UTC (9 years, 3 months ago) by michael
File length: 8807 byte(s)
Diff to previous 5014
- Update copyright years

Revision 5014 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 17:51:47 2014 UTC (9 years, 4 months ago) by michael
File length: 8807 byte(s)
Diff to previous 4962
- Removed unused header includes:wq

Revision 4962 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 13:08:31 2014 UTC (9 years, 4 months ago) by michael
File length: 8827 byte(s)
Diff to previous 4689
- Get rid of NOCAPS

Revision 4689 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 13:05:54 2014 UTC (9 years, 6 months ago) by michael
File length: 8837 byte(s)
Diff to previous 4687
- m_connect.c: whitespace changes

Revision 4687 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:38:19 2014 UTC (9 years, 6 months ago) by michael
File length: 8839 byte(s)
Diff to previous 4684
- m_connect.c: clarify server notice. Don't use hardcoded "ircd.conf".

Revision 4684 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:29:06 2014 UTC (9 years, 6 months ago) by michael
File length: 8821 byte(s)
Diff to previous 4683
- m_connect.c:ms_connect(): properly sanity check parv[3] before
  actually calling hunt_server()

Revision 4683 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:25:54 2014 UTC (9 years, 6 months ago) by michael
File length: 8809 byte(s)
Diff to previous 4680
- m_connect.c: style corrections

Revision 4680 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:17:57 2014 UTC (9 years, 6 months ago) by michael
File length: 8879 byte(s)
Diff to previous 4678
- m_connect.c: don't let wildcard /connects bypass hash_find_server()

Revision 4678 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 11:07:43 2014 UTC (9 years, 6 months ago) by michael
File length: 8873 byte(s)
Diff to previous 4565
- m_connect.c: use target_p->name instead of parv[1] for connection notices

Revision 4565 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:27:40 2014 UTC (9 years, 7 months ago) by michael
File length: 8859 byte(s)
Diff to previous 4545
- Update GPL 2 license headers

Revision 4545 - (view) (annotate) - [select for diffs]
Modified Fri Aug 22 08:46:13 2014 UTC (9 years, 7 months ago) by michael
File length: 8855 byte(s)
Diff to previous 3875
- Implemented pseudo {} blocks (service aliases)
- Fixed compile warnings with -Wmissing-field-initializers

Revision 3875 - (view) (annotate) - [select for diffs]
Modified Fri Jun 6 14:46:28 2014 UTC (9 years, 10 months ago) by michael
File length: 8849 byte(s)
Diff to previous 3848
- Style corrections; fixed comments

Revision 3848 - (view) (annotate) - [select for diffs]
Modified Thu Jun 5 12:00:17 2014 UTC (9 years, 10 months ago) by michael
File length: 8845 byte(s)
Diff to previous 3806
- m_connect.c:ms_connect(): use sendto_realops_flags() when announcing the CONNECT

Revision 3806 - (view) (annotate) - [select for diffs]
Modified Tue Jun 3 18:54:57 2014 UTC (9 years, 10 months ago) by michael
File length: 8815 byte(s)
Diff to previous 3796
- m_connect.c:ms_connect(): use GLOBOPS to announce remote connects

Revision 3796 - (view) (annotate) - [select for diffs]
Modified Mon Jun 2 23:38:15 2014 UTC (9 years, 10 months ago) by michael
File length: 8815 byte(s)
Diff to previous 3347
- m_connect.c: whitespace commit

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (9 years, 11 months ago) by michael
File length: 8818 byte(s)
Diff to previous 3300
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3300 - (view) (annotate) - [select for diffs]
Modified Sat Apr 12 18:26:22 2014 UTC (10 years ago) by michael
File length: 8818 byte(s)
Diff to previous 3156
- doxygen

Revision 3156 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 19:57:38 2014 UTC (10 years, 1 month ago) by michael
File length: 8092 byte(s)
Diff to previous 3135
- Removed client_p pointers from everywhere

Revision 3135 - (view) (annotate) - [select for diffs]
Modified Mon Mar 10 21:11:25 2014 UTC (10 years, 1 month ago) by michael
File length: 8184 byte(s)
Diff to previous 3110
- 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, 1 month ago) by michael
File length: 8344 byte(s)
Diff to previous 3109
- Added sendto_one_notice()

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (10 years, 1 month ago) by michael
File length: 8873 byte(s)
Diff to previous 3096
- Applied Adam's sendto_one_numeric() changes

Revision 3096 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 23:31:45 2014 UTC (10 years, 1 month ago) by michael
File length: 9023 byte(s)
Diff to previous 2820
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 2820 - (view) (annotate) - [select for diffs]
Modified Wed Jan 15 23:10:26 2014 UTC (10 years, 3 months ago) by michael
File length: 9035 byte(s)
Diff to previous 2801
- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years
- Made module handlers int type for later use

Revision 2801 - (view) (annotate) - [select for diffs]
Modified Sat Jan 11 21:23:41 2014 UTC (10 years, 3 months ago) by michael
File length: 8927 byte(s)
Diff to previous 2345
- Fixed inconsistent ERR_NOPRIVS vs. ERR_NOPRIVILEGES mess

Revision 2345 - (view) (annotate) - [select for diffs]
Modified Wed Jul 3 18:17:39 2013 UTC (10 years, 9 months ago) by michael
File length: 8920 byte(s)
Diff to previous 2012
- White-space commit / style corrections

Revision 2012 - (view) (annotate) - [select for diffs]
Modified Sun May 12 14:47:26 2013 UTC (10 years, 11 months ago) by michael
File length: 8874 byte(s)
Diff to previous 1834
- Removed 'remote', and 'global_kill' oper flags, and added 'connect',
  'squit', and 'kill' flags for better fine-tuning instead. Whether or 
  not a specific action is allowed on a remote server can be controlled
  by appeding the ':remote' flag. For example: 'kill' allows only local
  clients to be killed, whereas 'kill:remote' allows to issue a KILL for
  remote clients

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (10 years, 11 months ago) by michael
File length: 8695 byte(s)
Diff to previous 1832
- 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
File length: 8665 byte(s)
Diff to previous 1636
- 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 1636 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 17:09:47 2012 UTC (11 years, 5 months ago) by michael
File length: 8695 byte(s)
Diff to previous 1632
- 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, 5 months ago) by michael
File length: 8682 byte(s)
Diff to previous 1592
- Initial rewrite of the configuration subsystem

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
File length: 9022 byte(s)
Diff to previous 1474
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

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/m_connect.c
File length: 9022 byte(s)
Diff to previous 1463
- removed &localchannels

Revision 1463 - (view) (annotate) - [select for diffs]
Modified Tue Jul 17 21:11:49 2012 UTC (11 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 9034 byte(s)
Diff to previous 1413
- m_connect.c,m_gline.c: add proper TS6 support
- m_gline(),m_gungline(): don't let non-opers find out whether or not
  a server has GLINE/GUNGLINE disabled

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/modules/m_connect.c
File length: 8872 byte(s)
Diff to previous 1309
- Don't try to access aconf->user when aconf is a SERVER_TYPE.
  aconf->user is a NULL pointer.

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/m_connect.c
File length: 8868 byte(s)
Diff to previous 1247
- 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 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 8872 byte(s)
Diff to previous 1243
- 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/modules/m_connect.c
File length: 8860 byte(s)
Diff to previous 1230
- 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 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/m_connect.c
File length: 8899 byte(s)
Diff to previous 1219
- 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, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 8856 byte(s)
Diff to previous 1178
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 8829 byte(s)
Diff to previous 1169
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 8823 byte(s)
Diff to previous 1156
- 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 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_connect.c
File length: 8813 byte(s)
Diff to previous 1155
- create ircd-hybrid-8 "branch"

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

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

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_connect.c
File length: 8843 byte(s)
Diff to previous 1028
- 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, 5 months ago) by michael
Original Path: ircd-hybrid/modules/m_connect.c
File length: 8843 byte(s)
Diff to previous 971
- move ircd-hybrid-7.2 to trunk

Revision 971 - (view) (annotate) - [select for diffs]
Modified Sun Aug 2 23:27:42 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_connect.c
File length: 8843 byte(s)
Diff to previous 885
- cleanup m_connect() while reviewing: remove useless MyConnect() test
  in mo_connect().
- Fix possible core in mo_connect() in case if there is a ConfItem that doesn't
  have an AccessItem mapped.

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/m_connect.c
File length: 8881 byte(s)
Diff to previous 34
- 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, 6 months ago) by lusky
Original Path: ircd-hybrid-7.2/modules/m_connect.c
File length: 8886 byte(s)
Diff to previous 33
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, 6 months ago) by knight
Original Path: ircd-hybrid/modules/m_connect.c
File length: 8886 byte(s)
Diff to previous 32
- svn:keywords

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

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

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 6 months ago) by adx
Original Path: ircd-hybrid/modules/m_connect.c
File length: 8941 byte(s)
- 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