I may have discovered a bug where QoS breaks port forwards

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
juicetoon
DD-WRT Novice


Joined: 10 Mar 2023
Posts: 14

PostPosted: Wed Apr 30, 2025 12:52    Post subject: I may have discovered a bug where QoS breaks port forwards Reply with quote
Don’t have the time tonight to chase this, but if maybe someone could let me know what logs I would need to prove this. Or maybe someone can recreate the bug.

When QoS is setup with HTB FQ_CODEL and downlink are set without a limit i.e with a 0 value with a limit on uploads, doesn’t seem to matter what is set my port forwards no longer work. SYN FIN RST flags also enabled.

When set this way, none of my forwarded ports are externally accessible. Once I do set a downlink limit the forwards work again.

This could be intended, I don’t exactly understand the routing here. But it would be odd to me if this isn’t possible.

Look forward to coming back to this thread in the morning.

This behaviour is consistent over many builds over the last few weeks. Resets in between. Currently on r60791.
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16219
Location: Texas, USA

PostPosted: Wed Apr 30, 2025 16:19    Post subject: Reply with quote
QoS breaks port forwards dd-wrt.com - DuckDuckGo Search

Linksys MX4300 - Port Forwarding Not Working When QoS Enable
#7472 closed (worksforme) Cut Through Forwarding breaks non-standard port forwarding - r47206 and r47474
Port forwarding and QOS issue.
Enabling QoS Causes RX Errors

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
juicetoon
DD-WRT Novice


Joined: 10 Mar 2023
Posts: 14

PostPosted: Wed Apr 30, 2025 22:29    Post subject: Reply with quote
Appreciate it.

Okay so it is a gremlin - I've now tested and reproduced the issue on a fresh install without any other settings changed excluding a port forward. Port forwards fall over when you set an uplink limit but not a downlink limit, yet strangely, not vice versa.

Not exactly sure where to start and what would be useful to diagnose this. iptables? syslog logs? strace and tcpdump?
juicetoon
DD-WRT Novice


Joined: 10 Mar 2023
Posts: 14

PostPosted: Wed Apr 30, 2025 22:51    Post subject: Reply with quote
Okay after doing some more reading it ain’t a ddwrt issue. Seems to be a gremlin with FQ_CODEL and how it wants to route things.

Will do more testing with other queuing disciplines.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum