Skip to content

Commit 4813ead

Browse files
committed
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>
1 parent 328bd89 commit 4813ead

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎net/netfilter/nf_conntrack_ftp.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,8 @@ static int help(struct sk_buff *skb,
428428
connection tracking, not packet filtering.
429429
However, it is necessary for accurate tracking in
430430
this case. */
431-
if (net_ratelimit())
432-
printk("conntrack_ftp: partial %s %u+%u\n",
433-
search[dir][i].pattern,
434-
ntohl(th->seq), datalen);
431+
pr_debug("conntrack_ftp: partial %s %u+%u\n",
432+
search[dir][i].pattern, ntohl(th->seq), datalen);
435433
ret = NF_DROP;
436434
goto out;
437435
} else if (found == 0) { /* No match */

0 commit comments

Comments
 (0)