File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/Smdn.Net.MuninNode/Smdn.Net.MuninNode Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace Smdn . Net . MuninNode ;
6
6
7
+ /// <summary>
8
+ /// Provides an interface for defining rules to determine whether a client connecting to
9
+ /// <c>Munin-Node</c> is acceptable for access, based on the endpoint of the client.
10
+ /// </summary>
11
+ /// <seealso href="https://guide.munin-monitoring.org/en/latest/reference/munin-node.conf.html#cmdoption-arg-allow">munin-node.conf - DIRECTIVES - Inherited - allow</seealso>
12
+ /// <seealso href="https://guide.munin-monitoring.org/en/latest/reference/munin-node.conf.html#cmdoption-arg-cidr-allow">munin-node.conf - DIRECTIVES - Inherited - cidr_allow</seealso>
13
+ /// <seealso href="https://guide.munin-monitoring.org/en/latest/reference/munin-node.conf.html#cmdoption-arg-cidr-deny">munin-node.conf - DIRECTIVES - Inherited - cidr_deny</seealso>
7
14
public interface IAccessRule {
15
+ /// <summary>
16
+ /// Returns a value indicating whether the <see cref="IPEndPoint"/> is acceptable in the
17
+ /// access rules defined by this instance.
18
+ /// </summary>
19
+ /// <param name="remoteEndPoint"><see cref="IPEndPoint"/> of the remote host requesting access.</param>
20
+ /// <returns><see langword="true"/> if acceptable, <see langword="false"/> otherwise.</returns>
8
21
bool IsAcceptable ( IPEndPoint remoteEndPoint ) ;
9
22
}
You can’t perform that action at this time.
0 commit comments