/[resiprocate]/main/resip/stack/test/testDns.cxx
ViewVC logotype

Log of /main/resip/stack/test/testDns.cxx

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 9485 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 7 00:34:03 2012 UTC (7 years, 7 months ago) by dpocock
File length: 36432 byte(s)
Diff to previous 9291
Switch over to autotools build system from dpocock-autotools branch

Revision 9291 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 9 22:07:34 2011 UTC (8 years, 1 month ago) by arosenberg
File length: 36446 byte(s)
Diff to previous 8854
Modify the MarkListener class to allow control over the DNS Grey / Black list.

The onMark function is now called before insertion to the list and you can now change the expiry value to 0 if you don't want the entry added to the grey/black list, or change the amount of time it is on the list.

This changes the calling signature of the onMark function so source code changes will be required if you utilize MarkListener

Revision 8854 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 10 13:44:50 2010 UTC (9 years ago) by sgodin
File length: 36429 byte(s)
Diff to previous 8827
-fix for DNS spin issue when DNS server is unavailable
 - only process DNS layer when fd's signal or timer is about to expire, 
   instead of spinning in a tight loop while a DNS query is outstanding

Revision 8827 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 3 15:31:11 2010 UTC (9 years, 1 month ago) by sgodin
File length: 36475 byte(s)
Diff to previous 8457
-fixed testDns for recent changes

Revision 8457 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 21 18:05:20 2009 UTC (10 years, 6 months ago) by adam
File length: 36487 byte(s)
Diff to previous 8430
Fixing misc warnings under gcc 4.0.1


Revision 8430 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 4 21:51:45 2009 UTC (10 years, 8 months ago) by adam
File length: 36424 byte(s)
Diff to previous 8425
Fixing a bunch of const-related char * warnings


Revision 8425 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 2 23:20:11 2009 UTC (10 years, 8 months ago) by adam
File length: 36406 byte(s)
Diff to previous 8307
Made to compile and link with SunPro toolchain through skillful application of a crowbar. Untested -- and the compilation is rife with warnings (some quite dire) that need to be addressed.


Revision 8307 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 22 21:54:04 2008 UTC (10 years, 11 months ago) by sgodin
File length: 36354 byte(s)
Diff to previous 8201
-fix for incorrect define IPV6 -> USE_IPV6 - from Brad Spencer

Revision 8201 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 15 20:59:01 2008 UTC (11 years, 3 months ago) by bcampen
File length: 36350 byte(s)
Diff to previous 8161
Merge work from b-ctpc-fixes-20080730


Revision 8161 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 25 20:54:42 2008 UTC (11 years, 3 months ago) by jmatthewsr
File length: 36405 byte(s)
Diff to previous 7268
Stream performance enhancements for encoding objects.  New encoding code should use 'EncodeStream','resipCerr' and 'resipCout' for encoding any resip objects.  Merge from b-jmatthewsr-streamperf2 -r 8137:8160.  

Revision 7268 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 26 18:55:20 2007 UTC (12 years, 1 month ago) by bcampen
File length: 36385 byte(s)
Diff to previous 7184
Replacing ParseBuffer::Exception with ParseException. Required moving
ParseException.hxx to rutil, and creating a ParseException.cxx there
too. Left a typedef in ParseBuffer.hxx that makes ParseBuffer::Exception
an alias for ParseException (for backwards compatibility with app code)


Revision 7184 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 29 19:47:43 2007 UTC (12 years, 4 months ago) by bcampen
File length: 36393 byte(s)
Diff to previous 7046
Fixing a copy-paste bug in testDns.

Revision 7046 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 9 17:39:18 2007 UTC (12 years, 7 months ago) by bcampen
File length: 36412 byte(s)
Diff to previous 6963
Work from b-DNS_greylist. (implementation of DNS greylisting, see [reSIProcate] DNS not returning entries after 408 and [reSIProcate] DNS greylisting )

Revision 6963 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 23 19:28:41 2007 UTC (12 years, 8 months ago) by bcampen
File length: 30142 byte(s)
Diff to previous 6831
Making my comments adhere to the comment conventions defined on the wiki.

Revision 6831 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 28 21:48:17 2006 UTC (12 years, 11 months ago) by bcampen
File length: 30142 byte(s)
Diff to previous 6829
Changing hostnames in test case to point at new DNS test zone for resiprocate.org

Revision 6829 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 27 22:53:29 2006 UTC (12 years, 11 months ago) by bcampen
File length: 30106 byte(s)
Diff to previous 5948
Merging DNS work from b-bwc-DNS_fixes.

Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 8 months ago) by dworley
File length: 8830 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 8 months ago) by dworley
File length: 8830 byte(s)
Diff to previous 5702
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5702 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 28 20:09:33 2005 UTC (13 years, 11 months ago) by sgodin
File length: 8830 byte(s)
Diff to previous 5701
- added makefile.w32 to build and run test programs in VS.NET (using nmake from command line)
- fixed up test files to build in windows

Revision 5701 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 28 15:58:22 2005 UTC (13 years, 11 months ago) by sgodin
File length: 8869 byte(s)
Diff to previous 5699
- added back enumsuffix stuff

Revision 5699 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 27 07:30:43 2005 UTC (13 years, 11 months ago) by greg
File length: 8562 byte(s)
Diff to previous 5488
Make this compile.


Revision 5488 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 29 04:00:42 2005 UTC (14 years, 1 month ago) by jason
File length: 8824 byte(s)
Diff to previous 5483
added rewriteRequest virtual


Revision 5483 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 28 20:43:23 2005 UTC (14 years, 1 month ago) by jason
File length: 8680 byte(s)
Diff to previous 5397
added support to rewrite requests that were resolved by enum. this results in a
modified request-line. note that the application does not know that this has
happened. does not affect external interface






Revision 5397 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 13 18:09:46 2005 UTC (14 years, 2 months ago) by jason
File length: 8678 byte(s)
Diff to previous 5295
added initial support for enum lookups. currently no way to override the default domain used - but this will be added later. 






Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 2 months ago) by jason
File length: 8181 byte(s)
Copied from: branches/b-directory-reorg/resip/stack/test/testDns.cxx revision 5294
Diff to previous 5283
merged 5270:HEAD from b-directory-reorg

Revision 5283 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 01:27:14 2005 UTC (14 years, 2 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/testDns.cxx
File length: 8181 byte(s)
Diff to previous 5281
finished resip/sip -> resip/stack rename

Revision 5281 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:59:13 2005 UTC (14 years, 2 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/testDns.cxx
File length: 8173 byte(s)
Diff to previous 5277
moved sip to stack

Revision 5277 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:40:44 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testDns.cxx
File length: 8173 byte(s)
Diff to previous 5276
more reorg - links now

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testDns.cxx
File length: 8173 byte(s)
Diff to previous 5274
compiles now

Revision 5274 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:53:59 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testDns.cxx
File length: 8249 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/test/testDns.cxx
File length: 8249 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/test/testDns.cxx
File length: 8249 byte(s)
Diff to previous 5259
new directory reorg proposal

Revision 5259 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 17 23:36:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 8249 byte(s)
Diff to previous 5240
added preliminary stun server support in UdpTransport - disabled by default


Revision 5240 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 17 01:03:50 2005 UTC (14 years, 3 months ago) by daniel
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 8211 byte(s)
Diff to previous 4804
Got to compile with new changes in dns caching.

Revision 4804 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 2 01:32:42 2005 UTC (14 years, 5 months ago) by dlb
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 7985 byte(s)
Diff to previous 4740
usef #ifdef IPV6 to add transports

Revision 4740 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 24 21:30:57 2005 UTC (14 years, 5 months ago) by daniel
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 7943 byte(s)
Diff to previous 4599
AresDns.hxx/cxx: Redefined lookup and ares callback methonds.
DnsInterface.hxx/cxx: Added dns caching support and  methods to (un)register blacklist listener.
DnsResult.hxx/cxx: Modified to use dns caching, blacklisting, and vip; removed dead code.
Makefile: Added dns cache related files.
Security.hxx/cxx: correctly handle default paths in the constructor
SipStack.hxx/cxx: Added blacklist listener registration and unregistration.
StatelessHandler.cxx: Got it to compile with USE_IPV6 defined.
TlsConnection.cxx: Make logging less verbose.
TransactionController.hxx/cxx: Added blacklist listener registration and unregistration.
TransactionState.cxx: Added whitelisting(vip) rules.
TransportSelector.hxx/cxx: Added blacklist listener registration and unregistration; refactor and clarify for IPv6
WinSecurity.hxx/cxx: since certificates are preloaded, don't query the filesystem cert store.
dum/ClientAuthManager.cxx: changed DebugLog to InfoLog in handle method.
dum/DialogUsageManager.cxx: changed DebugLog to InfoLog in internalProcess method.
dum/test/BasicCall.cxx: added keep-alive test case.
dum/test/basicRegister.cxx: updated commandline options and simplified for TLS/IPv6.
dum/test/testIdentity.cxx: added test for identity over TLS/IPv6.
external/ExternalDns.hxx: redefined ExternalDnsHandler and lookup methods in ExternalDns class.
os/Tuple.cxx: fix constructor to copy complete IPv6 address.
os/WinCompat.hxx/cxx: add support to determine local IPv6 address; now only used on Windows platform.
os/compat.hxx: added define for T_A.

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 5614 byte(s)
Diff to previous 4384
set svn:eol-style to LF

Revision 4384 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 17 20:51:43 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 5614 byte(s)
Diff to previous 3999
fix compiler warnings







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/test/testDns.cxx
File length: 5605 byte(s)
Diff to previous 3744
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 3744 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 9 02:39:58 2004 UTC (14 years, 11 months ago) by derek
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 5525 byte(s)
Diff to previous 3663
fixed test

Revision 3663 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 30 04:33:00 2004 UTC (14 years, 11 months ago) by dlb
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 5313 byte(s)
Diff to previous 3009
added missing #include <list>

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/test/testDns.cxx
File length: 5297 byte(s)
Diff to previous 2728
Logging in support of CNAME resolution.
Autotools updates.
Added update-svn-ignores.sh script to top level sip dir.



Revision 2728 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 12 01:14:30 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4916 byte(s)
Diff to previous 2159
*** empty log message ***


Revision 2159 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 2 19:10:56 2003 UTC (15 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4911 byte(s)
Diff to previous 2154
added guards around config.hxx


Revision 2154 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 29 01:28:38 2003 UTC (15 years, 11 months ago) by bob
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4877 byte(s)
Diff to previous 2005
Fixes to make stuff compile; in some cases it still doesn't.


Revision 2005 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 23 16:46:05 2003 UTC (16 years ago) by fluffy
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4843 byte(s)
Diff to previous 2003
changed order of includes


Revision 2003 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 23 16:32:46 2003 UTC (16 years ago) by fluffy
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4763 byte(s)
Diff to previous 1953
updated to run with no POPT


Revision 1953 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 12 22:12:54 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4758 byte(s)
Diff to previous 1952
fixed for no POPT lib


Revision 1952 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 23:59:38 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4546 byte(s)
Diff to previous 1946
more useful output


Revision 1946 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 17:03:54 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4495 byte(s)
Diff to previous 1937
test driver wasn't outputing all results


Revision 1937 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 9 19:57:27 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4572 byte(s)
Diff to previous 1828
added command line args


Revision 1828 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 25 17:47:06 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 4014 byte(s)
Diff to previous 1796
delete DnsResults


Revision 1796 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 16 13:50:58 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 3829 byte(s)
Diff to previous 1755
fixed up license text


Revision 1755 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 07:21:02 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 1456 byte(s)
Diff to previous 1723
fix recursive lock error on debug


Revision 1723 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 13 19:58:38 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 1429 byte(s)
Diff to previous 1699
working new version of dns resolver
using a TransactionController now
no ok() methods in Transports
callback for dns results instead of event


Revision 1699 - (view) (download) (annotate) - [select for diffs]
Added Thu Sep 4 18:20:41 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/test/testDns.cxx
File length: 1460 byte(s)
simple test code for new Dns resolver


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