ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_dline.c
Revision 5051 - (view) (annotate) - [select for diffs]
Modified Sat Dec 13 21:31:06 2014 UTC (9 years, 3 months ago) by michael
File length: 10142 byte(s)
Diff to previous 5014
- Fixed compile warnings

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

Revision 4934 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 21:09:09 2014 UTC (9 years, 4 months ago) by michael
File length: 10154 byte(s)
Diff to previous 4890
- Style corrections; constifications

Revision 4890 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 17:10:46 2014 UTC (9 years, 4 months ago) by michael
File length: 10178 byte(s)
Diff to previous 4815
- Style corrections

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

Revision 4674 - (view) (annotate) - [select for diffs]
Modified Sun Sep 28 18:18:26 2014 UTC (9 years, 6 months ago) by michael
File length: 10321 byte(s)
Diff to previous 4673
- m_dline.c:mo_dline(): correction to previous commit

Revision 4673 - (view) (annotate) - [select for diffs]
Modified Sun Sep 28 17:27:08 2014 UTC (9 years, 6 months ago) by michael
File length: 10321 byte(s)
Diff to previous 4656
- m_dline.c, m_kline.c: avoid using valid_comment()

Revision 4656 - (view) (annotate) - [select for diffs]
Modified Tue Sep 23 14:53:17 2014 UTC (9 years, 6 months ago) by michael
File length: 10389 byte(s)
Diff to previous 4647
- m_dline.c: whitespace changes

Revision 4647 - (view) (annotate) - [select for diffs]
Modified Sun Sep 21 16:35:21 2014 UTC (9 years, 6 months ago) by michael
File length: 10390 byte(s)
Diff to previous 4643
- m_dline.c:ms_dline(): whitespace changes

Revision 4643 - (view) (annotate) - [select for diffs]
Modified Sun Sep 21 11:37:14 2014 UTC (9 years, 6 months ago) by michael
File length: 10389 byte(s)
Diff to previous 4639
- m_dline.c: cleaned up ms_dline(); removed useless junk

Revision 4639 - (view) (annotate) - [select for diffs]
Modified Sun Sep 21 11:17:58 2014 UTC (9 years, 6 months ago) by michael
File length: 11277 byte(s)
Diff to previous 4588
- m_dline.c, m_undline.c: allow servers to add/remove DLINEs

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: 11109 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: 11121 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: 11117 byte(s)
Diff to previous 4415
- Implemented pseudo {} blocks (service aliases)
- Fixed compile warnings with -Wmissing-field-initializers

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

Revision 3929 - (view) (annotate) - [select for diffs]
Modified Mon Jun 9 14:56:25 2014 UTC (9 years, 9 months ago) by michael
File length: 11149 byte(s)
Diff to previous 3737
- Greatly speedup d-line lookup. Instead of testing every single client against
  every existing d-line just check the just added ban against connected clients.
  Also now check d-line _before_ looking for a matching exempt{}

Revision 3737 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 16:11:02 2014 UTC (9 years, 9 months ago) by michael
File length: 9743 byte(s)
Diff to previous 3368
- Added some documentation about find_chasing()

Revision 3368 - (view) (annotate) - [select for diffs]
Modified Mon Apr 21 14:24:16 2014 UTC (9 years, 11 months ago) by michael
File length: 9661 byte(s)
Diff to previous 3348
- Style corrections

Revision 3348 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:09:22 2014 UTC (9 years, 11 months ago) by michael
File length: 9695 byte(s)
Diff to previous 3347
- Added m_undline.c and moved all UNDLINE related code into it

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

Revision 3208 - (view) (annotate) - [select for diffs]
Modified Tue Mar 25 15:31:30 2014 UTC (10 years ago) by michael
File length: 13502 byte(s)
Diff to previous 3192
- Minor cleanup to m_dline.c, m_gline.c, m_kline.c

Revision 3192 - (view) (annotate) - [select for diffs]
Modified Sun Mar 23 19:46:39 2014 UTC (10 years ago) by michael
File length: 13608 byte(s)
Diff to previous 3156
- Fixed compile error in ms_sid()
- Cleaned up find_chasing(). Removed useless third 'chasing' argument.

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

Revision 3120 - (view) (annotate) - [select for diffs]
Modified Fri Mar 7 21:52:54 2014 UTC (10 years ago) by michael
File length: 13760 byte(s)
Diff to previous 3118
- Missed some of the parv[0] removal changes. Fixed.

Revision 3118 - (view) (annotate) - [select for diffs]
Modified Fri Mar 7 19:32:34 2014 UTC (10 years ago) by michael
File length: 13764 byte(s)
Diff to previous 3117
- numeric.c, m_dline.c: fixed inconsistent use of "can't" and "cannot"

Revision 3117 - (view) (annotate) - [select for diffs]
Modified Fri Mar 7 19:28:54 2014 UTC (10 years ago) by michael
File length: 13762 byte(s)
Diff to previous 3110
- Removed unused header includes here and there

Revision 3110 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 20:33:17 2014 UTC (10 years ago) by michael
File length: 13822 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 ago) by michael
File length: 14633 byte(s)
Diff to previous 2997
- Applied Adam's sendto_one_numeric() changes

Revision 2997 - (view) (annotate) - [select for diffs]
Modified Tue Feb 18 21:19:28 2014 UTC (10 years, 1 month ago) by michael
File length: 14744 byte(s)
Diff to previous 2888
- m_dline.c: get rid of this (type & ~0x1) hack

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

Revision 2857 - (view) (annotate) - [select for diffs]
Modified Sat Jan 18 19:38:13 2014 UTC (10 years, 2 months ago) by michael
File length: 14760 byte(s)
Diff to previous 2820
- m_dline.c: merged me_undline() into ms_undline()

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

Revision 2818 - (view) (annotate) - [select for diffs]
Modified Tue Jan 14 18:29:05 2014 UTC (10 years, 2 months ago) by michael
File length: 14894 byte(s)
Diff to previous 2810
- m_dline.c, m_kline.c: fixed wrong copyright years

Revision 2810 - (view) (annotate) - [select for diffs]
Modified Sun Jan 12 18:30:44 2014 UTC (10 years, 2 months ago) by michael
File length: 14894 byte(s)
Diff to previous 2807
- m_dline.c, m_kline.c: fixed indentation, style cleanups, reformatting

Revision 2807 - (view) (annotate) - [select for diffs]
Modified Sun Jan 12 17:19:01 2014 UTC (10 years, 2 months ago) by michael
File length: 14871 byte(s)
Diff to previous 2475
- m_dline.c:mo_dline(). if a target server exists, use sendto_match_servs()
  instead of sendto_server()

Revision 2475 - (view) (annotate) - [select for diffs]
Modified Fri Oct 11 19:40:43 2013 UTC (10 years, 5 months ago) by michael
File length: 15356 byte(s)
Diff to previous 2340
- find_person(): fixed naming convention
- find_chasing(): reduced required arguments

Revision 2340 - (view) (annotate) - [select for diffs]
Modified Wed Jul 3 13:31:23 2013 UTC (10 years, 8 months ago) by michael
File length: 15376 byte(s)
Diff to previous 1834
- UNRESV should be logged as well
- Improved logging. Fixed inconsistent use of
  get_oper_name() vs. source_p->name

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: 15386 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: 15356 byte(s)
Diff to previous 1794
- 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 1794 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:17:46 2013 UTC (10 years, 11 months ago) by michael
File length: 15386 byte(s)
Diff to previous 1793
- KLINE, DLINE, SQUIT and KILL now make use of CONF_NOREASON as well

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

Revision 1761 - (view) (annotate) - [select for diffs]
Modified Fri Jan 18 19:21:39 2013 UTC (11 years, 2 months ago) by michael
File length: 15431 byte(s)
Diff to previous 1703
- Fixed some other invalid conversion specifiers

Revision 1703 - (view) (annotate) - [select for diffs]
Modified Sun Dec 23 14:26:36 2012 UTC (11 years, 3 months ago) by michael
File length: 15434 byte(s)
Diff to previous 1666
- Fixed core on UNDLINE

Revision 1666 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 17:03:18 2012 UTC (11 years, 4 months ago) by michael
File length: 15430 byte(s)
Diff to previous 1652
- Cleanup unused header file includes
- Fixed minor compile warning in conf.c

Revision 1652 - (view) (annotate) - [select for diffs]
Modified Tue Nov 13 20:28:53 2012 UTC (11 years, 4 months ago) by michael
File length: 15410 byte(s)
Diff to previous 1649
- changed match() polarity. match() now returns 0 on match and 1 on non-match
  This cleans up several places where function pointers of different matching
  functions like irccmp/strcmp/match are passed to other functions.
- added improved collapse() to match.c

Revision 1649 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 19:27:13 2012 UTC (11 years, 4 months ago) by michael
File length: 15414 byte(s)
Diff to previous 1646
- minor MaskItem structure cleanup

Revision 1646 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 21:02:43 2012 UTC (11 years, 4 months ago) by michael
File length: 15413 byte(s)
Diff to previous 1644
- First pass of conf parser stabilization/cleanup

Revision 1644 - (view) (annotate) - [select for diffs]
Modified Tue Nov 6 22:20:16 2012 UTC (11 years, 4 months ago) by michael
File length: 15417 byte(s)
Diff to previous 1632
- More config subsystem cleanups

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (11 years, 4 months ago) by michael
File length: 15330 byte(s)
Diff to previous 1628
- Initial rewrite of the configuration subsystem

Revision 1628 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 21:08:56 2012 UTC (11 years, 4 months ago) by michael
File length: 15415 byte(s)
Diff to previous 1625
- flesh out new *line database handling
- simplify temporary bans

Revision 1625 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 13:49:25 2012 UTC (11 years, 4 months ago) by michael
File length: 15709 byte(s)
Diff to previous 1622
- dbs are now periodically flushed on disc every 5 minutes

Revision 1622 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 13:16:37 2012 UTC (11 years, 4 months ago) by michael
File length: 15763 byte(s)
Diff to previous 1618
- klines, dlines, xlines, glines and resv now make use of the new database;
  also, temporary *lines are now stored, so they're not lost after
  restarting the ircd. This also applies to G-lines.

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (11 years, 4 months ago) by michael
File length: 16852 byte(s)
Diff to previous 1592
- Made m_globops() and ms_globops() use sendto_realops_flags()
- Added message-type parameter to sendto_realops_flags() which can be one of
  SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS
- Forward-port -r1617

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

Revision 1515 - (view) (annotate) - [select for diffs]
Modified Thu Aug 30 14:23:42 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 16787 byte(s)
Diff to previous 1474
- Minor documentation updates

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_dline.c
File length: 16787 byte(s)
Diff to previous 1398
- removed &localchannels

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

Revision 1371 - (view) (annotate) - [select for diffs]
Modified Wed Apr 25 19:32:21 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 16797 byte(s)
Diff to previous 1369
- "UNKLINE bla@bla.net" may accidentaly remove existing klines such as *@bla.* - Fixed

Revision 1369 - (view) (annotate) - [select for diffs]
Modified Wed Apr 25 19:04:19 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 16794 byte(s)
Diff to previous 1309
- cleanup temporary k/d/g line code

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_dline.c
File length: 16990 byte(s)
Diff to previous 1301
- 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 1301 - (view) (annotate) - [select for diffs]
Modified Sat Mar 10 21:47:17 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 16994 byte(s)
Diff to previous 1298
- add 'dline' and 'undline' operator flags
- implement remote dlines mainly for services purposes, but can be used
  by operators as well
- update example configuration files; remove invalid shared::flags entries

Revision 1298 - (view) (annotate) - [select for diffs]
Modified Tue Feb 28 18:51:13 2012 UTC (12 years, 1 month ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 9088 byte(s)
Diff to previous 1247
- fixed style in some places

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (12 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_dline.c
File length: 9124 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_dline.c
File length: 9217 byte(s)
Diff to previous 1233
- 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 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_dline.c
File length: 9278 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_dline.c
File length: 9245 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_dline.c
File length: 9201 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_dline.c
File length: 9173 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_dline.c
File length: 9161 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_dline.c
File length: 9161 byte(s)
Diff to previous 1123
- recreate "trunk"

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

Revision 1058 - (view) (annotate) - [select for diffs]
Added Tue Feb 2 22:15:03 2010 UTC (14 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_dline.c
File length: 9203 byte(s)
- move DLINE into its own m_dline module

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