1. 15 Jan, 2009 1 commit
    • Jarod Neuner's avatar
      TLS Subject Checking in tport · 7b637c59
      Jarod Neuner authored
      sofia-sip/tport.h:
      * tport_delivered_from_subjects() returns type (su_strlst_t const *)
      * Export tport_subject_search()
      
      sofia-sip/tport_tag.h + tport_tag.c:
      * Remove TPTAG_TLS_VERIFY_PEER()
        - Depreciated.  Use TPTAG_TLS_VERIFY_POLICY instead.
        - Binary Compatibility is preserved.
      * Add TPTAG_TLS_VERIFY_POLICY()
        - tport can verify incoming and/or outgoing connections, using:
          1) Certificate Signatures only - or -
          2) Certificate Signatures and Certificate Subjects
      * Add TPTAG_TLS_VERIFY_DEPTH()
        - Restrict certificate chain verification to a set length.
      * Add TPTAG_TLS_VERIFY_DATE()
        - Disable notBefore/notAfter checking (application: embedded devices)
      * Add TPTAG_TLS_VERIFY_SUBJECTS()
        - Incoming connections must present client certificates with subjects
          that match an item in this list.
        - Intended Use: Proxy Authentication
      * Replaced TPTAG_TRUSTED() with TPTAG_X509_SUBJECT()
        - Commented out for future use.
        - Intended Use: SIP User Identities in Server Certificates.
      * Add appropriate doxygen documentation.
      
      tport.c
      * Add tport_subject_search()
        - Subject can be a hostname, IP Address, or a URI.
        - Valid subject examples include:
            example.com
            alice@example.com
            sip:alice@example.com
            sips:alice@example.com
      * tport_by_addrinfo() matches tpn_canon against the subject list
          of reusable TLS connections.
      
      tport_tls.h:
      * Add tls_init_secondary()
      * Remove tls_init_slave() & tls_init_client()
      
      tport_tls.c:
      * tls_verify_cb() supports TPTAG_TLS_VERIFY_DATE()
      * tls_post_connection_check() verifies certificate subjects.
      * tls_init_secondary()
        - Replaces tls_init_slave(), tls_init_client(), and tls_clone().
      
      tport_type_tls.c:
      * Removed erroneous reference to tport_tls_deliver()
      * Fix a memory leak caused by duplicate calls to tls_clone().
      * Populate the (tport_t *)->tp_subjects field with peer certificate data for
        new secondary connections.
      
      darcs-hash:20090115155045-2152f-aaec406d8e5dbf146949d4d3cbc9f56e201cba46.gz
      7b637c59
  2. 16 Dec, 2008 2 commits
    • Jarod Neuner's avatar
      Early TLS Handshake and Verification · 4af68bbd
      Jarod Neuner authored
      tport_type_tls.c:
      * tport_tls_accept():
        - Replaces tport_accept for incoming TLS connections.
      * tport_tls_connect():
        - Replaces tport_base_connect() for outgoing TLS connections.
      
      tport_tls.c:
      * tls_t now use a memory home instead of malloc.
      * removed tls_check_hosts()
      * tls_connect():
        - Replaces tport_base_connect for TLS connection setup.
        - Completes TLS handshake and verifies peer certificates.
        - Destroys suspect TLS connections before sending/receiving payload.
        - Populates a su_strlst_t with subjects from the peer certificate.
      
      tport.c:
      * tport_is_verified()
        - true if peer certificate validated successfully
      * tport_delivered_from_subjects()
        - Certificate subjects listed in the peer certificate.
      
      darcs-hash:20081216221937-2152f-3d6b74d411b57c22230e4840fca133da48c86368.gz
      4af68bbd
    • Jarod Neuner's avatar
      Helper functions for vtp_connect and vtp_wakeup_pri. · f799e03c
      Jarod Neuner authored
      - Expose tport_setname() and tport_wakeup() via tport_internal.h
      - Add tport_register_secondary() for adding secondaries to a root, and
        to alleviate the need to export tprb_append.
      
      darcs-hash:20081216175826-2152f-1a5680d4ca61ba2405b497cfc12bde3a776bfd64.gz
      f799e03c
  3. 27 Nov, 2008 1 commit
  4. 07 Mar, 2008 1 commit
  5. 27 Feb, 2008 1 commit
    • Michael Jerris's avatar
      msvc2008 · 1e871a6b
      Michael Jerris authored
      darcs-hash:20080227213431-16063-b9be07d945c93dd41e64ad929de2060c1143bb37.gz
      1e871a6b
  6. 11 Jan, 2008 1 commit
  7. 29 Nov, 2007 1 commit
  8. 20 Sep, 2007 1 commit
  9. 25 Jul, 2007 2 commits
  10. 28 Jun, 2007 1 commit
  11. 30 Apr, 2007 2 commits
  12. 23 Apr, 2007 1 commit
  13. 06 Feb, 2007 1 commit
  14. 07 Dec, 2006 1 commit
  15. 05 Dec, 2006 2 commits
  16. 16 Nov, 2006 1 commit
  17. 26 Sep, 2006 2 commits
  18. 25 Sep, 2006 1 commit
  19. 20 Sep, 2006 1 commit
  20. 19 Sep, 2006 2 commits
  21. 11 Sep, 2006 1 commit
  22. 06 Sep, 2006 1 commit
  23. 23 Aug, 2006 1 commit
  24. 17 May, 2006 1 commit
  25. 12 May, 2006 1 commit
  26. 26 Apr, 2006 5 commits
  27. 25 Apr, 2006 1 commit
  28. 18 Apr, 2006 1 commit
  29. 17 Apr, 2006 1 commit
    • Pekka Pessi's avatar
      Updated compression interface in tport. · 7aa0ca38
      Pekka Pessi authored
      Added tport_compressor_t type, tport_delivered_with_comp().
      Removed tpac_sigcomp_accept() and tport_delivered_using_udvm().
      
      darcs-hash:20060417233320-65a35-8a2571e39146a82f57e58d5e97c126392840c873.gz
      7aa0ca38
  30. 31 Mar, 2006 1 commit
    • Pekka Pessi's avatar
      Added stun server and compression plugins. · 31f5e43b
      Pekka Pessi authored
      Added TPORT_STUN_SERVER().
      Having stun server dependencies in <tport_stub_stun.c>.
      Moved sigcomp dependencies into <tport_stub_sigcomp.c>.
      
      darcs-hash:20060331154135-88462-90caca9b5511bfdae6efa5d609deee9d03841607.gz
      31f5e43b