Commit Graph

851 Commits (mr4.5.8.1)

Author SHA1 Message Date
Richard Fuchs 015b2a9bc8 legacy tcp protocol fix
11 years ago
Richard Fuchs b44bb288c9 segfault fix
11 years ago
Richard Fuchs 4a97bb167a attempt to work around trickle ice
11 years ago
Richard Fuchs b586fa7031 fix memory leak
11 years ago
Richard Fuchs c2ff5c3fd3 MT#9935 understand, learn, remember and report RTP payload types (codecs)
11 years ago
Richard Fuchs 5fa9902de9 atomic vars should be volatile
11 years ago
Richard Fuchs f7a15946dc more descriptive warning for failed kernelizing
11 years ago
Richard Fuchs 037c6aa7dd shorter locking in stats loop
11 years ago
Richard Fuchs a5f7315a72 string handling fixes and improvements
11 years ago
Richard Fuchs d79c68f532 remove some unnecessary memsets
11 years ago
Richard Fuchs fb667a8dba turn tag and termination texts into array lookups
11 years ago
Richard Fuchs adeb0b33a3 the log rate limiter must take the prefix into account
11 years ago
Richard Fuchs c22cc161ed Merge branch 'rfuchs/atomic-stats'
11 years ago
Richard Fuchs b023d6c173 update redis mod version to 7
11 years ago
Richard Fuchs ca149e6b81 "long" can be 32 bits only and may truncate math
11 years ago
Richard Fuchs da6b6a119a fix compiler warning on 32bit
11 years ago
Richard Fuchs 49328cd8b5 implement atomic64 for non-64-bit platforms
11 years ago
Richard Fuchs 787d90f004 rename atomic_uint64 to atomic64 for brevity
11 years ago
Richard Fuchs fb9ed6ef0a use trial & error approach to guess ROC in case of SRTP auth failures
11 years ago
Richard Fuchs deba231143 rename an old MP_ variable to RE_
11 years ago
Richard Fuchs fedaaddf03 remove superfluous \n from log messages
11 years ago
Richard Fuchs 3bc1672a0e more atomic stats, and fix average length calc
11 years ago
Richard Fuchs 20fd255acc use UINT64F instead of %llu where appropriate
11 years ago
Richard Fuchs 28c6db9e53 fix references and locking in CLI
11 years ago
Richard Fuchs 411a888f9b use atomic ops for stats
11 years ago
Richard Fuchs ee4f2d22ab convert ilog() into macro
11 years ago
Richard Fuchs de37ac046c use TLS buffer array for temporary strings
11 years ago
Richard Fuchs 9e44c16d37 Merge branch '1and1-master'
11 years ago
Richard Fuchs 38822852c3 decrease calls to time() in graphite code
11 years ago
Richard Fuchs 7175a261ca decrease sleep time of graphite loop
11 years ago
Richard Fuchs 965d989c93 static'ize graphite global vars
11 years ago
Richard Fuchs c0b2f3debd fix graphite code not to leak fds in error cases
11 years ago
Richard Fuchs 36c7141d53 change control_ng_stats into a hash and use locking and atomic ops
11 years ago
Richard Fuchs f5444718d4 fix compiler warnings
11 years ago
Richard Fuchs 57c0a84d81 add locking to totalstats
11 years ago
Richard Fuchs 37d98ad3ed dump DTLS cert and keys
11 years ago
Richard Fuchs a81588e313 provide convenience function get_log_level()
11 years ago
Frederic-Philippe Metz 7e6a2b809a Merge branch 'dev-fmetz'
11 years ago
Frederic-Philippe Metz 794709f71a Changed retry behaviour for connecting to graphite server.
11 years ago
Frederic-Philippe Metz 0ccb11a18d Added statistics on control ng interface.
11 years ago
Frederic-Philippe Metz 61a72b190f Added some more statistics.
11 years ago
Frederic-Philippe Metz 7446822df6 Forgot the files ..
11 years ago
Frederic-Philippe Metz 2ae0e35de4 Added functionality to report statistics to graphite
11 years ago
Carsten Bock 9a2da87f13 Fix randomness source for key generation.
11 years ago
Richard Fuchs e24253a709 move parse_ip(6)_port into aux.h
11 years ago
Richard Fuchs 49d1b66bcd Merge branch 'rfuchs/variable_b2b_callback_uri'
11 years ago
Richard Fuchs 2af682bdd5 use SSL_CTX_set_read_ahead to fix for openssl 1.0.1k
11 years ago
Richard Fuchs 43cd3f520a reset other side's crypto params only in passthru mode
11 years ago
Richard Fuchs c4e3aa919e Merge branch 'master' of git://github.com/etamme/rtpengine into etamme-master
11 years ago
Richard Fuchs 02d27d5e02 MT#10583 support b2bua callback to sip proxy address
11 years ago
Richard Fuchs caba5be677 MT#10583 remember the "created from" address in raw format
11 years ago
Eric Tamme b8b17bfa6b clear crypto for BOTH legs when in passthrough mode
11 years ago
Richard Fuchs a0068f4f02 relax sdes key lifetime validation check
11 years ago
Richard Fuchs 922211d44c Merge branch 'rfuchs/1und1-patches'
11 years ago
Richard Fuchs 3cfeb5ddbc optionally allow broken SDPs as compile switch
11 years ago
Frederic-Philippe Metz a4168bee14 RTPENGINE-12_Fixed_Segmentation_fault_if_only_offer_received.patch
11 years ago
Victor Seva 66a5137ab7 Allow to choose CC
11 years ago
Richard Fuchs d79bcfe7e4 remove extraneous linefeed
11 years ago
Frederic-Philippe Metz b5665816e6 VOIPTEST-231_session_duration_rectl_milliseconds.patch
11 years ago
Frederic-Philippe Metz 4882d917ba RTPENGINE-1_total_statistics_rectl.patch:
11 years ago
Frederic-Philippe Metz 59329ddd04 VOIPTEST_220_delete delay
11 years ago
Richard Fuchs 0e531ebdf2 change created_from to an allocated string buffer
11 years ago
Frederic-Philippe Metz d623710bc4 adaptions_for_ng_protocol:
11 years ago
Frederic-Philippe Metz 5342158811 added_information_of_from_to_tag:
11 years ago
Richard Fuchs 43bcbcc4db change created_from to an allocated string buffer
11 years ago
Frederic-Philippe Metz a871cd7507 added_address_of_invoking_proxy
11 years ago
Frederic-Philippe Metz 131c9e8110 cli
11 years ago
Frederic-Philippe Metz ee655bdcc6 added_milliseconds_precision_for_CDR.patch:
11 years ago
Frederic-Philippe Metz 947b35e889 fixed_callduration_and_added_termination_reason_20141125:
11 years ago
Frederic-Philippe Metz 9886de4654 cdrpatch.dpatch:
11 years ago
Richard Fuchs 276c7c85d7 report errno in log on sendmsg() error
11 years ago
Richard Fuchs 0113991ef5 MT#9585 rename kernel module and all related items from MEDIAPROXY to RTPENGINE
11 years ago
Richard Fuchs dcfd7032b2 deadlock fix
11 years ago
Richard Fuchs 935487b663 avoid race condition by making OpenSSL thread safe
11 years ago
Richard Fuchs 407722599b avoid unnecessary DTLS restarts
11 years ago
Richard Fuchs a1786d67fc segfault fix: ps->sfd can be null
11 years ago
Richard Fuchs 34786298a2 dont output error message on stun SOFTWARE attribute
11 years ago
Richard Fuchs 50d1839ffe reset DTLS and crypto params when endpoints change
11 years ago
Richard Fuchs 91221ef7a6 move DTLS setup logic into separate function for readability
11 years ago
Richard Fuchs e09fbd2f7e dtls shutdown clears crypto context as well
11 years ago
Richard Fuchs d272e9e5f1 add more flags to stats output
11 years ago
Richard Fuchs 4c408e5388 add --dtls-passive switch
11 years ago
Richard Fuchs f826d01c29 make "trust address" the default behaviour
11 years ago
Richard Fuchs 97b472bfdb dont break legacy control protocols
11 years ago
Richard Fuchs 6757c27a46 add DTLS=passive option
11 years ago
Richard Fuchs 955de109b1 support proper DTLS shutdown and restart DTLS on FP change
11 years ago
Richard Fuchs 8c8ff56fec fix pointer const declaration and make it static
11 years ago
Richard Fuchs d0beccbd93 dont break log lines when logging to stderr
11 years ago
Richard Fuchs b49f57b9ea avoid DTLS role change on reinvite
11 years ago
Richard Fuchs 19e0281744 disable "list" NG command if glib version is too low
11 years ago
Richard Fuchs 24608361d6 remove -e argument from awk
11 years ago
Richard Fuchs b66091b090 make number of threads configurable
11 years ago
Frederic-Philippe Metz e77dd1a684 create as many threads as cpus
11 years ago
Richard Fuchs 6cf604ddef fix comparison between int and bitfield
12 years ago
Richard Fuchs 46585265e1 implement a crude log limiter
12 years ago
Richard Fuchs 6379883f7b fix str_hash() for archs enforcing aligned pointers
12 years ago
Dipak Malla bfb41d1971 Fixed linking error in Makefile
12 years ago
Richard Fuchs af9625de74 make multi-homing thread safe
12 years ago
Richard Fuchs e830bf57eb update for redis module
12 years ago
Richard Fuchs 45dee75156 support specifying interfaces to use in control protocols
12 years ago
Richard Fuchs e365572265 receive local address from kernel and use it for outgoing packets
12 years ago
Richard Fuchs 513ac44a84 incorporate new local-interface infrastructure into appropriate places
12 years ago
Richard Fuchs 0cbb4665a5 paving the way to multi-interface support
12 years ago
Richard Fuchs afa9d5b475 Merge branch 'log-facility-switch' of github.com:camilleoudot/rtpengine into camilleoudot-log-facility-switch
12 years ago
Richard Fuchs 4d00147c04 s/force_relay/force-relay/
12 years ago
Camille Oudot faf3e22b9e logging: choose the log facility from the command line, or log to stderr
12 years ago
Richard Fuchs 54f903da3f bugfixes for legacy control protocols
12 years ago
Richard Fuchs fccad69070 segfault fix for tcp status command
12 years ago
Richard Fuchs c0f8196a25 implement detection of duplicate packets to catch and avoid forwarding loops
12 years ago
Richard Fuchs 65812fa2b2 limit the number of times the receive loop can run without breaking
12 years ago
Richard Fuchs fe6567161a simple port randomizer
12 years ago
Richard Fuchs 16b42fbd62 Switch around internal fromtag/totag/endpoint representation
12 years ago
Richard Fuchs 5e129dd8f6 brevity
12 years ago
Richard Fuchs 1f4f0d6137 implement delayed call/branch deletion
12 years ago
Richard Fuchs 50f2bfbc4d allow for fqdn in o= line
12 years ago
Richard Fuchs e0957d1b36 fix TCP/UDP protocol stream output
12 years ago
Richard Fuchs 8f4e3451f4 increase default log level for debug builds
12 years ago
Richard Fuchs 58940b5018 change stun log levels
12 years ago
Richard Fuchs ec21806c95 use default TOS if not using NG protocol
12 years ago
Richard Fuchs 9d001e3452 fix segfault if NG protocol is not used
12 years ago
Richard Fuchs 6b195fc95a Merge branch 'co_list_calls' of github.com:camilleoudot/rtpengine into camilleoudot-co_list_calls
12 years ago
Camille Oudot 81d8616d4c list command: several fixes + documentation
12 years ago
Camille Oudot 6005d14e1a XMLRPC notifications: more formats
12 years ago
Richard Fuchs 77829f92de split very long log lines into smaller pieces
12 years ago
Richard Fuchs 681b2c1a24 version reporting: use git branch and commit if available
12 years ago
Camille Oudot a51db7172b new command: 'list' to retreive the list of active call-ids
12 years ago
Camille Oudot 47b0252446 fix null/empty string check in ng_call_stats
12 years ago
Richard Fuchs 964b644ecd don't skip setting stream to actpass when not using sdes
12 years ago
Richard Fuchs b6ff15cb8a remove unnecessary a=inactive for zero-port media
12 years ago
Richard Fuchs 4bf2ec7415 correct data type for key lifetime
12 years ago
Richard Fuchs e883f57929 better support protocol switching within a call
12 years ago
Richard Fuchs e7aa743fce change default a=crypto: tag from zero to one
12 years ago
Richard Fuchs e1cfc19c18 fix incorrect port allocations
12 years ago
Richard Fuchs 759ea60b3b adding some debug messages
12 years ago
Richard Fuchs 9ecb7daf8d allow for protocol renegotiation
12 years ago
Richard Fuchs b0c7efb241 duplicate x509 in mem for delayed verification
12 years ago
Richard Fuchs 062256baec segfault fix for DTLS protocol errors
12 years ago
Richard Fuchs 9cbe157f4f properly support the udptl protocol
12 years ago
Richard Fuchs d37d385806 properly handle unknown transport protocols
12 years ago
Richard Fuchs 2a38b51a7f better ICE priority calc for non-RFC clients
12 years ago
Richard Fuchs 15640991d7 fix possible deadlock
12 years ago
Richard Fuchs bd770cbab6 Merge branch 'rfuchs/configurable-tos'
12 years ago
Richard Fuchs 69dec02648 fix inappropriate locking sequenece
12 years ago
Richard Fuchs e381e107ec configurable per-call TOS value
12 years ago
Richard Fuchs 2e9ae75fb0 remove needless assertion
12 years ago
Richard Fuchs a7784f5ca3 try to fix null c= address issue
12 years ago
Richard Fuchs b0c0e396d6 allow hyphenated versions of NG protocol flags
12 years ago
Richard Fuchs 56ca361e77 sync bencode from kamailio
12 years ago
Richard Fuchs be500e1ee3 prefer space to underscore in bencode
12 years ago
Richard Fuchs ba1bd04841 silence warning for kernelizing rtcp
12 years ago
Richard Fuchs cbe1f80536 possible segfault fix
12 years ago
Richard Fuchs e9ff918b8f make call_destroy() global
12 years ago
Richard Fuchs 3030324c0a sink must also be unlocked when peer address changes
12 years ago
Richard Fuchs 4ded03de91 implement media-handover and strict-source logic
12 years ago
Richard Fuchs b8a39bed7e avoid log message redundancy
12 years ago
Richard Fuchs eb59af9520 more verbose timeout log message
12 years ago
Richard Fuchs 2036322e07 parse "strict source" and "media handover" flags
12 years ago
Richard Fuchs b9cf00b111 obsolete the "symmetric" flag
12 years ago
Richard Fuchs bb84ea5035 implement explicit warning when kernel support is missing
12 years ago
Richard Fuchs 940030d670 support kernel forward of non-rtp packets
12 years ago
Richard Fuchs 0a42f4aa26 fix timeout handling for silenced streams
12 years ago
Juha Heinanen 5198233952 make ICE=force_relay leave SDP endpoint details alone
12 years ago
Richard Fuchs 011a42650d restore query/stats output
12 years ago
Richard Fuchs 92cab838b3 remove unused variable
12 years ago
Richard Fuchs 09b9303eac fix ICE priority calculation
12 years ago
Richard Fuchs 6c1cb067c3 fix relay ICE candidate type for RTP candidate
12 years ago
Juha Heinanen 2dae4fb8f7 support ICE=force_relay flag
12 years ago
Richard Fuchs 88dfeee622 fix compiler warning
12 years ago
Richard Fuchs 838917b226 compile fixes for older gcc versions
12 years ago
Richard Fuchs 9f1696d2c1 use srtp<>srtp transcode if either side uses dtls
12 years ago
Richard Fuchs aa5bae9777 implement experimental passthrough relay mode
12 years ago
Richard Fuchs b132d8089b redo flags to have a "shared flags namespace"
12 years ago
Richard Fuchs 5d490223f6 set media SDES flag when appropriate
12 years ago
Richard Fuchs e19ca0a66e introduce log level flags (LOG_FLAG_RESTORE)
12 years ago
Richard Fuchs 7c0cc4cec0 updates for redis support
12 years ago
Richard Fuchs 91cae48c2c add core.* files to "make clean" target
12 years ago
Richard Fuchs ec3daabf6e change name of redis plugin file
12 years ago
Richard Fuchs b6643e32aa eliminate redis_uuid
12 years ago
Richard Fuchs c372019f65 re-enable redis module compatibility checks
12 years ago
Richard Fuchs 05e429c610 C99 inlining rules
12 years ago
Richard Fuchs 5faf5e6d7d switch to C99 standard
12 years ago
Richard Fuchs f638f36bb0 replace implicit bit fields with explicit ones
12 years ago
Richard Fuchs 4c0ca278fa rename mediaproxy-ng to rtpengine
12 years ago
Richard Fuchs f8f741b584 Update to upcoming 3.0 release (2.9.9 for now)
12 years ago
Richard Fuchs 50573f40e5 bit field/array fixes
12 years ago
Richard Fuchs bcc020eefb fix IPv4 TOS if IPv6 is enabled
12 years ago
Richard Fuchs 3c4b3872a8 fix the "media address" parameter to comply with the docs
12 years ago
Richard Fuchs eec41b855c fix mem leak
12 years ago
Richard Fuchs 0597817816 update desired address family (based on "direction") when branching
12 years ago
Richard Fuchs 5c616c27af fix erroneous double lookup detection
12 years ago
Richard Fuchs b14908e59e additional debug for double lookup case
12 years ago
Richard Fuchs bda8c543b8 re-learn peer addresses after each signalling
12 years ago
Richard Fuchs 9f51161c61 fix possible segfault on incorrect sp/SP flag usage
12 years ago
Richard Fuchs 6dca04922c fix incorrect backward behaviour regarding the "c" flag
12 years ago
Richard Fuchs 2324721eee remove potentially unnecessary include
12 years ago
Richard Fuchs b18d14eda5 Implement non-fatal warnings in NG replies and use them in "delete"
12 years ago
Richard Fuchs 7e6f1b5bfa enforce stream correlation against same-numbered old streams
13 years ago
Juha Heinanen e84c2f52c3 added log level handling to debian default file and init script
13 years ago
oboisti d74c24ff21 added --log-level option and USR1 and USR2 signals to update log level on the fly
13 years ago
Richard Fuchs 1a83499916 fix incorrect source address of STUN binding responses
13 years ago
Richard Fuchs d63df522d6 merge bencode fix from kamailio source
13 years ago
Richard Fuchs 7e88b38506 change port range defaults to match docs
13 years ago
Peter Dunkley 130d485346 Updated Makefiles and added compilation instructions to work with Enterprise
13 years ago
Richard Fuchs bbc53398f8 implement and document ng "media address"
13 years ago
Richard Fuchs 13ad0428e6 rename some keys in the ng protocol (replace dash with space) but retain compatibility
13 years ago
Richard Fuchs 97d3414105 fix bug when trust-address isnt given
13 years ago
Richard Fuchs 92e43e9aa8 dlopen() doesnt actually set errno
13 years ago
Richard Fuchs bd5959140d kernelize confirmed streams after restore
13 years ago
Richard Fuchs 29789c12cb more frequent redis updates for srtp calls
13 years ago
Richard Fuchs f75bc44685 get rid of the useless ROC and keep variable naming consistent
13 years ago
Richard Fuchs a780cf7891 redis updates
13 years ago
Richard Fuchs 42efaaecec drop support for hosts without ipv6 stack
13 years ago
Richard Fuchs 4e89ac9661 parse and strip extmap attribute (rfc 5285) to make chrome happy
13 years ago
Richard Fuchs 8a7f4d80ed fix another zero-tag bug
13 years ago
Richard Fuchs 67186c31e2 Revert "leave out rtcp attribute in rtcp-mux case"
13 years ago
Richard Fuchs 4628536afb Revert "test weird chrome-style rtcp attribute"
13 years ago
Richard Fuchs 31c1b4c9a8 Revert "trying to get chrome calls working"
13 years ago
Richard Fuchs e41ef22f0f Revert "trying to get chrome calls working"
13 years ago
Richard Fuchs 35d5ea7f3c trying to get chrome calls working
13 years ago
Richard Fuchs 7ac114135e trying to get chrome calls working
13 years ago
Richard Fuchs cf8a55f3af test weird chrome-style rtcp attribute
13 years ago
Richard Fuchs c7477e3fa9 leave out rtcp attribute in rtcp-mux case
13 years ago
Richard Fuchs d9b2397712 add a compile switch to drop support for ipv4-only sockets.
13 years ago
Richard Fuchs b0839891f8 apparently a zero crypto tag is valid
13 years ago
Richard Fuchs 08e60ae2ac copy rtcp-mux state when stealing peer
13 years ago
Richard Fuchs 43764b46d4 implement support for RFC 5761
13 years ago
Richard Fuchs e87787af11 change the sdp attribute lists/hashes around a bit
13 years ago
Richard Fuchs ccf9155218 fix stripping of ice_ufrag attribute
13 years ago
Richard Fuchs 4dcb6aab1f add compile flag for libsrtp vs rfc srtcp key derivation
13 years ago
Richard Fuchs de5b172f32 srtp re-invite fixes
13 years ago
Richard Fuchs e3cf5d521e reverse crypto context in/out as they were backwards
13 years ago
Richard Fuchs 3c93daa015 fix some regressions and bugs
13 years ago
Richard Fuchs cf5e4fab3e this fixes rtcp auth problems against libsrtp based clients
13 years ago
Richard Fuchs f6d91122af un-initialized key contexts after copying struct
13 years ago
Richard Fuchs 0a4418cd4b consistent use of existing macros
13 years ago
Richard Fuchs 788eb5ce67 update for redis module
13 years ago
Richard Fuchs 09dd548e01 coredump bugfix
13 years ago
Richard Fuchs d1ce4eb9a8 aes-f8 goes kernel
13 years ago
Richard Fuchs 03e120a7fb aes-f8 performance improvement
13 years ago
Richard Fuchs 372b81886b dont error on unsupported ciphers
13 years ago
Richard Fuchs a2b9d4048e core-dump and srtcp auth tag length bugfixes
13 years ago
Richard Fuchs c49ea7b403 copy back s_l number from kernel to daemon
13 years ago
Richard Fuchs 97f9c3d398 SRTP daemon<>kernel tie-in
13 years ago
Richard Fuchs 1507dd3aca move private struct .h -> .c
13 years ago
Richard Fuchs a23d08e0d8 update to new kernel struct
13 years ago
Richard Fuchs c0253ae8b7 use the session key context for the f8 transformatino too
13 years ago
Richard Fuchs 05c1ade246 adding some const for good measure
13 years ago
Richard Fuchs be51f00feb teeny tiny performance fix
13 years ago
Richard Fuchs 9e629d73e3 stop with the bit-length silliness, give key/tag lengths in bytes
13 years ago
Richard Fuchs f38fe3f1e0 create a dedicated session key context to save some cpu
13 years ago
Richard Fuchs d632fae1f3 copy crypto context when stealing peer
13 years ago
Richard Fuchs ac86e65bc7 dont do ice/crypto/etc stuff for inactive streams
13 years ago
Richard Fuchs fa66629309 add helper function for code prettiness
13 years ago
Richard Fuchs 77d19ccab8 parse the send/recv/inactive sdp attributes
13 years ago
Richard Fuchs bc39957548 remember the crypto "tag" value for the SDP answer
13 years ago
Richard Fuchs 6ba61b728c aes-f8 performence improvements
13 years ago
Richard Fuchs 53b99f39d9 some aes-cm performance improvements
13 years ago
Richard Fuchs 6c84ee466a implement aes-f8 mode encryption and decryption
13 years ago
Richard Fuchs 3c9daae60d adding rtp/savpf transforms and tests
13 years ago
Richard Fuchs fcabc7254c fix rtcp authentication tag removal
13 years ago
Richard Fuchs 1e9c972620 adding some debug output
13 years ago
Richard Fuchs f821646de7 fix keystream generation
13 years ago
Richard Fuchs 7d6ab9f6fd adding ycm config file
13 years ago
Richard Fuchs 0f319359db logging improvements
13 years ago
Richard Fuchs 43e9696fa9 restructure in-memory crypto contexts
13 years ago
Richard Fuchs 94393efada divide bit lengths by 8 to get octet count
13 years ago
Richard Fuchs 93092e850f must use the outgoing's side crypto context for out packets, also add some logging
13 years ago
Richard Fuchs 70e6be3bf4 match the peer's crypto suite if possible
13 years ago
Richard Fuchs 3b0d7d0da0 generate our own crypto context when going rtp/avp->savp
13 years ago
Richard Fuchs e4d050062f bugfix for borken rtp
13 years ago
Richard Fuchs 9c8c4c21fa rtcp has a slightly different key generation algorithm
13 years ago
Richard Fuchs db72130792 implement srtcp encryption, decryption and authentication
13 years ago
Richard Fuchs 2b61b12c71 implement srtp decryption
13 years ago
Richard Fuchs 212df63857 implementing srtp encryption and authentication
13 years ago
Richard Fuchs 6ee0284b66 remove strangely irrelevant assertion
13 years ago
Richard Fuchs 7877b7ce14 implement srtp session key generation algorithm
13 years ago
Richard Fuchs 292a676d96 remove a pointless enum
13 years ago
Richard Fuchs c7b95f7187 create attribute hash based on attr id number
13 years ago
Richard Fuchs c3eccfc564 rename "hash" to "name_hash"
13 years ago
Richard Fuchs 9ef4bd2f9c ignore invalid attributes
13 years ago
Richard Fuchs 14bcbcfa73 handle unparseable attributes
13 years ago
Richard Fuchs 250c23d808 parsing of the sdp ssrc attribute
13 years ago
Richard Fuchs e63edeb875 parsing of the sdp crypto attribute
13 years ago
Richard Fuchs a923a52a60 redis/2 module is now incompatible
13 years ago
Richard Fuchs a1e49a8f02 old glib doesnt have g_queue_free_full
13 years ago
Richard Fuchs d8bc7d92a2 experimental support for RTP/AVP<>AVPF bridging
13 years ago
Richard Fuchs 9d0b537d27 leave zero ports or addresses alone
13 years ago
Richard Fuchs d3d35a97e4 dont see a zero port as invalid
13 years ago
Richard Fuchs 16883bdb29 improve NG logging
13 years ago
Richard Fuchs 589c271d52 fix the silly thing about bencoded lists being backwards
13 years ago
Richard Fuchs 48018e48d0 remove obsolete comment
13 years ago
Richard Fuchs 86240e12fd rename variables in stream_packet() -- getting confusing!
13 years ago
Richard Fuchs bfb88bd7e5 fix improper use of "other" pointer
13 years ago
Richard Fuchs 3c4dd73365 update steal_peer with new flags
13 years ago
Richard Fuchs 68a97be379 keep track of transport protocols and rtcp streams
13 years ago
Richard Fuchs b355bd350a simplify a common task by keeping more pointers
13 years ago
Richard Fuchs c35eee7d33 forgot to save the file
13 years ago
Richard Fuchs 0427b4baf4 handle "use-candidate" properly
13 years ago
Richard Fuchs cbc1f8c359 fix possible segfault
13 years ago
Richard Fuchs eb05c8169a support the trust-address flag
13 years ago
Richard Fuchs c956a371ac make sure we always have a session to work with
13 years ago
Richard Fuchs a11dc28825 we have pointers... use them
13 years ago
Richard Fuchs 6ddf0e3afc add logging to stun code
13 years ago
Richard Fuchs 8c46b6bd76 replace hand-crafted constants by generated ones
13 years ago
Richard Fuchs 20dfa12220 fix segfault
13 years ago
Richard Fuchs 009a2029b9 remove some code duplication
13 years ago
Richard Fuchs 4f2d6d4c58 enable ice/stun processing also if no ice was previously present
13 years ago
Richard Fuchs 0be4fa311e support dual-stack ICE offers
13 years ago
Richard Fuchs 1c830108ad misinterpreted the meaning of the "trust address" flag
13 years ago
Richard Fuchs 87ec55b7b5 we do need to initialized that random() generator
13 years ago
Richard Fuchs 72f6cc97f9 support non-forced insertion of ice candidates
13 years ago
Richard Fuchs eadbc1c3ab crc32 is a long
13 years ago
Richard Fuchs bc4685c98c support stun indications
13 years ago
Richard Fuchs 27a9e92872 support unknown-attributes error response
13 years ago
Richard Fuchs 2ea1fe3a47 generate stun responses and clean up some code mess
13 years ago
Richard Fuchs cbd26eb124 perform message integrity check aka auth
13 years ago
Richard Fuchs f685d9743b get some constants out of the way
13 years ago
Richard Fuchs 4aa3017555 The FINGERPRINT mechanism MUST be used for connectivity checks
13 years ago
Richard Fuchs 9c8075ca87 agents MUST ignore all other attributes that follow MESSAGE-INTEGRITY
13 years ago
Richard Fuchs 0ed8587e05 move ice_ufrag/pwd into peer struct
13 years ago
Richard Fuchs 6ceb187abb increate length of random strings
13 years ago
Richard Fuchs 1758e586ce generate stun errors
13 years ago
Richard Fuchs 2784cb41a3 hack to prevent stale children
13 years ago
Richard Fuchs a37bd78355 rename ARRAY_SIZE to ARRAYSIZE to avoid naming conflict
13 years ago
Richard Fuchs edf5f11140 parse stun attributes
13 years ago
Richard Fuchs 7787ad3b28 reorder headers and fix resulting errors
13 years ago
Richard Fuchs 8c06d3254a start work on stun support
13 years ago
Richard Fuchs 033b7d1f55 more bettererer optimizing
13 years ago
Richard Fuchs bff00fdab6 support b=RR:0 and b=RS:0 to disable rtcp
13 years ago
Richard Fuchs d928ccd37d clean up the mess
13 years ago
Richard Fuchs 3c10c9ac17 add support for non-standard rtcp ports
13 years ago
Richard Fuchs 3faa9f8a8f parse out rtcp attribute
13 years ago
Richard Fuchs 1a2e0d75ea create a random but constant "foundation" string for ice candidates
13 years ago
Richard Fuchs dc7c4e7fba s/ufrag_pwd_chars/ice_chars/
13 years ago
Richard Fuchs cd3264b7ef i dont like long variable names
13 years ago
Richard Fuchs 581b1bf948 build a hash table of sdp attributes when parsing them
13 years ago
Richard Fuchs 902f47da28 remove redundancy in struct member names
13 years ago
Richard Fuchs 68f91da68e split up attributes even more when parsing them
13 years ago
Richard Fuchs 33ef09b470 insert ice candidate for rtcp
13 years ago
Richard Fuchs f107ab461a adding rudimentary insertion of ICE attributes
13 years ago
Richard Fuchs 36d21eb8ed dont add debian build flags for debug builds
13 years ago
Richard Fuchs c18c1d64eb unify copy_remainder and copy_up_to, create copy_up_to_end_of
13 years ago
Richard Fuchs 30669f2cd3 support removal of ICE attributes
13 years ago
Richard Fuchs 4914d6babb fix skip_over off by one bug
13 years ago
Richard Fuchs adaaa1e59e parse out sdp attributes
13 years ago
Richard Fuchs fc246e64d3 cant guarantee that the call struct is still valid when the response is sent, to copy strings
13 years ago
Richard Fuchs bd9671a8cc more convenience functions
13 years ago
Richard Fuchs 697d152796 to avoid confusion with debian version numbers, use sequentials integers for ABI versioning
13 years ago
Richard Fuchs 0230985e91 get rid of another useless variable
13 years ago
Richard Fuchs 55380807f8 tags can be NULL
13 years ago