Commit Graph

5025 Commits (2021.2)
 

Author SHA1 Message Date
pedro fc01551e30 rc: qos.c: fix illegal match, no SELECTOR like ipv6 5 years ago
pedro 3d69c4496f GUI: QoS Graphs: fix displaying correct number of connections for the lowest priority class in BW Distribution 5 years ago
pedro 80c662d9bf rc: qos.c: fix typo in DEV name 5 years ago
pedro 59836bba8c httpd: ctnf.c: use ifb instead of imq for ARM as ingress system not only for default WAN 5 years ago
pedro e008f55c68 rc: services.c: fix typo 5 years ago
snowman58 b83e758268 Merge branch 'arm-master' of https://bitbucket.org/snowman58/rt67u into arm-master 5 years ago
snowman58 5c6f1d2a4a Cosmetic comment update 5 years ago
snowman 2d231efea4 Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro 2f4796f1a8 GUI: MultiWAN Routing: extend Domain field to 70 characters 5 years ago
pedro 812a6817b3 Merge branch 'arm-master' into arm-sdk7 5 years ago
edrikk 88a4eec300 build: fix build error following busybox patches
Fix courtesy of st_ty_ --> https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm-development-discussion-only-for-support-always-open-your-own-thread.74117/post-319365
5 years ago
pedro 41177b9a6a adblock: update blacklist URLs 5 years ago
M_ars e61b2d6ed7 kernel SDK6: small update for bridge (sync with asus src)
Note: small addendum for the following commit a1997cd768
5 years ago
pedro a5d8e03f86 build: remove TRACE_PT macro completely 5 years ago
pedro 92680e04fc dropbear: update to 2020.81 5 years ago
pedro 6c8df05b8a openvpn: update to 2.5.0 5 years ago
M_ars a1997cd768 SDK6: small update for et (sync with asus src)
Note: ARP skip ctf
5 years ago
pedro ef6e38a28e rc: services.c: clean up rest of samba logs again 5 years ago
snowman 939dcf3f30 Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro c7804409a1 rc: services.c: clean up all temporary files created by samba in /tmp/var/log 5 years ago
snowman 3257e30b64 Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro bc2090de8e rc: services.c: fix logging 5 years ago
snowman 4e98d26fd7 Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro 75fa05c5ea Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro e348ca2ccd firewall: RT and RT-N branches (MIPS) do not load ipt_REDIRECT automagically 5 years ago
pedro 3cef32e9fd vsftpd: add native support for basic ftp_tls using router httpd cert/key 5 years ago
pedro 5216f26031 httpd: fix problems with server.pem key when using HTTPS 5 years ago
pedro 6e793afa98 rc: vsftpd: disable (broken) process isolation under MIPS 5 years ago
M_ars d365748b8f IPv6: split IPv6 / IPv4 up and down logic (they work independent of each other now)
tested with DHCPv6 PD (arm and mips), working correct
5 years ago
M_ars 056ccf5b72 rc: wan.c - adjust function config_pppd() and start/add IPv6 only for "wan" (no IPv6 multiwan support) 5 years ago
pedro 5f9250ec87 rc: firewall.c: use REDIRECT target instead of DNAT to intercept dns traffic, as it's more efficient 5 years ago
pedro 03c18cc835 ntp: implement ntp server properly 5 years ago
snowman58 01e5ad21f0 Update README to include RT-AC67U 5 years ago
snowman58 d90f113346 Add RT-AC67U Support 5 years ago
pedro b2371229d3 build: remove definition of TCONFIG_SAMBA3 from the tree 5 years ago
M_ars 39935146f6 ipv6: Make 'addrconf_rs_timer' send Router Solicitations (and re-arm itself) if Router Advertisements are accepted
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=9ba2add3cf5c103b7236f82a023c8ee05a51e4d1

As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted],
Router Solicitations are sent whenever kernel accepts Router
Advertisements on the interface.

However, this logic isn't reflected in 'addrconf_rs_timer'.

The timer fails to issue subsequent RS messages (and fails to re-arm
itself) if forwarding is enabled and the special hybrid mode is
enabled (accept_ra=2).

Fix the condition determining whether next RS should be sent, by using
'ipv6_accept_ra()'.

Reported-by: Ami Koren <amikoren@yahoo.com>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
M_ars b97473a596 ipv6: unify logic evaluating inet6_dev's accept_ra property
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=aeaf6e9d2f49d793d3eb8c1af4095cf25e061b94

As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted], the
logic determining whether to send Router Solicitations is identical
to the logic determining whether kernel accepts Router Advertisements.

However the condition itself is repeated in several code locations.

Unify it by introducing 'ipv6_accept_ra()' accessor.

Also, simplify the condition expression, making it more readable.
No semantic change.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
M_ars 63d3f282d3 ipv6: Send ICMPv6 RSes only when RAs are accepted
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=026359bc6eddfdc2d2e684bf0b51691649b90f33

This patch improves the logic determining when to send ICMPv6 Router
Solicitations, so that they are 1) always sent when the kernel is
accepting Router Advertisements, and 2) never sent when the kernel is
not accepting RAs. In other words, the operational setting of the
"accept_ra" sysctl is used.

The change also makes the special "Hybrid Router" forwarding mode
("forwarding" sysctl set to 2) operate exactly the same as the standard
Router mode (forwarding=1). The only difference between the two was
that RSes was being sent in the Hybrid Router mode only. The sysctl
documentation describing the special Hybrid Router mode has therefore
been removed.

Rationale for the change:

Currently, the value of forwarding sysctl is the only thing determining
whether or not to send RSes. If it has the value 0 or 2, they are sent,
otherwise they are not. This leads to inconsistent behaviour in the
following cases:

* accept_ra=0, forwarding=0
* accept_ra=0, forwarding=2
* accept_ra=1, forwarding=2
* accept_ra=2, forwarding=1

In the first three cases, the kernel will send RSes, even though it will
not accept any RAs received in reply. In the last case, it will not send
any RSes, even though it will accept and process any RAs received. (Most
routers will send unsolicited RAs periodically, so suppressing RSes in
the last case will merely delay auto-configuration, not prevent it.)

Also, it is my opinion that having the forwarding sysctl control RS
sending behaviour (completely independent of whether RAs are being
accepted or not) is simply not what most users would intuitively expect
to be the case.

Signed-off-by: Tore Anderson <tore@fud.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
M_ars 90cc6be26f ipv6: Make 'addrconf_rs_timer' send Router Solicitations (and re-arm itself) if Router Advertisements are accepted
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=9ba2add3cf5c103b7236f82a023c8ee05a51e4d1

As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted],
Router Solicitations are sent whenever kernel accepts Router
Advertisements on the interface.

However, this logic isn't reflected in 'addrconf_rs_timer'.

The timer fails to issue subsequent RS messages (and fails to re-arm
itself) if forwarding is enabled and the special hybrid mode is
enabled (accept_ra=2).

Fix the condition determining whether next RS should be sent, by using
'ipv6_accept_ra()'.

Reported-by: Ami Koren <amikoren@yahoo.com>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
M_ars 053428b332 ipv6: unify logic evaluating inet6_dev's accept_ra property
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=aeaf6e9d2f49d793d3eb8c1af4095cf25e061b94

As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted], the
logic determining whether to send Router Solicitations is identical
to the logic determining whether kernel accepts Router Advertisements.

However the condition itself is repeated in several code locations.

Unify it by introducing 'ipv6_accept_ra()' accessor.

Also, simplify the condition expression, making it more readable.
No semantic change.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
M_ars 6aa3080d6f ipv6: Send ICMPv6 RSes only when RAs are accepted
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v3.19&id=026359bc6eddfdc2d2e684bf0b51691649b90f33

This patch improves the logic determining when to send ICMPv6 Router
Solicitations, so that they are 1) always sent when the kernel is
accepting Router Advertisements, and 2) never sent when the kernel is
not accepting RAs. In other words, the operational setting of the
"accept_ra" sysctl is used.

The change also makes the special "Hybrid Router" forwarding mode
("forwarding" sysctl set to 2) operate exactly the same as the standard
Router mode (forwarding=1). The only difference between the two was
that RSes was being sent in the Hybrid Router mode only. The sysctl
documentation describing the special Hybrid Router mode has therefore
been removed.

Rationale for the change:

Currently, the value of forwarding sysctl is the only thing determining
whether or not to send RSes. If it has the value 0 or 2, they are sent,
otherwise they are not. This leads to inconsistent behaviour in the
following cases:

* accept_ra=0, forwarding=0
* accept_ra=0, forwarding=2
* accept_ra=1, forwarding=2
* accept_ra=2, forwarding=1

In the first three cases, the kernel will send RSes, even though it will
not accept any RAs received in reply. In the last case, it will not send
any RSes, even though it will accept and process any RAs received. (Most
routers will send unsolicited RAs periodically, so suppressing RSes in
the last case will merely delay auto-configuration, not prevent it.)

Also, it is my opinion that having the forwarding sysctl control RS
sending behaviour (completely independent of whether RAs are being
accepted or not) is simply not what most users would intuitively expect
to be the case.

Signed-off-by: Tore Anderson <tore@fud.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years ago
pedro 5eaa216d8d Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 224121688d rc: services.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 46d33f83a9 www: advanced-routing.asp: cosmetic 5 years ago
pedro 3de14151f1 rc: remove a forgotten unnecessary subdirectory 5 years ago
pedro ff5f624aaa rc: interface.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro bb73e3e05a rc: gpio.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 018352a606 rc: arpbind.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro e8c29476ad build: cosmetic 5 years ago
pedro 1136bd2132 GUI: Advanced: DHCP/DNS: extend allowed dnsmasq custom configuration text area to 4096 characters 5 years ago