Commit Graph

445 Commits (mr6.1)

Author SHA1 Message Date
Frederic-Philippe Metz ee113f9998 Merge remote-tracking branch 'upstream/master'
11 years ago
Richard Fuchs ba48d7b518 fix call timeout when ICE fails
11 years ago
Frederic-Philippe Metz f8aaf358cd Implemented TOS/Traffic Class bit in received first RTP packet
11 years ago
Frederic-Philippe Metz 070212ec3a Added RTCP parsing and option to log that information
11 years ago
Frederic-Philippe Metz 5be006a3d4 Merge branch 'master' of https://github.com/1and1/rtpengine
11 years ago
Frederic-Philippe Metz a9e4c023e4 Merge branch 'dev-fmetz'
11 years ago
Richard Fuchs c0fab9b47d various fixes related to ICE negotation and rtcp-mux
11 years ago
Richard Fuchs fd99ecf98c don't close call on UDP send error
11 years ago
Richard Fuchs 0b202d821f Fall back to a different address family if the requested one is unavailable
11 years ago
Richard Fuchs 93294f8c5f don't relearn addresses if the endpoint hasn't changed
11 years ago
Frederic-Philippe Metz 6d33ef76b0 Implemented delay measurement of RTP packets in kernel.
11 years ago
Richard Fuchs 9593519483 Leave unsupported (non-RTP) protocols alone when translation is requested
11 years ago
Frederic-Philippe Metz e0f9c59274 Implemented stage 1 of measuring delay
11 years ago
Richard Fuchs 0e4e6f2f3c revamp and move timeval functions
11 years ago
Richard Fuchs 98e0b6dea5 update for redis plugin
11 years ago
Richard Fuchs f99d6d4f42 implement full ICE support
11 years ago
Richard Fuchs 956d07d42e fix erroneously reported 0.0.0.0 address when bridging from ipv6
11 years ago
Frederic-Philippe Metz 6bc7a77e9b First try of implementation of measureing delay.
11 years ago
Richard Fuchs 1f7c8a228a remove obsolete HAS_HANDLER flag
11 years ago
Richard Fuchs 91a85e6cd8 fix for skewed stats
11 years ago
Richard Fuchs 016f8b3b53 Rework logging a bit (primarily in NG)
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 f7a15946dc more descriptive warning for failed kernelizing
11 years ago
Richard Fuchs 037c6aa7dd shorter locking in stats loop
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 ca149e6b81 "long" can be 32 bits only and may truncate math
11 years ago
Richard Fuchs 787d90f004 rename atomic_uint64 to atomic64 for brevity
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 411a888f9b use atomic ops for stats
11 years ago
Richard Fuchs de37ac046c use TLS buffer array for temporary strings
11 years ago
Richard Fuchs 36c7141d53 change control_ng_stats into a hash and use locking and atomic ops
11 years ago
Richard Fuchs 57c0a84d81 add locking to totalstats
11 years ago
Frederic-Philippe Metz 61a72b190f Added some more statistics.
11 years ago
Frederic-Philippe Metz 2ae0e35de4 Added functionality to report statistics to graphite
11 years ago
Richard Fuchs 49d1b66bcd Merge branch 'rfuchs/variable_b2b_callback_uri'
11 years ago
Richard Fuchs 43cd3f520a reset other side's crypto params only in passthru mode
11 years ago
Richard Fuchs 02d27d5e02 MT#10583 support b2bua callback to sip proxy address
11 years ago
Eric Tamme b8b17bfa6b clear crypto for BOTH legs when in passthrough mode
11 years ago
Frederic-Philippe Metz a4168bee14 RTPENGINE-12_Fixed_Segmentation_fault_if_only_offer_received.patch
11 years ago
Richard Fuchs d79bcfe7e4 remove extraneous linefeed
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
Frederic-Philippe Metz 5342158811 added_information_of_from_to_tag:
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 407722599b avoid unnecessary DTLS restarts
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 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 b49f57b9ea avoid DTLS role change on reinvite
11 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
Camille Oudot faf3e22b9e logging: choose the log facility from the command line, or log to stderr
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 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
Camille Oudot 6005d14e1a XMLRPC notifications: more formats
12 years ago
Richard Fuchs 681b2c1a24 version reporting: use git branch and commit if available
12 years ago
Richard Fuchs 964b644ecd don't skip setting stream to actpass when not using sdes
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 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 9cbe157f4f properly support the udptl protocol
12 years ago
Richard Fuchs d37d385806 properly handle unknown transport protocols
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 ba1bd04841 silence warning for kernelizing rtcp
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 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
Richard Fuchs 011a42650d restore query/stats output
12 years ago
Richard Fuchs 92cab838b3 remove unused variable
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 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 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 bcc020eefb fix IPv4 TOS if IPv6 is enabled
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 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
Richard Fuchs 1a83499916 fix incorrect source address of STUN binding responses
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 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 d9b2397712 add a compile switch to drop support for ipv4-only sockets.
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 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 f6d91122af un-initialized key contexts after copying struct
13 years ago
Richard Fuchs 0a4418cd4b consistent use of existing macros
13 years ago
Richard Fuchs 09dd548e01 coredump bugfix
13 years ago
Richard Fuchs 372b81886b dont error on unsupported ciphers
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 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 3c9daae60d adding rtp/savpf transforms and tests
13 years ago
Richard Fuchs 43e9696fa9 restructure in-memory crypto contexts
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 e4d050062f bugfix for borken rtp
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 7877b7ce14 implement srtp session key generation algorithm
13 years ago
Richard Fuchs e63edeb875 parsing of the sdp crypto attribute
13 years ago
Richard Fuchs d8bc7d92a2 experimental support for RTP/AVP<>AVPF bridging
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 0427b4baf4 handle "use-candidate" properly
13 years ago
Richard Fuchs eb05c8169a support the trust-address flag
13 years ago
Richard Fuchs 009a2029b9 remove some code duplication
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 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 7787ad3b28 reorder headers and fix resulting errors
13 years ago
Richard Fuchs 8c06d3254a start work on stun support
13 years ago
Richard Fuchs f107ab461a adding rudimentary insertion of ICE attributes
13 years ago
Richard Fuchs 30669f2cd3 support removal of ICE 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 0230985e91 get rid of another useless variable
13 years ago
Richard Fuchs 55380807f8 tags can be NULL
13 years ago
Richard Fuchs bf4df4dff9 remove more code duplication
13 years ago
Richard Fuchs 504995e47c return call stats in NG delete message reply
13 years ago
Richard Fuchs feb3b6bde1 adding some const for good measure
13 years ago
Richard Fuchs 3c764bed52 split NG stats collection into ng_call_stats()
13 years ago
Richard Fuchs f7da33b4a7 adding a UINT64F format macro
13 years ago
Richard Fuchs b2ad672086 make call_query_udp use the new call stats function
13 years ago
Richard Fuchs 495d4cf2bd keep track of "newest" timestamp
13 years ago
Richard Fuchs 267252542b create a struct for stats collection
13 years ago
Richard Fuchs 1adef8fe7b split stream traversal for stats query into separate function
13 years ago
Richard Fuchs 8c9fa012bd lets have a totals packet/bytes counter for each call
13 years ago
Richard Fuchs e9bf80768d add more bencode convenience functions
13 years ago
Richard Fuchs 1ef1c87545 add a prelim NG query command
13 years ago
Richard Fuchs aaa3f4d116 simplify call_query_udp a bit
13 years ago
Richard Fuchs f369c9f799 more redis support functions
13 years ago
Richard Fuchs 8d3b8e310a redis support functions
13 years ago
Richard Fuchs 20f33e56ff treat zero ip/port as wildcard when matching up old streams
13 years ago
Richard Fuchs 5cebf5adbd use peer_advertised where appropriate
13 years ago
Richard Fuchs fc6fe69075 replace IN6_IS_ADDR_UNSPECIFIED because it doesnt work for mapped addresses
13 years ago
Richard Fuchs 5d726fdf84 fix some ipv6 related bugs
13 years ago
Richard Fuchs 6adda7c301 keep track of sdp stream endpoints and use them as index when rewriting
13 years ago
Richard Fuchs bac4f31489 get rid of num parameter to sdp_replace
13 years ago
Richard Fuchs 7ca74b399e use iovec based sdp rewriting
13 years ago
Richard Fuchs df1b169cba handle consecutive ports in SDP
13 years ago