Changeset 1333:cbe1da7a32f1 in freeDiameter
- Timestamp:
- Apr 9, 2019, 10:11:32 PM (5 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 11 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CMakeLists.txt
r1278 r1333 13 13 ENDMACRO(FD_ADD_EXTENSION) 14 14 15 # Use the macro FD_EXTENSION_SUBDIR(extmacroname subdir descr default) to 15 # Use the macro FD_EXTENSION_SUBDIR(extmacroname subdir descr default) to 16 16 # add a new extension subdirectory. 17 17 MACRO(FD_EXTENSION_SUBDIR EXTSUBDIR EXTDESCR EXTDEFAULT) … … 40 40 FD_EXTENSION_SUBDIR(dict_eap "Diameter EAP (RFC4072) Dictionary definitions" ON) 41 41 42 FD_EXTENSION_SUBDIR(dict_dcca "Diameter CC (RFC4006) Dictionary definitions [incomplete]" ON)43 FD_EXTENSION_SUBDIR(dict_dcca_3gpp "Diameter CC 3GPP Dictionary definitions [incomplete]" ON)44 FD_EXTENSION_SUBDIR(dict_dcca_starent 42 FD_EXTENSION_SUBDIR(dict_dcca "Diameter CC (RFC4006) Dictionary definitions [incomplete]" ON) 43 FD_EXTENSION_SUBDIR(dict_dcca_3gpp "Diameter CC 3GPP Dictionary definitions [incomplete]" ON) 44 FD_EXTENSION_SUBDIR(dict_dcca_starent "Diameter CC Starent Dictionary definitions" ON) 45 45 46 46 FD_EXTENSION_SUBDIR(dict_sip "Diameter SIP (RFC4740) Dictionary definitions" ON) … … 51 51 FD_EXTENSION_SUBDIR(dict_rfc5777 "Classification and QoS (RFC 5777) Dictionary definitions" ON) 52 52 53 FD_EXTENSION_SUBDIR(dict_json "Load Diameter dictionary definitions from JSON files." OFF) 53 54 FD_EXTENSION_SUBDIR(dict_legacy_xml "Load Diameter dictionary definitions from XML files." OFF) 54 55 … … 68 69 # Routing extensions 69 70 70 FD_EXTENSION_SUBDIR(rt_busypeers "Handling of Diameter TOO_BUSY messages and relay timeouts" ON)71 FD_EXTENSION_SUBDIR(rt_default "Configurable routing rules for freeDiameter" ON)72 FD_EXTENSION_SUBDIR(rt_ereg "Configurable routing based on regexp matching of AVP values" OFF)73 FD_EXTENSION_SUBDIR(rt_ignore_dh "Stow Destination-Host in Proxy-Info, restore to Origin-Host for answers" ON)71 FD_EXTENSION_SUBDIR(rt_busypeers "Handling of Diameter TOO_BUSY messages and relay timeouts" ON) 72 FD_EXTENSION_SUBDIR(rt_default "Configurable routing rules for freeDiameter" ON) 73 FD_EXTENSION_SUBDIR(rt_ereg "Configurable routing based on regexp matching of AVP values" OFF) 74 FD_EXTENSION_SUBDIR(rt_ignore_dh "Stow Destination-Host in Proxy-Info, restore to Origin-Host for answers" ON) 74 75 FD_EXTENSION_SUBDIR(rt_load_balance "Balance load over multiple equal hosts, based on outstanding requests" ON) 75 FD_EXTENSION_SUBDIR(rt_randomize "Randomly choose one of the highest scored hosts and increase its score by one" ON)76 FD_EXTENSION_SUBDIR(rt_redirect "Handling of Diameter Redirect messages" ON)76 FD_EXTENSION_SUBDIR(rt_randomize "Randomly choose one of the highest scored hosts and increase its score by one" ON) 77 FD_EXTENSION_SUBDIR(rt_redirect "Handling of Diameter Redirect messages" ON) 77 78 78 79 … … 86 87 # Debug & test extensions 87 88 88 FD_EXTENSION_SUBDIR(dbg_monitor "Outputs periodical status information" ON)89 FD_EXTENSION_SUBDIR(dbg_monitor "Outputs periodical status information" ON) 89 90 FD_EXTENSION_SUBDIR(dbg_msg_timings "Show some timing information for messages" ON) 90 FD_EXTENSION_SUBDIR(dbg_msg_dumps "Show human-readable content of the received & sent messages" ON)91 FD_EXTENSION_SUBDIR(dbg_rt "Routing extension for debugging the routing module" ON)92 FD_EXTENSION_SUBDIR(test_app "Testing application to send dummy message to another peer, like a Diameter 'ping'" OFF)93 FD_EXTENSION_SUBDIR(test_sip "Testing application to simulate Diameter-SIP client (RFC4740)" OFF)91 FD_EXTENSION_SUBDIR(dbg_msg_dumps "Show human-readable content of the received & sent messages" ON) 92 FD_EXTENSION_SUBDIR(dbg_rt "Routing extension for debugging the routing module" ON) 93 FD_EXTENSION_SUBDIR(test_app "Testing application to send dummy message to another peer, like a Diameter 'ping'" OFF) 94 FD_EXTENSION_SUBDIR(test_sip "Testing application to simulate Diameter-SIP client (RFC4740)" OFF) 94 95 FD_EXTENSION_SUBDIR(dbg_interactive "Python-interpreter based module" OFF) 95 FD_EXTENSION_SUBDIR(test_netemul "Simple Diameter network emulator proxy extension (latency, PDV, duplicates)" OFF)96 FD_EXTENSION_SUBDIR(test_netemul "Simple Diameter network emulator proxy extension (latency, PDV, duplicates)" OFF) 96 97 97 98 -
include/freeDiameter/CMakeLists.txt
r1295 r1333 18 18 # In DEBUG mode, each log can contain pid, calling function and file for easy debug. Set to ON to display this information. 19 19 OPTION(DEBUG_WITH_META "Show calling location in logs?" OFF) 20 20 21 21 # Create the absolute path for searching extensions 22 22 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/${INSTALL_EXTENSIONS_SUFFIX}) … … 32 32 OPTION(DISABLE_PEER_EXPIRY "Disable RFC3539 Peers Connections Expiration after inactivity?" OFF) 33 33 34 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, 35 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the 34 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, 35 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the 36 36 # compliancy of their implementation with the Diameter RFC... 37 37 OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF) … … 45 45 INCLUDE (CheckFunctionExists) 46 46 INCLUDE (CheckIncludeFiles) 47 INCLUDE (CheckSymbolExists) 47 INCLUDE (CheckSymbolExists) 48 48 INCLUDE (CheckCSourceCompiles) 49 49 INCLUDE (TestBigEndian) … … 134 134 135 135 # IDNA process: we use libidn from GNU (unless the function & header files are included in libc) 136 IF(NOT DIAMID_IDNA_IGNORE 136 IF(NOT DIAMID_IDNA_IGNORE AND NOT DIAMID_IDNA_REJECT) 137 137 FIND_PACKAGE(IDNA) 138 138 SET(CHECK_IDNA_SOURCE_CODE " … … 160 160 SET(GNUTLS_LIBRARIES ${GNUTLS_LIBRARIES} PARENT_SCOPE) 161 161 162 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)163 I f ( NOT GCRYPT_INCLUDE_DIR)162 FIND_PATH(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) 163 IF(NOT GCRYPT_INCLUDE_DIR) 164 164 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") 165 E ndif ( NOT GCRYPT_INCLUDE_DIR)165 ENDIF(NOT GCRYPT_INCLUDE_DIR) 166 166 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR) 167 167 SET(GCRYPT_INCLUDE_DIR ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE) 168 168 169 169 # Also we need libgcrypt to... display its version :( 170 find_library(GCRYPT_LIBRARY 170 FIND_LIBRARY(GCRYPT_LIBRARY 171 171 NAMES gcrypt 172 172 ) 173 I f ( NOT GCRYPT_LIBRARY)173 IF(NOT GCRYPT_LIBRARY) 174 174 MESSAGE(SEND_ERROR "Unable to find libgcrypt, please install libgcrypt or equivalent") 175 E ndif ( NOT GCRYPT_LIBRARY)175 ENDIF(NOT GCRYPT_LIBRARY) 176 176 SET(GCRYPT_LIBRARY ${GCRYPT_LIBRARY} PARENT_SCOPE) 177 177 … … 229 229 SET(LFDCORE_INCLUDES ${SCTP_INCLUDE_DIR} ${GNUTLS_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE) 230 230 # And dependencies 231 SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) 231 SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) 232 232 # We don't force other libraries, the programs will link with what it needs 233 233 # (such as libgnutls if it uses GNUTLS_DEBUG() macro
Note: See TracChangeset
for help on using the changeset viewer.