ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/irc_res.c
Revision 3268 - (view) (annotate) - [select for diffs]
Modified Sat Apr 5 19:21:55 2014 UTC (10 years ago) by michael
File length: 23321 byte(s)
Diff to previous 3235
- irc_res.c:make_request(): lowered retries counter to 2

Revision 3235 - (view) (annotate) - [select for diffs]
Modified Sat Mar 29 19:34:16 2014 UTC (10 years ago) by michael
File length: 23321 byte(s)
Diff to previous 3109
- Style corrections all over the place

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: 23370 byte(s)
Diff to previous 2916
- Applied Adam's sendto_one_numeric() changes

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
File length: 23407 byte(s)
Diff to previous 1834
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

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: 22494 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: 22484 byte(s)
Diff to previous 1793
- 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 (11 years ago) by michael
File length: 22494 byte(s)
Diff to previous 1654
- 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, 5 months ago) by michael
File length: 22519 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
File length: 22496 byte(s)
Diff to previous 1346
- 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 (12 years ago) by michael
Original Path: ircd-hybrid-8/src/irc_res.c
File length: 22496 byte(s)
Diff to previous 1325
- 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
- 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
- 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, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/irc_res.c
File length: 22737 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/irc_res.c
File length: 22731 byte(s)
Diff to previous 1156
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/irc_res.c
File length: 22731 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/src/irc_res.c
File length: 22731 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, 2 months 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) - [select for diffs]
Modified Sun Feb 6 21:57:50 2011 UTC (13 years, 2 months 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, 5 months ago) by michael
Original Path: ircd-hybrid-7.3/src/irc_res.c
File length: 23057 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/src/irc_res.c
File length: 23057 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/src/irc_res.c
File length: 23057 byte(s)
Diff to previous 998
- 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
- 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
- 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
- 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
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23757 byte(s)
Diff to previous 986
- fix possible auth/dns related memleaks

Revision 986 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 21:12:34 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23739 byte(s)
Diff to previous 985
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 23746 byte(s)
Diff to previous 984
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24235 byte(s)
Diff to previous 982
- 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, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24566 byte(s)
Diff to previous 468
- added a mersenne twister basedn prng

Revision 468 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 02:42:23 2006 UTC (18 years, 2 months ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24863 byte(s)
Diff to previous 463
- 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, 2 months ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24557 byte(s)
Diff to previous 447
- 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, 2 months ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24572 byte(s)
Diff to previous 411
- 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, 2 months ago) by adx
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24539 byte(s)
Diff to previous 169
+ 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
- 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, 6 months ago) by db
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24371 byte(s)
Diff to previous 34
(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, 6 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/irc_res.c
File length: 24420 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/src/irc_res.c
File length: 24420 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/src/irc_res.c
File length: 24420 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/src/irc_res.c
File length: 24420 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/src/irc_res.c
File length: 24473 byte(s)
- 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 3321)

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