Mercurial > hg > freeDiameter
comparison doc/freediameter.conf.sample @ 1396:188c82b6690b
Add ProcessingPeersPattern and ProcessingPeersMinimum parameters.
If this is configured, the process will accept all connections from
peers matching ProcessingPeersPattern, but will NOT accept connections
from other peers until ProcessingPeersMinimum peers of the first
type are connected.
This allows relays to only go online if there are enough worker
peers connected behind them.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 15 Nov 2019 11:38:30 +0100 |
parents | afe0ecdb0692 |
children | 239ba25870d8 |
comparison
equal
deleted
inserted
replaced
1395:603a72c4bf6c | 1396:188c82b6690b |
---|---|
85 # How many Diameter peers are allowed to be connecting at the same time ? | 85 # How many Diameter peers are allowed to be connecting at the same time ? |
86 # This parameter limits the number of incoming connections from the time | 86 # This parameter limits the number of incoming connections from the time |
87 # the connection is accepted until the first CER is received. | 87 # the connection is accepted until the first CER is received. |
88 # Default: 5 unidentified clients in paralel. | 88 # Default: 5 unidentified clients in paralel. |
89 #ThreadsPerServer = 5; | 89 #ThreadsPerServer = 5; |
90 | |
91 # If this host is used as relay or proxy, it can be useful to limit | |
92 # connections from "outside" until enough processing nodes are available. | |
93 # This parameter defines a regex pattern for recognizing such nodes; | |
94 # Default: NO DEFAULT | |
95 #ProcessingPeersPattern = "worker[0-9]*.example.com"; | |
96 | |
97 # This next parameter defines how many of these processing peers | |
98 # must be connected before CERs from other hosts are accepted. | |
99 # If this is set, ProcessingPeersPattern must also be defined. | |
100 # If unset or less than 1, ProcessingPeersPattern and this variable do nothing. | |
101 # Default: 0 | |
102 #ProcessingPeersMinimum = 0; | |
90 | 103 |
91 ############################################################## | 104 ############################################################## |
92 ## TLS Configuration | 105 ## TLS Configuration |
93 | 106 |
94 # TLS is managed by the GNUTLS library in the freeDiameter daemon. | 107 # TLS is managed by the GNUTLS library in the freeDiameter daemon. |