aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-11-24 12:34:48 -0500
committerPatrick McHardy <kaber@trash.net>2008-11-24 12:34:48 -0500
commit4813eadf6b17caa7fcce67ac2f929a3dd5178fa2 (patch)
tree4d003492affe1b00b7b309772f954e4f6c1da380 /net
parent328bd8997dbb7184d5389e45c642af44ae6e9043 (diff)
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: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nf_conntrack_ftp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c
index 703a4378074a..867cad6b3c8d 100644
--- a/net/netfilter/nf_conntrack_ftp.c
+++ b/net/netfilter/nf_conntrack_ftp.c
@@ -428,10 +428,8 @@ static int help(struct sk_buff *skb,
428 connection tracking, not packet filtering. 428 connection tracking, not packet filtering.
429 However, it is necessary for accurate tracking in 429 However, it is necessary for accurate tracking in
430 this case. */ 430 this case. */
431 if (net_ratelimit()) 431 pr_debug("conntrack_ftp: partial %s %u+%u\n",
432 printk("conntrack_ftp: partial %s %u+%u\n", 432 search[dir][i].pattern, ntohl(th->seq), datalen);
433 search[dir][i].pattern,
434 ntohl(th->seq), datalen);
435 ret = NF_DROP; 433 ret = NF_DROP;
436 goto out; 434 goto out;
437 } else if (found == 0) { /* No match */ 435 } else if (found == 0) { /* No match */