Re: [PATCH] fw4: add masquerade-prefix snat type

2025-01-12 Thread Michael Richardson
Hi, I understand the that this does *NPTv6* RFC6296 when forwarding traffic with source addresses that do not fit into the uplink ISP. You've called this masquerade-prefix, and I think that will confuse people into thinking it's like "NAT44" aka NAPT, when it's different. signature.asc Descri

Re: OpenWrt meeting November 2024

2024-11-28 Thread Michael Richardson
Denver Gingerich wrote: > However, I did confirm with my contact at Banana Pi today that these are the best canonical links for now: > * https://www.aliexpress.com/item/1005007795779282.html - fully assembled with case (US$89) > * https://www.aliexpress.com/item/1005008143000598.ht

Re: OpenWrt meeting November 2024

2024-11-27 Thread Michael Richardson
Paul Spooren wrote: > - Available for purchase on AliExpress. Is this the URL: https://www.aliexpress.com/item/1005007870205805.html?spm=a2g0o.productlist.main.3.278c52a4JYaaPm&algo_pvid=fc7fd612-711e-4ca0-894f-6d2692690fa8&algo_exp_id=fc7fd612-711e-4ca0-894f-6d2692690fa8-1&pdp_npi=4%40dis%2

Re: ULA prefix lifetime

2024-11-21 Thread Michael Richardson
Michael Richardson wrote: > chriss wrote: >> I happens that I have to reconnect my VDSL (update of router, tripped over >> cable, whatever) - with that I get a new IPv6 prefix delegated. Now my >> clients have 2 prefixes/addresses. The old o

Re: ULA prefix lifetime

2024-11-20 Thread Michael Richardson
ht to automatically deprecate GUAs that go away when they are not renewed after a network outage. -- Michael Richardson. o O ( IPv6 IøT consulting ) Sandelman Software Works Inc, Ottawa and Worldwide signature.asc Description: PGP signature

[PATCH] mxs: fix image generation for I2SE Duckbills

2024-09-15 Thread Michael Heimpold
there. Signed-off-by: Michael Heimpold --- target/linux/mxs/image/Makefile | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index fff7e7ca3325..468eca324879 100644 --- a/target/linux

Re: measured boot / fTPM and OpenWrt One

2024-05-10 Thread Michael Richardson
Daniel Golle wrote: >> Well, that's certainly true. It is not always possible to talk to the >> outside world from inside that initial boot enclave. That's the detail that >> we need. >> Do we even have a spare GPI(o) pin that can be used for this? >> (It can't be used for

measured boot / fTPM and OpenWrt One

2024-05-10 Thread Michael Richardson
Daniel Golle wrote: > On Mon, Apr 29, 2024 at 03:04:37PM -0400, Michael Richardson wrote: >> >> {sorry for the long delay, been unwell} >> >> Bjørn Mork wrote: >> > Maybe it is possible to deploy the system with secure boot and a

Re: OpenWrt One / project update

2024-04-29 Thread Michael Richardson
t; supported, including playing with the BL2 code etc. It won't work that way. If someone can easily turn off secure boot, then so can malware. I hope we can go the other way. I'm willing to do the legwork, and I can sign an NDA if necessary, and then communicate what needs to be said.

Re: OpenWrt One / project update

2024-04-14 Thread Michael Richardson
Bjørn Mork wrote: > Michael Richardson writes: >> Having orange and red pieces "secured" *does* mean that u-boot updates would >> have to come from openwrt. > Does it? Is it possible to modify the BL2 to verify signatures of the > BL31 and

Re: OpenWrt One / project update

2024-04-12 Thread Michael Richardson
oot (the u-boot checks the signature) linux kernel, then nobody could change their kernel. -- Michael Richardson. o O ( IPv6 IøT consulting ) Sandelman Software Works Inc, Ottawa and Worldwide signature.asc Description: PGP signature __

Re: OpenWrt One / project update

2024-04-12 Thread Michael Richardson
the OAM board manufacturer, it just doesn't work out. ps: I'm willing to operate and secure the PK *I* junk that is needed to make this all work. It won't pass PCI on round one, but I'm sure if that was important, it could be done. -- ] Never tell me th

Re: OpenWrt One / project update

2024-04-12 Thread Michael Richardson
John Crispin wrote: > On 12.04.24 15:30, Michael Richardson wrote: >> Is the MT7981B specification available publically at this point? >> >> I can find a 7986 sheet on hackaday, but who knows how it differs (marketing >> people and their numbe

Re: OpenWrt One / project update

2024-04-12 Thread Michael Richardson
Is the MT7981B specification available publically at this point? I can find a 7986 sheet on hackaday, but who knows how it differs (marketing people and their numbers) signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-d

Re: OpenWrt One / project update

2024-04-08 Thread Michael Richardson
Bjørn Mork wrote: > Michael Richardson writes: >> I'd really like to find a way to work with your manufacturer to get an >> IDevID certificate into each unit as it is manufacturered. > For those of us who are not going to pay USD 100 for a document we

Re: OpenWrt One / project update

2024-04-04 Thread Michael Richardson
Thank you for the update. I'd really like to find a way to work with your manufacturer to get an IDevID certificate into each unit as it is manufacturered. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-12 Thread Michael Richardson
Bjørn Mork wrote: > antennas. I realize that such a case will be relatively expensive. But > without it all you have is yet another midrange dev board. This is > your chance to make a device which shouts "OpenWrt!!!" whenever someone > sees it. Just like the original WRT did. N

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-11 Thread Michael Richardson
Dave Taht wrote: > So I at least do not feel a huge urge to get on the 6ghz bandwagon at > this time. I would actually, be happy cutting even more multiplexing > latency out of the ath9k chips, and there is much fat left to be cut > from the mt79 also, and the benefits of many peo

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread Michael Richardson
that 100km drive to visit the device. I would appreciate a switch chip, since that lets us do DSA and different things with different ports, but I can live without it. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software

Best way to start unprivileged service

2024-01-02 Thread W. Michael Petullo
I am packaging a service which I would like to run as an unprivileged user. This server does not support opening its ports before dropping its privileges. I would like the service to listen on a privileged port (i.e., <1024). What is the best way to accomplish this on OpenWrt? I have been looking

Re: Packages buildbot is erratic, both master and 23.05 packages fail often

2023-06-04 Thread Michael Pratt via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi all, > > Looking at that obser

Re: bcm27xx: squashf/f2fs sysupgrade broken because overlay is not padded/erased

2023-05-17 Thread Michael Richardson
td, but mmc. So this would require even more in detail knowledge I > don't have. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.

Re: Ethernet switch with linux/openwrt and DSA

2023-04-03 Thread Michael Richardson
Janusz Dziedzic wrote: >> > Finally buy: D-LINK DGS-1210-48 G1. >> > Also - HP 1920-24G JG924A works correctly. > But what about future? Is there any new device we can buy and use > openwrt there? Or even 2.5Gbps/5Gbps? > So far just buy used/older devices. mcr> Is

Re: Ethernet switch with linux/openwrt and DSA

2022-12-23 Thread Michael Richardson
> Finally buy: D-LINK DGS-1210-48 G1. Is this a device that is still for sale? I have some control plane things that I'd like to test on a variety of switches. I using the Zyxel GS1900 now. signature.asc Description: PGP signature ___ openwrt-dev

[PATCH v2] image: fix device profile specific COMPILE targets

2022-12-07 Thread Michael Pratt via openwrt-devel
el loaders") Fixes: a7fb589e8 ("image: always rebuild kernel loaders") Signed-off-by: Michael Pratt --- include/image.mk | 8 ++-- rules.mk | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index e9dc53f82e

[PATCH] image: fix device profile specific COMPILE targets

2022-11-21 Thread Michael Pratt via openwrt-devel
ixes: a01d23e75 ("image: always rebuild kernel loaders") Fixes: a7fb589e8 ("image: always rebuild kernel loaders") Signed-off-by: Michael Pratt --- include/image.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/image.mk b/include/image.mk index e9dc53f82e..575d

[PATCH] build: touch stampfile after subtarget run

2022-10-26 Thread Michael Pratt via openwrt-devel
if defined, when the subtarget has completed successfully. A small amount of build time is expected to be saved when rebuilding after 'make clean' or an interruption. Signed-off-by: Michael Pratt --- include/subdir.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/subdir

Re: Security changes - restricting uhttpd addresses

2022-10-25 Thread Michael Richardson
sts might need to know, such as seeing the status page to see if the network is up. > It might also be better if uhttpd could be configured to bind > to a specific interface rather than knowing its IP upfront, but > that might be impractical. It's totally impractical. -- M

Re: qoriq: Problem with u-boot compilation (dual arch issue)

2022-10-06 Thread Michael Richardson
Paweł Dembicki wrote: > I am preparing support for the T4240RDB board. But I'm stuck with one > problem: > Qoriq target is powerpc64. But T4240RDB in u-boot is supported as > mpc85xx family and requires a 32-bit compiler. Seems like you might need to just use two build trees.

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-09 Thread Michael Richardson
Jo-Philipp Wich wrote: > Bluntly speaking, DSA is the thing that gives you one Linux network > device per switch port and bridge VLAN filtering is the stuff that > allows you declaring swconfig-esque VLAN port groups on top of an > arbitrary bridge interface. .. > Another con

Re: [PATCH] base-files: Don't enable ULA IPv6 addresses by default in new config

2022-09-08 Thread Michael Richardson
ping the internet. "so I suppose IP assignment is fine." But they weren't because the router didn't assign a v6 prefix to the LAN. Having ULAs available is critical to efforts to do HTTPS to the router. Please do not change this default. -- Michael

Re: [PATCH] base-files: Don't enable ULA IPv6 addresses by default in new config

2022-09-08 Thread Michael Richardson
> Baptiste Jonglez writes: > ULA IPv6 prefixes (Unique Local Addresses, RFC 4193) are not routable > on the Internet. As such, they have very limited use, and enabling > them by default causes more problems than it solves: > - if an OpenWrt device already has external IPv6 c

Re: Help unbricking AC750

2022-06-18 Thread Michael Fuckner
I'd solder pins and connect to serial console and try if this still works HT, Michael! Am 18/06/2022 um 17:59 schrieb Luca Bertoncello: Am 18.06.2022 um 17:55 schrieb Brice GIBOUDEAU: Try the recovery procedure detailed on the device page. (Tftp, recovery). I tried it, but no TFTP-Se

Re: [PATCH/RFC] kernel-defaults.mk: get rid of BuildID

2022-04-05 Thread Michael Richardson
please forgive me stupidity, I couldn't understand the last part of your recommendation: Daniel Golle wrote: > Hence, to achieve reproducible builds we will either have to resort to > identical containers/VMs for building or get rid of the BuildID hash > alltogether (or use a differ

Re: Switch issues and CI to GitHub

2022-01-20 Thread Michael Richardson
Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/| ruby on rails[ signature.asc Description: PGP signature ___

Re: Switch issues and CI to GitHub

2022-01-19 Thread Michael Richardson
Thank you for this great report! I did not know codeberg existed, but when I looked, discovered I already had a login! I would go with codeberg. It's okay that many community repos are on git, git makes cloning easy. Who is funding codeberg, and how stable is that funding? "Codeberg is not a co

Re: Support for Google Onhub devices

2022-01-12 Thread Michael Richardson
operations more sustainable, inspiring others to follow. " if Google could just turn over/upstream their code base. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@s

Re: uml: drop target

2021-10-10 Thread Michael Richardson
I haven't used the UML target in the past year, but I have used it a lot before. The ability to do hostfs mounts is very nice. If it went away, I'd be sad, it's not a disaster as you say. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Mic

Re: Release goals for 22.XX

2021-09-30 Thread Michael Richardson
Rich Brown wrote: > - Having a firm feature freeze date decreases stress. If a particular > feature is done/substantially working, it goes in. If it's not quite > ready, it can skip this release, and get into the next release. (The > alternative is what I think happened with DSA.

Re: edgerouter-x DSA switch does not forward bridge-in-bridge packets correctly

2021-08-29 Thread Michael Richardson
oading. Why do you configure this with two layers of bridge? I think that bridge1 is hardware offloaded, right? -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.c

[PATCH] ramips: fix ethernet MAC address on Omega2

2021-08-18 Thread Michael Siegenthaler via openwrt-devel
ve existing behavior. In my testing with v19.07.7, however, the MAC address determined from the device tree takes precedence over the one set by 02_network, so the aforementioned commit actually changed the behavior. Signed-off-by: Michael Siegenthaler diff --git a/target/linux/ramips/dts/mt7628an

Re: Enabling Wi-Fi on First boot

2021-07-08 Thread Michael Richardson
ment on how to do better/secure onboarding. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/| ruby on rails[

Re: Enabling Wi-Fi on First boot

2021-07-06 Thread Michael Richardson
est having a standard names .json file that can be fed into uci in some way. I think that this solves a lot problems. Have to make sure that vfat support is included in the base image because... users. -- ] Never tell me the odds! | ipv6 mesh networks [ ]

Re: Enabling Wi-Fi on First boot

2021-07-06 Thread Michael Richardson
process will not satisfy the UK and US regulations on it's own. Would a (secret) key hash of the MAC address satisfy it? The UK https://www.ncsc.gov.uk/ people I spoke with said that it would technically satisfy https://www.etsi.org/deliver/etsi_en/303600_303699/303645/02.01.01_60/en_303645v020101

Re: Enabling Wi-Fi on First boot

2021-07-06 Thread Michael Richardson
Enrico Mioso wrote: > I wasn't sure about uci-defaults being the correct way to do it - I was > under the impression it could happen that my script gets ran when it's > too early and /etc/config/wireless hasn't been generated yet. > If this isn't the case, then I think it's fine!

Re: [19.07.7] failed to sysupgrade the newifi router

2021-06-24 Thread Michael Richardson
en you should ahve the public key you can copy over. I think that sysupgrade also an option to skip the check, but I can't double check that from my laptop at the moment. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Sof

[PR#4111] mt7620: fix ethernet with external switches

2021-05-22 Thread Michael via openwrt-devel
same issue, (for example PR#4112). I have tested the patches on a board with an external switch, and one without. Several others have also tested the patches (see discussion in the PR). Thanks, Michael Pratt --- End Message --- ___ openwrt-devel ma

Re: ath79: Fix for Mikrotik NAND bad blocks - testers needed

2021-03-22 Thread W. Michael Petullo
> So now I'm looking for testers (and reviewers) who could test this change on > the affected devices (with bad blocks) and NOR Mikrotiks. Also, a word from > OpenWrt maintainers if this is the acceptable approach - there is not much > choice, alternatives would be include porting U-Boot, a task wi

Build openwrt with clang

2021-03-06 Thread Michael Fuckner
Hi, I'm not exactly sure if this is trivial or totally insane- I have the idea to compile the whole openwrt with clang instead of gcc. I could not get a point to start at. Can you help me? Any hints? Regards, Michael! ___ openwrt-devel ma

Re: New layerscape/aarch64 board

2021-02-15 Thread Michael Walle
Hi Mathew, Am 2021-02-15 01:28, schrieb Mathew McBride: On Sat, Feb 13, 2021, at 2:13 AM, Michael Walle wrote: Hi, I am looking into how to bring openwrt support for my board (Kontron sl28) upstream. The board has upstream support in both vanilla linux (since 5.8) and vanilla u-boot. Someone

New layerscape/aarch64 board

2021-02-12 Thread Michael Walle
in the device trees. But that would mean the kernel image will bloat over time. I don't know if that is a major issue, given that most aarch64 boards should have enough storage and memory. -michael ___ openwrt-devel mailing list openwrt

Deprecate snort in favor of snort3

2021-01-31 Thread W. Michael Petullo
OpenWrt provides two snort packages: snort and snort3. Now that snort3 is out of beta, I would like to consider deprecating the snort package. One difficulty of maintaining both packages is that a different version of the libdaq package is required for each. The two versions cannot coexist, and thi

[PATCH] ath10k-ct: update to latest version

2021-01-22 Thread Michael Yartys
Changelog: - ath10k-ct: Pull in some upstream patches. Runtime-tested on ipq806x (Netgear R7800). Signed-off-by: Michael Yartys --- package/kernel/ath10k-ct/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel

Re: [PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Michael Richardson
Stijn Segers wrote: > Op woensdag 6 januari 2021 om 11u22 schreef Michael Richardson > : >> The 1900-8/8HP are discontinued by ZyXEL, but the GS1900-16 and 24E seem to >> still be in production. > How do you know? At least the 8 and 8HP are still be

Corruption in ext4 root

2020-12-15 Thread W. Michael Petullo
I have a peculiar use case for OpenWrt: an image with an ext4 root filesystem running on Xen as a DomU. I often find the OpenWrt image's root filesystem corrupt after running "poweroff" and then restarting the DomU VM. I have gone as far as to activate CONFIG_TARGET_EXT4_JOURNAL, but this does not

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-22 Thread W. Michael Petullo
> I think that if the first setup is done with only the router and the trusted > PC connected to it through an ethernet cable (wifi is disabled by default), > there is physically nothing else on that "network" so whatever you see can > be accepted even if you don't have "dual authentication" with t

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-20 Thread W. Michael Petullo
I think making use of self-signed certificates in production is a bad idea because (1) it reinforces poor practices, namely electing to trust a self-signed certificate and (2) it does not authenticate the server/router, a critical piece of the TLS security model. >>> maybe, but

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-20 Thread W. Michael Petullo
>> I think making use of self-signed certificates in production is a bad >> idea because (1) it reinforces poor practices, namely electing to trust >> a self-signed certificate and (2) it does not authenticate the >> server/router, a critical piece of the TLS security model. > maybe, but it's sti

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-20 Thread W. Michael Petullo
I think making use of self-signed certificates in production is a bad idea because (1) it reinforces poor practices, namely electing to trust a self-signed certificate and (2) it does not authenticate the server/router, a critical piece of the TLS security model. My point of view is that we should

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-19 Thread Michael Richardson
e working meetings if the group wants. The need for a PPPoE username/password is one of the challenges. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://ww

Re: SAD DNS cache poisoning attack

2020-11-15 Thread Michael Richardson
long run. -- Michael Richardson. o O ( IPv6 IøT consulting ) Sandelman Software Works Inc, Ottawa and Worldwide signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

Re: Re: Reliable way to get channel width from wifi scan

2020-11-09 Thread Michael Gray
Using iw scan? We've done this in the spectrum analyser plugin in Gargoyle [1]. It's not what i would call reliable though as iw itself specifically says not to screen scrape the data. That being said, it has worked for several years now. [1] - https://github.com/ericpaulbishop/gargoyle/blob/mast

MikroTik RouterBOARD with bad blocks free for OpenWrt developer

2020-11-01 Thread W. Michael Petullo
I have two MikroTik RouterBOARDs whose bad blocks seem to prevent the devices from holding onto OpenWrt. I would be willing to provide these to an OpenWrt developer for free (I would prefer if you are willing to pay shipping). Both boards boot 19.07.04 fine over DHCP. Please email me if interested

Support for Turris Omnia 2019/2020

2020-10-26 Thread W. Michael Petullo
I have found that Klaus Kudielka's patch to add support for the Turris Omnia 2019/2020 both necessary and sound: https://github.com/openwrt/openwrt/pull/2693 Adrian Schmutzler already merged some of Klaus' work, but it is not clear to me what hurdles remain, if anything. Would someone kin

Re: A proposal of https certificate assignment system for luci

2020-10-10 Thread Michael Richardson
some configurable service to periodically download and install certificates > from an external host might be desirable (that's how I do it with my NAS > boxes at home). You need a name is DNS, then it's just a dns-01 challenge. -- ] Never tell me the odds!

Re: A proposal of https certificate assignment system for luci

2020-10-06 Thread Michael Richardson
routers are critical parts of the home IoT ecosystem. OpenWRT is shipped in millions of devices by manufacturers too lazy to bother doing much. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelma

Re: A proposal of https certificate assignment system for luci

2020-10-05 Thread Michael Richardson
the OpenWRT LuCI interface. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/| ruby on rails[ signature.asc

Re: A proposal of https certificate assignment system for luci

2020-10-05 Thread Michael Richardson
vents. (The MOX has a private key that is stored across such events, for instance) -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/

Re: A proposal of https certificate assignment system for luci

2020-10-05 Thread Michael Richardson
often wifi), this won't work that well. > now user only have to check : > 1. page has valid certificate > 2. the subdomain is match with device's ssh host key > and this verify  it's the device we wanted. -- ] Never tell me the odds!

Re: [PATCH 4/5] initd: Don't search the environment list if the watchdog, fd is initialized

2020-09-29 Thread Michael Jones
On Tue, Sep 29, 2020 at 1:59 PM John Crispin wrote: > > > On 29.09.20 20:55, Michael Jones wrote: > > On Tue, Sep 29, 2020 at 1:47 PM John Crispin wrote: > >> > >> On 29.09.20 18:22, Michael Jones wrote: > >>> Signed-off-by: Michael Jones > >

Re: [PATCH 4/5] initd: Don't search the environment list if the watchdog, fd is initialized

2020-09-29 Thread Michael Jones
On Tue, Sep 29, 2020 at 1:47 PM John Crispin wrote: > > > On 29.09.20 18:22, Michael Jones wrote: > > Signed-off-by: Michael Jones > > --- > > watchdog.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/watch

[PATCH 1/5] initd: Add ubus argument to trigger watchdog tickle.

2020-09-29 Thread Michael Jones
Signed-off-by: Michael Jones ---  system.c | 5 +  1 file changed, 5 insertions(+) diff --git a/system.c b/system.c index 0fb98f1..ef7943a 100644 --- a/system.c +++ b/system.c @@ -325,6 +325,7 @@ enum { WDT_TIMEOUT, WDT_MAGICCLOSE, WDT_STOP, +    WDT_TICKLE, __WDT_MAX

[PATCH 5/5] initd: Convert the watchdog_fd return value from char* to int

2020-09-29 Thread Michael Jones
This change improves the frequently called path of determining if the watchdog is alive when responding to ubus transactions at the expense of complicating the less frequently called code of transitioning to the upgraded binary, and transitioning from pre-init to procd. Signed-off-by: Michael

[PATCH 2/5] initd: Re-use the watchdog_set_cloexec() function from, watchdog_open()

2020-09-29 Thread Michael Jones
Signed-off-by: Michael Jones ---  watchdog.c | 3 +--  1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/watchdog.c b/watchdog.c index 9d770b4..20b6e20 100644 --- a/watchdog.c +++ b/watchdog.c @@ -65,8 +65,7 @@ static int watchdog_open(bool cloexec) if (wdt_fd < 0)     ret

[PATCH 3/5] initd: Ensure that watchdog frequency changes apply right away

2020-09-29 Thread Michael Jones
If the watchdog frequency is changed from high to low, the watchdog won't be tickled again until the previous period has expired, which may result in a watchdog timeout. This change ensures that the new frequency is applied immediately. Signed-off-by: Michael Jones ---  watchdog.c | 1 +  1

[PATCH 4/5] initd: Don't search the environment list if the watchdog, fd is initialized

2020-09-29 Thread Michael Jones
Signed-off-by: Michael Jones ---  watchdog.c | 4 ++--  1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/watchdog.c b/watchdog.c index 20830c3..ac5b656 100644 --- a/watchdog.c +++ b/watchdog.c @@ -49,11 +49,11 @@ static void watchdog_timeout_cb(struct uloop_timeout *t)    static int

[PATCH 0/5] Improvements to the hardware watchdog code of procd

2020-09-29 Thread Michael Jones
This set of patches makes various minor improvements to the hardware watchdog code of procd. The first patch adds a new feature to allow the watchdog to be manually tickled via ubus. The other patches are minor optimizations and improvements. Michael Jones (5):   initd: Add ubus argument to

Re: [RFC] self-signed certificates for LuCI

2020-08-31 Thread Michael Richardson
I'd pick one of the brainpool curves: will browsers support them, I have no idea. EdDSA is really a different algorithm, and browsers do not support them yet. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works

Re: [RFC] self-signed certificates for LuCI

2020-08-31 Thread Michael Richardson
Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/| ruby on rails[ signature.asc Description: PGP signature __

Re: [RFC] self-signed certificates for LuCI

2020-08-31 Thread Michael Richardson
Paul Spooren wrote: > On 30.08.20 12:32, Michael Richardson wrote: >> Paul Spooren wrote: >> > I recently rewrote px5g[1] to use WolfSSL instead of MbedTLS, as the former >> > will be included in OpenWrt 20.x per default. >> >

Re: [RFC] self-signed certificates for LuCI

2020-08-30 Thread Michael Richardson
based tool? uhm, okay. I can live with that for sure. I care more about what's in the certificate than the algorithm. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelm

UCI: Making a config read-only?

2020-08-26 Thread Michael Jones
I wish to make a configuration file read-only in UCI. I tried to do this by bind-mounting the default config for it in /rom onto the file in /etc/config. However, while this does prevent changes to that config from persisting across reboots, it doesn't prevent changes from showing up in, e.g. "uc

documenting proc_add_mdns for multiple things

2020-08-16 Thread Michael Richardson
#x27;t operate with the /usr/share/libubox/jshn.sh. But, whatever. In the end, I've managed to create a file for /etc/umdns/foo.json which does what I needed, and I'd like to document that better. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Mic

Controlling host routes via ubus / netifd

2020-08-12 Thread Michael Jones
Hi List. I am trying to control the routes on my OpenWRT system programmatically, and would like to know if this is possible to do via ubus and netifd. I've located the ubus target "ubus call network add_host_route '{"interface":"wan", "target":"1.0.0.0"}'" However, it does not seem to actually d

Re: jsonfilter and queries with '-' in them

2020-08-12 Thread Michael Jones
Thanks. That works. Could you write a little bit about the underlying cause of this just so I can understand better? On Wed, Aug 12, 2020 at 3:59 PM Jo-Philipp Wich wrote: > > Hi, > > as already implied by Dirk, you need to use bracket notation for labels that > are not valid variable identifier

jsonfilter and queries with '-' in them

2020-08-12 Thread Michael Jones
Hi List, I am trying to query netifd via ubus for the list of ipv4 ipaddresses associated with an interface. Currently my query looks like ubus call network.interface.wan status | jsonfilter -e "@.ipv4-address" Syntax error: Invalid escape sequence In expression @.ipv4-address Near here

[PATCH v2] ath10k-ct-firmware: update firmware

2020-08-11 Thread Michael Yartys
Fix at least one rare wave-2 crash. Tested on R7800. Signed-off-by: Michael Yartys --- package/firmware/ath10k-ct-firmware/Makefile | 60 ++-- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware/ath10k

[PATCH] binutils: fix build after upgrade to 2.34

2020-08-09 Thread W. Michael Petullo
From: "W. Michael Petullo" Building the binutils package produced the following error: Package binutils is missing dependencies for the following libraries: libctf-nobfd.so.0 This changes the glob for the libctf subpackage so that it catches libctf-nobfd.so.0. Signed-off-by:

Re: [PATCH procd] initd/init: add minimal SELinux policy loading support

2020-08-09 Thread W. Michael Petullo
[...] > This is part of a bigger PR on GitHub[1], however this patch should be > added directly to `procd` rather than as a patch in openwrt.git. [...] I will update the GitHub pull request once this is merged. Thank you, Paul! -- Mike :wq ___ open

[PATCH] ath10k-ct-firmware: update firmware

2020-08-06 Thread Michael Yartys
Fix at least one rare wave-2 crash. Tested on R7800. Signed-off-by: Michael Yartys --- package/firmware/ath10k-ct-firmware/Makefile | 56 ++-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware/ath10k

Notes on ath79 RouterBoard 493G image

2020-07-31 Thread W. Michael Petullo
I have some feedback about the ATH79 RouterBoard 493G image built from master, as documented at: https://github.com/openwrt/openwrt/pull/3026 First, I was unable to update to the sysupgrade image at: https://downloads.openwrt.org/snapshots/targets/ath79/mikrotik/openwrt-ath79-mi

Re: dm-verity support

2020-07-29 Thread W. Michael Petullo
> Security sounds fun. Should I just compile the patches and flash on a > device? > > Any concrete test cases to see if it did work? Would any router work or do I > need some flagship x86 device? Please see https://github.com/openwrt/openwrt/pull/3207#issuecomment-660555489 for the step

Re: dm-verity support

2020-07-29 Thread W. Michael Petullo
>>> I'm sorry, and although I fear a similar fate will hit the SELinux >>> effort, I still hope you will not feel repelled and continue to >>> contribute to OpenWrt in the future. >> That would be a shame. I stepped up to help Thomas revise his SELinux >> patches for inclusion, and I did a fair am

Re: dm-verity support

2020-07-29 Thread W. Michael Petullo
> I'm sorry, and although I fear a similar fate will hit the SELinux > effort, I still hope you will not feel repelled and continue to contribute > to OpenWrt in the future. That would be a shame. I stepped up to help Thomas revise his SELinux patches for inclusion, and I did a fair amount of work

Re: SELinux on OpenWrt

2020-07-18 Thread W. Michael Petullo
> I am very interested in Thomas Petazzoni's work to add SELinux > support to OpenWrt. I spent some time today trying to reproduce his > build. I found a few things needed updating, so I wanted to share my > results here. I updated Thomas' work, and I made my updates available at: https://github.

[PATCH] ath10k-ct-firmware: update firmware images

2020-07-14 Thread Michael Yartys
Fix at least one rare wave-2 crash. Signed-off-by: Michael Yartys --- package/firmware/ath10k-ct-firmware/Makefile | 56 ++-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware/ath10k-ct-firmware

[PATCH] ath10k-ct-firmware: update firmware images

2020-07-14 Thread Michael Yartys
From: Michael Yartys Fix at least one rare wave-2 crash. Signed-off-by: Michael Yartys --- package/firmware/ath10k-ct-firmware/Makefile | 56 ++-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware

[RFC PATCH] Splitting auth_cache

2020-07-14 Thread Michael Yartys
Currently both PMKSA caching and Opportunistic Key Caching are set by the option auth_cache. iOS devices are unable to connect to WPA3-Personal networks when PMKSA caching is not enabled, but setting auth_cache to 1 also enables Opportunistic Key Caching which is not required. This doesn't seem to

[RFC PATCH 1/2] hostapd: split auth_cache into individual components

2020-07-14 Thread Michael Yartys
Split auth_cache into pmksa_cache (PMKSA caching) and okc (Opportunistic Key Caching) to enable setting these options individually. Signed-off-by: Michael Yartys --- .../network/services/hostapd/files/hostapd.sh | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff

[RFC PATCH 2/2] hostapd: disable okc by default on WPA3-Personal networks

2020-07-14 Thread Michael Yartys
g for WPA3-Personal") Signed-off-by: Michael Yartys --- package/network/services/hostapd/files/hostapd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 644bad2

  1   2   3   4   5   6   7   8   9   10   >