# $NetBSD: inetd_ratelimit.conf,v 1.1 2021/08/29 09:54:18 christos Exp $ 127.0.0.1: #DGRAM WAIT SERVICE #Test ip_max of 3 5432 on protocol = udp, wait = yes, user = root, service_max = 5, ip_max = 3, exec = test_server, args = test_server dgram wait; #Test ip_max of 0 5433 on protocol = udp, wait = yes, user = root, ip_max = 0, exec = test_server, args = test_server dgram wait; #Test service_max of 2 5434 on protocol = udp, wait = yes, user = root, service_max = 2, exec = test_server, args = test_server dgram wait; #Test service_max of 0 5435 on protocol = udp, wait = yes, user = root, service_max = 0, exec = test_server, args = test_server dgram wait; #STREAM WAIT SERVICE #Test service_max of 2 5434 on protocol = tcp, wait = yes, user = root, service_max = 2, exec = test_server, args = test_server stream wait; #Test service_max of 0 5435 on protocol = tcp, wait = yes, user = root, service_max = 0, exec = test_server, args = test_server stream wait; #STREAM NOWAIT SERVICE #Test ip_max of 3 5436 on protocol = tcp, wait = no, user = root, service_max = 5, ip_max = 3, exec = test_server, args = test_server stream nowait; #Test ip_max of 0 5437 on protocol = tcp, wait = no, user = root, ip_max = 0, exec = test_server, args = test_server stream nowait; #Test service_max of 2 5438 on protocol = tcp, wait = no, user = root, service_max = 2, exec = test_server, args = test_server stream nowait; #Test service_max of 0 5439 on protocol = tcp, wait = no, user = root, service_max = 0, exec = test_server, args = test_server stream nowait;