Commit graph

1119 commits

Author SHA1 Message Date
Jonas Höglund
1968e16cbf Fix local variable error for generate_tarballs 2016-08-19 17:48:59 +02:00
Jonas Höglund
a370fb835e Only modify iopsys config, not openwrt default 2016-08-19 17:46:56 +02:00
Sukru Senli
f6bcc6a724 iop: fix generate_tarballs script 2016-08-19 17:43:50 +02:00
Sukru Senli
add35c243f iop: improve generate_tarballs script 2016-08-19 17:25:02 +02:00
Jonas Höglund
0aa89d7bbf Fix masterconfig check 2016-08-19 17:23:40 +02:00
Jonas Höglund
4c82a8cbe5 Return on profile match 2016-08-19 15:49:57 +02:00
Jonas Höglund
b9506de548 Add mt7621 default openwrt profile 2016-08-19 15:44:20 +02:00
Sukru Senli
88a3fadeb2 iop: adapt generate_tarballs script to new server 2016-08-19 14:12:58 +02:00
Jonas Höglund
db6509839b Touch kernel makefile for brcm disable kmods 2016-08-18 14:22:15 +02:00
Jonas Höglund
41d916c1a9 Move base-files/clean to last stage of genconfig
The target needs to be set in .config before invoking the make
system to enable fixes for the brcm kernel.
2016-08-18 12:48:54 +02:00
Sukru Senli
6416dc0b68 icwmp-3.0-2016-08-17 2016-08-17 15:54:01 +02:00
Sukru Senli
a46eb1e00c iop: select libffmpeg-mini 2016-08-16 17:34:42 +02:00
Mats Karrman
05ce0dac18 peripheral_manager: Update source version (Support for EG400, refs #9092) 2016-08-16 17:17:23 +02:00
Mats Karrman
7cd9cc53c6 iop/genconfig: Add EG400 to list of arm targets 2016-08-16 17:04:12 +02:00
Alex Oprea
6a713b2933 samba: increase path security, no share outside /mnt
If the path is still outside /mnt/ after all the previous checks and
	enforces have been applied, overwrite the path to "/mnt/".

	This is usefull in the following scenario:
	- "/mnt/tmp" is a soft link to "/tmp"
	- $path is pushed from the web gui as "/"
	- $dirpath is pushed from the web gui as "tmp"
	The init script prepends "/mnt/", the $path becomes "/mnt/tmp".
	Further, the smb.conf would receive "path = /mnt/tmp" and
	samba would export for share "/tmp".

	A while-loop (that always prepends "/mnt/" to $(readlink -f $path)
		if it does not start with "/mnt")
	would not prevent this case exactly because
	the soft link and the target directory have the same name,
	thus the loop would never end.
2016-08-08 10:27:07 +02:00
Alex Oprea
4e8f08aa8b samba: use readlink -f before forcing the /mnt/ prefix
When checknig that path starts with /mnt/, path should not include
	softlinks, "." or "..". This prevents the obvoius case of sharing the
	"/mnt/../" path, which will jump out of the restricted /mnt/.
2016-08-04 16:13:10 +02:00
Alex Oprea
203e252bae samba: fix code logic: $path was definetly not empty when checked
Assuming that path and dirpath are both empty, path becomes
	"/", which is not empty. The -z $path check after was useless.
	Changed the order of this two operations.
2016-08-04 16:13:10 +02:00
Alex Oprea
977657eefd samba: restrict share paths to /mnt refs #9862
force the share paths to always start with /mnt/
	set wide links to no, in order to not allow soft links
	to be followed outside /mnt/
2016-08-04 14:30:24 +02:00
Reidar Cederqvist
edbea4ed68 added juci-owsd to default inteno 2016-07-15 14:21:36 +02:00
Sukru Senli
3153a1d93c multiwan package 2016-07-14 15:56:54 +02:00
Reidar Cederqvist
36fb967b80 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0f2a1c1 added defaultroute option to networks and to router networks call
-------------------------------------------------------------------------------
commit 0f2a1c18ea719955f0d33e93be031180afbc41de
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-14 10:54:40 +0200

    added defaultroute option to networks and to router networks call

Base directory -> /
 questd.c | 7 +++++++
 questd.h | 1 +
 2 files changed, 8 insertions(+)
-------------------------------------------------------------------------------
2016-07-14 10:55:05 +02:00
Sukru Senli
018818d17b voice-client: disable ringing scheduling by default 2016-07-13 18:29:21 +02:00
Reidar Cederqvist
91a97c411c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 38610d3 added some tests to make sure indexing outside of array doesn't happen and changed router ports to dump the clients in port.clients insted of by macaddress
* eda05ba added checkes everywere in questd.c to make sure arrays are never indexed outside of its range
* c0259d5 doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they never go higher than MAX_something insted of checking for null
-------------------------------------------------------------------------------
commit 38610d31f53c5c36cacc698d57f6313130f65465
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 17:27:50 +0200

    added some tests to make sure indexing outside of array doesn't happen and
    changed router ports to dump the clients in port.clients insted of by
    macaddress

Base directory -> /
 questd.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit eda05ba6abef93ca5cb268dca87ac1bb1614ec6b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 12:13:29 +0200

    added checkes everywere in questd.c to make sure arrays are never indexed
    outside of its range

Base directory -> /
 questd.c | 59 ++++++++++++++++++++++++++---------------------------------
 questd.h |  2 +-
 2 files changed, 27 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
commit c0259d51821bc08f0405530b829d64ed32ed1ea9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 10:35:38 +0200

    doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they
    never go higher than MAX_something insted of checking for null

Base directory -> /
 questd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 17:29:50 +02:00
Sukru Senli
c1d4d49d6a updated icwmp 2016-07-13 13:08:39 +02:00
Reidar Cederqvist
22fbb3ca31 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* eda05ba added checkes everywere in questd.c to make sure arrays are never indexed outside of its range
-------------------------------------------------------------------------------
commit eda05ba6abef93ca5cb268dca87ac1bb1614ec6b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 12:13:29 +0200

    added checkes everywere in questd.c to make sure arrays are never indexed
    outside of its range

Base directory -> /
 questd.c | 59 ++++++++++++++++++++++++++---------------------------------
 questd.h |  2 +-
 2 files changed, 27 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 12:16:14 +02:00
Sukru Senli
7fff2eb267 icwmp-3.0-2016-07-13 2016-07-13 11:50:40 +02:00
Sukru Senli
f3530584d5 inteno-netmodes: update repeater config 2016-07-13 11:38:44 +02:00
Reidar Cederqvist
0545598f9c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c0259d5 doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they never go higher than MAX_something insted of checking for null
-------------------------------------------------------------------------------
commit c0259d51821bc08f0405530b829d64ed32ed1ea9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 10:35:38 +0200

    doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they
    never go higher than MAX_something insted of checking for null

Base directory -> /
 questd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 10:36:28 +02:00
Sukru Senli
2a8643d0cc updated icwmp 2016-07-11 17:40:33 +02:00
Kenneth Johansson
88f021ee34 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* dfcf187 Do not try to set flash state to led panel leds.
-------------------------------------------------------------------------------
commit dfcf187cf3961841dee750371d3999d23297b74c
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-07-11 17:04:50 +0200

    Do not try to set flash state to led panel leds.

    Ask driver if it supports hardware flash if not do not set it. This to avoid
    a printout from the actual driver that complain it can't set this state.

    refs #9720

Base directory -> /
 src/led.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-11 17:05:26 +02:00
Sukru Senli
64610aa43b inteno-netmodes: add ACL support 2016-07-10 11:48:23 +02:00
Alex Oprea
160a75322b busybox: enable CTYYHACK to fix stdin/stdout fds error on /dev/console refs #9493 2016-07-08 17:19:16 +02:00
Ronny Nilsson
18c7931f96 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 1dad4bf Workaround for preventing daemon respawn when we want it to fully exit.
* 8276cd6 Don't get confused if same handset gets registered twice in a row.
* 29c6c1b - Initialize data structures for UBUS dynamically since on ARM we unregister and reregister over and over. During unregister the data becomes invalid (for some unknown reason) and thus needs to be recreated.
* bf4e2eb check /tmp/defaultreset to understand if defaultreset is in place
* 96a1dd8 adapt to new reboot reason check method
* 440a5d6 unregister handsets upon defaultreset fixes #9458
-------------------------------------------------------------------------------
commit 1dad4bfc86b0167e7c39fee7fbd4bf0935b4fa4a
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-08 15:03:46 +0200

    Workaround for preventing daemon respawn when we want it to fully exit.

Base directory -> /
 files/dect | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 8276cd67ab7659365e44b4eda883e322280048cd
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-07 15:54:04 +0200

    Don't get confused if same handset gets registered twice in a row.

Base directory -> /
 src/handset.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 29c6c1b57aac14c32ec473335c873c64b470a8dc
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-07 15:52:19 +0200

    - Initialize data structures for UBUS dynamically since on ARM we unregister
    and reregister over and over. During unregister the data becomes invalid
    (for some unknown reason) and thus needs to be recreated.

Base directory -> /
 src/ubus.c | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit bf4e2eb41e2bc71c335ef63f7fa4db76c125edbf
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 14:33:21 +0200

    check /tmp/defaultreset to understand if defaultreset is in place

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 96a1dd8a6cbee324ae45382fc8ea41c5d21e2d80
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 12:29:11 +0200

    adapt to new reboot reason check method

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 440a5d6b6e6e4f9fa50ae7ba29c7fecc72148b66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 11:43:55 +0200

    unregister handsets upon defaultreset fixes #9458

Base directory -> /
 files/dect | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-08 15:05:54 +02:00
Sukru Senli
c82d7eb177 questd-3.1.11 2016-07-06 17:55:46 +02:00
Sukru Senli
129343f4c1 questd-3.1.10 2016-07-06 16:20:48 +02:00
Sukru Senli
0f1a0b819c samba2: set --with-included-popt 2016-07-05 17:04:35 +02:00
Sukru Senli
eb5d2c1954 samba2: set --with-readline=no 2016-07-05 17:04:32 +02:00
Sukru Senli
7e082e9103 add samba2 package 2016-07-05 17:04:26 +02:00
imen.bhiri
d2309a5330 libstrophe: rename base64_decode/encode functions 2016-07-05 14:42:41 +02:00
Sukru Senli
6b51f9d01f Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* bf4e2eb check /tmp/defaultreset to understand if defaultreset is in place
-------------------------------------------------------------------------------
commit bf4e2eb41e2bc71c335ef63f7fa4db76c125edbf
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 14:33:21 +0200

    check /tmp/defaultreset to understand if defaultreset is in place

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-05 14:35:09 +02:00
Sukru Senli
543a0a4083 update dectmngr2 source version 2016-07-05 12:30:58 +02:00
Sukru Senli
509402606b Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 440a5d6 unregister handsets upon defaultreset fixes #9458
-------------------------------------------------------------------------------
commit 440a5d6b6e6e4f9fa50ae7ba29c7fecc72148b66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 11:43:55 +0200

    unregister handsets upon defaultreset fixes #9458

Base directory -> /
 files/dect | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-05 11:45:39 +02:00
Sukru Senli
5ea499ca35 icwmp updated 2016-07-04 20:39:26 +02:00
Sukru Senli
8f9386798c icwmp-3.0-2016-07-04 2016-07-04 20:14:05 +02:00
Sukru Senli
da164c939f layer2interface: auto-detect bridge mode 2016-07-04 19:47:09 +02:00
Sukru Senli
767d3a6ec6 layer2interface: set low-mid-high queues for vdsl connection 2016-07-04 18:31:21 +02:00
Sukru Senli
d92a1a127d iop: do not select hnet-full 2016-07-04 17:36:15 +02:00
Sukru Senli
9980e2af9f iop: select hnet-full and relayd by defaulty 2016-07-04 17:01:28 +02:00
Sukru Senli
051eb2cf46 questd-3.1.9 2016-07-04 14:29:48 +02:00
Sukru Senli
f76e919f45 icwmp-3.0-2016-07-01 2016-07-01 13:16:18 +02:00