ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_links.c
Revision 9857 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 04:43:22 2021 UTC (5 years, 6 months ago) by michael
File length: 4806 byte(s)
Diff to previous 9395 , to selected 1045
- Bump copyright years

Revision 9395 - (view) (annotate) - [select for diffs]
Modified Thu May 14 17:08:19 2020 UTC (6 years, 2 months ago) by michael
File length: 4806 byte(s)
Diff to previous 9374 , to selected 1045
- m_links.c: minor cleanups to parameter handling

Revision 9374 - (view) (annotate) - [select for diffs]
Modified Sat May 9 20:54:46 2020 UTC (6 years, 2 months ago) by michael
File length: 4802 byte(s)
Diff to previous 9101 , to selected 1045
- Each type of command handler now has its own min/max argument count pair;  remove remaining argument checks from all modules

Revision 9101 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:45 2020 UTC (6 years, 6 months ago) by michael
File length: 4750 byte(s)
Diff to previous 9077 , to selected 1045
- Bump copyright years everywhere

Revision 9077 - (view) (annotate) - [select for diffs]
Modified Sat Oct 12 20:15:17 2019 UTC (6 years, 9 months ago) by michael
File length: 4750 byte(s)
Diff to previous 9019 , to selected 1045
- Command handlers are now of type void again

Revision 9019 - (view) (annotate) - [select for diffs]
Modified Mon May 27 22:05:04 2019 UTC (7 years, 1 month ago) by michael
File length: 4774 byte(s)
Diff to previous 8903 , to selected 1045
- m_links.c: /links can no longer be used remotely

Revision 8903 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 20:43:53 2019 UTC (7 years, 3 months ago) by michael
File length: 5873 byte(s)
Diff to previous 8752 , to selected 1045
- Make more timers use monotonic time

Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (7 years, 6 months ago) by michael
File length: 5835 byte(s)
Diff to previous 8603 , to selected 1045
- Update copyright years

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

Revision 8431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:49:15 2018 UTC (8 years, 3 months ago) by michael
File length: 5827 byte(s)
Diff to previous 8279 , to selected 1045
- Stylistic changes

Revision 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (8 years, 5 months ago) by michael
File length: 5833 byte(s)
Diff to previous 7971 , to selected 1045
- Update copyright years

Revision 7971 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:56:53 2017 UTC (9 years, 4 months ago) by michael
File length: 5833 byte(s)
Diff to previous 7953 , to selected 1045
- 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 (9 years, 4 months ago) by michael
File length: 5845 byte(s)
Diff to previous 7924 , to selected 1045
- Rename hunt_server() to server_hunt()

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (9 years, 6 months ago) by michael
File length: 5845 byte(s)
Diff to previous 7330 , to selected 1045
- Update copyright years

Revision 7330 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 17:50:13 2016 UTC (10 years, 5 months ago) by michael
File length: 5845 byte(s)
Diff to previous 7006 , to selected 1045
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers,
  we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and
  doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and
  forever and use uintmax_t instead which has at least a 'standardized' conversion specifier
  associated with it.

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (10 years, 6 months ago) by michael
File length: 5842 byte(s)
Diff to previous 6355 , to selected 1045
- Update copyright years

Revision 6355 - (view) (annotate) - [select for diffs]
Modified Mon Aug 17 10:45:04 2015 UTC (10 years, 11 months ago) by michael
File length: 5842 byte(s)
Diff to previous 5881 , to selected 1045
- m_links.c:do_links(): use const on 'target_p'

Revision 5881 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:04:15 2015 UTC (11 years, 2 months ago) by michael
File length: 5836 byte(s)
Diff to previous 5864 , to selected 1045
- 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 (11 years, 2 months ago) by michael
File length: 5707 byte(s)
Diff to previous 5583 , to selected 1045
- Removed useless zero initializers from the module_entry as suggested by Adam

Revision 5583 - (view) (annotate) - [select for diffs]
Modified Sun Feb 15 14:43:15 2015 UTC (11 years, 5 months ago) by michael
File length: 5795 byte(s)
Diff to previous 5347 , to selected 1045
- Style corrections only

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

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

Revision 4815 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:28:42 2014 UTC (11 years, 8 months ago) by michael
File length: 5811 byte(s)
Diff to previous 4759 , to selected 1045
- Renamed variables

Revision 4759 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 10:54:43 2014 UTC (11 years, 9 months ago) by michael
File length: 5806 byte(s)
Diff to previous 4690 , to selected 1045
- Improved RPL_LOAD2HI numeric

Revision 4690 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 14:01:08 2014 UTC (11 years, 9 months ago) by michael
File length: 5797 byte(s)
Diff to previous 4565 , to selected 1045
- Style corrections

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

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

Revision 4340 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:22 2014 UTC (11 years, 11 months ago) by michael
File length: 5805 byte(s)
Diff to previous 4209 , to selected 1045
- Renamed structures to meet code conventions

Revision 4209 - (view) (annotate) - [select for diffs]
Modified Sat Jul 12 18:15:19 2014 UTC (12 years ago) by michael
File length: 5807 byte(s)
Diff to previous 3573 , to selected 1045
- Renammed global_serv_list to global_server_list

Revision 3573 - (view) (annotate) - [select for diffs]
Modified Fri May 16 17:09:50 2014 UTC (12 years, 2 months ago) by michael
File length: 5805 byte(s)
Diff to previous 3347 , to selected 1045
- Replaced remaining sendto_one() with sendto_one_numeric().
  SND_EXPLICIT idea derived from ircu.

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

Revision 3344 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 10:47:04 2014 UTC (12 years, 3 months ago) by michael
File length: 5914 byte(s)
Diff to previous 3299 , to selected 1045
- Doxygen

Revision 3299 - (view) (annotate) - [select for diffs]
Modified Sat Apr 12 16:55:13 2014 UTC (12 years, 3 months ago) by michael
File length: 5753 byte(s)
Diff to previous 3156 , to selected 1045
- doxygen

Revision 3156 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 19:57:38 2014 UTC (12 years, 4 months ago) by michael
File length: 4976 byte(s)
Diff to previous 3109 , to selected 1045
- Removed client_p pointers from everywhere

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

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

Revision 2888 - (view) (annotate) - [select for diffs]
Modified Tue Jan 21 17:47:11 2014 UTC (12 years, 6 months ago) by michael
File length: 5501 byte(s)
Diff to previous 2820 , to selected 1045
- Fixed improper use of the ID_or_name macro in several places

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

Revision 2341 - (view) (annotate) - [select for diffs]
Modified Wed Jul 3 13:54:23 2013 UTC (13 years ago) by michael
File length: 5489 byte(s)
Diff to previous 2196 , to selected 1045
- Removed useless sanity checks
- Fixed bug where remote /STATS requests were not rate limited

Revision 2196 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 18:30:12 2013 UTC (13 years, 1 month ago) by michael
File length: 5517 byte(s)
Diff to previous 2156 , to selected 1045
- Moved disable_remote_command configuration directive from
  general{} block to serverhide{] block

Revision 2156 - (view) (annotate) - [select for diffs]
Modified Fri May 31 20:53:11 2013 UTC (13 years, 1 month ago) by michael
File length: 5507 byte(s)
Diff to previous 1851 , to selected 1045
- Cleanup flattened links code

Revision 1851 - (view) (annotate) - [select for diffs]
Modified Wed Apr 24 18:31:06 2013 UTC (13 years, 3 months ago) by michael
File length: 5330 byte(s)
Diff to previous 1834 , to selected 1045
- 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 (13 years, 3 months ago) by michael
File length: 5186 byte(s)
Diff to previous 1832 , to selected 1045
- Revert to -r1831

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (13 years, 3 months ago) by michael
File length: 5136 byte(s)
Diff to previous 1652 , to selected 1045
- 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 1652 - (view) (annotate) - [select for diffs]
Modified Tue Nov 13 20:28:53 2012 UTC (13 years, 8 months ago) by michael
File length: 5186 byte(s)
Diff to previous 1618 , to selected 1045
- 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 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (13 years, 8 months ago) by michael
File length: 5187 byte(s)
Diff to previous 1592 , to selected 1045
- 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 (13 years, 8 months ago) by michael
File length: 5174 byte(s)
Diff to previous 1546 , to selected 1045
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1546 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 15:24:00 2012 UTC (13 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5174 byte(s)
Diff to previous 1544 , to selected 1045
- fixed previous commit to m_links()

Revision 1544 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 15:14:35 2012 UTC (13 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5177 byte(s)
Diff to previous 1490 , to selected 1045
- m_links.c: a server's description may now include the [, ] characters

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

Revision 1489 - (view) (annotate) - [select for diffs]
Modified Sat Jul 28 19:09:41 2012 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5423 byte(s)
Diff to previous 1309 , to selected 1045
- m_links.c: fixed archaic bug that would send hidden servers to non-opers

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5259 byte(s)
Diff to previous 1243 , to selected 1045
- 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 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (14 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5261 byte(s)
Diff to previous 1230 , to selected 1045
- 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 (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5300 byte(s)
Diff to previous 1219 , to selected 1045
- cleanup module loader. Make module api more flexible

Revision 1219 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 09:02:38 2011 UTC (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5378 byte(s)
Diff to previous 1178 , to selected 1045
- 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5350 byte(s)
Diff to previous 1156 , to selected 1045
- 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 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_links.c
File length: 5344 byte(s)
Diff to previous 1155 , to selected 1045
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid/modules/m_links.c
File length: 5344 byte(s)
Diff to previous 1148 , to selected 1045
- recreate "trunk"

Revision 1148 - (view) (annotate) - [select for diffs]
Modified Fri Jul 29 21:29:06 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_links.c
File length: 5344 byte(s)
Diff to previous 1144 , to selected 1045
- fixed several compile warnings

Revision 1144 - (view) (annotate) - [select for diffs]
Modified Tue Jul 26 19:33:54 2011 UTC (15 years ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_links.c
File length: 5231 byte(s)
Diff to previous 1121 , to selected 1045
Added back STATS/TRACE/MOTD/ADMIN request notices. Removed
   spy_*_notice modules accordingly.


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

Revision 1045 - (view) (annotate) - [selected]
Modified Tue Jan 26 12:58:42 2010 UTC (16 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_links.c
File length: 5652 byte(s)
Diff to previous 1029
- contrib/spy_links_notice.c: do not show additional arguments supplied to the
  LINKS command in spy notices. new behaviour is to simply show the command sent
  by the client, which exactly behaves like all other contributed spy modules.
- remove clean_string()

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

Revision 575 - (view) (annotate) - [select for diffs]
Modified Mon May 1 11:41:09 2006 UTC (20 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_links.c
File length: 5847 byte(s)
Diff to previous 269 , to selected 1045
- Fixed a bunch of compile warnings

Revision 269 - (view) (annotate) - [select for diffs]
Modified Mon Nov 14 19:39:09 2005 UTC (20 years, 8 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_links.c
File length: 5867 byte(s)
Diff to previous 103 , to selected 1045
+ more rate limiting fixes
+ update RELNOTES

Revision 103 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 18:29:05 2005 UTC (20 years, 9 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_links.c
File length: 5628 byte(s)
Diff to previous 34 , to selected 1045
- MFC: fixed core on /links

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (20 years, 9 months ago) by lusky
Original Path: ircd-hybrid-7.2/modules/m_links.c
File length: 5575 byte(s)
Diff to previous 33 , to selected 1045
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 (20 years, 9 months ago) by knight
Original Path: ircd-hybrid/modules/m_links.c
File length: 5575 byte(s)
Diff to previous 32 , to selected 1045
- svn:keywords

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

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

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