Hi!
As you might have noticed out of the following email, SEMS has now a new
DNS cache offering more reliability and support load balancing based on
DNS SRV ressource records (in git:master).
A new transaction timer has been introduced (timer M), which is
responsible for switching to a new host when no response has been
received. The default setting for timer M is 1/4 of the response timer
(B or E, depending on the transaction type: INVITE or non-INVITE). Each
time timer M hits, a new destination is tried. If there is no more
destination for a host name, timer M is not set. When timer B/E hits,
the transaction is timed out as usual.
After some tests with different SIP providers, it seems that most do not
use NAPTR records. This, together with the fact that SEMS only supports
UDP brought me to the conclusion that we do not need NAPTR records.
This simple version does not include negative caching, only positive
replies are cached. Also, in responses to SRV query, the A records in
the additional section are not processed. This means that the A record
corresponding to the target will be looked up anyway, possibly adding
another DNS query if it was not cached yet.
As usual, feedback is warmly welcome ;-)
Cheers
Raphael.
On 05.09.10 19:04, Raphael Coeffic wrote:
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5d1ba1e5ceb801e4af8e50316af5a3dc848499e5
Author: Raphael Coeffic<[email protected]>
Date: Sun Sep 5 18:53:36 2010 +0200
small changes in debug messages
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=70469dea2dae5506867dfab61e78bcaf577f7c4b
Author: Raphael<[email protected]>
Date: Sat Sep 4 00:20:35 2010 +0200
small fixes
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7e65eccab8c635edfd95588dac9dd3b5d09a4369
Author: Raphael Coeffic<[email protected]>
Date: Sun Sep 5 18:01:34 2010 +0200
added onw functions for parsing DNS reply
as it seems, several functions declared in arpa/nameser.h are not present
in libresolv.so on Linux. those functions are considered to be internal to
libresolv.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2eeef30fbbe97a861306cf803aa7679cecfe4489
Author: Raphael Coeffic<[email protected]>
Date: Thu Sep 2 23:28:13 2010 +0200
fix bug introduced with f5bfad916ca2ebf9ca2f22414993141a91c88afa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9eecb79ab3c7691f70f6279f68c3c0dc23bc6d4f
Author: Raphael Coeffic<[email protected]>
Date: Thu Sep 2 23:25:50 2010 +0200
fixes port number for A record lookups
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=248bc3e11ab3ac2b14c9bc0841e132162574218b
Author: Raphael Coeffic<[email protected]>
Date: Thu Sep 2 17:04:58 2010 +0200
corrected some bugs
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a2d39c5c09f5d881f536bde3e1495e2f05476889
Author: Raphael Coeffic<[email protected]>
Date: Thu Sep 2 10:09:13 2010 +0200
remember which SRV entries have already been used (stored in dns_handle)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a7389521e2530108933d2355a6497fb2226635bb
Author: Raphael Coeffic<[email protected]>
Date: Wed Sep 1 15:49:10 2010 +0200
queries SRV records if no port specified in the R-URI (RFC3263)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9c3ba1958a409fd52a28fa60a14fe12c3a2fd8b7
Author: Raphael Coeffic<[email protected]>
Date: Wed Sep 1 15:48:12 2010 +0200
cleanup + added TODOs
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2c3875dad89dc0e31d69efcac85798a131002c55
Author: Raphael Coeffic<[email protected]>
Date: Wed Sep 1 14:18:15 2010 +0200
added a garbage collector threads (removes expired entries)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0672c66d8e99208cba548d02b1d9adf292430f71
Author: Raphael Coeffic<[email protected]>
Date: Wed Sep 1 10:28:24 2010 +0200
fixes the port number when a new address is used
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0ea62e575b1baaab5f1a9faadf6f47fc53c41286
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 31 19:09:02 2010 +0200
moved generic types to the core directory
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a292668861c0cb8dca2fd8670a61ff210d9a0fbf
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 31 18:51:20 2010 +0200
fixes retransmission to another ip
- start the retransmission itself
- reset timer A/E correctly
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9e22de3bea9f31d50ae4ba733963fd04b54483c4
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 31 18:48:38 2010 +0200
added some entropy into compute_branch
without this change, branch tags created for the same transaction would be
to similar.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=f5bfad916ca2ebf9ca2f22414993141a91c88afa
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 31 15:46:04 2010 +0200
support for RFC 3263 improvement
- added timer M with default = B_TIMER/4.
- when timer M triggers, next ip is tried.
- timer M is used only when there is another address to try.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5120770a4ea66238c95d884ac36a17df0c981fc3
Author: Raphael Coeffic<[email protected]>
Date: Mon Aug 30 17:53:45 2010 +0200
introduced a new DNS cache
- added aotmic_types for lock-free operations
- simple DNS cache
- support for SRV records
(work in progress...)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e7771d3f387cec3effbe2f772d9514236c45f5c0
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 17 14:51:41 2010 +0200
introduced the singleton pattern
- added singleton template class.
- changed resolver, trans_layer& wheeltimer to use the singleton pattern.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b8444a196ee0983c756b36b74a520dfc0d7e613a
Author: Raphael Coeffic<[email protected]>
Date: Tue Aug 17 10:45:17 2010 +0200
- 'template-ized' the hash table mechanism so that it can be used by
others as well (until now, only for sip transactions).
- moved the transaction table and related items into trans_table.{h,cpp}.
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev