diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-19 16:29:08 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-25 10:02:20 -0400 |
commit | 5dc7a6d5749d3ddbf9fbea9512cb45762428512c (patch) | |
tree | c70d10a2bd3d67202534b6e0e4f4495b357138b4 /net/netfilter | |
parent | fd0ec0e6216baea854465bbdb177f2d1b2ccaf22 (diff) |
netfilter: xt_recent: allow changing ip_list_[ug]id at runtime
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_recent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c index 72cbced48a8d..85309448c5e7 100644 --- a/net/netfilter/xt_recent.c +++ b/net/netfilter/xt_recent.c | |||
@@ -51,14 +51,14 @@ module_param(ip_list_tot, uint, 0400); | |||
51 | module_param(ip_pkt_list_tot, uint, 0400); | 51 | module_param(ip_pkt_list_tot, uint, 0400); |
52 | module_param(ip_list_hash_size, uint, 0400); | 52 | module_param(ip_list_hash_size, uint, 0400); |
53 | module_param(ip_list_perms, uint, 0400); | 53 | module_param(ip_list_perms, uint, 0400); |
54 | module_param(ip_list_uid, uint, 0400); | 54 | module_param(ip_list_uid, uint, S_IRUGO | S_IWUSR); |
55 | module_param(ip_list_gid, uint, 0400); | 55 | module_param(ip_list_gid, uint, S_IRUGO | S_IWUSR); |
56 | MODULE_PARM_DESC(ip_list_tot, "number of IPs to remember per list"); | 56 | MODULE_PARM_DESC(ip_list_tot, "number of IPs to remember per list"); |
57 | MODULE_PARM_DESC(ip_pkt_list_tot, "number of packets per IP address to remember (max. 255)"); | 57 | MODULE_PARM_DESC(ip_pkt_list_tot, "number of packets per IP address to remember (max. 255)"); |
58 | MODULE_PARM_DESC(ip_list_hash_size, "size of hash table used to look up IPs"); | 58 | MODULE_PARM_DESC(ip_list_hash_size, "size of hash table used to look up IPs"); |
59 | MODULE_PARM_DESC(ip_list_perms, "permissions on /proc/net/xt_recent/* files"); | 59 | MODULE_PARM_DESC(ip_list_perms, "permissions on /proc/net/xt_recent/* files"); |
60 | MODULE_PARM_DESC(ip_list_uid,"owner of /proc/net/xt_recent/* files"); | 60 | MODULE_PARM_DESC(ip_list_uid, "default owner of /proc/net/xt_recent/* files"); |
61 | MODULE_PARM_DESC(ip_list_gid,"owning group of /proc/net/xt_recent/* files"); | 61 | MODULE_PARM_DESC(ip_list_gid, "default owning group of /proc/net/xt_recent/* files"); |
62 | 62 | ||
63 | struct recent_entry { | 63 | struct recent_entry { |
64 | struct list_head list; | 64 | struct list_head list; |