Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

380.69_x iptables and firewall #1596

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Asuswrt-Merlin Changelog
the Sysinfo page.
- FIXED: Port forward/UPNP issues with CTF enabled depending on
selected NAT loopback mode.
- FIXED: URL filtering wasn't working over IPv4.


380.67 (16-July-2017)
Expand Down
2 changes: 1 addition & 1 deletion release/src/router/rc/firewall.c
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,7 @@ TRACE_PT("write url filter\n");
if (vstrsep(b, ">", &filterstr) != 1)
continue;
if (*filterstr) {

fprintf(fp, "-I FORWARD -p tcp %s -m webstr --url \"%s\" -j REJECT --reject-with tcp-reset\n", timef, filterstr);
#ifdef RTCONFIG_IPV6
if (ipv6_enabled())
fprintf(fp_ipv6, "-I FORWARD -p tcp %s -m webstr --url \"%s\" -j REJECT --reject-with tcp-reset\n", timef, filterstr);
Expand Down