Commit graph

1217 commits

Author SHA1 Message Date
Sebastian Kemper
3a562e2903 freeswitch-stable-mod-bcg729: revision bump
Revision bump to cause a rebuild.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-17 12:57:00 +01:00
Sebastian Kemper
a9c3b92d06 freeswitch-stable: import 1.8.2 from master
This upgrades freeswitch from 1.6.20 to 1.8.2. All changes imported from
master. Notable changes:

  Modules:
    - v8 removed as too difficult to maintain
    - new modules: fail2ban, raven and video_filter

  Init and hotplug:
    - changed init config to uci (/etc/default/freeswitch replaced with
      /etc/config/freeswitch)
    - logging can now be enabled via /etc/config/freeswitch
    - hotplug script is now included in the main package
    - the post-install script no longer disables freeswitch during
      upgrades

  Fixes:
    - freeswitch now sends console output properly to procd

  Misc:
    - the new release adds support for MSRP (Message Session Relay
      Protocol, see
      https://en.wikipedia.org/wiki/Message_Session_Relay_Protocol), this
      opens TCP ports by default, can be limited to localhost in
      autoload_configs/msrp.conf.xml

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-17 12:49:58 +01:00
Jiri Slachta
bdda0755a5
Merge pull request #392 from micmac1/openwrt-18.06-AST-2018-010
(18.06) asterisk-15.x: add patch for AST-2018-010
2018-11-15 15:55:13 +01:00
Sebastian Kemper
3659cae1df asterisk-15.x: add patch for AST-2018-010
Patch from upstream:

     Summary        Remote crash vulnerability DNS SRV and NAPTR lookups
Nature of Advisory  Denial Of Service
  Susceptibility    Remote Unauthenticated Sessions
     Severity       Moderate
  Exploits Known    No
    Reported On     October 23, 2018

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-14 22:03:40 +01:00
Jiri Slachta
4b15502e16
Merge pull request #382 from micmac1/kam-awk-18.06
kamailio-5.x: make jsonrpc filter portable
2018-10-13 16:01:13 +02:00
Sebastian Kemper
5624908abe kamailio-5.x: make jsonrpc filter portable
With OpenWrt default awk - so awk from busybox - the filter is broken,
causing jsonrpc calls to fail, i.e. when running "kamctl ps". Below
patch makes the filter portable. Patch was already accepted upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-10-13 10:01:49 +02:00
Jiri Slachta
b1981cc547
Merge pull request #380 from micmac1/yate-regex-18.06
yate for 18.06: revert to internal regex implementation
2018-10-09 08:20:02 +02:00
Sebastian Kemper
9382478803 yate: revert to internal regex implementation
Robert Högberg found that the regex implementation in musl isn't fully
compatible with yate, leading to unexpected regexp results. Fix this by
using the internal regex.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-10-02 20:25:53 +02:00
Jiri Slachta
db9be09007
Merge pull request #374 from micmac1/AST-2018-009-18.06
(18.06) Fix for AST-2018-009
2018-09-21 16:48:01 +02:00
Jiri Slachta
77fc63da79
Merge pull request #371 from micmac1/kama-cve
(OpenWrt 18.06) kamailio-5.x: add fix for CVE-2018-16657
2018-09-21 16:47:41 +02:00
Sebastian Kemper
83e60db057 asterisk-15.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:40:15 +02:00
Sebastian Kemper
c017ebc780 asterisk-13.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:39:13 +02:00
Sebastian Kemper
eb990a8775 kamailio-5.x: add fix for CVE-2018-16657
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with
an invalid Via header causes a segmentation fault and crashes Kamailio. The
reason is missing input validation in the crcitt_string_array core function
for calculating a CRC hash for To tags. (An additional error is present in
the check_via_address core function: this function also misses input
validation.) This could result in denial of service and potentially the
execution of arbitrary code.

Patch from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-12 20:25:56 +02:00
micmac1
f034df2dd8
Merge pull request #366 from micmac1/fs-perl-18.06
freeswitch-stable: fix perl setup
2018-08-16 22:19:58 +02:00
Sebastian Kemper
3dd44baa41 freeswitch-stable: fix perl setup
A recent commit in packages/lang/perl is causing a problem with the
perlmod.mk include. Work around this by including perlver.mk instead and
setting up PERL_CMD and PERL_SITELIB manually.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-16 22:16:00 +02:00
Jiri Slachta
b9d7b321d1
Merge pull request #361 from micmac1/kam-cve-18.06
kamailio-5.x: add fix for CVE-2018-14767
2018-08-11 13:06:22 +02:00
Sebastian Kemper
4a0a578f43 kamailio-5.x: add fix for CVE-2018-14767
CVE-2018-14767: "In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a
crafted SIP message with a double "To" header and an empty "To" tag
causes a segmentation fault and crash. The reason is missing input
validation in the "build_res_buf_from_sip_req" core function. This could
result in denial of service and potentially the execution of arbitrary
code."

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-06 23:28:43 +02:00
micmac1
7fbb94503f
Merge pull request #359 from micmac1/fs-sigkill-openwrt-18.06
freeswitch-stable: add SIGKILL to init script
2018-08-05 15:09:17 +02:00
Sebastian Kemper
53b5b75af1 freeswitch-stable: add SIGKILL to init script
Sometimes freeswitch doesn't exit after receiving the SIGTERM signal.
This can be reproduced by sending SIGTERM to a freeswitch instance which
is initializing (which can take quite some time).

Instead of just giving up and exiting - leaving a hung freeswitch
process on the system - this commit adds some lines to the init script
that send SIGKILL to freeswitch in case the attempt to terminate it with
SIGTERM fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-05 15:04:16 +02:00
micmac1
88b12368f1
Merge pull request #353 from micmac1/fs-18.06
freeswitch-stable: backport fixes from master to 18.06
2018-07-22 11:38:18 +02:00
Sebastian Kemper
add8ec104f freeswitch-stable: backport pcre fix
Backport from master.

This patch is strictly speaking only needed for pcre 8.42 and up.
Add it anyway in case pcre maintainer decides to bump the version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 11:21:57 +02:00
Sebastian Kemper
f6f229b1f2 freeswitch-stable: backport apr fix
Backport from master.

The macro APR_TRY_COMPILE_NO_WARNING included in apr/apr-util is
incorrect. It results in extra brackets being put into conftest.c, for
example:

  #include "confdefs.h"

[
  #include <stddef.h>
  #include <iconv.h>
  ]
int main(int argc, const char *const *argv) {
[
  iconv(0,(char **)0,(size_t *)0,(char **)0,(size_t *)0);
  ]
  return 0; }

The test always fails with:

error: expected identifier or '(' before '[' token

The following checks are affected:

- variable length arrays
- type of inbuf parameter to iconv

Fix from upstream (Apache).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 09:29:22 +02:00
Sebastian Kemper
367854557b freeswitch-stable: backport iconv fixes
Backport iconv fixes from master.

- Include nls.mk and remove the uclibc iconv hack.

- The above change pointed to an issue with the unimrcp sed script. It
  is missing brackets, which causes follow-up breakage when APR_SETVAR
  is called, because the latter uses commas to separate its arguments -
  commas that TARGET_LDFLAGS contains when nls.mk is included. So add
  the missing brackets.

- mod_gsmopen is unable to detect whether iconv's inbuf is const. Update
  the patch so the Makefile can pass this information on to mod_gsmopen.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 09:21:38 +02:00
Jiri Slachta
278ca69386
Merge pull request #344 from micmac1/openwrt-18.06
(for OpenWrt 18.06): asterik: fix AST-2018-007 and AST-2018-008
2018-06-28 10:43:16 +02:00
Sebastian Kemper
4cae5e6c75 asterisk-15.x: patch AST-2018-007 and 008
Patches from upstream for:

AST-2018-007
AST-2018-008

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:40:01 +02:00
Sebastian Kemper
e4645ea637 asterisk-13.x: patch AST-2018-008
Patch from upstream for AST-2018-008.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:39:04 +02:00
Jiri Slachta
1195dafe98
Merge pull request #334 from guidosarducci/backport-openwrt-18.06
siproxd: backport procd switch and cleanup to openwrt-18.06
2018-06-05 09:52:05 +02:00
guidosarducci
6098d247ec siproxd: restructure code and use procd for init
Switch to use procd for init, with support for jails. Clean up code and
restructure callback processing to be more robust and understandable. This
also fixes a bug processing multiple siproxd config sections, as reported
by Michael Kuron.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from master commit b65b20f6)
2018-06-03 21:40:52 -07:00
guidosarducci
e2fee9b6f2 siproxd: don't apply default values already built-in
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from master commit a3f6f176)
2018-06-03 21:39:30 -07:00
Jiri Slachta
22144d44d5
Merge pull request #331 from micmac1/openwrt-18.06
asterisk in 18.06: remove sounds cache
2018-05-24 06:51:20 +02:00
Sebastian Kemper
90620412d5 asterisk-15.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:30:29 +02:00
Sebastian Kemper
3326aec44d asterisk-13.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:29:39 +02:00
Jiri Slachta
ac71f923cc
Merge pull request #326 from micmac1/yate-fix-mysql-detection
yate: fix mysql detection
2018-05-09 13:55:20 +02:00
Sebastian Kemper
32fa1723c9 yate: fix mysql detection
When configure is called with '--with-mysql="$(STAGING_DIR)/usr"' it tries
to detect mysql manually instead of using mysql_config. This doesn't always
work:

<snip>
checking for MySQL in /var/lib/buildbot/slaves/slave-lede-builds4/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl/usr... no
<snip>

This commit changes the configure argument to '--with-mysql=yes/no'. When
'yes' is selected configure uses mysql_config and then the detection works
reliably.

<snip>
checking for MySQL using mysql_config... yes 10.1.32
checking whether MYSQL_OPT_RECONNECT is declared... yes
checking whether MYSQL_OPT_READ_TIMEOUT is declared... yes
checking whether MYSQL_OPT_WRITE_TIMEOUT is declared... yes
checking whether mysql_set_character_set is declared... yes
<snip>

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-05 13:21:50 +02:00
Jiri Slachta
b159ed0cf9
Merge pull request #321 from micmac1/chan-lantiq-fix-target-build
asterisk-chan-lantiq: fix dep for nonshared builds
2018-05-01 21:19:05 +02:00
Jiri Slachta
4289fbab0d
Merge pull request #322 from micmac1/baresip-up
Baresip suite: version bumps
2018-05-01 21:16:57 +02:00
Jiri Slachta
fb52a10929
Merge pull request #323 from micmac1/ast-up
Asterisk: version bumps
2018-05-01 21:16:34 +02:00
Jiri Slachta
78ad9d8d36
Merge pull request #324 from micmac1/ast-modules-up
asterisk-channel modules: bump sccp and dongle
2018-05-01 21:15:09 +02:00
Jiri Slachta
de93daa077
Merge pull request #325 from micmac1/kamailio-up
kamailio-5.x: bump to 5.1.3
2018-05-01 21:14:45 +02:00
Sebastian Kemper
5f04977bd6 kamailio-5.x: bump to 5.1.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:09:35 +02:00
Sebastian Kemper
97e04fd17a asterisk-chan-sccp: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:05:30 +02:00
Sebastian Kemper
929ad42044 asterisk-chan-dongle: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:03:53 +02:00
Sebastian Kemper
715bd046c1 asterisk-15.x: bump to 15.3.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed
- drop a module that was removed upstream for being incomplete

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:55:53 +02:00
Sebastian Kemper
6cf1db0c4e asterisk-13.x: bump to 13.20.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:27:06 +02:00
Sebastian Kemper
ff40589317 baresip: bump to 0.5.9
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:03:16 +02:00
Sebastian Kemper
a8535f28fd rem: bump to 0.5.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:01:02 +02:00
Sebastian Kemper
624a5c7a00 re: bump to 0.5.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 13:58:52 +02:00
Sebastian Kemper
8dd77211e0 asterisk-chan-lantiq: fix dep for nonshared builds
Despite all previous efforts chan-lantiq is not built by the build bots.
Checking the logs of a target build reveals that the chan-lantiq builds are
not even attempted.

During the target builds CONFIG_ALL is not set, meaning no regular package
gets selected. CONFIG_ALL_NONSHARED on the other hand is set. But
chan-lantiq still will not be selected, because it depends on "asterisk",
meaning asterisk needs to be selected first for chan-lantiq to become
available.

This commit changes the asterisk depend to "+asterisk", meaning asterisk
will be selected if chan-lantiq is selected.

This was tested with the SDK. A seed config file was added with the
following:

CONFIG_ALL_NONSHARED=y

Running menuselect showed that now chan-lantiq is selected
automatically. This should fix the problem.

The problem with "+asterisk" is that this breaks the asterisk menus for all
asterisk plugins/utilities that follow chan-lantiq alphabetically.  To
address this put the chan-lantiq modules into their own sub menu "Telephony
Lantiq". This is not nice, but the alternative would be to rename the
packages to something like asterisk13-z-chan-lantiq. This would make it
harder to find the packages. Maybe somebody has a better idea in the
future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-27 21:44:43 +02:00
Jiri Slachta
3dd2e9183c
Merge pull request #320 from micmac1/chan-lantiq-no-variants
asterisk-chan-lantiq: avoid VARIANTs
2018-04-24 08:58:39 +02:00
Sebastian Kemper
f0e7c5cd4d asterisk-chan-lantiq: avoid VARIANTs
chan-lantiq currently is still not built by the build bots. Split the
package in two, one for Asterisk 13, the other for 15, to avoid a VARIANT
build. Maybe the build bots do not support nonshared VARIANT builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-15 17:34:21 +02:00