Navigation


Changeset 12:418d2ce80dc8 in freeDiameter for doc/freediameter.conf.sample


Ignore:
Timestamp:
Sep 28, 2009, 5:29:25 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added support in configuration file for peers declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/freediameter.conf.sample

    r10 r12  
    77# This must be a valid FQDN that resolves to the local host.
    88# Default: hostname's FQDN
    9 #LocalIdentity = "aaa.koganei.wide.ad.jp";
     9#Identity = "aaa.koganei.wide.ad.jp";
    1010
    1111# The Diameter Realm of this daemon.
    12 # Default: the domain part of LocalIdentity.
    13 #LocalRealm = "wide.ad.jp";
     12# Default: the domain part of Identity.
     13#Realm = "wide.ad.jp";
    1414
    1515##############################################################
     
    1818# The port this peer is listening on for incoming connections (TCP and SCTP).
    1919# Default: 3868
    20 #LocalPort = 3868;
     20#Port = 3868;
    2121
    2222# The port this peer is listening on for incoming TLS connections (TCP and SCTP).
    2323# See TLS_old_method for more information.
    2424# Default: 3869
    25 #LocalSecPort = 3869;
     25#SecPort = 3869;
    2626
    2727# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA
     
    9494#NoRelay;
    9595
    96 # Other applications are configured by extensions.
     96# Other applications are configured by loading appropriate extensions.
    9797
    9898##############################################################
     
    105105#  These extensions may in addition receive the name of a
    106106# configuration file, the format of which is extension-specific.
    107 
     107#
    108108# Format:
    109109#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
     110#
    110111# Exemples:
    111112#LoadExtension = "extensions/sample.so";
     
    113114
    114115
     116##############################################################
     117##  Peers configuration
     118
     119#  The local server listens for incoming connections. By default,
     120# all unknown connecting peers are rejected. Extensions can override this behavior.
     121#
     122#  In addition to incoming connections, the local peer can
     123# be configured to establish and maintain connections to some
     124# Diameter nodes and allow connections from these nodes.
     125#  This is achieved with the ConnectPeer directive described bellow.
     126#
     127# Note that the configured Diameter Id MUST match
     128# the information received inside CEA, or the connection will be aborted.
     129#
     130# Format:
     131#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ;
     132# Parameters that can be specified in the peer's parameter list:
     133#  No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method;
     134#  No_TLS;       # assume transparent security instead of TLS
     135#  Port = 3868;  # The port to connect to
     136#  SCTP_streams = 30;
     137#  TcTimer = 30;
     138#  TwTimer = 30;
     139#  ConnectTo = "202.249.37.5";
     140#  ConnectTo = "2001:200:903:2::202:1";
     141# Examples:
     142#ConnectPeer = "aaa.wide.ad.jp";
     143#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; } ;
     144
    115145
    116146##############################################################
    117147# -------- Test configuration ---------
    118 LocalIdentity = "aaa.koganei.wide.ad.jp";
    119 LocalRealm = "wide.ad.jp";
    120 LocalPort = 3866;
    121 LocalSecPort = 3867;
     148Identity = "aaa.koganei.wide.ad.jp";
     149Realm = "wide.ad.jp";
     150Port = 3866;
     151SecPort = 3867;
    122152TLS_old_method;
    123153No_IP;
     
    132162LoadExtension = "extensions/dict_nasreq.fdx";
    133163LoadExtension = "extensions/dict_eap.fdx";
     164ConnectPeer = "jules.nautilus6.org" ;
Note: See TracChangeset for help on using the changeset viewer.