ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/auth.c
Revision 6478 - (view) (annotate) - [select for diffs]
Modified Thu Sep 3 14:02:53 2015 UTC (8 years, 6 months ago) by michael
File length: 14029 byte(s)
Diff to previous 6313
- auth.c: rename auth_pending_list to auth_list

Revision 6313 - (view) (annotate) - [select for diffs]
Modified Sat Aug 1 18:03:39 2015 UTC (8 years, 7 months ago) by michael
File length: 14069 byte(s)
Diff to previous 5902
- Make use of the *Flag() macros in some more places

Revision 5902 - (view) (annotate) - [select for diffs]
Modified Mon May 4 11:56:42 2015 UTC (8 years, 10 months ago) by michael
File length: 14057 byte(s)
Diff to previous 5888
- Style corrections

Revision 5888 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:32:25 2015 UTC (8 years, 10 months ago) by michael
File length: 14062 byte(s)
Diff to previous 5720
- auth.c: use C99-style array initialization

Revision 5720 - (view) (annotate) - [select for diffs]
Modified Sun Mar 22 11:50:26 2015 UTC (9 years ago) by michael
File length: 13904 byte(s)
Diff to previous 5497
- auth.c:auth_connect_callback(): saved a strlen(); hardened test of send()'s return value to
  ensure all bytes were sent

Revision 5497 - (view) (annotate) - [select for diffs]
Modified Sun Feb 8 18:08:40 2015 UTC (9 years, 1 month ago) by michael
File length: 13890 byte(s)
Diff to previous 5347
- auth.c:sendheader(): fixed compile warnings with -Wformat-security

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

Revision 4865 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 20:04:02 2014 UTC (9 years, 4 months ago) by michael
File length: 13884 byte(s)
Diff to previous 4864
- auth.c:start_auth_query(): removed archaic comment

Revision 4864 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 19:55:40 2014 UTC (9 years, 4 months ago) by michael
File length: 14106 byte(s)
Diff to previous 4862
- auth.c:auth_connect_callback(): use report_error() for reporting failed
  getsockname() or getpeername() calls

Revision 4862 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 19:50:45 2014 UTC (9 years, 4 months ago) by michael
File length: 14092 byte(s)
Diff to previous 4859
- auth.c: constifications

Revision 4859 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 17:19:38 2014 UTC (9 years, 4 months ago) by michael
File length: 14074 byte(s)
Diff to previous 4858
- auth.c:auth_connect_callback(): decreased size of 'authbuf'

Revision 4858 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 17:18:14 2014 UTC (9 years, 4 months ago) by michael
File length: 14074 byte(s)
Diff to previous 4854
- auth.c: constifications

Revision 4854 - (view) (annotate) - [select for diffs]
Modified Thu Nov 6 17:39:26 2014 UTC (9 years, 4 months ago) by michael
File length: 14030 byte(s)
Diff to previous 4815
- auth.c: constification

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

Revision 4699 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 15:28:55 2014 UTC (9 years, 5 months ago) by michael
File length: 14031 byte(s)
Diff to previous 4696
- auth.c:start_auth_query(): removed extraneous ilog(). report_error() already does the logging

Revision 4696 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 15:23:02 2014 UTC (9 years, 5 months ago) by michael
File length: 14143 byte(s)
Diff to previous 4588
- auth.c:timeout_auth_queries_event(): removed logging

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

Revision 4464 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:28:00 2014 UTC (9 years, 7 months ago) by michael
File length: 14252 byte(s)
Diff to previous 4461
- Removed CNCB typedef

Revision 4461 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:05:26 2014 UTC (9 years, 7 months ago) by michael
File length: 14230 byte(s)
Diff to previous 4415
- Removed stupid PF typedef in fdlist.h which prevented both gcc and clang from spitting out
  a warning about the first argument of s_bsd:ssl_handshake() being an 'int' when it really
  has to be a 'fde_t' pointer.
- Fixed first argument of s_bsd:ssl_handshake() which should be a 'fde_t' pointer instead of an 'int'.

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: 14211 byte(s)
Diff to previous 4408
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.

Revision 4408 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:19:38 2014 UTC (9 years, 7 months ago) by michael
File length: 14655 byte(s)
Diff to previous 4340
- Fixed resolver/auth issues with too long hostnames

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

Revision 4309 - (view) (annotate) - [select for diffs]
Modified Tue Jul 29 17:24:25 2014 UTC (9 years, 8 months ago) by michael
File length: 14648 byte(s)
Diff to previous 4189
- Backported auth code related cleanups from newio branch

Revision 4189 - (view) (annotate) - [select for diffs]
Modified Mon Jul 7 18:30:34 2014 UTC (9 years, 8 months ago) by michael
File length: 15151 byte(s)
Diff to previous 4108
- Don't add/remove unregistered connections to/from global_client_list

Revision 4108 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 21:02:06 2014 UTC (9 years, 8 months ago) by michael
File length: 15208 byte(s)
Diff to previous 4094
- Allow [ in usernames

Revision 4094 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 11:48:50 2014 UTC (9 years, 9 months ago) by michael
File length: 15221 byte(s)
Diff to previous 3563
- Merged Adam's event system rewrite

Revision 3563 - (view) (annotate) - [select for diffs]
Modified Fri May 16 14:00:53 2014 UTC (9 years, 10 months ago) by michael
File length: 15098 byte(s)
Diff to previous 3324
- auth.c: constification

Revision 3324 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:18:07 2014 UTC (9 years, 11 months ago) by michael
File length: 15092 byte(s)
Copied from: ircd-hybrid/trunk/src/s_auth.c revision 3322
Diff to previous 3322
- Moved s_auth.c to auth.c

Revision 3322 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:11:11 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15096 byte(s)
Diff to previous 3274
- Moved irc_res.c to res.c
- Moved irc_reslib.c to reslib.c

Revision 3274 - (view) (annotate) - [select for diffs]
Modified Sun Apr 6 12:22:23 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15100 byte(s)
Diff to previous 3250
- Clean up redundant/unused header includes

Revision 3250 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 20:47:30 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15118 byte(s)
Diff to previous 3168
- Fixed inconsistent style in several places

Revision 3168 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 23:46:08 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15131 byte(s)
Diff to previous 2929
- s_auth.c: made sendheader macro use sendto_one_notice()

Revision 2929 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 23:14:08 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15256 byte(s)
Diff to previous 2916
- s_auth.c, s_auth.h: optimized so we save unecessary auth_doing_list
  traversals. Patch provided by Adam.

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15212 byte(s)
Diff to previous 2181
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2181 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 11:03:41 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15207 byte(s)
Diff to previous 1798
- Fixed debug assertion being triggered on ident lookup
  as reported by Stuart Walsh

Revision 1798 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 17:09:50 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15559 byte(s)
Diff to previous 1654
- Cleanup/reorganize header file layout
- Fixed naming convention in some places

Revision 1654 - (view) (annotate) - [select for diffs]
Modified Fri Nov 16 19:39:37 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15561 byte(s)
Diff to previous 1592
- Implemented memory pool allocator which basically is taken from Tor's
  mempool allocator for Tor cells
- Fixed compile warnings in conf_class.c
- ./configure --enable-assert works again

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/src/s_auth.c
File length: 15549 byte(s)
Diff to previous 1309
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

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/src/s_auth.c
File length: 15549 byte(s)
Diff to previous 1247
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (12 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15552 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/src/s_auth.c
File length: 15532 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/src/s_auth.c
File length: 15552 byte(s)
Diff to previous 1156
- 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 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/src/s_auth.c
File length: 15479 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/src/s_auth.c
File length: 15479 byte(s)
Diff to previous 1124
- recreate "trunk"

Revision 1124 - (view) (annotate) - [select for diffs]
Modified Mon Feb 7 11:45:27 2011 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_auth.c
File length: 15479 byte(s)
Diff to previous 1032
- replace several ircsprintf with snprintf

Revision 1032 - (view) (annotate) - [select for diffs]
Modified Thu Dec 3 18:45:37 2009 UTC (14 years, 3 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_auth.c
File length: 15511 byte(s)
Diff to previous 1029
- fixed compile errors as reported by Peter Evans

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/src/s_auth.c
File length: 15512 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/src/s_auth.c
File length: 15512 byte(s)
Diff to previous 1013
- move ircd-hybrid-7.2 to trunk

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15512 byte(s)
Diff to previous 1011
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified
- Fixed several compile warnings
- 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding

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

Revision 1001 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 22:44:44 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15587 byte(s)
Diff to previous 1000
- remove half done and broken win32 support

Revision 1000 - (view) (annotate) - [select for diffs]
Modified Mon Aug 24 13:37:39 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15712 byte(s)
Diff to previous 998
- timeout_auth_queries_event(): don't try to close auth->fd twice

Revision 998 - (view) (annotate) - [select for diffs]
Modified Sun Aug 23 12:43:17 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15684 byte(s)
Diff to previous 992
- change resolver/auth to use balloc memory pool
- ircd.c: init_resolver() has to be called *before* read_conf_files(), otherwise
  recvfrom() aborts with ENOTSOCK in case there are configured connect{} blocks
  with a host that needs to be resolved on the very first configuration read.

Revision 992 - (view) (annotate) - [select for diffs]
Modified Mon Aug 17 19:19:16 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15448 byte(s)
Diff to previous 896
- fix possible auth/dns related memleaks

Revision 896 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 08:54:09 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17819 byte(s)
Diff to previous 696
- Killed s_stats.c

Revision 696 - (view) (annotate) - [select for diffs]
Modified Wed Jun 21 07:52:16 2006 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17845 byte(s)
Diff to previous 664
- Fixed small memory leak in delete_auth()

Revision 664 - (view) (annotate) - [select for diffs]
Modified Sat Jun 10 14:34:01 2006 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17744 byte(s)
Diff to previous 650
- Fixed compile error in s_auth.c

Revision 650 - (view) (annotate) - [select for diffs]
Modified Thu Jun 8 07:00:17 2006 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17752 byte(s)
Diff to previous 397
- Fixed bug that would exit unknown clients in check_unknowns_list() that are
  still processing auth/dns queries.
  Basically check_unknowns_list() should only exit clients that have finished
  auth/dns and didn't send a NICK/USER combination since they have been
  released from auth.

  Reported by ThaPrince.

Revision 397 - (view) (annotate) - [select for diffs]
Modified Fri Feb 3 22:08:10 2006 UTC (18 years, 1 month ago) by nenolod
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17632 byte(s)
Diff to previous 34
MFC r396 from ircd-hybrid 7.3 (s_auth.c reliability fixes)

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/src/s_auth.c
File length: 17147 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/src/s_auth.c
File length: 17147 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/src/s_auth.c
File length: 17147 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/src/s_auth.c
File length: 17147 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/src/s_auth.c
File length: 17198 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