Commit graph

74 commits

Author SHA1 Message Date
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
Sukru Senli
c2b14d454a Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* fa25ad0 owsd now doesn't exit on invalid interface
-------------------------------------------------------------------------------
commit fa25ad0b5af3c9a5c16124a9f699dae3be7b68dd
Author: Matija Amidzic <matija.amidzic@sartura.hr>
Date: 2018-02-05 09:08:38 +0100

    owsd now doesn't exit on invalid interface

    if a non existing interface is provided in the command line arguments, owsd
    will ignore it now and continue working

    Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>

Base directory -> /
 src/main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
-------------------------------------------------------------------------------
2018-02-06 16:47:25 +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
8e075dd746 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 1a815ef rewrite jsonrpc__req_ubuslist and jsonrpc_req_ubuslisten with json-c json_object refs #13595
-------------------------------------------------------------------------------
commit 1a815efff25ae4d52bfee67cc4642eb4627f1388
Author: Ionut-Alex Oprea <ionutalexoprea@gmail.com>
Date: 2017-12-13 10:32:10 +0100

    rewrite jsonrpc__req_ubuslist and jsonrpc_req_ubuslisten with json-c
    json_object refs #13595

Base directory -> /
 src/util_jsonrpc.c | 125 ++++++++++++++++++++++++++++-------------------------
 src/ws_ubusproxy.c |   4 ++
 2 files changed, 69 insertions(+), 60 deletions(-)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
0929485a45 owsd: update to newer version 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
e6c4ac12d4 owsd: fix broken dependencies 2018-01-08 19:27:40 +01:00
Reidar Cederqvist
6d865ed960 OWSD build system compatible with openWRT build system 2018-01-08 19:27:40 +01:00
Ionut-Alex Oprea
296696a586 update owsd version 2018-01-08 19:27:40 +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
7dd5cf1864 owsd: update to latest version 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
1e5d155104 owsd: to version with proxy features and SSL auth
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
357ef23c0d install /etc/config/owsd as ocnfig file to preserve it
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
2bef8c073c owsd: update to latest version, tweaks debug output
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
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
Denis Osvald
b38c7fda35 owsd: temporarily raise max vhosts to 30 until refactor
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
486112e022 libwebsockets, owsd: update to latest, addresses HTTP pipelining
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
Sukru Senli
1dccf9f8bf owsd: change url to http 2018-01-08 19:27:40 +01:00
Jonas Höglund
bbcaeda58d Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 841c0ef Fix compile error on openwrt master
-------------------------------------------------------------------------------
commit 841c0ef39de130dfda93bec6badea2255d26a528
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-22 14:58:40 +0200

    Fix compile error on openwrt master

Base directory -> /
 src/ws_http_serve.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
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
Denis Osvald
554c997dd8 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* 6dd1429 raise max number of listen sockets to 10
* a6533b7 fix check for max number of listen sockets
-------------------------------------------------------------------------------
commit 6dd142943bc68e0e4b1f4a002ce7f281c1678813
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-09-02 16:34:03 +0200

    raise max number of listen sockets to 10

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit a6533b794c27830dfc8a7dd3531e2344f258461c
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-09-02 16:33:44 +0200

    fix check for max number of listen sockets

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------

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
Sukru Senli
88f38cf541 owsd: for now list origin * for lan interfaces 2018-01-08 19:27:40 +01:00
Alex Oprea
ad4b3de384 owsd: fix loading of dhcp entries refs #9908
- config_load dhcp was called while parsing owsd config,
	thus overwritting the latter.
	- fixed this by loading and parsing the dhcp config before
	loading and parsing the owsd config.
	- this issue resulted in owsd not loading the config for
	wan:80, thus no gui available, refs #9908.
2018-01-08 19:27:40 +01:00
Sukru Senli
96066cef33 owsd: redirect cgi-bin/luci to cacheflush.html 2018-01-08 19:27:40 +01:00
Sukru Senli
b14f889f5c owsd: set list origin * by default on wan side 2018-01-08 19:27:40 +01:00
Denis Osvald
bff3095937 owsd: update version to 1.0.2
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
83c4c884bc owsd: add commented-out example to disable origin filter
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
319f388fdd owsd: whitelist dhcp domains on lan
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
cf2810fcc5 owsd: support to add dhcp domains to origin whitelist so routerlogin.net works
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00
Denis Osvald
c75dfd3d92 Update feed [ feed_inteno_packages ] package [ owsd ]
-------------------------------------------------------------------------------
* b30c45b support blob wildcards in origin filter
* bd8014a Merge branch 'fixes'
* fb3d1b0 malloc: do not access memory before checking it exists
-------------------------------------------------------------------------------
commit b30c45bace28a834a0634a8756345009ee6d2c5d
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-08-19 16:40:23 +0200

    support blob wildcards in origin filter

    Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>

Base directory -> /
 src/wsubus.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit bd8014a1909970b13a2bc84cf268e881c2e4a75e
Author: Denis Osvald <denis.osvald@sartura.hr>
Date: 2016-08-17 17:01:39 +0200

    Merge branch 'fixes'

Base directory -> /
 src/wsubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit fb3d1b0ba2d0da225bfbffccaa96824e84f9b345
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2016-08-11 15:42:02 +0200

    malloc: do not access memory before checking it exists

Base directory -> /
 src/wsubus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2018-01-08 19:27:40 +01:00
Denis Osvald
1d999b07c3 owsd: update to latest version with redirect, refs #9910
latest version includes support for redirect:

	option redirect /cgi-bin/luci:/some/page

Add this to default config so LuCI -> JUCI migration works

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2018-01-08 19:27:40 +01:00