Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -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 */