Commit graph

1141 commits

Author SHA1 Message Date
Reidar Cederqvist
fa4eb2dd1a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d61c6ec added missing comment
-------------------------------------------------------------------------------
commit d61c6ec043424f4de82b7db8c68e3bda5b25e9d4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-08-29 14:36:34 +0200

    added missing comment

Base directory -> /
 questd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-08-29 14:37:18 +02:00
Reidar Cederqvist
92de47d0a2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 65fc133 removed clearing of clients due to ports sometimes returned without clients
-------------------------------------------------------------------------------
commit 65fc1334398c5d143d6731bba8ec51547fd0063e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-08-29 14:33:17 +0200

    removed clearing of clients due to ports sometimes returned without clients

Base directory -> /
 questd.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2016-08-29 14:34:06 +02:00
Benjamin Larsson
763ff80d82 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 4a64f96 Workaround for ghost gpio press directly after start
-------------------------------------------------------------------------------
commit 4a64f969af4ee38507e83ed113e4e6a6fa9b9cf1
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2016-08-17 11:41:09 +0200

    Workaround for ghost gpio press directly after start

    On platforms with gpio buttons we have seen that sometimes buttons get
    pressed directly after start and thus disabling the wifi. This change
    implements a dummy read to flush out the bad states. Also implemented is a
    check if a button is pressed directly 4 seconds after start. If that is the
    case the press is logged to the syslog and then ignored.

Base directory -> /
 src/button.c             | 13 ++++++++++++-
 src/gpio_button.c        | 12 ++++++++++--
 src/peripheral_manager.c |  2 ++
 src/server.c             |  6 ++++++
 src/server.h             |  3 +++
 5 files changed, 33 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2016-08-29 13:57:58 +02:00
Sukru Senli
668777e9d5 iop: return directly if no package is given as argument to compile 2016-08-29 11:17:41 +02:00
Sukru Senli
adc4b941ee iop: add compile script to be able to compile a specific package 2016-08-29 11:12:31 +02:00
Sukru Senli
7e026deb64 samba: support multiple interface triggers 2016-08-29 10:20:51 +02:00
Sukru Senli
2543d6a601 samba3: add procd interface event trigger 2016-08-29 10:15:04 +02:00
Jonas Höglund
4c480833e0 Only delete broken symlinks in feed dirs 2016-08-29 10:11:45 +02:00
Ronny Nilsson
5888f24975 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 8e6556b Workaround for noisy sound with external Dect. Hardwire it to narrowband.
* e7e996a Major refactoring. Move handling of RSX debugger conneciton to a separate .c file and make the code a lot more descriptive. Now it's possible to understand how Natalie <-> RSX communication works.
* 6a8de42 - Code simplifications for better readabillity. Don't pass around void pointers everywhere, instead use the real backend type and move the type definitions from .c file to .h file. - Remove mysterious crash on ARM in calloc() by instead using malloc(). - Remove unused code.
* 969d1c8 - Move parts common with "eap" to a header file eap inclucde. This will reduce code duplication. - Remove unused code. - Remove compiler warning.
* 2ed68f8 Make the program configuration global. It should be possible to read it from anywhere.
* b46db2c Simplifications
* f7b7494 More fixes for building both against v12.26 and v11.19. More will come though.
* 2b1fe4f Fix to build against natalie 12.26
-------------------------------------------------------------------------------
commit 8e6556b48f65b60ddf63eb2dc0f09416b8670457
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-26 12:19:11 +0200

    Workaround for noisy sound with external Dect. Hardwire it to narrowband.

Base directory -> /
 src/connection_init.c | 2 +-
 src/external_call.c   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit e7e996a21c0f83f475701e06c7343d52470af71a
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:59:15 +0200

    Major refactoring. Move handling of RSX debugger conneciton to a separate .c
    file and make the code a lot more descriptive. Now it's possible to
    understand how Natalie <-> RSX communication works.

Base directory -> /
 src/Makefile   |   2 +-
 src/app.c      | 246 ++++++++-------------------------------------------------
 src/app.h      |   3 +
 src/debugger.c | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/debugger.h |  15 ++++
 5 files changed, 289 insertions(+), 216 deletions(-)
-------------------------------------------------------------------------------
commit 6a8de4289bc3322f271284240e8d954ddedfa5f3
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:53:47 +0200

    - Code simplifications for better readabillity. Don't pass around void
    pointers everywhere, instead use the real backend type and move the type
    definitions from .c file to .h file. - Remove mysterious crash on ARM in
    calloc() by instead using malloc(). - Remove unused code.

Base directory -> /
 src/eap.c | 74 +++++++++++----------------------------------------------------
 src/eap.h | 37 ++++++++++++++++----------------
 2 files changed, 30 insertions(+), 81 deletions(-)
-------------------------------------------------------------------------------
commit 969d1c8ca0e290b4894cbf3ce9f73c7c51547ce7
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:43:21 +0200

    - Move parts common with "eap" to a header file eap inclucde. This will
    reduce code duplication. - Remove unused code. - Remove compiler warning.

Base directory -> /
 src/busmail.c | 47 ++---------------------------------------------
 src/busmail.h | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 45 deletions(-)
-------------------------------------------------------------------------------
commit 2ed68f8c087ab24328fba27e75a01c65cd32a8b5
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:35:29 +0200

    Make the program configuration global. It should be possible to read it from
    anywhere.

Base directory -> /
 src/main.c | 17 +++++++----------
 src/main.h | 12 ++++++++++++
 2 files changed, 19 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit b46db2c2a3fb991f66ad9a6253e41176e7126ff2
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:32:12 +0200

    Simplifications

Base directory -> /
 src/natalie_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f7b7494b44c3e9511ff9eb8957d3b372a1d68e46
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 15:47:52 +0200

    More fixes for building both against v12.26 and v11.19. More will come
    though.

Base directory -> /
 src/connection_init.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2b1fe4f81546b2581aefd156b90feaf47669dc89
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-26 16:11:45 +0200

    Fix to build against natalie 12.26

Base directory -> /
 src/api_parser.c      | 4 ----
 src/connection_init.c | 9 ++++++++-
 2 files changed, 8 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2016-08-26 13:19:04 +02:00
Jonas Höglund
0a0c3b4f87 Remove broken symlinks after feeds_update 2016-08-25 16:34:46 +02:00
Jonas Höglund
5ae9fb9733 Speed up feeds_update
Don't remove all installed packages at the start of
feeds_update. Remove duplicate feed installs as named feeds are
included with the install -a command later.
2016-08-25 15:46:53 +02:00
Jonas Höglund
869e86677b asterisk18 removed from feed-openwrt-packages 2016-08-25 15:25:44 +02:00
Jonas Höglund
fd7e0147fd Cleanup of feeds_update 2016-08-25 14:55:37 +02:00
Jonas Höglund
6edd832d9c libwebsockets has been removed from feed_openwrt_packages 2016-08-25 14:26:43 +02:00
Jonas Höglund
55d5cac52e Remove modified qrencode package from feeds_inteno_packages 2016-08-25 12:49:50 +02:00
Jonas Höglund
30aaa67434 Remove unneeded commands from feeds_update 2016-08-24 15:45:58 +02:00
Sukru Senli
3d375e45e4 layer2interface: set wps_device_name to Inteno 2016-08-24 13:32:07 +02:00
Jonas Höglund
525f6a0eff Add -n option to feeds update to disable override for feed_inteno_openwrt 2016-08-23 13:38:04 +02:00
Sukru Senli
2c5eb37f46 iop: change PATH to FPATH in generate_tarballs script 2016-08-23 10:00:50 +02:00
Jonas Höglund
37b826c4f6 Add ex300 to genconfig 2016-08-22 13:10:42 +02:00
Jonas Höglund
5dc797e2c4 Add iopsys-ramips target 2016-08-22 13:00:21 +02:00
Jonas Höglund
d9f58ea448 Fix generate_tarballs 2016-08-19 17:50:41 +02:00
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