Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/iputils/files: iputils-20071127-nonroot-floodping.patch
Date: Tue, 10 Jun 2008 10:47:50
Message-Id: E1K61OD-0000bJ-Ly@stork.gentoo.org
1 chainsaw 08/06/10 10:47:45
2
3 Added: iputils-20071127-nonroot-floodping.patch
4 Log:
5 Introduce USE=SECURITY_HAZARD which allows non-root users to floodping. This can be useful in some IXP/ISP environments where 10Gbit fibre links have to be tested. As the name suggests, it should not be enabled unless you know it makes sense for your situation.
6 (Portage version: 2.1.5.4)
7
8 Revision Changes Path
9 1.1 net-misc/iputils/files/iputils-20071127-nonroot-floodping.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iputils/files/iputils-20071127-nonroot-floodping.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iputils/files/iputils-20071127-nonroot-floodping.patch?rev=1.1&content-type=text/plain
13
14 Index: iputils-20071127-nonroot-floodping.patch
15 ===================================================================
16 --- iputils-s20071127/ping_common.h.orig 2008-06-10 11:16:06.000000000 +0100
17 +++ iputils-s20071127/ping_common.h 2008-06-10 11:16:18.000000000 +0100
18 @@ -28,7 +28,7 @@
19
20 #define MAXWAIT 10 /* max seconds to wait for response */
21 #define MININTERVAL 10 /* Minimal interpacket gap */
22 -#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
23 +#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */
24
25 #define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))
26
27
28
29
30 --
31 gentoo-commits@l.g.o mailing list