PATCH libubox: arg checking and examples

2020-06-30 Thread Karl Palsson
Minor tweaks to hopefully help people avoid some sharp corners. Patches 2 and 3 are optional, and have no functional change, but IMO make the code easier to follow for subsequent developers. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.o

Re: [PATCH 1/3] build: add libustream and certs to default pkgs

2020-08-28 Thread Karl Palsson
ssl also trigger uhttpd to generate self signed certs? That's still (IMO) a major step backwards while browsers still obstinately treat them as insecure. That could be _separated_ of course.... Sincerely, Karl Palsson OpenPGP-digital-signature.html Descriptio

Re: [PATCH 2/3] build: sort default packages and split by newlines

2020-08-28 Thread Karl Palsson
ng the \ right, and adding entries at the end doesn't break things? DEFAULT_PACKAGES+=base-files DEFAULT_PACKAGES+=busybox DEFAULT_PACKAGES+=ca-bundle . Sincerely, Karl Palsson > > Signed-off-by: Paul Spooren > --- > include/target.mk | 35

Re: [RFC] self-signed certificates for LuCI

2020-09-01 Thread Karl Palsson
icing usability and user experience for security theatre and the checkbox marketting of "TLS out of the box" Should we have more documentation on how you _could_ setup secure HTTP access? Sure! But this isn't it. Sincerely, Karl Palsson * Yes, I completely agree, the browser vendor

Re: [PATCH] uhttpd: Increase default certificate validate from 2 to 10 years

2020-09-01 Thread Karl Palsson
chromium is that HTTP will be marked as insecure, but not with the click through horror show of self signed certs. https://www.chromium.org/Home/chromium-security/marking-http-as-non-secure Sincerely, Karl Palsson OpenPGP-digital-signature.html Description: OpenPGP Digital Signature _

Re: [PATCH] uhttpd: Increase default certificate validate from 2 to 10 years

2020-09-02 Thread Karl Palsson
e/network/services/uhttpd/files/uhttpd.config;h=39089ca25b34bfdcc065682360030e3d3d6433ac;hb=HEAD#l13 This then forces the self signed problematic behaviour anyway. Sincerely, Karl Palsson OpenPGP-digital-signature.html Description: OpenPGP Digital Signature

Re: [PATCH 1/2] build: ipkg-build add -r option for all-root

2020-09-05 Thread Karl Palsson
Paul Spooren wrote: > > diff --git a/scripts/ipkg-build b/scripts/ipkg-build > index e3a9a882cf..38149c4432 100755 > --- a/scripts/ipkg-build > +++ b/scripts/ipkg-build > @@ -1,5 +1,7 @@ > #!/bin/sh > > +set -x > + Do you mean to have this in the patch? Si

Re: [PATCH] ath25: fix preinit Ethernet port configuration

2020-09-10 Thread Karl Palsson
> new interface, but in fact the iplink.c have the following code > in the interface creation handler: > > /* Allow "ip link add dev" and "ip link add name" */ > >if (!name) > >name = dev; > Relying on undocumented behav

Re: [rpcd PATCH 3/4] rc: add option to skip running check for list method

2023-02-01 Thread Karl Palsson
info is not needed. > > With the option set to true the execution time lower to just > 5ms. Can I ask what you're doing that you are calling ubus service list so often that 70ms vs 5ms is meaningful? You're complicating APIs and adding code for what seems wildly unnecessary? Sin

Re: [rpcd PATCH 3/4] rc: add option to skip running check for list method

2023-02-01 Thread Karl Palsson
Christian Marangi wrote: > On Wed, Feb 01, 2023 at 10:50:24AM -0000, Karl Palsson wrote: > > > > > > > > Christian Marangi wrote: > > > Running check may be slow and increase result time in the other > > > of 70ms for the list method. > &

[OpenWrt-Devel] [PATCH] [atheros] Restore gpio buttons functionality broken in AA

2013-04-08 Thread Karl Palsson
From: Karl Palsson Backfire had working gpio buttons on atheros, but it's broken in AA, presumably due to gpiolib changes With the following changes hotplug button events are properly generated again in trunk. This patch should also be applied to the AA branch, as it's a regre

Re: [OpenWrt-Devel] Preferred next steps for restoring functionality to atheros platform (Engenius, Open Mesh)?

2013-04-11 Thread Karl Palsson
n happy to test out any changes here for atheros platforms, but I only have the one type of atheros device, the dragino MS12, ar2317: http://wiki.openwrt.org/toh/dragino/ms12 Sincerely, Karl Palsson ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] Install ip_tunnel module if other modules need it.

2013-07-18 Thread Karl Palsson
On Thu, Jul 18, 2013 at 09:19:01AM +0200, Felix Fietkau wrote: > > + DEPENDS:=+kmod-iptunnel4 +kmod-ip_tunnel > As far as I know, "_" in package names can be problematic with opkg. > Please use "-" instead. It's working ok for us here, what do you mean by "problematic"? (And surely that should

[OpenWrt-Devel] [patch] [packages] Update mosquitto to 1.2

2013-08-22 Thread Karl Palsson
As before, I volunteer to be maintainer for this package. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] [packages] Update mosquitto to 1.2

2013-08-22 Thread Karl Palsson
From: Karl Palsson Updates mosquitto, the MQTT broker, and client libraries to version 1.2. Full changelog here: http://mosquitto.org/2013/08/version-1-2-released/ Added missing library depends to suit updated requirements in OpenWrt. Fixed missing symlinks. Signed-off-by: Karl Palsson

[OpenWrt-Devel] [PATCH] [packages] Update mosquitto to 1.2

2013-08-22 Thread Karl Palsson
From: Karl Palsson Updates mosquitto, the MQTT broker, and client libraries to version 1.2. Full changelog here: http://mosquitto.org/2013/08/version-1-2-released/ Added missing library depends to suit updated requirements in OpenWrt. Fixed missing symlinks. Signed-off-by: Karl Palsson

Re: [OpenWrt-Devel] Developing own packages with CMake

2013-09-12 Thread Karl Palsson
On Thu, Sep 12, 2013 at 05:55:33PM +0200, Yegor Yefremov wrote: > Hi, > > Another useful feature is "The source directory override mechanism" as > described here: http://free-electrons.com/blog/buildroot-2011-11/ Is > it planned to integrate such a feature? Just add the following line to your pac

[OpenWrt-Devel] [PATCH] [packages] mosquitto: Update from 1.2 to 1.2.2

2013-10-25 Thread Karl Palsson
From: Karl Palsson Updates mosquitto, the MQTT broker, and client libraries to version 1.2.2, from version 1.2.0. Changes are bugfixes, most relevant to OpenWrt being that the -nossl package variant actually builds again. This includes the full changes for 1.2.2: http://mosquitto.org/2013/10

[OpenWrt-Devel] [PATCH] Update mosquitto to 0.15

2012-06-21 Thread Karl Palsson
From: Karl Palsson Includes support for the luci-app-mosquitto package, if installed. Signed-off-by: Karl Palsson --- net/mosquitto/Makefile |4 ++-- net/mosquitto/files/mosquitto.init | 13 - 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/net

[OpenWrt-Devel] [PATCH] Add leds back after migration to sysfs

2012-07-06 Thread Karl Palsson
From: Karl Palsson atheros trunk moved to full sysfs gpiolib, but the leds were forgotten. This restores the wlan led that was missing after switching from backfire to trunk. Signed-off-by: Karl Palsson --- .../linux/atheros/base-files/etc/uci-defaults/leds | 11 +++ target/linux

[OpenWrt-Devel] [patch] upgrade mosquitto to v1.0.1

2012-08-16 Thread Karl Palsson
h in the future. Sincerely, Karl P >From e4ffb958829a71f3142b8080aa004b5458b7dbc1 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 16 Aug 2012 16:38:49 + Subject: [PATCH] Upgrade mosquitto MQTT tools to v1.0.1 Major changes since v0.15 currently in trunk * SSL/TLS support across the boar

Re: [OpenWrt-Devel] [PATCH] Add leds back after migration to sysfs

2012-08-27 Thread Karl Palsson
_LEDS_GPIO being unset in this > changeset from several years ago, with the comment specifically > referring to flash access errors. Is changeset r32885 a regression > then? > > https://dev.openwrt.org/changeset/16765/ > > On Fri, Jul 6, 2012 at 7:32 AM, Karl Palsson wrote: &

[OpenWrt-Devel] [patch] upgrade mosquitto to v1.0.3

2012-09-28 Thread Karl Palsson
Karl P >From e76162dc4a734f3085fba67030f11afd2b3b9c46 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 28 Sep 2012 13:48:39 + Subject: [PATCH] Upgrade mosquitto MQTT tools to v1.0.3 Major changes since v0.15 currently in trunk * SSL/TLS support across the board, broker, clients

Re: [OpenWrt-Devel] Atheros target development questions

2012-11-09 Thread Karl Palsson
On Fri, Nov 09, 2012 at 06:11:47AM -0500, Jonathan Bither wrote: > Good morning list, > I was writing to ask if there is a current maintainer for the Atheros > target that I may contact. > The reason that I ask is because I was contacted about a patch that I had > submitted prior in regards

[OpenWrt-Devel] [PATCH] [packages] mosquitto: Upgrade MQTT tools to v1.1

2013-01-04 Thread Karl Palsson
From: Karl Palsson This is a bugfix and feature release. Full release notes at http://mosquitto.org/2012/12/version-1-1-released/ This also removes some unnecessary flags included by mistake in an earlier update. As before, I volunteer to maintain this package. Signed-off-by: Karl Palsson

[OpenWrt-Devel] [PATCH] [packages] add PageKite C, and libev

2013-01-04 Thread Karl Palsson
From: Karl Palsson Adds the PageKite C implementation and it's dependency, libev. >From the package description: PageKite is a system for running publicly visible servers (generally web servers) on machines without a direct connection to the Internet, such as mobile devices or c

Re: [OpenWrt-Devel] [PATCH] [packages] mosquitto: Upgrade MQTT tools to v1.1

2013-01-11 Thread Karl Palsson
gs I think is still the right thing to do, it shouldn't have ever been included) Sincerely, Karl Palsson From 52aa88602601350456b816ddd877452c42532e59 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 4 Jan 2013 11:32:16 + Subject: [PATCH] [packages] mosquitto: Upgrade MQTT t

[OpenWrt-Devel] [PATCH] [mosquitto] Bump version to 1.1.2

2013-01-31 Thread Karl Palsson
From: Karl Palsson Fixes since 1.1: Fix crash on reload if using acl patterns. Fix tls_cert_reqs not being set to SSL_VERIFY_PEER by default. This meant that clients were not verifying the server certificate when connecting over TLS. This affects the C, C++ and Python libraries. Signed-off-by

[OpenWrt-Devel] [packages] Upgrade Mosquitto MQTT broker and tools

2014-01-03 Thread Karl Palsson
. Signed-off-by: Karl Palsson ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman

[OpenWrt-Devel] [PATCH] mosquitto: bump 1.2 to 1.2.3

2014-01-03 Thread Karl Palsson
From: Karl Palsson This includes UCI support for a new config option, bridge_tls_version. Add bridge tls vesion support Updates mosquitto, the MQTT broker, and client libraries to version 1.2.2, from version 1.2.0. Changes are bugfixes, most relevant to OpenWrt being that the -nossl package

[OpenWrt-Devel] [PATCH] Dragino2: add missing sysupgrade support.

2014-01-30 Thread Karl Palsson
From: Karl Palsson The original dragino2 board support was missing some changes from the upstream svn repository (http://svn.dragino.com/dragino2) that supported sysupgrade. Signed-off-by: Karl Palsson --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx

[OpenWrt-Devel] package maintainer request for mosquitto

2014-01-30 Thread Karl Palsson
for mosquitto since bd511b4dcb6725857a5518e3eb7e8ff496b6a517 in August 2011 I maintain this externally already at https://github.com/remakeelectric/owrt_pub_feeds but it would be nice to get it into OpenWrt a little faster at times. Sincerely, Karl Palsson ___ openwr

[OpenWrt-Devel] [PATCH] luaposix: Update source links and urls

2014-03-10 Thread Karl Palsson
From: Karl Palsson No functional change. The difference in the md5sum of the tarball is the inclusion of a .gitignore file in the github provided tarball. This change allows https://home.comcast.net/~sdwalker/uscan/index.html to more accurately track the state of this package, and includes

[OpenWrt-Devel] [PATCH] mosquitto: Update to v1.3.1

2014-04-02 Thread Karl Palsson
From: Karl Palsson Performance and compatibility fixes, asynch DNS in client libraries (requiring new dependency, libcares) Rollup of http://mosquitto.org/2014/03/version-1-3-1-released/ and http://mosquitto.org/2014/03/version-1-3-released/ Signed-off-by: Karl Palsson --- net

[OpenWrt-Devel] patch/rfc: enable agentx support in net-snmp's snmpd

2014-04-03 Thread Karl Palsson
could use mini-snmpd, but if I've chosen the full net-snmp package, I'd like to have it mostly functional :) Of course, this does make it marginally bigger, but is that really a problem? Also, should the agentx support be enabled by default or not? Cheers, Karl Palsson >From 5620f5c

[OpenWrt-Devel] [PATCH] package-version-override: Fix whitespace warnings

2014-04-04 Thread Karl Palsson
From: Karl Palsson PKG_BASE_NAME is not documented anywhere, and is only used in three lantiq packages, when constructing filenames for downloading. package/network/config/ltq-vdsl-app package/kernel/lantiq/ltq-vdsl-mei package/kernel/lantiq/ltq-vdsl Using the regular PKG_NAME makes the help

Re: [OpenWrt-Devel] [PATCH] [packages] add opentracker package

2014-04-23 Thread Karl Palsson
s a "good" example is a rather hard task. Sincerely, Karl Palsson ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ar71xx: abort building if there is failure when generating image.

2014-04-23 Thread Karl Palsson
On Wed, Apr 23, 2014 at 10:24:07PM +0800, Yousong Zhou wrote: > On 23 April 2014 21:40, Michel Stempin wrote: > > > > > > Le 23/04/2014 14:59, Bastian Bittorf a écrit : > > > >> * Yousong Zhou [23.04.2014 14:53]: > >> > >> once upon a time 36ea10375db186bf10c13d89bbdc4cfb62bf5fcc, the idea > >> w

Re: [OpenWrt-Devel] [PATCH 16/30][ WRT1900AC ] mamba mvebu: sysupgrade support for mamba + dual boot

2014-05-09 Thread Karl Palsson
Are there any existing docs on sysupgrade dual boot support like this? It's a nice feature, and I'd love to use existing functionality for this, but I haven't seen it, or heard about it before. Cheers, Karl P On Fri, May 09, 2014 at 11:48:23AM +0200, John Crispin wrote: > nack, > > wrong fol

Re: [OpenWrt-Devel] [PATCH 16/30][ WRT1900AC ] mamba mvebu: sysupgrade support for mamba + dual boot

2014-05-09 Thread Karl Palsson
om Belkin about this feature how it works > is: If the new flashed partition has some problem (e.g: Kernel > Panic) U-Boot will try 3 times and if it still fails it will > automatically revert back to boot from the previous working > partition. > > Regards, > Fernando > >

[OpenWrt-Devel] nfs-kernel-server no longer works?

2014-05-20 Thread Karl Palsson
I've been fiddling with this on and off for months, I don't need nfs-server very often, but I've got saved notes from this working in the past. I'm currently building some older AA images to see when this last worked for me, but if anyone has some better ideas, or knows exactly what the proble

Re: [OpenWrt-Devel] nfs-kernel-server no longer works?

2014-05-20 Thread Karl Palsson
ak:~/src/owrt-backfire$ Sincerely, Karl P On Tue, May 20, 2014 at 12:19:26PM +, Karl Palsson wrote: > > I've been fiddling with this on and off for months, I don't need nfs-server > very often, but I've got > saved notes from this working in the past. I'm curren

Re: [OpenWrt-Devel] SoC RT5350F based wireless socket / power plug

2014-06-02 Thread Karl Palsson
Does this actually measure power consumption as well? Or is just a gpio control of the relay? Edimax videos and website seem to imply it's just controlling the on/off, not the power usage? Cheers, Karl P On Mon, Jun 02, 2014 at 11:54:33AM +0200, Bastian Bittorf wrote: > because i was getting

[OpenWrt-Devel] [PATCH] Provide an init.d script for mosquitto MQTT broker

2012-04-12 Thread Karl Palsson
From: Karl Palsson Use the service helper scripts to build a simple init script for the mosquitto broker. To make sure that the standard shipped config file works, add a mosquitto user if not found. Signed-off-by: Karl Palsson --- net/mosquitto/Makefile | 24

[OpenWrt-Devel] [PATCH] Provide an init.d script for mosquitto MQTT broker

2012-04-20 Thread Karl Palsson
From: Karl Palsson Use the service helper scripts to build a simple init script for the mosquitto broker. To make sure that the standard shipped config file works, add a mosquitto user if not found. Signed-off-by: Karl Palsson --- net/mosquitto/Makefile |4 +++- net/mosquitto

[no subject]

2020-06-26 Thread Karl Palsson via openwrt-devel
--- Begin Message --- Ran into some issues with my fd event being garbage collected. As I never wanted to call :delete, I had seen no reason to keep the returned object, as my callback and upvalues were still valid. Signed-off-by: Karl Palsson --- examples/uloop-example.lua | 8 +--- 1

[no subject]

2020-06-26 Thread Karl Palsson via openwrt-devel
--- Begin Message --- Instead of having to adjust the index repeatedly as the stack is manipulated, use absolute addressing for the function arguments, so they stay the same throughout the call. Zero functional change, just subjectively easier to follow variables. Signed-off-by: Karl Palsson

[no subject]

2020-06-26 Thread Karl Palsson via openwrt-devel
st" Signed-off-by: Karl Palsson --- lua/uloop.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/lua/uloop.c b/lua/uloop.c index 1b0389f..fcbe274 100644 --- a/lua/uloop.c +++ b/lua/uloop.c @@ -232,17 +232,14 @@ static int ul_ufd_add(lua_State

[no subject]

2020-06-26 Thread Karl Palsson via openwrt-devel
--- Begin Message --- Some minor improvements to argument handling and docs. Patches 2 and 3 are optional, they have zero functional change, but IMO make the code easier to follow for future workers. --- End Message --- ___ openwrt-devel mailing list

[no subject]

2020-06-26 Thread Karl Palsson via openwrt-devel
--- Begin Message --- The original code required the use of relative addresses into the lua stack. It should accept either. Signed-off-by: Karl Palsson --- lua/uloop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/uloop.c b/lua/uloop.c index fcbe274..394970d 100644

<    1   2   3