diff options
author | Susant Sahani <ssahani@users.noreply.github.com> | 2016-08-02 23:18:23 +0530 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-02 13:48:23 -0400 |
commit | 9d565427647a874b7eda64ef0cb41ea74a96659b (patch) | |
tree | 0dc7f6b19040c1d6fbec0612cd9732e4fc83ffa0 /src/core/service.h | |
parent | 87edd2b116c107b54c844e88de06be62ab55e29d (diff) |
socket: add support to control no. of connections from one source (#3607)
Introduce MaxConnectionsPerSource= that is number of concurrent
connections allowed per IP.
RFE: 1939
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h index 8e56e1acb9..888007cc0b 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -152,6 +152,7 @@ struct Service { pid_t main_pid, control_pid; int socket_fd; + SocketPeer *peer; bool socket_fd_selinux_context_net; bool permissions_start_only; |