ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/irc_res.c
Revision 2424 - (view) (annotate) - [select for diffs]
Modified Sun Jul 28 17:18:24 2013 UTC (10 years, 8 months ago) by michael
File length: 23121 byte(s)
Diff to previous 2407 , to selected 1123
- ioengine changes as of 28JUL13

Revision 2407 - (view) (annotate) - [select for diffs]
Modified Wed Jul 17 20:29:02 2013 UTC (10 years, 8 months ago) by michael
File length: 23071 byte(s)
Diff to previous 2396 , to selected 1123
- ioengine changes as of 17JUL13

Revision 2396 - (view) (annotate) - [select for diffs]
Modified Mon Jul 15 19:51:03 2013 UTC (10 years, 8 months ago) by michael
File length: 23357 byte(s)
Diff to previous 2392 , to selected 1123
- ioengine changes as of 15JUL13

Revision 2392 - (view) (annotate) - [select for diffs]
Modified Sat Jul 13 22:13:28 2013 UTC (10 years, 8 months ago) by michael
File length: 23394 byte(s)
Diff to previous 2381 , to selected 1123
- ioengine changes as of 14JUL13

Revision 2381 - (view) (annotate) - [select for diffs]
Modified Sat Jul 6 16:22:05 2013 UTC (10 years, 8 months ago) by michael
File length: 22494 byte(s)
Diff to previous 1834 , to selected 1123
- Add NEWIO branch

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
File length: 22494 byte(s)
Diff to previous 1832 , to selected 1123
- Revert to -r1831

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
File length: 22484 byte(s)
Diff to previous 1793 , to selected 1123
- 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 1793 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:06:08 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
File length: 22494 byte(s)
Diff to previous 1654 , to selected 1123
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

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/irc_res.c
File length: 22519 byte(s)
Diff to previous 1592 , to selected 1123
- 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/irc_res.c
File length: 22496 byte(s)
Diff to previous 1346 , to selected 1123
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1346 - (view) (annotate) - [select for diffs]
Modified Mon Apr 9 17:35:40 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/irc_res.c
File length: 22496 byte(s)
Diff to previous 1325 , to selected 1123
- irc_reslib.c: add localhost as default nameserver in case we cannot find
  a suitable entrie in resolv.conf
- irc_res.c:res_ourserver(): no need to test against INADDR_ANY.
  This is a relict of old BIND versions which added INADDR_ANDY as default
  nameserver if no other servers could be found.

Revision 1325 - (view) (annotate) - [select for diffs]
Modified Sat Mar 31 10:29:02 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/irc_res.c
File length: 22679 byte(s)
Diff to previous 1309 , to selected 1123
- Get rid of fileio.c. Replace some ircsprintf() with snprintf() while on it

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/irc_res.c
File length: 22735 byte(s)
Diff to previous 1247 , to selected 1123
- 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/irc_res.c
File length: 22737 byte(s)
Diff to previous 1243 , to selected 1123
- 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/irc_res.c
File length: 22731 byte(s)
Diff to previous 1156 , to selected 1123
- 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 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/irc_res.c
File length: 22731 byte(s)
Diff to previous 1155 , to selected 1123
- 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/irc_res.c
File length: 22731 byte(s)
Diff to previous 1124 , to selected 1123
- 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/irc_res.c
File length: 22731 byte(s)
Diff to previous 1123
- replace several ircsprintf with snprintf

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

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/irc_res.c
File length: 23057 byte(s)
Diff to previous 1028 , to selected 1123
- 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/irc_res.c
File length: 23057 byte(s)
Diff to previous 1011 , to selected 1123
- 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, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23057 byte(s)
Diff to previous 998 , to selected 1123
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

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/irc_res.c
File length: 23097 byte(s)
Diff to previous 997 , to selected 1123
- 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 997 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 10:25:40 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 22986 byte(s)
Diff to previous 995 , to selected 1123
- delete_resolver_queries(): remove extranous non-NULL test. ptr->data can never be NULL.
  let it crash, if it ever happens to be

Revision 995 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 10:11:14 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23025 byte(s)
Diff to previous 994 , to selected 1123
- remove add_local_domain

Revision 994 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 09:15:31 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23701 byte(s)
Diff to previous 992 , to selected 1123
- res_readreply(): check for fake replies before doing anything else

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/irc_res.c
File length: 23757 byte(s)
Diff to previous 986 , to selected 1123
- fix possible auth/dns related memleaks

Revision 986 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 21:12:34 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23739 byte(s)
Diff to previous 985 , to selected 1123
- irc_res.c: fixed wide-spread off-by-one when copying hostnames

Revision 985 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 20:31:54 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23746 byte(s)
Diff to previous 984 , to selected 1123
- res_readreply, do_query_number: removed ip6.int support.
  ip6.int delegations were deleted in 2006

Revision 984 - (view) (annotate) - [select for diffs]
Modified Fri Aug 14 13:18:14 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24235 byte(s)
Diff to previous 982 , to selected 1123
- res_readreply(): fix broken logic with ipv6 enabled where we ONLY sent a
                   second A QUERY in case a -broken- nameserver returns NXDOMAIN
                   for AAAA when A record exists. fixed and removed workaround
                   for broken nameservers.

Revision 982 - (view) (annotate) - [select for diffs]
Modified Thu Aug 13 22:15:08 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24566 byte(s)
Diff to previous 468 , to selected 1123
- added a mersenne twister basedn prng

Revision 468 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 02:42:23 2006 UTC (18 years, 1 month ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24863 byte(s)
Diff to previous 463 , to selected 1123
- Cleaned up the resolver some more, added some comments


Revision 463 - (view) (annotate) - [select for diffs]
Modified Mon Feb 13 03:30:53 2006 UTC (18 years, 1 month ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24557 byte(s)
Diff to previous 447 , to selected 1123
- Redo NXDOMAIN check so IPV6 still works 


Revision 447 - (view) (annotate) - [select for diffs]
Modified Sun Feb 12 02:59:16 2006 UTC (18 years, 1 month ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24572 byte(s)
Diff to previous 411 , to selected 1123
- reported by Jon, resolver was not checking for NXDOMAIN as well as SERVFAIL
this caused odd DNS reports and took longer to connect.

Tested by Jon (ThaPrince).

(backported from head)


Revision 411 - (view) (annotate) - [select for diffs]
Modified Wed Feb 8 14:42:01 2006 UTC (18 years, 1 month ago) by adx
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24539 byte(s)
Diff to previous 169 , to selected 1123
+ fixed unaligned memory reference in resolver

Submitted by: Immo 'FaUl' Wehrenberg

Revision 169 - (view) (annotate) - [select for diffs]
Modified Fri Oct 21 09:37:16 2005 UTC (18 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24273 byte(s)
Diff to previous 155 , to selected 1123
- Removed LocalUser.port
- Removed two extra memsets in make_request()

Revision 155 - (view) (annotate) - [select for diffs]
Modified Tue Oct 18 02:54:54 2005 UTC (18 years, 5 months ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24371 byte(s)
Diff to previous 34 , to selected 1123
(backported from HEAD)
- irc_res.c would send out hundreds? of retry requests on clients that
 did not resolve, i.e. SERVFAIL. The code was essentailly ignoring
 SERVFAIL hence generating request after request after request.
 This appears to fix this major bug. It would be a good idea to add
 some logging here however.


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/irc_res.c
File length: 24420 byte(s)
Diff to previous 33 , to selected 1123
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/irc_res.c
File length: 24420 byte(s)
Diff to previous 32 , to selected 1123
- 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/irc_res.c
File length: 24420 byte(s)
Diff to previous 31 , to selected 1123
- 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/irc_res.c
File length: 24420 byte(s)
Diff to previous 30 , to selected 1123
- 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/irc_res.c
File length: 24473 byte(s)
Diff to selected 1123
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

(Current path doesn't exist after revision 9091)

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