ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_whowas.c
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: 5562 byte(s)
Diff to previous 8213
- Update copyright years

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

Revision 7988 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 00:39:46 2017 UTC (7 years ago) by michael
File length: 5562 byte(s)
Diff to previous 7970
- m_whowas.c:do_whowas(): rename variable

Revision 7970 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:55:33 2017 UTC (7 years ago) by michael
File length: 5560 byte(s)
Diff to previous 7952
- 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 7952 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 18:02:12 2017 UTC (7 years ago) by michael
File length: 5550 byte(s)
Diff to previous 7925
- Rename hunt_server() to server_hunt()

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: 5550 byte(s)
Diff to previous 7686
- 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: 5550 byte(s)
Diff to previous 7448
- Remove excessive const keyword on dlink_node pointers

Revision 7448 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 17:21:27 2016 UTC (8 years ago) by michael
File length: 5563 byte(s)
Diff to previous 7329
- Further cleanups to recent WHOWAS changes

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (8 years, 1 month ago) by michael
File length: 5557 byte(s)
Diff to previous 7007
- 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 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (8 years, 2 months ago) by michael
File length: 5554 byte(s)
Diff to previous 6920
- Update copyright years

Revision 6920 - (view) (annotate) - [select for diffs]
Modified Thu Dec 10 13:07:22 2015 UTC (8 years, 3 months ago) by michael
File length: 5554 byte(s)
Diff to previous 6919
- Removed client->account backwards compatibility hacks for 8.1

Revision 6919 - (view) (annotate) - [select for diffs]
Modified Thu Dec 10 12:59:48 2015 UTC (8 years, 3 months ago) by michael
File length: 5583 byte(s)
Diff to previous 6884
- Removed backwards compatibility hack for older servers that allowed client->sockhost being "0"

Revision 6884 - (view) (annotate) - [select for diffs]
Modified Tue Dec 1 19:50:44 2015 UTC (8 years, 3 months ago) by michael
File length: 5648 byte(s)
Diff to previous 6653
- Remove unused header includes

Revision 6653 - (view) (annotate) - [select for diffs]
Modified Sun Oct 25 15:44:18 2015 UTC (8 years, 5 months ago) by michael
File length: 5671 byte(s)
Diff to previous 6512
- m_whowas.c: rename variable

Revision 6512 - (view) (annotate) - [select for diffs]
Modified Sun Sep 6 18:31:52 2015 UTC (8 years, 6 months ago) by michael
File length: 5629 byte(s)
Diff to previous 6349
- Change myctime() to use strftime() instead of ctime(); rename myctime() to date_ctime()

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: 5623 byte(s)
Diff to previous 5880
- Make use of enum in more places

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

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

Revision 5641 - (view) (annotate) - [select for diffs]
Modified Sun Mar 1 19:46:45 2015 UTC (9 years ago) by michael
File length: 5578 byte(s)
Diff to previous 5637
- m_whowas.c: fixed spelling

Revision 5637 - (view) (annotate) - [select for diffs]
Modified Sun Mar 1 15:32:55 2015 UTC (9 years ago) by michael
File length: 5581 byte(s)
Diff to previous 5630
- Fixed bug that would allow remote clients to bypass the hard
  limit of max WHOWAS entries to be returned

Revision 5630 - (view) (annotate) - [select for diffs]
Modified Sun Mar 1 12:18:47 2015 UTC (9 years ago) by michael
File length: 5459 byte(s)
Diff to previous 5346
- WHOWAS now shows IP addresses to irc operators
- Changed RPL_WHOISACTUALLY numeric string. In the future it will also show the
  *real* hostname once we distinguish between spoofs/vhosts and real hosts

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: 5177 byte(s)
Diff to previous 4820
- Update copyright years

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

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: 5168 byte(s)
Diff to previous 4766
- Renamed variables

Revision 4766 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 18:01:04 2014 UTC (9 years, 5 months ago) by michael
File length: 5165 byte(s)
Diff to previous 4758
- /WHOWAS now shows the name of the services account a user was logged in
- Prepare whois_person() for target_p->svid[0] being '*' for user that aren't logged into a services account
- Update NEWS

Revision 4758 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 10:54:27 2014 UTC (9 years, 5 months ago) by michael
File length: 5013 byte(s)
Diff to previous 4719
- Improved RPL_LOAD2HI numeric

Revision 4719 - (view) (annotate) - [select for diffs]
Modified Tue Oct 7 16:58:15 2014 UTC (9 years, 5 months ago) by michael
File length: 5003 byte(s)
Diff to previous 4564
- m_whowas.c:m_whowas(), ms_whowas(): removed redundant test on 'parc'

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: 5075 byte(s)
Diff to previous 4546
- Update GPL 2 license headers

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

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: 5065 byte(s)
Diff to previous 3377
- Renamed structures to meet code conventions

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: 5061 byte(s)
Diff to previous 3347
- Create 8.2.x branch

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

Revision 3346 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 13:50:01 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 5063 byte(s)
Diff to previous 3338
- doxygen

Revision 3338 - (view) (annotate) - [select for diffs]
Modified Fri Apr 18 11:05:56 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 5063 byte(s)
Diff to previous 3320
- m_whowas.c: renamed whowas_do to do_whowas

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/modules/m_whowas.c
File length: 5063 byte(s)
Diff to previous 3295
- Removed useless header includes

Revision 3295 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 18:59:33 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 5083 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 ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4072 byte(s)
Diff to previous 3109
- Removed client_p pointers from everywhere

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/modules/m_whowas.c
File length: 4216 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 ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4487 byte(s)
Diff to previous 2986
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 2986 - (view) (annotate) - [select for diffs]
Modified Tue Feb 18 09:39:08 2014 UTC (10 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4493 byte(s)
Diff to previous 2970
- Via p4: Make whowas honor disable_remote_commands

Revision 2970 - (view) (annotate) - [select for diffs]
Modified Fri Jan 31 11:23:46 2014 UTC (10 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4298 byte(s)
Diff to previous 2820
- Move myctime() from irc_string.c to s_misc.c

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

Revision 2748 - (view) (annotate) - [select for diffs]
Modified Sun Jan 5 19:20:09 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4185 byte(s)
Diff to previous 2079
- Fixed server name leak for hidden servers in /who, /whois and /whowas

Revision 2079 - (view) (annotate) - [select for diffs]
Modified Fri May 17 16:53:34 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4168 byte(s)
Diff to previous 2076
- Removed extranous EmptyString() test

Revision 2076 - (view) (annotate) - [select for diffs]
Modified Fri May 17 16:25:48 2013 UTC (10 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4193 byte(s)
Diff to previous 1876
- m_whowas.c:whowas_do(): minor cleanups and optimizations

Revision 1876 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 09:36:33 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4287 byte(s)
Diff to previous 1857
- m_whowas.c,m_names.c,m_kick.c: remove pointless code. There's no real reason why
  we should skip preceding commas in nick-/channelnames

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/modules/m_whowas.c
File length: 4322 byte(s)
Diff to previous 1834
- Constification

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/modules/m_whowas.c
File length: 4316 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
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4237 byte(s)
Diff to previous 1592
- 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 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whowas.c
File length: 4316 byte(s)
Diff to previous 1358
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1358 - (view) (annotate) - [select for diffs]
Modified Sun Apr 22 13:49:23 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whowas.c
File length: 4316 byte(s)
Diff to previous 1309
- cleanup and rewrite whowas.c to use the dlink list manipulation routines
- increase NICKNAMEHISTORYLENGTH to 16384

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_whowas.c
File length: 4271 byte(s)
Diff to previous 1243
- 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 (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whowas.c
File length: 4273 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_whowas.c
File length: 4332 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, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whowas.c
File length: 4359 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, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whowas.c
File length: 4345 byte(s)
Diff to previous 1156
- 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 (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whowas.c
File length: 4339 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, 7 months ago) by michael
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4339 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, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whowas.c
File length: 4339 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, 4 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whowas.c
File length: 4373 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, 4 months ago) by michael
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4373 byte(s)
Diff to previous 269
- move ircd-hybrid-7.2 to trunk

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

Revision 145 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 10:07:13 2005 UTC (18 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whowas.c
File length: 4380 byte(s)
Diff to previous 143
- Limit maximum WHOWAS replies for remote requests to 20, as per H6

Revision 143 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 09:49:16 2005 UTC (18 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whowas.c
File length: 4313 byte(s)
Diff to previous 34
- Fixed a bug where remoteservers would send us an ERROR
  on "WHOWAS nick count remoteserver.net".  Propably one
  of the oldest bugs that got introduced in 7.0.

  (Backported from HEAD)

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (18 years, 5 months ago) by lusky
Original Path: ircd-hybrid-7.2/modules/m_whowas.c
File length: 4261 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, 5 months ago) by knight
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4261 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, 5 months ago) by knight
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4261 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, 5 months ago) by knight
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4261 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, 5 months ago) by adx
Original Path: ircd-hybrid/modules/m_whowas.c
File length: 4320 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