ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_whois.c
Revision 9202 - (view) (annotate) - [select for diffs]
Modified Fri Jan 24 23:52:04 2020 UTC (4 years, 2 months ago) by michael
File length: 10777 byte(s)
Diff to previous 9157
- Stylistic changes

Revision 9157 - (view) (annotate) - [select for diffs]
Modified Mon Jan 13 14:56:38 2020 UTC (4 years, 3 months ago) by michael
File length: 10782 byte(s)
Diff to previous 9101
- Replaced most occurences of 'SSL' with 'TLS'

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

Revision 9081 - (view) (annotate) - [select for diffs]
Modified Sun Oct 13 09:52:35 2019 UTC (4 years, 6 months ago) by michael
File length: 10779 byte(s)
Diff to previous 9077
- Rename struct Membership to ChannelMember
- Rename Channel::last_knock to last_knock_time
- Rename Channel::last_invite to last_invite_time
- Rename chptr to channel

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

Revision 8919 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 09:52:53 2019 UTC (4 years, 11 months ago) by michael
File length: 10796 byte(s)
Diff to previous 8903
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure

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

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

Revision 8719 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 18:59:47 2018 UTC (5 years, 4 months ago) by michael
File length: 10755 byte(s)
Diff to previous 8656
- m_whois.c:whois_person(): make 'callerid' use bool

Revision 8656 - (view) (annotate) - [select for diffs]
Modified Sun Nov 11 20:19:17 2018 UTC (5 years, 5 months ago) by michael
File length: 10757 byte(s)
Diff to previous 8603
- Make use of the bool data type in some 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: 10754 byte(s)
Diff to previous 8484
- Fixed style inconsistencies in various places

Revision 8484 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 15:08:59 2018 UTC (6 years ago) by michael
File length: 10747 byte(s)
Diff to previous 8481
- Move svstag related code into its own files

Revision 8481 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 14:18:04 2018 UTC (6 years ago) by michael
File length: 10720 byte(s)
Diff to previous 8431
- m_whois.c:whois_person(): services clients are now tagged with 'is a Network Service' in "WHOIS"

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

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

Revision 8214 - (view) (annotate) - [select for diffs]
Modified Sun Apr 16 11:44:44 2017 UTC (7 years ago) by michael
File length: 10486 byte(s)
Diff to previous 7971
- 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 7971 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:56:53 2017 UTC (7 years, 1 month ago) by michael
File length: 10482 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: 10512 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: 10512 byte(s)
Diff to previous 7870
- Update copyright years

Revision 7870 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 20:12:50 2016 UTC (7 years, 5 months ago) by michael
File length: 10512 byte(s)
Diff to previous 7758
- Style corrections in several places

Revision 7758 - (view) (annotate) - [select for diffs]
Modified Mon Oct 3 17:54:32 2016 UTC (7 years, 6 months ago) by michael
File length: 10512 byte(s)
Diff to previous 7687
- m_whois.c:whois_person(): re-add /whois notice. Goes to user mode +y

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

Revision 7330 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 17:50:13 2016 UTC (8 years, 1 month ago) by michael
File length: 10267 byte(s)
Diff to previous 7006
- 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 (8 years, 3 months ago) by michael
File length: 10264 byte(s)
Diff to previous 6982
- Update copyright years

Revision 6982 - (view) (annotate) - [select for diffs]
Modified Wed Dec 23 19:49:38 2015 UTC (8 years, 3 months ago) by michael
File length: 10264 byte(s)
Diff to previous 6831
- Cache channel name lengths

Revision 6831 - (view) (annotate) - [select for diffs]
Modified Fri Nov 20 20:25:28 2015 UTC (8 years, 4 months ago) by michael
File length: 10268 byte(s)
Diff to previous 6827
- Removed backwards compatibility hack for older servers that allowed client->sockhost being "0"

Revision 6827 - (view) (annotate) - [select for diffs]
Modified Fri Nov 20 19:48:05 2015 UTC (8 years, 4 months ago) by michael
File length: 10330 byte(s)
Diff to previous 6255
- Removed client->account backwards compatibility hacks for 8.1

Revision 6255 - (view) (annotate) - [select for diffs]
Modified Fri Jul 10 15:40:48 2015 UTC (8 years, 9 months ago) by michael
File length: 10361 byte(s)
Diff to previous 5881
- m_whois.c: don't allow remote WHOIS lookups with the target being a UID. Removed IsDigit test.

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: 10365 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: 10236 byte(s)
Diff to previous 5631
- Removed useless zero initializers from the module_entry as suggested by Adam

Revision 5631 - (view) (annotate) - [select for diffs]
Modified Sun Mar 1 12:20:27 2015 UTC (9 years, 1 month ago) by michael
File length: 10324 byte(s)
Diff to previous 5558
- 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 5558 - (view) (annotate) - [select for diffs]
Modified Fri Feb 13 20:45:49 2015 UTC (9 years, 2 months ago) by michael
File length: 10263 byte(s)
Diff to previous 5554
- Changed SVSTAG to use user modes

Revision 5554 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 22:33:27 2015 UTC (9 years, 2 months ago) by michael
File length: 10369 byte(s)
Diff to previous 5553
- m_whois.c:whois_person(): renamed variable

Revision 5553 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 22:28:09 2015 UTC (9 years, 2 months ago) by michael
File length: 10359 byte(s)
Diff to previous 5551
- m_whois.c:whois_person(): don't leak RPL_WHOISOPERATOR if target is +H

Revision 5551 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 21:43:47 2015 UTC (9 years, 2 months ago) by michael
File length: 10215 byte(s)
Diff to previous 5544
- Finish basic SVSTAG implementatio

Revision 5544 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 13:40:24 2015 UTC (9 years, 2 months ago) by michael
File length: 9652 byte(s)
Diff to previous 5528
- Renamed idle_time_get() to client_get_idle_time()

Revision 5528 - (view) (annotate) - [select for diffs]
Modified Wed Feb 11 17:46:44 2015 UTC (9 years, 2 months ago) by michael
File length: 9645 byte(s)
Diff to previous 5517
- m_whois.c: operators may now see certificate fingerprints, user modes and hidden channels as well.
  This used to be admin only.

Revision 5517 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:30:41 2015 UTC (9 years, 2 months ago) by michael
File length: 9648 byte(s)
Diff to previous 5400
- m_whois.c:whois_person(): constification

Revision 5400 - (view) (annotate) - [select for diffs]
Modified Tue Jan 20 15:12:10 2015 UTC (9 years, 2 months ago) by michael
File length: 9640 byte(s)
Diff to previous 5392
- m_mode.c, m_whois.c: added missing HasUMode test

Revision 5392 - (view) (annotate) - [select for diffs]
Modified Tue Jan 20 13:40:41 2015 UTC (9 years, 2 months ago) by michael
File length: 9597 byte(s)
Diff to previous 5347
- Minor cleanups and optimizations to usermode handling

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

Revision 4967 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 14:34:29 2014 UTC (9 years, 4 months ago) by michael
File length: 9622 byte(s)
Diff to previous 4819
- general::hide_spoof_ips is now deprecated

Revision 4819 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 16:49:40 2014 UTC (9 years, 5 months ago) by michael
File length: 9826 byte(s)
Diff to previous 4815
- Renamed Client::svid to Client::account

Revision 4815 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:28:42 2014 UTC (9 years, 5 months ago) by michael
File length: 9817 byte(s)
Diff to previous 4767
- Renamed variables

Revision 4767 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 18:02:20 2014 UTC (9 years, 5 months ago) by michael
File length: 9797 byte(s)
Diff to previous 4759
- /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

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

Revision 4695 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 14:24:19 2014 UTC (9 years, 6 months ago) by michael
File length: 9754 byte(s)
Diff to previous 4618
- m_whois.c:whois_person(): removed useless test on target_p->sockhost[0] which
  can't be NUL now that TS6 is mandatory

Revision 4618 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 13:01:09 2014 UTC (9 years, 7 months ago) by michael
File length: 9780 byte(s)
Diff to previous 4588
- Renamed Channel::chname to Channel::name

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

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: 9785 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: 9781 byte(s)
Diff to previous 4340
- 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 (9 years, 8 months ago) by michael
File length: 9775 byte(s)
Diff to previous 4298
- Renamed structures to meet code conventions

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

Revision 3513 - (view) (annotate) - [select for diffs]
Modified Mon May 12 16:28:29 2014 UTC (9 years, 11 months ago) by michael
File length: 9772 byte(s)
Diff to previous 3506
- Added usermode +p which hides channel list in WHOIS

Revision 3506 - (view) (annotate) - [select for diffs]
Modified Sun May 11 17:03:20 2014 UTC (9 years, 11 months ago) by michael
File length: 9406 byte(s)
Diff to previous 3347
- Added usermode +q which hides idle and signon time in WHOIS

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: 9289 byte(s)
Diff to previous 3295
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3295 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 18:59:33 2014 UTC (10 years ago) by michael
File length: 9293 byte(s)
Diff to previous 3283
- doxygen

Revision 3283 - (view) (annotate) - [select for diffs]
Modified Tue Apr 8 16:39:50 2014 UTC (10 years ago) by michael
File length: 8416 byte(s)
Diff to previous 3215
- Style corrections/constification

Revision 3215 - (view) (annotate) - [select for diffs]
Modified Tue Mar 25 19:23:15 2014 UTC (10 years ago) by michael
File length: 8427 byte(s)
Diff to previous 3160
- Fixed some comments; cleaned up style here and there

Revision 3160 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 17:47:46 2014 UTC (10 years, 1 month ago) by michael
File length: 8433 byte(s)
Diff to previous 3156
- Minor corrections to -r3156 [Removed client_p pointers from everywhere]

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: 8439 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, 1 month ago) by michael
File length: 8526 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: 9100 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: 9112 byte(s)
Diff to previous 2784
- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years
- Made module handlers int type for later use

Revision 2784 - (view) (annotate) - [select for diffs]
Modified Mon Jan 6 19:12:19 2014 UTC (10 years, 3 months ago) by michael
File length: 9016 byte(s)
Diff to previous 2762
- m_whois.c:do_whois(): get it to work with UIDs. Spotted and fixed by Adam.

Revision 2762 - (view) (annotate) - [select for diffs]
Modified Mon Jan 6 13:28:49 2014 UTC (10 years, 3 months ago) by michael
File length: 9027 byte(s)
Diff to previous 2748
- m_whois.c:whois_person(): removed /whois notice

Revision 2748 - (view) (annotate) - [select for diffs]
Modified Sun Jan 5 19:20:09 2014 UTC (10 years, 3 months ago) by michael
File length: 9386 byte(s)
Diff to previous 2727
- Fixed server name leak for hidden servers in /who, /whois and /whowas

Revision 2727 - (view) (annotate) - [select for diffs]
Modified Sun Dec 29 13:28:03 2013 UTC (10 years, 3 months ago) by michael
File length: 9345 byte(s)
Diff to previous 2580
- Cleaned up RPL_WHOISADMIN hack

Revision 2580 - (view) (annotate) - [select for diffs]
Modified Wed Nov 20 20:46:57 2013 UTC (10 years, 4 months ago) by michael
File length: 9259 byte(s)
Diff to previous 2536
- Better distinguishing between usermode +g and +G in both /whois and /privmsg
  as suggested by Adam <adam@anope.org>

Revision 2536 - (view) (annotate) - [select for diffs]
Modified Wed Nov 13 15:13:08 2013 UTC (10 years, 5 months ago) by michael
File length: 9044 byte(s)
Diff to previous 2529
- m_whois.c: only administrators may see a client's certificate finger print

Revision 2529 - (view) (annotate) - [select for diffs]
Modified Fri Nov 8 17:49:24 2013 UTC (10 years, 5 months ago) by michael
File length: 9043 byte(s)
Diff to previous 2511
- Administrators are now able to see user modes a user has set via /whois

Revision 2511 - (view) (annotate) - [select for diffs]
Modified Sun Oct 27 18:56:53 2013 UTC (10 years, 5 months ago) by michael
File length: 8663 byte(s)
Diff to previous 2508
- Added usermode +W. Users connected via a webirc gateway get this
  mode set by servers.
- /WHOIS now shows whether a client is connected via a webirc
  gateway

Revision 2508 - (view) (annotate) - [select for diffs]
Modified Sun Oct 27 16:32:15 2013 UTC (10 years, 5 months ago) by michael
File length: 8459 byte(s)
Diff to previous 2478
- Admins may now see +s channels a user is in with /WHOIS

Revision 2478 - (view) (annotate) - [select for diffs]
Modified Wed Oct 23 14:04:31 2013 UTC (10 years, 5 months ago) by michael
File length: 8363 byte(s)
Diff to previous 2354
- Stole ircu's RPL_WHOISACCOUNT numeric

Revision 2354 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 11:47:20 2013 UTC (10 years, 9 months ago) by michael
File length: 8186 byte(s)
Diff to previous 2246
- m_whois.c: removed legacy code

Revision 2246 - (view) (annotate) - [select for diffs]
Modified Sun Jun 16 10:48:39 2013 UTC (10 years, 10 months ago) by michael
File length: 8328 byte(s)
Diff to previous 2229
- Add usermode 'S' (client is connecte via SSL/TLS).
  Allows services to keep track of what users are connected via SSL,
  and allows to see ssl-status of remote clients in a /whois.

Revision 2229 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 20:10:27 2013 UTC (10 years, 10 months ago) by michael
File length: 8362 byte(s)
Diff to previous 2228
- 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, 10 months ago) by michael
File length: 8378 byte(s)
Diff to previous 2224
- Implement certificate fingerprint validation for oper{} and connect{} blocks.
  Some code taken from oftc-hybrid. Hello, stu!

Revision 2224 - (view) (annotate) - [select for diffs]
Modified Wed Jun 12 18:10:43 2013 UTC (10 years, 10 months ago) by michael
File length: 8128 byte(s)
Diff to previous 2196
- white-space commit/style corrections

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

Revision 2017 - (view) (annotate) - [select for diffs]
Modified Sun May 12 15:36:43 2013 UTC (10 years, 11 months ago) by michael
File length: 8076 byte(s)
Diff to previous 1997
- Whitespace commit

Revision 1997 - (view) (annotate) - [select for diffs]
Modified Sat May 11 17:35:07 2013 UTC (10 years, 11 months ago) by michael
File length: 8077 byte(s)
Diff to previous 1874
- Mostly style cleanups & whitespace changes

Revision 1874 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 09:27:34 2013 UTC (10 years, 11 months ago) by michael
File length: 8207 byte(s)
Diff to previous 1834
- WHOIS may no longer accept wildcards

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: 10938 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: 10768 byte(s)
Diff to previous 1811
- 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 1811 - (view) (annotate) - [select for diffs]
Modified Fri Apr 12 08:32:08 2013 UTC (11 years ago) by michael
File length: 10938 byte(s)
Diff to previous 1793
- Forward-port -r1810 [m_whois.c: fixed bug where TS5 servers would send an
  empty RPL_WHOISACTUALLY numeric]

Revision 1793 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:06:08 2013 UTC (11 years ago) by michael
File length: 10913 byte(s)
Diff to previous 1783
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

Revision 1783 - (view) (annotate) - [select for diffs]
Modified Thu Jan 24 19:26:51 2013 UTC (11 years, 2 months ago) by michael
File length: 10941 byte(s)
Diff to previous 1652
- Forward-port -r1774:
  - Configuration parser now does support 'year' and 'month' units
  - Add support for fake idle times to /whois. Known from csircd, this
    adds min_idle, and max_idle configuration directives to class{} blocks

Revision 1652 - (view) (annotate) - [select for diffs]
Modified Tue Nov 13 20:28:53 2012 UTC (11 years, 5 months ago) by michael
File length: 10957 byte(s)
Diff to previous 1592
- 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 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
File length: 10958 byte(s)
Diff to previous 1549
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1549 - (view) (annotate) - [select for diffs]
Modified Mon Oct 1 18:11:11 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 10958 byte(s)
Diff to previous 1547
- Removed general::kline_with_reason configuration options. It's now enabled
  by default
- Removed remnants of the broken reject holding code

Revision 1547 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 17:50:03 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11129 byte(s)
Diff to previous 1483
- Removed general::use_whois_actually configuration directive. This is
  now enabled by default

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/modules/m_whois.c
File length: 11187 byte(s)
Diff to previous 1474
- Made Client::away a fixed-size array at the expense of a somewhat higher
  memory consumption

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_whois.c
File length: 11192 byte(s)
Diff to previous 1403
- removed &localchannels

Revision 1403 - (view) (annotate) - [select for diffs]
Modified Wed May 9 19:11:32 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11335 byte(s)
Diff to previous 1333
- modules/m_whois.c: replace an irccmp with strcmp

Revision 1333 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 16:28:53 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11370 byte(s)
Diff to previous 1309
- m_whois.c: fixed displaying of RPL_TARGUMODEG

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_whois.c
File length: 11374 byte(s)
Diff to previous 1294
- 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 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/modules/m_whois.c
File length: 11376 byte(s)
Diff to previous 1243
- 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 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_whois.c
File length: 11342 byte(s)
Diff to previous 1241
- 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/modules/m_whois.c
File length: 11425 byte(s)
Diff to previous 1233
- 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 1233 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 20:53:07 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11412 byte(s)
Diff to previous 1230
- replace bunch of ircsprintf with snprintf

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_whois.c
File length: 11386 byte(s)
Diff to previous 1225
- cleanup module loader. Make module api more flexible

Revision 1225 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 12:11:56 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11338 byte(s)
Diff to previous 1219
- m_whois.c: remove callbacks that previously has been used for WHOIS notices

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_whois.c
File length: 11723 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_whois.c
File length: 11554 byte(s)
Diff to previous 1176
- 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 1176 - (view) (annotate) - [select for diffs]
Modified Sun Aug 14 11:24:24 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11548 byte(s)
Diff to previous 1169
- remove idle-time klines
- rename LocalUser.last to LocalUser.last_privmsg
- m_message.c: reset source_p->last_privmsg even if a client is messaging itself


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_whois.c
File length: 11540 byte(s)
Diff to previous 1164
- 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 1164 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 21:55:38 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11535 byte(s)
Diff to previous 1162
- fix previous commit to m_whois.c

Revision 1162 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 21:26:33 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11535 byte(s)
Diff to previous 1158
- don't report RPL_WHOISREGNICK for unregistered nicknames...


Revision 1158 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 19:46:00 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11487 byte(s)
Diff to previous 1156
- UMODE_REJ goes to usermode 'j'
- add UMODE_REGISTERED ('r') (registered nickname)

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_whois.c
File length: 11380 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_whois.c
File length: 11380 byte(s)
Diff to previous 1144
- recreate "trunk"

Revision 1144 - (view) (annotate) - [select for diffs]
Modified Tue Jul 26 19:33:54 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11380 byte(s)
Diff to previous 1121
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 (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11042 byte(s)
Diff to previous 1114
- removed all instances of STATIC_MODULES since we don't have
  static modules anymore
- removed m_mkpasswd module from contrib

Revision 1114 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 20:33:05 2010 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11221 byte(s)
Diff to previous 1029
- Move RPL_ETRACE to messages.tab
- CHANGE RPL_WHOISSSL to use the 671 numeric

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_whois.c
File length: 11218 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_whois.c
File length: 11218 byte(s)
Diff to previous 1011
- move ircd-hybrid-7.2 to trunk

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

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_whois.c
File length: 11257 byte(s)
Diff to previous 660
- 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 660 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 18:51:22 2006 UTC (17 years, 10 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11798 byte(s)
Diff to previous 472
+ backported numeric changes

Revision 472 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 10:13:25 2006 UTC (18 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11629 byte(s)
Diff to previous 280
- Fixed RPL_WHOISACTUALLY as reported by CoolCold

Revision 280 - (view) (annotate) - [select for diffs]
Modified Wed Nov 23 23:09:48 2005 UTC (18 years, 4 months ago) by db
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11641 byte(s)
Diff to previous 269
- Back port whois fix from HEAD


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

Revision 268 - (view) (annotate) - [select for diffs]
Modified Mon Nov 14 11:02:39 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11694 byte(s)
Diff to previous 93
+ add more load2hi protection
+ style fixes

Revision 93 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 11:24:01 2005 UTC (18 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11392 byte(s)
Diff to previous 34
- Fixed bug in m_whois() that would allow users to send a WHOIS to remote
  servers with an empty argument via "WHOIS someserver.org :"

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_whois.c
File length: 11342 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_whois.c
File length: 11342 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_whois.c
File length: 11342 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_whois.c
File length: 11342 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_whois.c
File length: 11398 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