2021-09-20 08:31:52

by Cole Dishington

[permalink] [raw]
Subject: [PATCH net v5 0/2] Fix port selection of FTP for NF_NAT_RANGE_PROTO_SPECIFIED

Thanks for your time reviewing!

Changes:
Divide changes into two patches
- Limit the number of ports checked by ftp helper to 128.
- Fix port selection of FTP for NF_NAT_RANGE_PROTO_SPECIFIED.

Cole Dishington (2):
net: netfilter: Limit the number of ftp helper port attempts
net: netfilter: Fix port selection of FTP for
NF_NAT_RANGE_PROTO_SPECIFIED

include/net/netfilter/nf_nat.h | 6 ++++
net/netfilter/nf_nat_core.c | 9 ++++++
net/netfilter/nf_nat_ftp.c | 51 ++++++++++++++++++++++++++--------
net/netfilter/nf_nat_helper.c | 10 +++++++
4 files changed, 65 insertions(+), 11 deletions(-)

--
2.33.0