- 04 Aug, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: Ifac53c178d59434027d162be0400070c01144e81
-
- 02 Aug, 2019 1 commit
-
-
Eden Abitbol authored
Update libupnp to version 1.8.4. For windows, the IPV6 preprocessor must be undefined. Or else libupnp won't initialize. Added visual studio 2017 support via one patch for windows that also combines previous windows patches. UPnPController: Class that the jami classes use to control the opening and closing of ports. Every service has it's own upnp controller. The controller does it's actions by using the upnp context class. Also refactored the functions used to add mappings. Instead of using two different functions with different types of parameters, we now use one function with parameters that have default values. The logic stays the same but the function call is more clear. UPnPContext: Class that holds a (linked) list of discovered IGDs and their corresponding protocols (which discovered them). Whenever the controller wants to add or remove a mapping, the context picks a valid IGD in it's list and uses the correct protocol to complete the required action. This class also has the ability to swap protocols for an IGD that was discovered by more then one protocol. UPnPProtocol: Virtual base class that defines the functions needed by the context to use the corresponding protocol. PUPnP: UPnPProtocol derived class that represents a upnp client that uses the portable upnp library (libupnp). Every time the client discovers a new IGD it uses a callback to add it to the context's main IGD linked list. It also has an internal list of IGDs that it discovered. Added features to this class include: - IGD event subscription. - Use UpnpInit2 function instead of deprecated UpnpInit function. It's also supposed to support IPv6. NatPmp: UPnPProtocol derived class that represents a upnp client that uses the NAT-PMP library (libnatpmp). Unlike libupnp, libnatpmp only supports discovering one IGD. Also uses callbacks to add the IGD it finds to the context's main IGD class. Also inclided debug warning prints whenever a controller opens and closes the ports. That way we can keep track of whenever the application opens and closes ports on the internet gateway device. Gitlab: #96 Change-Id: I199271edac2c6d93dc60c24e2e2aefe36de7950c
-
- 02 Apr, 2019 1 commit
-
-
Adrien Béraud authored
* rename namespace from ring to jami * rename logs methods from RING_* to JAMI_* * rename RING_VIDEO to ENABLE_VIDEO Change-Id: Ic98498652d7059fafe58a96220d565bcdfa53658
-
- 02 Jan, 2019 1 commit
-
-
Sébastien Blin authored
Change-Id: Ia4ed75d04a284efa0763c917aeaa2f08863a87cb
-
- 26 Jul, 2018 1 commit
-
-
Hugo Lefeuvre authored
Change-Id: Ifbc5f3792a7019dcfa8249eb30afe2a64cbeb57c Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 24 May, 2018 1 commit
-
-
Alexandre Viau authored
As contributed by Uwe Kleine-König <uwe@kleine-koenig.org>: - https://bugs.debian.org/884249 The compat code needs atleast upnp 1.6.25 Change-Id: Ia5e50dc362a64b4acd252dac5137e2aba4795064
-
- 23 Jan, 2018 1 commit
-
-
Guillaume Roguez authored
Change-Id: I1ef88bc640f79790aad2b5285ea2c776aa8cd366
-
- 23 Mar, 2017 1 commit
-
-
Guillaume Roguez authored
In NAP-PMP implementation, a std::thread member of UPnPContext class is placed before member used by the thread. This thread is run during the class initialization (ctor). So the thread can start and access to these members when they are not initialized. The consequence is a std::terminate() call causing the stop of daemon. Fix that by moving the thread member after *ALL* used members. Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> Change-Id: Ibb7334e653a9c80c566ffc3944c93a6ef64e0a8b
-
- 05 Jan, 2017 1 commit
-
-
Guillaume Roguez authored
Change-Id: I6dbc51dd41c1f44d1446fe7365026af037bc86d9 Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
- 15 Oct, 2016 1 commit
-
-
Adrien Béraud authored
Fix and enable VPX on Android. Since the Android build moved to clang and libc++, it's no longer necessary to redefine some common standard C++ methods. Change-Id: I3488633782ded31bc260c5a234802ebd6f251377
-
- 10 Aug, 2016 1 commit
-
-
Adrien Béraud authored
Change-Id: Ia59165ea7d200c7c7cde666edb3918517119f199 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 26 Jul, 2016 1 commit
-
-
Adrien Béraud authored
Will properly check for a valid PMP IGD, clear and reopen ports in case of connectivity change. Change-Id: I47acfa9027217f5ba9f6c6c5b99d46abf5908e31 Tuleap: #805 Tuleap: #841
-
- 25 Jul, 2016 1 commit
-
-
Adrien Béraud authored
* add optional dependency to libnatpmp * can run with or without UPnP * transparently replaces UPnP when available Change-Id: I1bbded421833cdc2506b42106e30cc8b3dde4c2d Tuleap: #805
-
- 22 Jul, 2016 1 commit
-
-
Stepan Salenikovich authored
This allows the clients to notify the daemon when the conenctivity (ie: network status) has changed. The daemon will then try to detect the new IGD (UPnP) and re-connect all enabled accounts. Change-Id: I5c8fc57f75e48d86eda5d195b0586c61a26134ad Tuleap: #841
-
- 13 Jul, 2016 1 commit
-
-
Guillaume Roguez authored
This reverts commit 150035a8. reasons of the revert: - doesn't link on Mac - doesn't build on IOS - build and link on linux, but the shared library is not found in rpath Change-Id: Ie2eb1fe587adea1b607fde727abe6c641762495b Notes: libnatpmp is not used on Android
-
- 11 Jul, 2016 1 commit
-
-
Adrien Béraud authored
* add optional dependency to libnatpmp * can run with or without UPnP * transparently replaces UPnP when available Change-Id: I8477f3d91d8185f7872a3e00600daa7755ac0eee Tuleap: #805
-
- 09 Mar, 2016 1 commit
-
-
Guillaume Roguez authored
tools/update-copyright script used for that Change-Id: I89b13300d9ccbdbcd47dba679ba64be82499e83d Tuleap: #454
-
- 21 Sep, 2015 1 commit
-
-
Guillaume Roguez authored
- remove OpenSSL exception - fix Savoir-faire Linux naming - fix common Author: representation Issue: #80663 Change-Id: I6c3b2ca1ed48ed474a0ecd5a30fe793526e11b00
-
- 05 Aug, 2015 1 commit
-
-
Adrien Béraud authored
This commit bumps OpenDHT to make use of the related connectivityChanged() method of the dht. Issue: #78262 Change-Id: I64ea7b745cfc0653a09e8f6fb2d23b2d3fc6db4e
-
- 15 May, 2015 1 commit
-
-
Edric Milaret authored
Refs #71910 Change-Id: Iab724e6c9b9f6e412623a125a5bb076d3c78a57e
-
- 20 Mar, 2015 1 commit
-
-
Guillaume Roguez authored
Refs #68986 Change-Id: Ia95b140e4f4d6625d1df12d52a40414482b2e773
-
- 10 Mar, 2015 1 commit
-
-
Éloi Bail authored
Refs #68205 Change-Id: I32270124d4b2d6e407465150a4d53f819e118557 Signed-off-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 02 Mar, 2015 2 commits
-
-
Guillaume Roguez authored
Refs #67228 Change-Id: Iddaa84dc05b0ea1b732d2e94d0e62d3fd205c754
-
Guillaume Roguez authored
* Add timeout parameter to hasValidIGD to let caller decide if he want to block or not and how long. * Change callers to support this timout. * replace extra search mutex/cv by exiting validIGD mutex and add a validIGD cv. Refs #67319 Change-Id: If743aa6df9aa21c0a542d489615c9b032e2b5fa7
-
- 12 Feb, 2015 1 commit
-
-
Stepan Salenikovich authored
Removes libminiupnpc as a dependency. Adds libupnp into the contrib system. Accounts with upnp enabled asynchronously wait to find an IGD (or timeout) before completing registration. Refs #65376 Refs #65382 Change-Id: I44376e49c078a0e33a8bb92ee2ca8e4df09f6fec
-