/[resiprocate]/branches/b-identity-0505/DnsResult.cxx
ViewVC logotype

Log of /branches/b-identity-0505/DnsResult.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4712)

Revision 4598 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 22:53:07 2005 UTC (14 years, 6 months ago) by derek
File length: 43549 byte(s)
Diff to previous 4521
set svn:eol-style to LF

Revision 4521 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 5 22:20:57 2005 UTC (14 years, 6 months ago) by derek
File length: 45163 byte(s)
Diff to previous 4500
branch for identity hacking

Revision 4500 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 4 16:31:54 2005 UTC (14 years, 6 months ago) by sgodin
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 45163 byte(s)
Diff to previous 4415
modified hardcoded ports to use Symbol defines

Revision 4415 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 01:18:43 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 45027 byte(s)
Diff to previous 4396
V4/V6 fixes

Revision 4396 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 20 00:02:22 2005 UTC (14 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 42501 byte(s)
Diff to previous 4388
Fixed so none of the objects change size if USE_IPv6 is defined or not 

Revision 4388 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 00:50:29 2005 UTC (14 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 42477 byte(s)
Diff to previous 4335
check in ipv6 related stuff


Revision 4335 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 21:40:15 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 41396 byte(s)
Diff to previous 4062
merged changes from b-dev-repro from rev 4155:4334
used cmd: svn merge -r 4155:4334 https://scm.sipfoundry.org/rep/ resiprocate/branches/b-dev-repro-20050401


Revision 4062 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 02:00:20 2005 UTC (14 years, 7 months ago) by derek
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 40448 byte(s)
Diff to previous 3999
pluggable keep-alive manager; provided implementation sends a keep-alive every 20 seconds
Security::preload now run in SipStack's constructor, if a sec. object is provided
eol convenction & #define fixes

Revision 3999 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 16 19:41:28 2005 UTC (14 years, 8 months ago) by derek
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 40403 byte(s)
Diff to previous 3740
Merged in of async branch:

Major changes:

Alternative "async/external" Processing Model

The SipStack & DUM can now run w/out being in a build/select/process
loop.  This is accomplished witht ransports that provide their own cycles, as well
as an external timer api.  The SipStack is constructed w/ an
AsyncProcessHandler which gets notified when a message is put into the
StateMacFifo, or when SipStack::postMs or SipStack::post is called.  This can be
optimized a bit more; in some cases only a timer adjustment may be required, but
the stack might not require cycles.  DumProcessHandler, located in the Dum
directory, is a example of how to use this.  Note that it provides ares w/ a 50
ms timer when there is an active query.  DnsInterface now has a requiresProcess
method to facilitate this; it should possibly become another
getTimeTillNextProcess method.

Transport Refactoring/Cleanup

TransportSelector now only understands objects that derive from Transport.  The
SipStack is responsible for the Transport Factory behaviour of addTransport.  A
lot of the Transport has moved into InternalTransport, to keep the Transport
abstraction clean.  Also, the tcp transports have been cleaned up; most of dlb's
rant in ConnectionBase.hxx has been answered. 

IpVersion vs Bool IpV4

bool is no longer used to represnt IpVersion, the enum is used in tuple and
anywhere else I spotted it.

The result of this merge/cleanup has been regressed; I still need to re-write
testTransportSelector.cxx.  The async model has not been used yet with the
esult of this merge, but it was sued extensively in the branch.


Revision 3740 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 21:35:53 2004 UTC (14 years, 11 months ago) by derek
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 38816 byte(s)
Diff to previous 3735
Dns interface is now pluggable; interfce defined in Exgernal, ARES is still the default
SRV llokups even when tranport=foo parameter present

Revision 3735 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 14:38:36 2004 UTC (14 years, 11 months ago) by sgodin
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 39144 byte(s)
Diff to previous 3658
- moved Win32 LEAK_CHECK to it's own header file
- include in files that call 'new'

Revision 3658 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 29 23:47:50 2004 UTC (14 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 39101 byte(s)
Diff to previous 3543
changed some std::list to std::vector


Revision 3543 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 22 20:12:37 2004 UTC (14 years, 11 months ago) by dlb
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 39093 byte(s)
Diff to previous 3400
added target domain to Tuple for TLS

Revision 3400 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 15 21:08:07 2004 UTC (15 years, 1 month ago) by sgodin
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 39023 byte(s)
Diff to previous 3395
Added compile option:
WIN32_SYNCRONOUS_RESOLUTION_ON_ARES_FAILURE
To enable Windows name resolution so that windows machine names within a local network can be resoloved.
-TODO - find a way to get this to be asyncronous

Revision 3395 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 01:51:18 2004 UTC (15 years, 1 month ago) by derek
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 36900 byte(s)
Diff to previous 3299
mSrvCount is now incremented before lookup is called, as lookup might be synchronous

Revision 3299 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 3 15:49:41 2004 UTC (15 years, 2 months ago) by kittlitz
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 36856 byte(s)
Diff to previous 3154
-If CNAME result received for NAPTR query, generate new NAPTR query based
on the result data.


Revision 3154 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 26 21:07:24 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34723 byte(s)
Diff to previous 3117
fix to have SRV lookups take scheme into account - fixes bug with pres uris


Revision 3117 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 00:53:26 2004 UTC (15 years, 4 months ago) by alan
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34645 byte(s)
Diff to previous 3009
updated to look for SIPS services when no NAPTR

Revision 3009 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 21 19:13:15 2004 UTC (15 years, 4 months ago) by alan
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34582 byte(s)
Diff to previous 2988
Logging in support of CNAME resolution.
Autotools updates.
Added update-svn-ignores.sh script to top level sip dir.



Revision 2988 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 14 16:24:36 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34280 byte(s)
Diff to previous 2778
re-enable Inserters in logging since it works in windows now. Please post to the list if you find issues with Inserters on other compilers


Revision 2778 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 18 01:40:48 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34780 byte(s)
Diff to previous 2656
reorganize ParserCategories.hxx/cxx into separate files - one for each class


Revision 2656 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 18 22:19:26 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34824 byte(s)
Diff to previous 2459
move logs to StackLog from DebugLog


Revision 2459 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 6 00:15:02 2004 UTC (15 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34824 byte(s)
Diff to previous 2456
*** empty log message ***


Revision 2456 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 5 18:32:18 2004 UTC (15 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34822 byte(s)
Diff to previous 2372
remove debug


Revision 2372 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 15 18:25:07 2004 UTC (15 years, 9 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34818 byte(s)
Diff to previous 2287
added default port for tls


Revision 2287 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 1 00:04:50 2004 UTC (15 years, 9 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34774 byte(s)
Diff to previous 2183
fix assert on DnsResult::~DnsResult()


Revision 2183 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 4 19:45:29 2003 UTC (15 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34776 byte(s)
Diff to previous 2181
fixed a bug where there is no NAPTR and is a sips scheme


Revision 2181 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 4 02:04:01 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34634 byte(s)
Diff to previous 2168
fixed assertion - this needs more work


Revision 2168 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 3 23:42:30 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34518 byte(s)
Diff to previous 2081
Fixed problem when there was no port specified but transport is


Revision 2081 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 29 16:47:31 2003 UTC (16 years ago) by alan
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34344 byte(s)
Diff to previous 2077
Fixed OS/X portability.


Revision 2077 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 28 21:29:27 2003 UTC (16 years ago) by adamr
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34318 byte(s)
Diff to previous 1989
Some cygwin stuff


Revision 1989 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 21 17:27:49 2003 UTC (16 years ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34288 byte(s)
Diff to previous 1974
fix race condition where sometimes the AAAA/A result was coming back after the
DnsResult had been destroyed - caused a seg fault on linux


Revision 1974 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 17 03:06:15 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34088 byte(s)
Diff to previous 1950
compile on windows


Revision 1950 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 23:59:09 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 33971 byte(s)
Diff to previous 1947
fix to weighting algorithm for selecting SRV records by weight and priority


Revision 1947 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 17:04:08 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 33555 byte(s)
Diff to previous 1933
fix bug with duplicate results


Revision 1933 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 9 19:54:32 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 32741 byte(s)
Diff to previous 1916
fix problem with DnsResult calling handle() when results are already available


Revision 1916 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 5 02:41:53 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 32782 byte(s)
Diff to previous 1912
*** empty log message ***


Revision 1912 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 5 02:09:13 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 32819 byte(s)
Diff to previous 1907
fix a memory corruption error in set<SRV> by changing to vector<SRV>


Revision 1907 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 4 22:50:16 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 32786 byte(s)
Diff to previous 1906
remove USE_ARES flag from dns resolver
only do AAAA lookup if USE_IPV6


Revision 1906 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 4 21:34:28 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 36007 byte(s)
Diff to previous 1884
fix so ares.h is not exported to things that use resiprocate


Revision 1884 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 3 01:53:14 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 35922 byte(s)
Diff to previous 1882
fix compat with intel compiler


Revision 1882 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 2 23:24:16 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 35802 byte(s)
Diff to previous 1871
change license to VOCAL


Revision 1871 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 30 19:32:04 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34951 byte(s)
Diff to previous 1850
fixes for solaris


Revision 1850 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 28 20:26:40 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34827 byte(s)
Diff to previous 1844
compiles under windows - added bunch of USE_IPV6 #ifdefs


Revision 1844 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 27 17:27:31 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34682 byte(s)
Diff to previous 1839
fixed bug with setting port for numeric ip query


Revision 1839 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 27 01:49:38 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34531 byte(s)
Diff to previous 1825
refactored the Tuple
required interface changes to the Tuple
store network address in a sockaddr structure to be generic for v4 and v6
fixed a bug in Tuple::operator<


Revision 1825 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 25 17:45:58 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 35070 byte(s)
Diff to previous 1800
change to LOG_DEBUG


Revision 1800 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 18 17:16:03 2003 UTC (16 years, 1 month ago) by davidb
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 35031 byte(s)
Diff to previous 1756
refactored tcp code
refactored tls code
full support for tcpv6 with more general use
support for binding to specific interfaces
added many new DnsUtil and utilities in Tuple class


Revision 1756 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 07:22:12 2003 UTC (16 years, 2 months ago) by rjsparks
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 34982 byte(s)
Diff to previous 1754
Added queries for AAAA records


Revision 1754 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 07:10:18 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 30685 byte(s)
Diff to previous 1746
compile under windows


Revision 1746 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 05:25:13 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 30567 byte(s)
Diff to previous 1722
moved Tuple out of Transport
added preliminary ipv6 support


Revision 1722 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 13 19:47:46 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 30700 byte(s)
Diff to previous 1697
working new version of dns resolver


Revision 1697 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 4 18:19:58 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 29078 byte(s)
Diff to previous 1695
added code to handle case where SRV or A records are not in additional section
of dns record


Revision 1695 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 2 05:00:00 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 28605 byte(s)
Diff to previous 1694
NAPTR processing seems better now. If no NAPTR, the algorithm to pick from
multiple SRV results is not right - need clarification


Revision 1694 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 2 04:38:54 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 27835 byte(s)
Diff to previous 1693
closer to implementation of rfc2782, rfc2915 and rfc3263 (still not ready for
public consumption)


Revision 1693 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 1 01:54:43 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 19878 byte(s)
Diff to previous 1692
fixed some bugs, not for public use yet. interface may still change


Revision 1692 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 1 00:40:30 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 18884 byte(s)
Diff to previous 1689
fix some link errors


Revision 1689 - (view) (download) (annotate) - [select for diffs]
Added Sun Aug 31 23:48:49 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/DnsResult.cxx
File length: 18415 byte(s)
first cut at a new set of DNS interfaces/implementation
complete rewrite of DnsResolver class


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

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27