1. 09 Mar, 2016 4 commits
  2. 08 Mar, 2016 2 commits
  3. 07 Mar, 2016 1 commit
  4. 05 Mar, 2016 1 commit
  5. 04 Mar, 2016 1 commit
    • Stepan Salenikovich's avatar
      upnp: do not use IPv6 · aa119d78
      Stepan Salenikovich authored
      IPv6 is enabled in libupnp which ships with ubuntu 16.04, but the
      ipv6 init fails.
      Change-Id: I94a652b4b6270a4b50e237e103445df9c23f3abe
      Tuleap: #442
  6. 02 Mar, 2016 1 commit
    • Guillaume Roguez's avatar
      tls: fix for-ever cookie phase · ac3dddec
      Guillaume Roguez authored
      This patch adds a timeout to SYN cookie wait step to not lock
      for-ever TLS establishement if client never reply.
      Change-Id: If843722ae7cfe6c506cee971da925f725b35e138
      Tuleap: #436
  7. 01 Mar, 2016 2 commits
    • Adrien Béraud's avatar
      media_video: reduce default resolution from 720p to 640p · 5cc051db
      Adrien Béraud authored
      Change-Id: I3d3cf3e11625ef52beedf514e903a997648ce74a
      Tuleap: #430
    • Guillaume Roguez's avatar
      sips: fix send ack · dfb97916
      Guillaume Roguez authored
      send ack message was queued in a queue unstacked in
      the main thread, but this last is busy by application
      waiting for the ack... deadloop!
      This patch fixes this by calling the application ack
      confirmation callback immediatly when the TLS acknowledge
      the ack.
      Change-Id: Ic8fe6102acca184d78f86e3e8524382e9b257f4b
      Tuleap: #433
  8. 29 Feb, 2016 1 commit
  9. 26 Feb, 2016 2 commits
    • Guillaume Roguez's avatar
      alsa: fix possible threading issue · 2f0eaa68
      Guillaume Roguez authored
      An std::thread, ctor constructer, must be the last members in a class to be sure
      that all previous members are initialized in class ctor before to run the thread
      This may fixes random issues seen with others member accesses.
      Change-Id: I7ceb0cf522236411f4a2faa34ff4f32eae0e4c13
      Tuleap: #171
    • Patrick Keroulas's avatar
      tools: add/remove DHT account from Python interface · 131301b4
      Patrick Keroulas authored
      When the daemon is installed on multiple targets with no interface except
      the Python control utility, no Ring account should pre-exist so
      the Python client should be able to create a new one on first boot.
      Rename long arguments.
      Tuleap: #365
      Change-Id: Ie78401e35aafd8ea656f001928f0a94154352752
  10. 25 Feb, 2016 2 commits
    • Guillaume Roguez's avatar
      add --auto-answer CLI option · 5b894056
      Guillaume Roguez authored
      This patch:
      - add --auto-answer CLI argument option
      - bind it to a new Manager atomic bool
      - force a answerCall to be called if an incoming call is created and
      if the autoAnswer bool is true
      Note: this option is not intended to be use with a client.
      Use at your own risk.
      Change-Id: I7c3edbbaea5462b2dfda9ec68dd9e41667f00aca
      Tuleap: #425
    • Guillaume Roguez's avatar
      videomanager: fix bad memory access · 4d295519
      Guillaume Roguez authored
      - remove videoManager global instance.
      - allocate a VideoManager instance when Manager instance is created.
      - add Manager::getVideoManager() method to get this instance.
      - force getSignalHandlers() to be called before Manager instance creation.
      All of this prevents VideoManager to access to signal handlers map,
      already destroyed, causing a memory access violation.
      Change-Id: I21ebff08fa8d49e797f99299de12dab023c37769
      Tuleap: #413
  11. 24 Feb, 2016 4 commits
  12. 23 Feb, 2016 1 commit
  13. 22 Feb, 2016 5 commits
    • Edric Milaret's avatar
      windows: support 64bit builds · 737f707b
      Edric Milaret authored
      - This patch allow us to build 64bits version of
      the daemon (and thanks to that LRC and client too)
      - We should essentially gain performance in CPU intensive task
      like video processing
      Depends on yaml-cpp bump that fix x64 mingw compilation
      Change-Id: I32c7bafba0eddfa8a6779e1c13bde2ea56bf904b
      Tuleap: #387
    • Edric Milaret's avatar
      contrib: bump ffmepg · 40a0a498
      Edric Milaret authored
      - Lots of bugfixes and CVE fix
      Tuleap: #381
      Change-Id: I32ac56cea5b6a5a8b3154ee262599870fbdd33ed
    • Edric Milaret's avatar
      remove lots of warning during Win32 build · ae234d24
      Edric Milaret authored
      Tuleap: #381
      Change-Id: Ibf1cb1f72f874758d1bd86a5e3a8cd7d6d875fae
    • Guillaume Roguez's avatar
      pulseaudio: fix memory leak · 7e2bc1e0
      Guillaume Roguez authored
      This leak is due to memory allocated by pa_context_subscribe()
      and not free as expected.
      This function returns a pointer on a pa_operation structure.
      This patch calls pa_operation_unref() on it when pa context is
      terminated and when PulseAudio class is deleted.
      This patch also improve the mainloop destroying (to prevent memory leak)
      by using aa true RAII concept with a std::unique_ptr.
      Change-Id: I8a27fd1672b7952f0fe1c944712ab6955cedfa97
      Tuleap: #412
    • Guillaume Roguez's avatar
      media: fix memory leaks · 207f0d15
      Guillaume Roguez authored
      This patch fixes various memory leaks found with ASAN.
        - av_dict_free wasn't called after av_dict_set
        - avformat_free_context wasn't called
        - safe_by_default: all av_malloc has been replaced by std::vector
      Tuleap: #412
      Change-Id: Ic47cc87b8ed013e7fac5dea80ea7e7aee96139b7
  14. 19 Feb, 2016 1 commit
    • Adrien Béraud's avatar
      contrib: bump opus from 1.1 to 1.1.2 · 98a66d40
      Adrien Béraud authored
      Should improve performance on all platforms (from http://opus-codec.org) :
      * x86 SSE, SSE2 and SSE4.1 intrinsics optimizations with run-time CPU detection contributed by Cisco Systems,
      * MIPS intrinsics optimizations contributed by Imagination Technologies,
      * ARM Neon optimizations contributed by Linaro and ARM
      Tuleap: #407
      Change-Id: I3dbd47a89abc7de99132843ff6b899b2b809ab47
  15. 18 Feb, 2016 3 commits
    • Adrien Béraud's avatar
      account: prevent all codecs from being disabled · 6299a511
      Adrien Béraud authored
      All codecs being disabled prevents Ring from making any call.
      If all codecs are disabled for audio or video, re-enable all codecs
      of this kind.
      Tuleap: #394
      Change-Id: Ib65e0e878686b2580b312202482b9ddbce298590
    • Adrien Béraud's avatar
      codec: catch potential stoi exception · b1120dc1
      Adrien Béraud authored
      All codec parameters are sent as strings and then some are converted
      to numbers. The stoi conversion can throw an exception if a string
      which is not actually an integer is passed and this should be caught.
      The daemon should not crash from passing bad values via the dbus.
      Change-Id: Ia42da689e08d601e0c94ad6ad14654ba9dfa8668
      Tuleap: #215
    • Guillaume Roguez's avatar
      sipaccount: fix nullptr access · 33a0aa38
      Guillaume Roguez authored
      SipAccount::CheckNATAddress may use regc_ member
      when this one has been previsouly destroyed
      and set to nullptr.
      This patch checks regc_ value and take care to return correctly,
      to prevent call to pjsip_regc_update_contact with nullptr regc.
      Change-Id: I97590debd672095fed63ced40d3c541333b773f8
      Tuleap: #172
  16. 17 Feb, 2016 3 commits
    • Guillaume Roguez's avatar
      video_device: fix osx build · d702b297
      Guillaume Roguez authored
      add missing cmath include to build on osx
      Change-Id: If7e1e20e6aac4b920381407b4e9df72e6ed1b4fa
      Tuleap: #294
    • Adrien Béraud's avatar
      video_device: add default settings selection logic · bdd139c9
      Adrien Béraud authored
      * use default settings if no preference exists
      * logic requires unformated parameters (added related methods)
      * current logic: largest resolution <= 720P, framerate >= 10 FPS
      * support new pixel format
      * report pixel format to libav/ffmpeg for decoding
      Tuleap: #294
      Change-Id: Ia9b61814b49e7057ae4eb5fef9d0b814706cafff
    • Guillaume Roguez's avatar
      ringaccount: fix non-handled exception · 450390a0
      Guillaume Roguez authored
      RingAccount::handlePendingCall may throw exception and was not
      catched by the handlePendingCallList loop.
      This leds to non-handled pending calls (all after the failing one).
      This patch fixes that by catch all exception and drop bad guys.
      Change-Id: Ic62e115bf32b467e04a19f2ae077d8256a69d90e
      Tuleap: #106
  17. 16 Feb, 2016 4 commits
    • Guillaume Roguez's avatar
      sip: fix pjsip crash if transport send_msg fails · 0592f9d5
      Guillaume Roguez authored
      As PJSIP documentation said, pjsip_transport::send_msg must
      not call the user callback if PJ_EPENDING is not returned,
      like in case of immediate completion or when an error happens.
      Was not the case in re-factoring on SipsTransportIce class.
      This patch fixes this problem.
      Change-Id: I6b8ea8efb6aa61191914d7794f5484612095598a
      Tuleap: #106
    • Edric Milaret's avatar
      contrib: bump yaml-cpp · d056bd7d
      Edric Milaret authored
      - Use new version using C++11 shared_ptr rather
      than boost implementation
      - This remove the dependence to boost
      Tuleap: #381
      Change-Id: I64f0b58c75b9a573098a41f9f675067bb1e1f5ea
    • Guillaume Roguez's avatar
      security: fix wrong returned cipher suite id · 4d0e3376
      Guillaume Roguez authored
      TlsSession::getCurrentCipherSuiteId() has a minor security bug
      causing the wrong cs_id and cipher name returned.
      This patch fixes this issue by checking all cipher suite parameters:
      key_exchange, cipher_algo and mac_algo, not just chipher algo as before.
      Change-Id: If76c37d34a0efb6141c96d7942a6acb7fd54c2ac
      Tuleap: #106
    • Adrien Béraud's avatar
      security: use better PFS priority string · b9300629
      Adrien Béraud authored
      This patch changes the TLS priority string to remove RSA key-exchange
      algorithms from current cipher suites (based on SECURE192).
      This let DH key-exchange the only remaining algorithms.
      Notice that we use a minimal of 2048-bits DH params
      by using GNUTLS_SEC_PARAM_NORMAL settings
      in the gnutls_sec_param_to_pk_bits function.
      Using this priority makes audio and video calls forward secure,
      a significant security and privacy feature for Ring users.
      Tuleap: #383
      Change-Id: Iabf51bb52617354c34410d15ee96e0be90acee55
  18. 15 Feb, 2016 1 commit
    • Guillaume Roguez's avatar
      security: extract TLS session from SipsIceTransport · c8f451e4
      Guillaume Roguez authored
      TLS session (class handling gnutls session client/server) has
      to be extracted from SipsIceTransport class.
      This last is PJSIP transport related, but we need TLS session
      to securise other kind of network socket.
      This extract has moslty re-written all previous classes
      has the global working model has change.
      This also introduces:
      - flood protection in server SYN cookie state
      - better FSM model in TLS session
      - network statistics recording
      - simplify SipsIceTransport design
      - ICE fixes to not block in waitForData() if ICE is stopped
      - integrate Diffie-Hellman params generation from RingAccount
      Change-Id: I32cf1f0c82dee548912d9efdaca5a4447ab05ec7
      Tuleap: #106
  19. 10 Feb, 2016 1 commit