ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/auth.c
Revision 7584 - (view) (annotate) - [select for diffs]
Modified Wed Jun 1 19:02:15 2016 UTC (9 years, 2 months ago) by michael
File length: 13909 byte(s)
Diff to previous 7006 , to selected 650
- token_vector(): use unsigned where appropriate

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (9 years, 7 months ago) by michael
File length: 13900 byte(s)
Diff to previous 6979 , to selected 650
- Update copyright years

Revision 6979 - (view) (annotate) - [select for diffs]
Modified Tue Dec 22 17:55:05 2015 UTC (9 years, 8 months ago) by michael
File length: 13900 byte(s)
Diff to previous 6976 , to selected 650
- auth.c: change start_auth_query() to void

Revision 6976 - (view) (annotate) - [select for diffs]
Modified Mon Dec 21 17:07:46 2015 UTC (9 years, 8 months ago) by michael
File length: 13942 byte(s)
Diff to previous 6913 , to selected 650
- auth.c: fixed core on ident lookup if comm_open() fails

Revision 6913 - (view) (annotate) - [select for diffs]
Modified Tue Dec 8 16:48:06 2015 UTC (9 years, 8 months ago) by michael
File length: 13952 byte(s)
Diff to previous 6690 , to selected 650
- auth.c:auth_connect_callback(): remove two pointless remove_ipv6_mapping() calls

Revision 6690 - (view) (annotate) - [select for diffs]
Modified Thu Oct 29 12:04:11 2015 UTC (9 years, 9 months ago) by michael
File length: 14010 byte(s)
Diff to previous 6478 , to selected 650
- Rename variables for consistency

Revision 6478 - (view) (annotate) - [select for diffs]
Modified Thu Sep 3 14:02:53 2015 UTC (9 years, 11 months ago) by michael
File length: 14029 byte(s)
Diff to previous 6313 , to selected 650
- 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 (10 years ago) by michael
File length: 14069 byte(s)
Diff to previous 5902 , to selected 650
- 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 (10 years, 3 months ago) by michael
File length: 14057 byte(s)
Diff to previous 5888 , to selected 650
- Style corrections

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

Revision 5720 - (view) (annotate) - [select for diffs]
Modified Sun Mar 22 11:50:26 2015 UTC (10 years, 5 months ago) by michael
File length: 13904 byte(s)
Diff to previous 5497 , to selected 650
- 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 (10 years, 6 months ago) by michael
File length: 13890 byte(s)
Diff to previous 5347 , to selected 650
- 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 (10 years, 7 months ago) by michael
File length: 13884 byte(s)
Diff to previous 4865 , to selected 650
- Update copyright years

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

Revision 4864 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 19:55:40 2014 UTC (10 years, 9 months ago) by michael
File length: 14106 byte(s)
Diff to previous 4862 , to selected 650
- 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 (10 years, 9 months ago) by michael
File length: 14092 byte(s)
Diff to previous 4859 , to selected 650
- auth.c: constifications

Revision 4859 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 17:19:38 2014 UTC (10 years, 9 months ago) by michael
File length: 14074 byte(s)
Diff to previous 4858 , to selected 650
- 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 (10 years, 9 months ago) by michael
File length: 14074 byte(s)
Diff to previous 4854 , to selected 650
- auth.c: constifications

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

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

Revision 4699 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 15:28:55 2014 UTC (10 years, 10 months ago) by michael
File length: 14031 byte(s)
Diff to previous 4696 , to selected 650
- 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 (10 years, 10 months ago) by michael
File length: 14143 byte(s)
Diff to previous 4588 , to selected 650
- auth.c:timeout_auth_queries_event(): removed logging

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

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

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

Revision 4461 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:05:26 2014 UTC (11 years ago) by michael
File length: 14230 byte(s)
Diff to previous 4415 , to selected 650
- 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 (11 years ago) by michael
File length: 14211 byte(s)
Diff to previous 4408 , to selected 650
- 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 (11 years ago) by michael
File length: 14655 byte(s)
Diff to previous 4340 , to selected 650
- Fixed resolver/auth issues with too long hostnames

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

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

Revision 4189 - (view) (annotate) - [select for diffs]
Modified Mon Jul 7 18:30:34 2014 UTC (11 years, 1 month ago) by michael
File length: 15151 byte(s)
Diff to previous 4108 , to selected 650
- 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 (11 years, 1 month ago) by michael
File length: 15208 byte(s)
Diff to previous 4094 , to selected 650
- Allow [ in usernames

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

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

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

Revision 3322 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:11:11 2014 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15096 byte(s)
Diff to previous 3274 , to selected 650
- 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 (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15100 byte(s)
Diff to previous 3250 , to selected 650
- Clean up redundant/unused header includes

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

Revision 3168 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 23:46:08 2014 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15131 byte(s)
Diff to previous 2929 , to selected 650
- 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 (11 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15256 byte(s)
Diff to previous 2916 , to selected 650
- 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 (11 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15212 byte(s)
Diff to previous 2181 , to selected 650
- 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 (12 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15207 byte(s)
Diff to previous 1798 , to selected 650
- 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 (12 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15559 byte(s)
Diff to previous 1654 , to selected 650
- 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 (12 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15561 byte(s)
Diff to previous 1592 , to selected 650
- 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 (12 years, 10 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_auth.c
File length: 15549 byte(s)
Diff to previous 1309 , to selected 650
- 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 (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15549 byte(s)
Diff to previous 1247 , to selected 650
- 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 (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15552 byte(s)
Diff to previous 1243 , to selected 650
- 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 (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15532 byte(s)
Diff to previous 1241 , to selected 650
- 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 (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15552 byte(s)
Diff to previous 1156 , to selected 650
- 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 (14 years ago) by michael
Original Path: ircd-hybrid-8/src/s_auth.c
File length: 15479 byte(s)
Diff to previous 1155 , to selected 650
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid/src/s_auth.c
File length: 15479 byte(s)
Diff to previous 1124 , to selected 650
- recreate "trunk"

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

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

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

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (15 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15512 byte(s)
Diff to previous 1011 , to selected 650
- 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 (15 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15542 byte(s)
Diff to previous 1001 , to selected 650
- 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 (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15587 byte(s)
Diff to previous 1000 , to selected 650
- remove half done and broken win32 support

Revision 1000 - (view) (annotate) - [select for diffs]
Modified Mon Aug 24 13:37:39 2009 UTC (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15712 byte(s)
Diff to previous 998 , to selected 650
- 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 (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15684 byte(s)
Diff to previous 992 , to selected 650
- 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 (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 15448 byte(s)
Diff to previous 896 , to selected 650
- fix possible auth/dns related memleaks

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

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

Revision 664 - (view) (annotate) - [select for diffs]
Modified Sat Jun 10 14:34:01 2006 UTC (19 years, 2 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) - [selected]
Modified Thu Jun 8 07:00:17 2006 UTC (19 years, 2 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 (19 years, 6 months ago) by nenolod
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17632 byte(s)
Diff to previous 34 , to selected 650
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 (19 years, 10 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_auth.c
File length: 17147 byte(s)
Diff to previous 33 , to selected 650
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 (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/s_auth.c
File length: 17147 byte(s)
Diff to previous 32 , to selected 650
- svn:keywords

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

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

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