Skip to contentSkip to conversation

nf_nat_tftp broken in 4.8?

DISCUSSION Florian Fainelli 2 participants 3 messages Nov 9, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

After updating my workstation from 4.4 to 4.8, which also serves as a NAT gateway for local machines, I noticed that TFTP across this NAT box broke:

- TFTP read request to the server, source port 3534
- server replies with a data packet to dst port 3534
- gateway sends an ICMP destination unreachable with port unreachable along with the UDP data packet

I am currently bisecting this, but it is taking a lot longer to build than I thought. Attached is the non-working case PCAP file for you to look at.

There has not been a lot happening for net/netfilter/*tftp* between v4.4 and 4.8, so can you think about something in particular that could cause that?

Thanks!
--
Florian

maintainer
#1 lore raw
Quoted 3 lines · Florian Fainelli

After updating my workstation from 4.4 to 4.8, which also serves as a NAT gateway for local machines, I noticed that TFTP across this NAT box broke:

does 'sysctl net.netfilter.nf_conntrack_helper=1' help?

#2 lore raw
Quoted 7 lines · Florian Westphal
Quoted 3 lines · Florian Fainelli

After updating my workstation from 4.4 to 4.8, which also serves as a NAT gateway for local machines, I noticed that TFTP across this NAT box broke:

does 'sysctl net.netfilter.nf_conntrack_helper=1' help?

It does yes, thanks, and apologies for not seeing that earlier.

Signature · 1 line
Florian