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
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
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
Jakob Olsson
0c5f03d50c
owsd: make client connection timers configurable
2020-06-01 08:55:39 +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
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
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
Sukru Senli
6aec80f56c
owsd: remove unused uci default script
2019-06-04 12:55:54 +02:00
Jakob Olsson
608dfd532a
owsd: add uproxyd
2019-06-04 11:02:48 +02:00
Jakob Olsson
8f67b8f58e
owsd: wifilife: prevent procd crash loop error
2019-02-12 14:17:29 +01:00
Sukru Senli
8363a9d567
owsd: remove ubusx_acl list by default
2018-10-02 15:45:51 +02:00
Ionuț-Alex Oprea
45dd7acb3d
owsd: use mac as ubusx object prefix refs #15472
2018-07-24 16:43:19 +02:00
Ionuț-Alex Oprea
86dd2c0994
owsd config: add ubusx_acl example
2018-06-07 14:23:00 +02:00
Ionuț-Alex Oprea
a9754642bd
add "list ubusx_acl" option
2018-06-05 16:19:18 +02:00
Reidar Cederqvist
43e9bd1e6f
owd: if ipv6 and linklocal is on, listen on ipv6 link local address
2018-02-13 12:04:54 +01:00
Sukru Senli
35aa491288
owsd: remove redirect from global config
2018-02-10 14:42:06 +01:00
Reidar Cederqvist
db55cfc74a
owsd/questd: move uproxyd startup from questd to owsd init.d script
2018-01-12 16:18:10 +01:00
Ionut-Alex Oprea
31d25714bf
update ubusproxy peer comment
2018-01-08 19:27:40 +01:00
Reidar Cederqvist
b29f8a9406
owsd: update config and init.d files to work with ubusproxy
2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
c7b863e916
owsd: config: fix typos and add missing ca option in /etc/config/owsd
2018-01-08 19:27:40 +01:00
Sukru Senli
74df26fb32
owsd: handle owsd acl in owsd init script and configure rpcd accordingly
2018-01-08 19:27:40 +01:00
Denis Osvald
44e10992bf
Update feed [ feed_inteno_packages ] package [ owsd ]
...
-------------------------------------------------------------------------------
* 20fef42 make HTTP caching configurable and off-by-default
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
commit 20fef420d1796b47fb056e98113592471011a9de
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2017-02-10 13:53:44 +0100
make HTTP caching configurable and off-by-default
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
Base directory -> /
src/main.c | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
3fd5294345
update owsd default config file with commented-out proxy options
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
b3810ba716
update owsd init script with new options
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
5f729b9eea
owsd: update to version with client proxy
...
New version adds option -C to owsd, with respective option in config:
config owsd 'global'
...
list ubusproxy 'http://url1/ '
list ubusproxy 'http://url12/ '
...
Patch is removed since it's obsoleted in this version
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
2f8768beaa
owsd: wan https commented out
2018-01-08 19:27:40 +01:00
Denis Osvald
3f80217975
owsd: fix origin whitelisting on https port 443
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
0d6a3fca83
owsd: auto populate for port 80 and 8080
2018-01-08 19:27:40 +01:00
Sukru Senli
74c70ba559
owsd: auto populate interfaces to listen on
2018-01-08 19:27:40 +01:00
Denis Osvald
3419b149b8
owsd: update to latest, modify initscript to pass listen label
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
9986a37299
owsd: listen on wan6 interface
2018-01-08 19:27:40 +01:00
Sukru Senli
6d7fe87ed3
owsd: whitelist dhcp domains only if set to 1
2018-01-08 19:27:40 +01:00
Denis Osvald
7fcbcd3930
owsd: add new localhost section
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
31f43a3194
owsd: separate listening ports for ipv4 and ipv6, #10027
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Alex Oprea
31d8c188df
Revert "use procd reload scripts instead of hotplug"
...
This reverts commit c02d4886a213903ad890e09eadd9575ea569c68d.
2018-01-08 19:27:40 +01:00
Sukru Senli
27ac0cd984
owsd: whitelist localhost
2018-01-08 19:27:40 +01:00
Denis Osvald
74a9f4c75c
use procd reload scripts instead of hotplug
...
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Sukru Senli
33cb713044
owsd: does not trigger upon network config change because hotplug script handles it
2018-01-08 19:27:40 +01:00
Sukru Senli
4736212345
owsd: adapt to ip addr changes via hotplug script
2018-01-08 19:27:40 +01:00