Re: [OpenWrt-Devel] Mikrotik ar71xx -> ath79 port

2020-02-21 Thread Christopher Hill
On 2/19/20 5:52 AM, Roger Pueyo Centelles | Guifi.net wrote:
> Hi Christopher,
> 
> Congratulations on your progress! :)
> 
> Besides the RB922, I've got a couple more MikroTik devices in the
> process of being supported: RouterBOARD 750GL
>  [1]
> and OmniTIK UPA-H5nD
> 
> [2]. They're not ready yet (I can't make the NAND memory work) but you
> may want to take a look at them for inspiration.
> 
> Cheers!
> 
> Roger


Thanks for the pointers. I think attempting this rb493G board has turned
into a very big undertaking (for me) as I believe I now need to do the
following:


1.  Copy over the ar71xx file "drivers/spi/spi-rb4xx.c" and add a
".of_match_table" entry so the DTS file can use it in a "compatible"
section instead of the "jedec,spi-nor" driver most are using.

I think this driver is available via upstream now, and so I probably
just need to patch instead of copy..?

https://github.com/torvalds/linux/blob/master/drivers/spi/spi-rb4xx.c


2.  Copy over the ar71xx "drivers/spi/spi-rb4xx-cpld.c" and add device
tree support sections. This was rejected upstream a few years ago from
what I can find on Google.


3.  The two Ethernet switches are working now (one is a special
bitbanged mdio only on this board), so it's really just the storage left
to do. I'll try and play with the ar71xx "drivers/mtd/nand/rb4xx_nand.c"
code next week. Probably copy that to the ath79 tree...


I wonder if this is why there used to be a special "mikrotik" target in
the old ar71xx tree due to all this custom driver code?

Chris


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] R: Next maintenance releases

2020-02-21 Thread Lech Perczak
W dniu 2020-02-21 o 16:48, ansuels...@gmail.com pisze:
>> Hi,
>>
>> I'd like to release 19.07.2 and 18.06.8 sometime between Sun 23rd and
>> Tue 25th. If you have pending important fixes you like to see backported
>> to the respective branches please do so ASAP or mention the commits in a
>> reply to this mail.
>>
>>
>> Regards,
>> Jo
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> https://github.com/openwrt/openwrt/pull/2769
> Can this be merged?  It fix important performance problem for ipq806x
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

I'd very much like to see this merged too:
https://github.com/openwrt/openwrt/pull/2683
As I stated in PR:
Tested-By: Lech Perczak 

-- 
With kind regards,
Lech Perczak


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Next maintenance releases

2020-02-21 Thread Rosen Penev
On Fri, Feb 21, 2020 at 2:08 AM Jo-Philipp Wich  wrote:
>
> Hi,
>
> I'd like to release 19.07.2 and 18.06.8 sometime between Sun 23rd and
> Tue 25th. If you have pending important fixes you like to see backported
> to the respective branches please do so ASAP or mention the commits in a
> reply to this mail.
I would like https://patchwork.ozlabs.org/patch/1221697/ to be applied.

I've already worked around this not being merged for ffmpeg, but I
still would like to see it in.

It makes no sense to have broken functionality in the tree.

The proper fix is https://patchwork.ozlabs.org/patch/1221696/ , but I
don't think a change like that is applicable for 19.07.
>
>
> Regards,
> Jo
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] ppp: activate PIE ASLR by default

2020-02-21 Thread Alexander 'lynxis' Couzens
On Thu, 20 Feb 2020 10:56:26 +0100
Petr Štetiar  wrote:

> This activates PIE ASLR support by default when the regular option is
> selected.
> 
> Size increase on imx6:
> 
>  112681 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
>  121879 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
>  = 9198 diff

Acked-by: Alexander Couzens 

-- 
Alexander Couzens

mail: lyn...@fe80.eu
jabber: lyn...@fe80.eu
gpg: 390D CF78 8BF9 AA50 4F8F  F1E2 C29E 9DA6 A0DF 8604


pgp5Baj6dOUx6.pgp
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Security Advisory 2020-02-21-1 - ppp buffer overflow vulnerability (CVE-2020-8597)

2020-02-21 Thread Petr Štetiar
Security Advisory 2020-02-21-1 - ppp buffer overflow vulnerability 
(CVE-2020-8597)


DESCRIPTION

A remotely exploitable vulnerability was found in Point-to-Point Protocol
Daemon (pppd), which has a significant potential impact due to the possibility
of remote code execution prior to authentication.

OpenWrt by default enables the _FORTIFY_SOURCE=1 compiler macro which
introduces additional checks to detect buffer-overflows in the standard
library functions, thus protecting the memcpy() abused in this overflow,
preventing the actual buffer overflow and hence possible remote code execution
by instead terminating the pppd daemon.  Due to those defaults the impact of
the issue was changed to a denial of service vulnerability, which is now also
addressed by this fix.

CVE-2020-8597 has been assigned to this issue, you can find the latest version
of this advisory on our wiki[1].


REQUIREMENTS

In order to exploit this vulnerability, a malicious attacker would need to
provide specially crafted EAP Request packet of type EAPT_MD5CHAP to ppp
running in client mode and thus overflowing the rhostname string buffer by
providing a very long hostname.


MITIGATIONS

To fix this issue, update the affected ppp package using the command below.

   `opkg update; opkg upgrade ppp`

The fix is contained in the following and later versions:

 - OpenWrt master: 2020-02-20 reboot-12255-g215598fd0389
 - OpenWrt 19.07:  2020-02-20 v19.07.1-17-g6b7eeb74dbf8
 - OpenWrt 18.06:  2020-02-20 v18.06.7-6-gcc78f934a946


AFFECTED VERSIONS

To our knowledge, OpenWrt versions 18.06.0 to 18.06.7 and versions 19.07.0 to
19.07.1 are affected.  The fixed packages will be integrated in the upcoming
OpenWrt 18.06.8 and OpenWrt 19.07.2 releases.  Older versions of OpenWrt (e.g.
OpenWrt 15.05 and LEDE 17.01) are end of life and not supported any more.


CREDITS

This issue was identified by Ilja Van Sprundel and code fix was implemented by
Paul Mackerras.


REFERENCES

1. https://openwrt.org/advisory/2020-02-21-1


signature.asc
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] R: Next maintenance releases

2020-02-21 Thread ansuelsmth
> Hi,
> 
> I'd like to release 19.07.2 and 18.06.8 sometime between Sun 23rd and
> Tue 25th. If you have pending important fixes you like to see backported
> to the respective branches please do so ASAP or mention the commits in a
> reply to this mail.
> 
> 
> Regards,
> Jo
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

https://github.com/openwrt/openwrt/pull/2769
Can this be merged?  It fix important performance problem for ipq806x


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] R: Next maintenance releases

2020-02-21 Thread ansuelsmth
> Hi,
> 
> I'd like to release 19.07.2 and 18.06.8 sometime between Sun 23rd and
> Tue 25th. If you have pending important fixes you like to see backported
> to the respective branches please do so ASAP or mention the commits in a
> reply to this mail.
> 
> 
> Regards,
> Jo
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Can this be merged? It has been tested for long time and fix
some performance problem on ipq806x soc

https://github.com/openwrt/openwrt/pull/2769



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Next maintenance releases

2020-02-21 Thread Karl Palsson

Jo-Philipp Wich  wrote:
> Hi,
> 
> I'd like to release 19.07.2 and 18.06.8 sometime between Sun
> 23rd and Tue 25th. If you have pending important fixes you like
> to see backported to the respective branches please do so ASAP
> or mention the commits in a reply to this mail.

I would very much like to see
https://bugs.openwrt.org/index.php?do=details_id=2833 merged
(it contains a fix and tests) for 19.07, as it fixes a regression
in behaviour there. (umdns stopped working)

I've tested the fix locally at least

Sincerely,
Karl Palsson

OpenPGP-digital-signature.html
Description: OpenPGP Digital Signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Next maintenance releases

2020-02-21 Thread Jo-Philipp Wich
Hi,

I'd like to release 19.07.2 and 18.06.8 sometime between Sun 23rd and
Tue 25th. If you have pending important fixes you like to see backported
to the respective branches please do so ASAP or mention the commits in a
reply to this mail.


Regards,
Jo

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel