/[svn]/ircd-hybrid/branches/8.2.x/src/res.c
ViewVC logotype

Log of /ircd-hybrid/branches/8.2.x/src/res.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 8880 - (view) (annotate) - [select for diffs]
Modified Sun Apr 14 16:02:11 2019 UTC (14 months, 3 weeks ago) by michael
File length: 18705 byte(s)
Diff to previous 8751
- Add address_compare() and make use of it in some places


Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (18 months ago) by michael
File length: 19651 byte(s)
Diff to previous 8657
- Update copyright years


Revision 8657 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:02:38 2018 UTC (19 months, 3 weeks ago) by michael
File length: 19651 byte(s)
Diff to previous 8521
- Make use of the bool data type in some more places


Revision 8521 - (view) (annotate) - [select for diffs]
Modified Tue Apr 24 19:46:21 2018 UTC (2 years, 2 months ago) by michael
File length: 19583 byte(s)
Diff to previous 8436
- Style corrections


Revision 8436 - (view) (annotate) - [select for diffs]
Modified Thu Mar 29 09:04:53 2018 UTC (2 years, 3 months ago) by michael
File length: 19587 byte(s)
Diff to previous 8384
- Stylistic changes


Revision 8384 - (view) (annotate) - [select for diffs]
Modified Fri Mar 16 20:06:38 2018 UTC (2 years, 3 months ago) by michael
File length: 19575 byte(s)
Diff to previous 8362
- Rip out mempool


Revision 8362 - (view) (annotate) - [select for diffs]
Modified Sun Mar 4 14:26:48 2018 UTC (2 years, 4 months ago) by michael
File length: 19680 byte(s)
Diff to previous 8338
- res.c:restart_resolver(): Added sanity test. ResolverFileDescriptor might be NULL at this point


Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (2 years, 4 months ago) by michael
File length: 19672 byte(s)
Diff to previous 8280
- Restore fd_table. No longer allocate fde_t items from within any other structures like the AuthRequest, or Connection structure
- struct AuthRequest once again is no longer allocated from within the Connection structure


Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (2 years, 4 months ago) by michael
File length: 19596 byte(s)
Diff to previous 7925
- Update copyright years


Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (3 years, 6 months ago) by michael
File length: 19596 byte(s)
Diff to previous 7913
- Update copyright years


Revision 7913 - (view) (annotate) - [select for diffs]
Modified Sun Nov 27 18:54:38 2016 UTC (3 years, 7 months ago) by michael
File length: 19596 byte(s)
Diff to previous 7871
- Style corrections


Revision 7871 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 20:13:07 2016 UTC (3 years, 7 months ago) by michael
File length: 19666 byte(s)
Diff to previous 7667
- Style corrections in several places


Revision 7667 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:36 2016 UTC (3 years, 11 months ago) by michael
File length: 19666 byte(s)
Diff to previous 7596
- Fixed svn properties


Revision 7596 - (view) (annotate) - [select for diffs]
Modified Fri Jun 10 16:17:05 2016 UTC (4 years ago) by michael
File length: 19666 byte(s)
Diff to previous 7594
- res.c: minor stylistic changes


Revision 7594 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 16:04:16 2016 UTC (4 years ago) by michael
File length: 19733 byte(s)
Diff to previous 7592
- res.c: reslist::id is now of unsigned type; remove reslist::sent which we currently don't need


Revision 7592 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 15:51:59 2016 UTC (4 years ago) by michael
File length: 19886 byte(s)
Diff to previous 7568
- res.c:send_res_msg(): remove extraneous parentheses


Revision 7568 - (view) (annotate) - [select for diffs]
Modified Tue May 24 16:25:32 2016 UTC (4 years, 1 month ago) by michael
File length: 19888 byte(s)
Diff to previous 7329
- Rename init_resolver() to resolver_init()


Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (4 years, 4 months ago) by michael
File length: 19888 byte(s)
Diff to previous 7007
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers,
  we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and
  doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and
  forever and use uintmax_t instead which has at least a 'standardized' conversion specifier
  associated with it.


Revision 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (4 years, 6 months ago) by michael
File length: 19879 byte(s)
Diff to previous 6837
- Update copyright years


Revision 6837 - (view) (annotate) - [select for diffs]
Modified Tue Nov 24 17:28:17 2015 UTC (4 years, 7 months ago) by michael
File length: 19879 byte(s)
Diff to previous 6834
- res.c: remove unused header includes


Revision 6834 - (view) (annotate) - [select for diffs]
Modified Tue Nov 24 17:20:25 2015 UTC (4 years, 7 months ago) by michael
File length: 19975 byte(s)
Diff to previous 5346
- Move report_dns_servers() from res.c to m_stats.c


Revision 5346 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:41:14 2015 UTC (5 years, 5 months ago) by michael
File length: 20358 byte(s)
Diff to previous 5050
- Update copyright years


Revision 5050 - (view) (annotate) - [select for diffs]
Modified Sat Dec 13 21:30:17 2014 UTC (5 years, 6 months ago) by michael
File length: 20358 byte(s)
Diff to previous 4816
- Fixed compile warnings


Revision 4816 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:29:49 2014 UTC (5 years, 8 months ago) by michael
File length: 20352 byte(s)
Diff to previous 4564
- Renamed variables


Revision 4564 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:24:47 2014 UTC (5 years, 10 months ago) by michael
File length: 20339 byte(s)
Diff to previous 4475
- Update GPL 2 license headers


Revision 4475 - (view) (annotate) - [select for diffs]
Modified Thu Aug 14 09:49:32 2014 UTC (5 years, 10 months ago) by michael
File length: 20335 byte(s)
Diff to previous 4467
- res.c: style corrections


Revision 4467 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 19:00:37 2014 UTC (5 years, 10 months ago) by michael
File length: 20347 byte(s)
Diff to previous 4466
- res.c:query_name(): get rid of useless typecasting


Revision 4466 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 18:56:47 2014 UTC (5 years, 10 months ago) by michael
File length: 20363 byte(s)
Diff to previous 4462
- res.c:proc_answer(): error out and leave the client unresolved if we get an unexpected record type


Revision 4462 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:08:22 2014 UTC (5 years, 10 months ago) by michael
File length: 20627 byte(s)
Diff to previous 4459
- 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 4459 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 19:44:25 2014 UTC (5 years, 10 months ago) by michael
File length: 20608 byte(s)
Diff to previous 4458
- conf.c:conf_dns_lookup(): use gethost_byname_type()
- res.h, res.c: removed gethost_byname()


Revision 4458 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 16:28:40 2014 UTC (5 years, 10 months ago) by michael
File length: 20824 byte(s)
Diff to previous 4455
- res.c:proc_answer(): delete useless castings


Revision 4455 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 15:59:20 2014 UTC (5 years, 10 months ago) by michael
File length: 20966 byte(s)
Diff to previous 4454
- res.c:proc_answer(): use 'unsigned'


Revision 4454 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 15:53:33 2014 UTC (5 years, 10 months ago) by michael
File length: 20953 byte(s)
Diff to previous 4451
- res.c: removed "request_state" enum


Revision 4451 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 15:51:26 2014 UTC (5 years, 10 months ago) by michael
File length: 21384 byte(s)
Diff to previous 4450
- res.c:proc_answer(): applied "Ignore CNAME records in dns queries" fix from p4.
  ** Ignore CNAME records in dns queries. Allows PTRS to point to CNAMEs
     which can point to an A/AAAA which resolves to the correct IP.


Revision 4450 - (view) (annotate) - [select for diffs]
Modified Mon Aug 11 15:47:08 2014 UTC (5 years, 10 months ago) by michael
File length: 21806 byte(s)
Diff to previous 4447
- res.c: removed "try A if AAAA failed" logic


Revision 4447 - (view) (annotate) - [select for diffs]
Modified Sat Aug 9 19:19:58 2014 UTC (5 years, 10 months ago) by michael
File length: 22565 byte(s)
Diff to previous 4438
- res.c:start_resolver(): made /stats F more descriptive about the resolver socket


Revision 4438 - (view) (annotate) - [select for diffs]
Modified Sat Aug 9 18:33:17 2014 UTC (5 years, 10 months ago) by michael
File length: 22561 byte(s)
Diff to previous 4422
- Renamed various variables


Revision 4422 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 16:57:44 2014 UTC (5 years, 10 months ago) by michael
File length: 22562 byte(s)
Diff to previous 4421
- res.c: was missing +1 in reslist::name


Revision 4421 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 16:52:10 2014 UTC (5 years, 10 months ago) by michael
File length: 22502 byte(s)
Diff to previous 4414
- res.c:init_resolver(): removed useless memset()


Revision 4414 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 14:06:08 2014 UTC (5 years, 10 months ago) by michael
File length: 22555 byte(s)
Diff to previous 4409
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.


Revision 4409 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:20:45 2014 UTC (5 years, 10 months ago) by michael
File length: 22830 byte(s)
Diff to previous 4318
- Fixed resolver/auth issues with too long hostnames


Revision 4318 - (view) (annotate) - [select for diffs]
Modified Thu Jul 31 21:17:17 2014 UTC (5 years, 11 months ago) by michael
File length: 22545 byte(s)
Diff to previous 4315
- res.c:res_readreply(): read as many packets as possible from kernel buffer
  in a single run. This might increase performance for heavy loaded servers
  doing lots of dns requests. As side-effect it fixes issues with edge-triggered
  epoll (we're only doing level-triggered right now)


Revision 4315 - (view) (annotate) - [select for diffs]
Modified Thu Jul 31 20:46:17 2014 UTC (5 years, 11 months ago) by michael
File length: 22472 byte(s)
Diff to previous 4312
- res.c:res_readreply(): don't grant further retries if the packet
  couldn't be decoded. We only give it one shot.


Revision 4312 - (view) (annotate) - [select for diffs]
Modified Thu Jul 31 17:02:26 2014 UTC (5 years, 11 months ago) by michael
File length: 22721 byte(s)
Diff to previous 4302
- res.c: reformatting; style corrections; updated comments


Revision 4302 - (view) (annotate) - [select for diffs]
Modified Sat Jul 26 17:55:50 2014 UTC (5 years, 11 months ago) by michael
File length: 23045 byte(s)
Diff to previous 4299
- res.c:res_readreply(): use ssize_t for 'rc'


Revision 4299 - (view) (annotate) - [select for diffs]
Modified Sun Jul 20 13:51:28 2014 UTC (5 years, 11 months ago) by michael
File length: 23083 byte(s)
Diff to previous 4239
- Fixed typos all over the place


Revision 4239 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 17:40:24 2014 UTC (5 years, 11 months ago) by michael
File length: 23095 byte(s)
Diff to previous 4238
- res.c:res_readreply(): removed sparc/alpha hack


Revision 4238 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 17:39:02 2014 UTC (5 years, 11 months ago) by michael
File length: 23356 byte(s)
Diff to previous 4235
- res.c:res_readreply(): don't do anything until we checked for possible
  fake replies


Revision 4235 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 17:32:14 2014 UTC (5 years, 11 months ago) by michael
File length: 23356 byte(s)
Diff to previous 4234
- res.c:res_readreply(): even if it's not clear if it's possible to receive 
  a response for a query we didn't send, but we better execute auth_dns_callback()
  immediately instead of waiting until timeout_auth_queries_event() takes action.


Revision 4234 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 17:25:03 2014 UTC (5 years, 11 months ago) by michael
File length: 23295 byte(s)
Diff to previous 4095
- res.c: made timeout_query_list() not require an argument


Revision 4095 - (view) (annotate) - [select for diffs]
Modified Sun Jun 29 11:51:22 2014 UTC (6 years ago) by michael
File length: 23273 byte(s)
Diff to previous 4087
- Merged Adam's event system rewrite


Revision 4087 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 16:45:42 2014 UTC (6 years ago) by michael
File length: 23192 byte(s)
Diff to previous 3653
- Let mp_pool_get() clear memory


Revision 3653 - (view) (annotate) - [select for diffs]
Modified Mon May 26 15:42:10 2014 UTC (6 years, 1 month ago) by michael
File length: 23232 byte(s)
Diff to previous 3505
- res.c: removed unused definitions


Revision 3505 - (view) (annotate) - [select for diffs]
Modified Sat May 10 19:51:42 2014 UTC (6 years, 1 month ago) by michael
File length: 23352 byte(s)
Diff to previous 3377
- Renamed MyMalloc() to MyCalloc()


Revision 3377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:15:51 2014 UTC (6 years, 2 months ago) by michael
File length: 23352 byte(s)
Diff to previous 3347
- Create 8.2.x branch


Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (6 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/res.c
File length: 23352 byte(s)
Diff to previous 3322
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c


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


Revision 3298 - (view) (annotate) - [select for diffs]
Modified Fri Apr 11 16:21:02 2014 UTC (6 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
File length: 23366 byte(s)
Diff to previous 3297
- irc_res.c: style fixes


Revision 3297 - (view) (annotate) - [select for diffs]
Modified Fri Apr 11 16:08:55 2014 UTC (6 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
File length: 23375 byte(s)
Diff to previous 3268
- Made irc_nscount an unsigned type


Revision 3268 - (view) (annotate) - [select for diffs]
Modified Sat Apr 5 19:21:55 2014 UTC (6 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (6 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (6 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (6 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (7 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (7 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (7 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (7 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (7 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/src/irc_res.c
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 (8 years, 2 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 9 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 (8 years, 9 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 (8 years, 10 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 (8 years, 10 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 (9 years, 4 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 (9 years, 4 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 (10 years, 7 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 (10 years, 7 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 (10 years, 9 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (14 years, 4 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 (14 years, 4 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 (14 years, 4 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 (14 years, 4 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 (14 years, 8 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 (14 years, 8 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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


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

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28