inetd_ratelimit.conf revision 1.1 1 1.1 christos # $NetBSD: inetd_ratelimit.conf,v 1.1 2021/08/29 09:54:18 christos Exp $
2 1.1 christos
3 1.1 christos 127.0.0.1:
4 1.1 christos
5 1.1 christos #DGRAM WAIT SERVICE
6 1.1 christos
7 1.1 christos #Test ip_max of 3
8 1.1 christos 5432 on
9 1.1 christos protocol = udp,
10 1.1 christos wait = yes,
11 1.1 christos user = root,
12 1.1 christos service_max = 5,
13 1.1 christos ip_max = 3,
14 1.1 christos exec = test_server,
15 1.1 christos args = test_server dgram wait;
16 1.1 christos
17 1.1 christos #Test ip_max of 0
18 1.1 christos 5433 on
19 1.1 christos protocol = udp,
20 1.1 christos wait = yes,
21 1.1 christos user = root,
22 1.1 christos ip_max = 0,
23 1.1 christos exec = test_server,
24 1.1 christos args = test_server dgram wait;
25 1.1 christos
26 1.1 christos #Test service_max of 2
27 1.1 christos 5434 on
28 1.1 christos protocol = udp,
29 1.1 christos wait = yes,
30 1.1 christos user = root,
31 1.1 christos service_max = 2,
32 1.1 christos exec = test_server,
33 1.1 christos args = test_server dgram wait;
34 1.1 christos
35 1.1 christos #Test service_max of 0
36 1.1 christos 5435 on
37 1.1 christos protocol = udp,
38 1.1 christos wait = yes,
39 1.1 christos user = root,
40 1.1 christos service_max = 0,
41 1.1 christos exec = test_server,
42 1.1 christos args = test_server dgram wait;
43 1.1 christos
44 1.1 christos #STREAM WAIT SERVICE
45 1.1 christos
46 1.1 christos #Test service_max of 2
47 1.1 christos 5434 on
48 1.1 christos protocol = tcp,
49 1.1 christos wait = yes,
50 1.1 christos user = root,
51 1.1 christos service_max = 2,
52 1.1 christos exec = test_server,
53 1.1 christos args = test_server stream wait;
54 1.1 christos
55 1.1 christos #Test service_max of 0
56 1.1 christos 5435 on
57 1.1 christos protocol = tcp,
58 1.1 christos wait = yes,
59 1.1 christos user = root,
60 1.1 christos service_max = 0,
61 1.1 christos exec = test_server,
62 1.1 christos args = test_server stream wait;
63 1.1 christos
64 1.1 christos #STREAM NOWAIT SERVICE
65 1.1 christos
66 1.1 christos #Test ip_max of 3
67 1.1 christos 5436 on
68 1.1 christos protocol = tcp,
69 1.1 christos wait = no,
70 1.1 christos user = root,
71 1.1 christos service_max = 5,
72 1.1 christos ip_max = 3,
73 1.1 christos exec = test_server,
74 1.1 christos args = test_server stream nowait;
75 1.1 christos
76 1.1 christos #Test ip_max of 0
77 1.1 christos 5437 on
78 1.1 christos protocol = tcp,
79 1.1 christos wait = no,
80 1.1 christos user = root,
81 1.1 christos ip_max = 0,
82 1.1 christos exec = test_server,
83 1.1 christos args = test_server stream nowait;
84 1.1 christos
85 1.1 christos #Test service_max of 2
86 1.1 christos 5438 on
87 1.1 christos protocol = tcp,
88 1.1 christos wait = no,
89 1.1 christos user = root,
90 1.1 christos service_max = 2,
91 1.1 christos exec = test_server,
92 1.1 christos args = test_server stream nowait;
93 1.1 christos
94 1.1 christos #Test service_max of 0
95 1.1 christos 5439 on
96 1.1 christos protocol = tcp,
97 1.1 christos wait = no,
98 1.1 christos user = root,
99 1.1 christos service_max = 0,
100 1.1 christos exec = test_server,
101 1.1 christos args = test_server stream nowait;
102