Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5dc7a6d5
Commit
5dc7a6d5
authored
Mar 19, 2010
by
Jan Engelhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netfilter: xt_recent: allow changing ip_list_[ug]id at runtime
Signed-off-by:
Jan Engelhardt
<
jengelh@medozas.de
>
parent
fd0ec0e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
net/netfilter/xt_recent.c
net/netfilter/xt_recent.c
+4
-4
No files found.
net/netfilter/xt_recent.c
View file @
5dc7a6d5
...
...
@@ -51,14 +51,14 @@ module_param(ip_list_tot, uint, 0400);
module_param
(
ip_pkt_list_tot
,
uint
,
0400
);
module_param
(
ip_list_hash_size
,
uint
,
0400
);
module_param
(
ip_list_perms
,
uint
,
0400
);
module_param
(
ip_list_uid
,
uint
,
0400
);
module_param
(
ip_list_gid
,
uint
,
0400
);
module_param
(
ip_list_uid
,
uint
,
S_IRUGO
|
S_IWUSR
);
module_param
(
ip_list_gid
,
uint
,
S_IRUGO
|
S_IWUSR
);
MODULE_PARM_DESC
(
ip_list_tot
,
"number of IPs to remember per list"
);
MODULE_PARM_DESC
(
ip_pkt_list_tot
,
"number of packets per IP address to remember (max. 255)"
);
MODULE_PARM_DESC
(
ip_list_hash_size
,
"size of hash table used to look up IPs"
);
MODULE_PARM_DESC
(
ip_list_perms
,
"permissions on /proc/net/xt_recent/* files"
);
MODULE_PARM_DESC
(
ip_list_uid
,
"
owner of /proc/net/xt_recent/* files"
);
MODULE_PARM_DESC
(
ip_list_gid
,
"
owning group of /proc/net/xt_recent/* files"
);
MODULE_PARM_DESC
(
ip_list_uid
,
"default
owner of /proc/net/xt_recent/* files"
);
MODULE_PARM_DESC
(
ip_list_gid
,
"default
owning group of /proc/net/xt_recent/* files"
);
struct
recent_entry
{
struct
list_head
list
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment