Commit graph

129 commits

Author SHA1 Message Date
Vivek Kumar Dutta
ff49277c70 owsd: 1.1.6 2023-04-24 13:24:34 +05:30
Erik Karlsson
9cf5186546 Remove service_stop use
service_stop is a legacy function and it should never be used with
procd services which are automatically stopped by /etc/rc.common

Also remove unnecessary boot() which just runs the "start" function.
2023-04-18 05:59:55 +00:00
vdutta
9de9248d5a owsd: 1.1.5 2022-10-13 14:59:44 +05:30
vdutta
5812d812b1 owsd: 1.1.4 2022-02-04 19:07:49 +05:30
Erik Karlsson
8816c26e2a Use correct ranges with tr
The tr command does not take regular expressions and should not be
used with ranges such as [a-z] which furthermore can cause issues if
unquoted as they are interpreted by the shell.
2021-12-15 13:08:18 +00:00
Erik Karlsson
fd050bc759 Revert "owsd: hotplug: map aliases against interface on ifup"
This reverts commit 051826305e.

Reason for revert: This appears unnecessary as individual ifup events
are already being generated for main and alias interfaces. The logic
is also broken. It causes owsd to be reloaded every time there is ifup
event on alias interface, regardless of owsd configuration.
2021-09-19 14:38:18 +00:00
Sukru Senli
94f5d5b98b owsd: adapt to ubus socket default path 2021-05-13 22:17:49 +02:00
Sukru Senli
4e1a1c45a0 owsd: disable by default 2021-05-12 13:11:50 +02:00
Jakob Olsson
dec1cb5146 owsd: 1.1.3 2021-05-12 10:03:18 +02:00
Jakob Olsson
1d41fce2a3 owsd: use NULL socket by default 2021-05-12 09:26:58 +02:00
Raphael Derensy
051826305e owsd: hotplug: map aliases against interface on ifup 2021-03-17 09:48:22 +01:00
Andreas Gnau
d2b9140468 treewide: Add PKG_MIRROR_HASH:=skip to pkgs downloaded from git
OpenWrt 21.02 will redownload from git over and over if PKG_MIRROR_HASH
is not set. Set it to skip to prevent it from happening.
2021-03-15 10:57:13 +01:00
Jakob Olsson
e3dd402d4e owsd: let written be longer than len 2020-08-28 13:37:39 +02:00
Jakob Olsson
6c1b78b69d owsd: make async cleanout timeout more leniant 2020-06-23 16:48:05 +02:00
Jakob Olsson
428a1791ed owsd: fix segfault on remove_client
use safe func when iterating and removing from list
2020-06-15 16:12:13 +02:00
Jakob Olsson
0c5f03d50c owsd: make client connection timers configurable 2020-06-01 08:55:39 +02:00
Sukru Senli
7ec727e994 owsd: install uproxyd only if selected 2020-05-17 17:21:51 +02:00
Jakob Olsson
4f5a1ad365 owsd: init.d: let whitelist_interface_as_origin default to 1 2020-04-23 13:32:05 +02:00
Sukru Senli
ea87bfe337 owsd: disable ubus-x by default 2020-04-23 11:11:15 +02:00
Jakob Olsson
de03c6149c owsd: remove some sections from default cfg 2020-04-23 08:42:18 +02:00
Jakob Olsson
92480328ac owsd: update default configuration 2020-04-22 13:55:48 +02:00
Jakob Olsson
02404d5f22 owsd: only include json-validator.h if flag is given 2020-04-22 12:47:32 +02:00
Jakob Olsson
bd65c9a666 owsd: update for lws-3.1.0, make one vhost per origin 2020-04-22 12:36:40 +02:00
Ronny Nilsson
0bf21c30c6 owsd: Workaround a bug which cases origin check to fail on LAN.
When the LAN interface has an IPv6 Unique local address owsd gets confused.
IPv4 requests arrive into the virtual IPv6 interface of owsd which makes
the origin check to fail. Workaround the problem by disabling origin check
for LAN. This shouldn't be a problem (?) due to we already has the same
check disabled on WAN by default.
2020-01-23 12:44:59 +01:00
Jakob Olsson
b30aca1b27 owsd: include fix for memory leak on too many requests 2019-12-10 16:19:10 +01:00
Jakob Olsson
09e20e451a owsd: allow ubus.object.* events if access specified to affected obj in acl #267 2019-10-14 12:38:16 +02:00
Strhuan Blomquist
d35680fb5d owsd:Added opkg LICENSE tag 2019-09-05 16:14:51 +02:00
Sukru Senli
fd16e6dc81 owsd: save owsd_acl file under /tmp/owsd folder 2019-08-20 08:58:41 +02:00
Jakob Olsson
314d432420 owsd: update pkg and init.d to pass arguments from a json config file 2019-08-12 10:36:03 +02:00
Sukru Senli
261e890771 owsd: ubusproxy with demo only certificates 2019-06-25 08:51:03 +02:00
Jakob Olsson
947da034bb owsd: start owsd without ubusproxy args if ubusx validation fails 2019-06-17 09:47:12 +02:00
Jakob Olsson
5b2a92cf14 owsd: update polling interval in uproxyd 2019-06-04 13:46:19 +02:00
Jakob Olsson
165faa23dc owsd: update pkg to include uproxyd polling change 2019-06-04 13:24:00 +02:00
Sukru Senli
6aec80f56c owsd: remove unused uci default script 2019-06-04 12:55:54 +02:00
Jakob Olsson
b175340397 owsd: update pkg with uproxyd client event fix 2019-06-04 12:39:16 +02:00
Jakob Olsson
608dfd532a owsd: add uproxyd 2019-06-04 11:02:48 +02:00
Sukru Senli
5f3e4e40ae Inteno->iopsys adaptations 2019-04-14 10:59:37 +02:00
Sukru Senli
1b89309647 update package maintaniners for owsd and imonitor 2019-04-14 10:55:13 +02:00
Jakob Olsson
8f67b8f58e owsd: wifilife: prevent procd crash loop error 2019-02-12 14:17:29 +01:00
Jakob Olsson
2a4c5a1c56 owsd: update pkg hash 2019-01-24 15:09:02 +01:00
Jakob Olsson
8a83899eba owsd: update pkg hash #16527 2019-01-16 16:20:52 +01:00
Jakob Olsson
56fab86483 owsd: update pkg hash 2018-12-17 10:53:39 +01:00
Jakob Olsson
7befbac499 owsd: update pkg hash to include losing objects fix 2018-12-11 11:30:45 +01:00
Jakob Olsson
b355f5e8f8 owsd: update package hash to include acl changes 2018-11-26 11:24:03 +01:00
Sukru Senli
8363a9d567 owsd: remove ubusx_acl list by default 2018-10-02 15:45:51 +02:00
Sukru Senli
d4aa675a7a iopsys: point to new iopsys git repositories 2018-09-23 11:19:23 +02:00
Sukru Senli
1f7018969b owsd: revert ubusx_acl support 2018-08-24 12:11:21 +02:00
Ionuț-Alex Oprea
9d501b2185 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 372743e Revert "use mac as ubusx event prefix refs #15472"
-------------------------------------------------------------------------------
commit 372743e4c905c9d51988742442b375f0b2bab8db
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-25 16:51:46 +0200

    Revert "use mac as ubusx event prefix refs #15472"

    This reverts commit ddaaafa5cd5a6b4fbeb554afd03e982559ceab88.

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-07-25 17:02:22 +02:00
Ionuț-Alex Oprea
08c0aae9a5 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* ddaaafa use mac as ubusx event prefix refs #15472
* 1c99f70 use mac as ubusx object prefix refs #15472
* 5f2da35 add cmdline parameter to control the ubusx prefix type refs #15472
* db5477b wsubus: match origin case insensitively refs #15501
* 19a429e prepare for: ubusx object prefix change from ip to mac refs #15472
-------------------------------------------------------------------------------
commit ddaaafa5cd5a6b4fbeb554afd03e982559ceab88
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:41:15 +0200

    use mac as ubusx event prefix refs #15472

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 1c99f70271531871468ebe538b516152092c9d4f
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:29:14 +0200

    use mac as ubusx object prefix refs #15472

Base directory -> /
 src/local_stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5f2da3522ceb95c44f200d6ffa24d62eb31d0fed
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-24 16:19:12 +0200

    add cmdline parameter to control the ubusx prefix type refs #15472

Base directory -> /
 src/local_stub.c    | 11 +++++++++++
 src/main.c          |  9 +++++++++
 src/wsubus_client.h |  1 +
 3 files changed, 21 insertions(+)
-------------------------------------------------------------------------------
commit db5477ba0ef4596b4b68c73a16c042f6d8400474
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-07-23 14:25:47 +0200

    wsubus: match origin case insensitively refs #15501

Base directory -> /
 src/wsubus.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 19a429e78c025c03ec11fb20229c389e453a8825
Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2018-07-20 15:32:37 +0200

    prepare for: ubusx object prefix change from ip to mac refs #15472

    	The ubus objects that belong to other routers and are published
    through ubusx have a prefix to identify the remote router.
    This is normally the ip, for example:
    	192.168.1.201/router.system
    This commit adds a function that can change this prefix to the
    corresponding mac(as seen in the dhcp leases), for example:
    	06:22:07:67:75:9a/router.system

    	Note that this commit does not enable this functionality,
    only adds it.

Base directory -> /
 src/local_stub.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
-------------------------------------------------------------------------------
2018-07-24 16:44:04 +02:00
Ionuț-Alex Oprea
45dd7acb3d owsd: use mac as ubusx object prefix refs #15472 2018-07-24 16:43:19 +02:00