Commit Graph

13 Commits

Author SHA1 Message Date
Eneas U de Queiroz 564ca99e2c mcproxy: include PKG_MIRROR_HASH, refresh patches
This avoids unnecessary downloads and rebuilds.
Patches were refreshed to please github PR checks.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-19 07:04:33 +01:00
Jo-Philipp Wich 7fc5c6e56f
Merge pull request #476 from blogic/master
mcproxy: some add some fixes
2019-07-30 12:10:34 +02:00
John Crispin ff7c509caa mcproxy: fix up sourcefilter patch
this spewed out 2 compile warnings

In file included from build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/mc_socket.cpp:43:0:

build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp: In function 'int setsourcefilter(int, uint32_t, const sockaddr*, socklen_t, uint32_t, uint32_t, const sockaddr_storage*)':
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:157:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:160:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
     int save_errno = errno;
     ^~~

Signed-off-by: John Crispin <john@phrozen.org>
2019-06-30 13:03:23 +02:00
John Crispin a56d996b94 mcproxy: add igmpV2 reply support
mcproxy has no way to send an IGMPv2 query today. If you force IGMPv2 (by
setting the protocol in the mcproxy config and setting the force_igmp_version
flag on all interfaces) the bridge will send v2 queries but if mcproxy takes
over as the querier it will send v3 queries. The patch below adds support for
sending v2 queries so everyone stays in sync:

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
2019-06-30 13:03:18 +02:00
Rosen Penev b3ebe49dab mcproxy: Fix compilation with uClibc-ng
uClibc-ng also defines __GLIBC__, which messes up the check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 15:38:10 -07:00
John Crispin 490971e8e5 mcproxy: fix block/filtering code
mcproxy supports a generic filtering/blacklisting mechanism but it’s currently
broken. In the case of routed video (e.g. mcproxy routing video from
WAN -> LAN), it will forward multicast between the LAN and WAN. There are
perfectly valid use cases for this like reporting but other less-appropriate
things like mDNS and SSDP leak through from LAN -> WAN which is bad.

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
2019-06-05 20:33:21 +02:00
Stefan Peter 91e76a2f56 mcproxy: remove pedantic flag to allow compilation with musl
Signed-off-by: Stefan Peter <s.peter@mpl.ch>
2017-02-27 10:05:34 +01:00
Álvaro Fernández Rojas 898cc963d6 mcproxy: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-17 21:36:42 +02:00
Álvaro Fernández Rojas e03ee22d04 mcproxy: update to latest version, add UCI support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-12-31 21:22:02 +01:00
Álvaro Fernández Rojas 983c205bec [mcproxy] Add sourcefilter only for uClibc. 2014-04-05 14:21:28 +02:00
Álvaro Fernández Rojas 0e39fefd7f [mcproxy] Split patches. 2014-04-05 14:15:16 +02:00
Steven Barth 8f98d53e1d mcproxy: add initial
Conflicts:

	mcproxy/Makefile
	mcproxy/files/mcproxy.conf
	mcproxy/files/mcproxy.init
2014-03-26 18:16:07 +01:00
Álvaro Fernández Rojas ad9d95cca2 [mcproxy] Add support for mcproxy v1.1.0. 2014-03-20 16:46:14 +01:00