[Devel] [ openser-Patches-1689036 ] Enhanced dispatcher-module

SourceForge.net noreply at sourceforge.net
Tue Mar 27 11:50:49 CEST 2007


Patches item #1689036, was opened at 2007-03-27 09:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1689036&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.1.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced dispatcher-module

Initial Comment:
Hi everybody,

I have attached a modified OpenSER 1.1 dispatcher-module. This modified version has the following, additional functionalities:

- a method called ds_is_domain([group]): This function allows to check if a domain is in a specific group (e.g. ds_is_domain("1") for checking if a host is in group 1) or if it exists in the list at all (e.g. ds_is_domain()).  This function reduces the configuration complexity, because we only have to add a host to the dispatcher-list instead of editing for example a check for specific hosts in the routing logic (e.g. to disable the PIKE-Check for hosts in that list).
- some new methods for choosing a gateway/proxy: 
a) You may now do a hash over the authentication-username (or round-robin, if no authentication-username was found)
b) You can prefix the value you want to generate the hash on. This prefix will then be removed.
- a new state for a gateway: You may now set a gateway to a probing mode (after a definable threshhold) by calling ds_mark_dst("p"). If a gateway/proxy fails several times (per default three times), it will be removed from the routing and be probed: The Proxy will send an OPTIONS-Request to the proxy/gateway and if it receives a "successful" reply (200 OK or 501 Not implemented) it will be automatically reactivated. We accept "501 Not implemented" as well, because some Cisco gateways do not support the OPTIONS-Request and reply with a "501 Not implemented".
This functionality requires the TM-Module and can be disabled in the makefile.

The documentation (SGML-Files) has been updated to this extended functionality.
In the following weeks i will port/merge it to OpenSER 1.2/SVN-latest.

Carsten

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1689036&group_id=139143



More information about the Devel mailing list