| 1 | [[PageOutline(2-4)]] |
| 2 | = Extensions = |
| 3 | |
| 4 | == Introduction == |
| 5 | |
| 6 | The {{{freeDiameter}}} framework is able to load ''extensions'' when it starts. The framework alone only provides support for Diameter Base Protocol (RFC3588) which is common to all Diameter peers. But this Base protocol by itself is only useful to establish and maintain a secure and reliable Diameter transport network. One then needs ''Diameter applications'' that are deployed on this Diameter network. Examples of applications are Diameter EAP (RFC4072), Diameter SIP (RFC4740), etc. |
| 7 | |
| 8 | freeDiameter extensions are used to implement Diameter applications, but not limited to this. Extensions can also be used to extend the behavior of the framework in term of routing, peers management, and so on. See the list of extensions bellow in this page for more information. |
| 9 | |
| 10 | == What is an extension == |
| 11 | |
| 12 | A {{{freeDiameter}}} extension is really simply a library compiled as shared object. This library must at the very least provide a symbol {{{fd_ext_init}}} which will be called when the framework loads the extension, to initialize it. See the [wiki:Developers] page for more information on how to create a new extension. |
| 13 | |
| 14 | Extension files are usually renamed as ".fdx" (FreeDiameter eXtension) to easily recognize them. |
| 15 | |
| 16 | See the [wiki:Configuration] file for instructions on how to load an extension from the framework. |
| 17 | |
| 18 | == List of extensions == |
| 19 | |
| 20 | (Please remember that all extensions are not built by default. Check the [wiki:Installation] page for information on how to select extensions to build. |
| 21 | |
| 22 | |
| 23 | === Applications === |
| 24 | [wiki:app_acct.fdx]:: |
| 25 | Very simple server implementation for the Diameter Base Accounting application (RFC3588). It dumps the received information in a local PostgreSQL database in a fully configurable format. A separate application (not Diameter-dependent) can then pick and process this data. |
| 26 | |
| 27 | [wiki:app_diameap.fdx]:: |
| 28 | A Diameter EAP server (RFC4072) implementation that supports several EAP methods for authenticating the users. |
| 29 | |
| 30 | [wiki:app_radgw.fdx]:: |
| 31 | An extensible Diameter/RADIUS gateway implementation. |
| 32 | |
| 33 | [wiki:app_redirect.fdx]:: |
| 34 | A configurable Diameter Redirect agent. |
| 35 | |
| 36 | [wiki:app_sip.fdx]:: |
| 37 | An implementation of the Diameter SIP specification (RFC4740). |
| 38 | |
| 39 | === Server === |
| 40 | [wiki:acl_wl.fdx]:: |
| 41 | White-list some peers to connect to the local system. By default, all remote Diameter Id's must be explicitly listed in the configuration. This extension allows wildcards to be used (for example allow all peers from *.domain.net to connect). |
| 42 | |
| 43 | === Routing === |
| 44 | [wiki:rt_default.fdx]:: |
| 45 | Configure the routing table of the local peer. |
| 46 | |
| 47 | [wiki:rt_ereg.fdx]:: |
| 48 | Route Diameter messages according to an AVP value in the message matching some configurable regular expressions. |
| 49 | |
| 50 | [wiki:rt_redirect.fdx]:: |
| 51 | Handle Diameter Redirect indications and add routing rules accordingly. |
| 52 | |
| 53 | === Dictionary === |
| 54 | [wiki:dict_eap.fdx]:: |
| 55 | Dictionary objects defined in RFC4072 (Diameter EAP application). |
| 56 | |
| 57 | [wiki:dict_legacy_xml.fdx]:: |
| 58 | Allows the use of XML dictionary files, the format used by OpenDiameter. |
| 59 | |
| 60 | [wiki:dict_mip6a.fdx], [wiki:dict_mip6i.fdx], [wiki:dict_nas_mipv6.fdx], [wiki:dict_rfc5777.fdx]:: |
| 61 | Dictionary objects related to IPv6 mobility. |
| 62 | |
| 63 | [wiki:dict_nasreq.fdx]:: |
| 64 | Dictionary objects defined in RFC4005 (Diameter Network Access Server application). |
| 65 | |
| 66 | [wiki:dict_rfc5580.fdx]:: |
| 67 | Dictionary objects defined in RFC5580 (Location Objects). |
| 68 | |
| 69 | [wiki:dict_sip.fdx]:: |
| 70 | Dictionary objects defined in RFC4740 (Diameter SIP application). |
| 71 | |
| 72 | === Debug and tests === |
| 73 | [wiki:dbg_interactive.fdx]:: |
| 74 | Run python code and interact with the framework, "live" or from a batch file. |
| 75 | |
| 76 | [wiki:dbg_monitor.fdx]:: |
| 77 | Monitor the state of freeDiameter daemon. |
| 78 | |
| 79 | [wiki:dbg_rt.fdx]:: |
| 80 | Display information about messages routing. |
| 81 | |
| 82 | [wiki:test_acct.fdx]:: |
| 83 | A dummy Diameter Base Accounting server that simply acknowledges any message without any storage. |
| 84 | |
| 85 | [wiki:test_app.fdx]:: |
| 86 | The Test application extension, a kind of "ping for freeDiameter". |
| 87 | |
| 88 | [wiki:test_netemul.fdx]:: |
| 89 | A kind of Diameter network emulator: introduces configurable delays and duplicates when relaying Diameter messages. |
| 90 | |
| 91 | [wiki:test_rt_any.fdx]:: |
| 92 | Pick a random peer to send the message to, without any concern for routing AVPs. |
| 93 | |
| 94 | [wiki:test_sip.fdx]:: |
| 95 | A dummy Diameter SIP server used for testing of the app_sip.fdx extension. |
| 96 | |
| 97 | ---- |
| 98 | |
| 99 | |