Commit Graph

5472 Commits (2021.6)
 

Author SHA1 Message Date
pedro e3c12dfe04 kernel: ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fixes from upstream for sdk7.

as per: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7998156344b0d93de61ff8e5d75e96500e43a571
8 years ago
pedro 8eecd67e4a kernel: ip6_tunnel: get the min mtu properly in ip6_tnl_xmit
- Fixes from upstream for sdk7.

Now it's using IPV6_MIN_MTU as the min mtu in ip6_tnl_xmit, but
IPV6_MIN_MTU actually only works when the inner packet is ipv6.

With IPV6_MIN_MTU for ipv4 packets, the new pmtu for inner dst
couldn't be set less than 1280. It would cause tx_err and the
packet to be dropped when the outer dst pmtu is close to 1280.

Jianlin found it by running ipv4 traffic with the topo:

  (client) gre6 <---> eth1 (route) eth2 <---> gre6 (server)

After changing eth2 mtu to 1300, the performance became very
low, or the connection was even broken. The issue also affects
ip4ip6 and ip6ip6 tunnels.

So if the inner packet is ipv4, 576 should be considered as the
min mtu.

Note that for ip4ip6 and ip6ip6 tunnels, the inner packet can
only be ipv4 or ipv6, but for gre6 tunnel, it may also be ARP.
This patch using 576 as the min mtu for non-ipv6 packet works
for all those cases.

as per: c9fefa0819 (diff-c23b021ee0efe6250f60230543981fa4)
8 years ago
pedro 756bcd4cf0 kernel: xfrm: Return error on unknown encap_type in init_state
- Fixes from upstream for sdk7.

Currently esp will happily create an xfrm state with an unknown
encap type for IPv4, without setting the necessary state parameters.
This patch fixes it by returning -EINVAL.

There is a similar problem in IPv6 where if the mode is unknown
we will skip initialisation while returning zero.  However, this
is harmless as the mode has already been checked further up the
stack.  This patch removes this anomaly by aligning the IPv6
behaviour with IPv4 and treating unknown modes (which cannot
actually happen) as transport mode.

as per: bcfd09f783 (diff-2ee011da7be9b1f7932e0520874c09a4)
8 years ago
kille72 070bf67c20 nginx: updated to 1.13.9 (2018-02-20) 8 years ago
kille72 2ceda97200 Updated adminer from 4.6.1 to 4.6.2 2018-02-20
(only English)
8 years ago
kille72 75773591b2 Merge branch 'shibby-arm' into shibby-arm7 8 years ago
kille72 f31c33888e nginx: updated to 1.13.9 (2018-02-20) 8 years ago
kille72 7b498e0f56 Updated adminer from 4.6.1 to 4.6.2 2018-02-20
(only English)
8 years ago
edrikk 047efcf56a ip6_tunnel: get the min mtu properly in ip6_tnl_xmit
Now it's using IPV6_MIN_MTU as the min mtu in ip6_tnl_xmit, but
IPV6_MIN_MTU actually only works when the inner packet is ipv6.

With IPV6_MIN_MTU for ipv4 packets, the new pmtu for inner dst
couldn't be set less than 1280. It would cause tx_err and the
packet to be dropped when the outer dst pmtu is close to 1280.

Jianlin found it by running ipv4 traffic with the topo:

  (client) gre6 <---> eth1 (route) eth2 <---> gre6 (server)

After changing eth2 mtu to 1300, the performance became very
low, or the connection was even broken. The issue also affects
ip4ip6 and ip6ip6 tunnels.

So if the inner packet is ipv4, 576 should be considered as the
min mtu.

Note that for ip4ip6 and ip6ip6 tunnels, the inner packet can
only be ipv4 or ipv6, but for gre6 tunnel, it may also be ARP.
This patch using 576 as the min mtu for non-ipv6 packet works
for all those cases.

Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>



Per: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c9fefa08190fc879fb2e681035d7774e0a8c5170
8 years ago
edrikk a86f6593f8 Similar problem as IPv4 being resolved here in IPv6 where if the mode is unknown we will skip initialization while returning zero. However, this
is harmless as the mode has already been checked further up the
stack.  This patch removes this anomaly by aligning the IPv6
behaviour with IPv4 and treating unknown modes (which cannot
actually happen) as transport mode.

Fixes: 38320c70d282 ("[IPSEC]: Use crypto_aead and authenc in ESP")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>


Per:  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bcfd09f7837f5240c30fd2f52ee7293516641faa
8 years ago
edrikk 885e1c6273 xfrm: Return error on unknown encap_type in init_state
Currently esp will happily create an xfrm state with an unknown
encap type for IPv4, without setting the necessary state parameters.
This patch fixes it by returning -EINVAL.

Per:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bcfd09f7837f5240c30fd2f52ee7293516641faa
8 years ago
pedro 1006d4f83d dnsmasq: update to v2.79rc1-2018.02.16 8 years ago
pedro 6670a371f0 dropbear: move patch to separate directory
- based on AndreDVJ commit: f9434c77ce with small fix
8 years ago
AndreDVJ 2633f67553 ~/router/Makefile: updated to support ncurses 6.1 8 years ago
AndreDVJ a382e8450f libncurses: Updated to 6.1 8 years ago
AndreDVJ 2b3ad79f3a nettle: Updated to 3.4 8 years ago
pedro 9808417646 dnsmasq: update to v2.79rc1-2018.02.16 8 years ago
pedro 0e04e34355 dropbear: move patch to separate directory
- based on AndreDVJ commit: f9434c77ce with small fix
8 years ago
AndreDVJ a767196006 ~/router/Makefile: updated to support ncurses 6.1 8 years ago
AndreDVJ d2bb9d39f0 libncurses: Updated to 6.1 8 years ago
AndreDVJ 59bd6190da nettle: Updated to 3.4 8 years ago
kille72 2b8a028ddb /router/rc/services.c: miniupnpd - changed the coding to use an interface name for the listening_ip= value instead of an IP/netmask to prevent log flood
https://github.com/miniupnp/miniupnp/issues/272

Thanks @Sean B.
8 years ago
kille72 4073b30e33 miniupnpd: updated to 2.0.20180203 8 years ago
kille72 bfb985beaf /router/rc/services.c: miniupnpd - changed the coding to use an interface name for the listening_ip= value instead of an IP/netmask to prevent log flood
https://github.com/miniupnp/miniupnp/issues/272

Thanks @Sean B.
8 years ago
kille72 c4ae03b988 miniupnpd: updated to 2.0.20180203 8 years ago
kille72 9793d401c8 Merge branch 'shibby-arm' into shibby-arm7 8 years ago
AndreDVJ c4b3841d3b Patch for xl2tpd in a separate file 8 years ago
AndreDVJ ccf824ac14 xl2tpd: Clean sources 8 years ago
AndreDVJ fcff8511d6 sqlite: Updated to 3.22.0 8 years ago
AndreDVJ 4037023e17 Patch for minidlna in a separate file, and removed unused patch files 8 years ago
AndreDVJ bb253fe39b Clean sources for MiniDLNA 1.2.1 8 years ago
AndreDVJ da40f45b65 Patch for xl2tpd in a separate file 8 years ago
AndreDVJ 224f2acfee xl2tpd: Clean sources 8 years ago
AndreDVJ f36c36771d sqlite: Updated to 3.22.0 8 years ago
AndreDVJ ca8cbbc4cc Patch for minidlna in a separate file, and removed unused patch files 8 years ago
AndreDVJ e8318c8632 Clean sources for MiniDLNA 1.2.1 8 years ago
Shibby 54ac0beee9 Makefile: --with-mysql option is no longer supported in PHP7. You need to use mysqli extension for this. 8 years ago
Shibby 92ffd3ef91 Makefile: --with-mysql option is no longer supported in PHP7. You need to use mysqli extension for this. 8 years ago
kille72 aaa5ee1432 e2fsprogs: updated to 1.43.9 8 years ago
kille72 2913bac180 libcurl: Updated to 7.58.0 8 years ago
kille72 31e7002b7f nano: updated to 2.9.3 8 years ago
kille72 a4dc69a8a9 Updated adminer from 4.6.0 to 4.6.1 (2018-02-09)
(only English -100kB in size)
8 years ago
kille72 3117162dcc Updated adminer from 4.3.1 to 4.6.0 (2018-02-05)
(only English -100kB in size)
8 years ago
kille72 638bdcd73e Updated README 8 years ago
kille72 9dc5f3d1c9 Merge branch 'shibby-arm' into shibby-arm7 8 years ago
pedro a166ff4612 kernel: net: dev.c: 3 more fixes
- dbe5775bbc (diff-3ce2f1b11ea5a4b9c88ef0b4159bd481)
- 2d47b45951 (diff-3ce2f1b11ea5a4b9c88ef0b4159bd481)
- 1003489e06 (diff-3ce2f1b11ea5a4b9c88ef0b4159bd481)
8 years ago
pedro cea8d02ca5 Makefile: fix issue with R8000 filename in SDK7 8 years ago
pedro 58ab56e1bd kernel: update some modules 8 years ago
kille72 ae1244c15d Bumped version to 2018.1 8 years ago
kille72 04bc28cca7 Updated README 8 years ago