Commit 4813eadf authored by Patrick McHardy's avatar Patrick McHardy

netfilter: nf_conntrack_ftp: change "partial ..." message to pr_debug()

The message triggers when sending non-FTP data on port 21 or with
certain clients that use multiple syscalls to send the command.

Change to pr_debug() since users have been complaining.
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 328bd899
...@@ -428,10 +428,8 @@ static int help(struct sk_buff *skb, ...@@ -428,10 +428,8 @@ static int help(struct sk_buff *skb,
connection tracking, not packet filtering. connection tracking, not packet filtering.
However, it is necessary for accurate tracking in However, it is necessary for accurate tracking in
this case. */ this case. */
if (net_ratelimit()) pr_debug("conntrack_ftp: partial %s %u+%u\n",
printk("conntrack_ftp: partial %s %u+%u\n", search[dir][i].pattern, ntohl(th->seq), datalen);
search[dir][i].pattern,
ntohl(th->seq), datalen);
ret = NF_DROP; ret = NF_DROP;
goto out; goto out;
} else if (found == 0) { /* No match */ } else if (found == 0) { /* No match */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment