Commit Graph

785 Commits (96cd5fcf011d2774a97aec639ca762dae520944a)

Author SHA1 Message Date
Richard Fuchs 1e4d67a10d fix for bf5a00fd1b
11 years ago
Pawel Kuzak bf5a00fd1b Modified average_dur format for graphite.
11 years ago
Richard Fuchs 8eaf8122f5 update redis version
11 years ago
Richard Fuchs d0ac7216cb skip printing cdr info when cdrs are disabled
11 years ago
Richard Fuchs 4893487ebb fix compiler warning
11 years ago
Richard Fuchs 7db15eb87c Merge branch 'rfuchs/1and1-master'
11 years ago
Richard Fuchs 80b8815c60 fix force-relay segfault
11 years ago
Richard Fuchs f398d837df double check kernel SSRC when updating last index/ROC
11 years ago
Richard Fuchs 87fbbb85ec implement ssrc/roc tracking in encryption as well
11 years ago
Richard Fuchs c3c6d37c7d convert ssrc tracking functions to inline
11 years ago
Richard Fuchs 76f3893464 ssrc tracking improvements
11 years ago
Pawel Kuzak 369316adb0 Added rejected sessions statistics to total stats and graphite
11 years ago
Marc Soda 0ac1ed2419 Remove unnecessary prototype.
11 years ago
Kevin McAllister 965fa396d2 Change packet_index functions to more closely match RFC
11 years ago
Marc Soda 16b91847f9 Track SSRCs and sequence numbers. Sync between userspace and the kernel.
11 years ago
Richard Fuchs 92cc560b74 don't shut down ICE agent on consecutive re-invites
11 years ago
Richard Fuchs 0381b15b76 further move RTCP logging until after SRTCP decryption
11 years ago
Richard Fuchs a3bcdc58bf dont abort on unknown RTCP payload type
11 years ago
Richard Fuchs ed2c101a3f preliminary fixup of new kernel stats - needs more work
11 years ago
Richard Fuchs 18977d4257 remove calls to setlogmask (not atomic)
11 years ago
Richard Fuchs 29cf9f85a2 remove redundant code
11 years ago
Richard Fuchs ae46036cc7 RTCP logging fixes
11 years ago
Richard Fuchs 0abf5b100b process muxed RTCP
11 years ago
Richard Fuchs 5785bea2c9 Merge branch 'master' of git://github.com/1and1/rtpengine into rfuchs/1and1-master
11 years ago
Richard Fuchs f0dc1f8589 Merge remote-tracking branch 'origin/rfuchs/sdes-session-params'
11 years ago
Richard Fuchs b205691e9c RTP forwarding fix for trickle ICE
11 years ago
Frederic-Philippe Metz c444c05a5f Implemented MAX_SESSIONS limit or calls.
11 years ago
Richard Fuchs 85dc64dd7f compare SRTP session params for equality
11 years ago
Richard Fuchs 144a451526 support selective SDES session parameters
11 years ago
Richard Fuchs d4222375bf support SDES session parameters in kernel module
11 years ago
Richard Fuchs 96e3b91859 Implement support for some SDES session parameters
11 years ago
Richard Fuchs fd426457d7 use SRTP<>SRTP transcoding when crypto parameters differ
11 years ago
Richard Fuchs 39a305f4ba reset SRTP ROC to zero when SSRC changes
11 years ago
Richard Fuchs e7868da867 increase size of RTP loop protection buffer to 28 for RTCP
11 years ago
Richard Fuchs b0edf59a8f don't reset certain stream flags for disabled (zero port) streams
11 years ago
Richard Fuchs 83a40824f4 fix number of ICE components for tricke-ICE no-components case
11 years ago
Richard Fuchs 46ebfa3cd0 do not detect trickle ICE RTCP port as rtcp-mux
11 years ago
Richard Fuchs 13d8b8abeb fix ICE when no candidates are present (trickle ICE)
11 years ago
Frederic-Philippe Metz cb85cbf44f Fixed wrong Zeroing of stats member
11 years ago
Frederic-Philippe Metz 89bbaf12e3 Merge branch 'dev-fmetz'
11 years ago
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 1d1b8f21ce Fixed RTCP Parsing also for XR reports.
11 years ago
Frederic-Philippe Metz 8a0fbf201f Fixed RTCP parsing of bitfield structs.
11 years ago
Richard Fuchs 4ea8d96033 remove stray compiler warning
11 years ago
Frederic-Philippe Metz f8aaf358cd Implemented TOS/Traffic Class bit in received first RTP packet
11 years ago
Richard Fuchs d50208488d fix refcount bug
11 years ago
Richard Fuchs 3acc850083 zero-fill padding bytes
11 years ago
Frederic-Philippe Metz 070212ec3a Added RTCP parsing and option to log that information
11 years ago
Frederic-Philippe Metz 11a4c33048 Merge remote-tracking branch 'upstream/master'
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
Frederic-Philippe Metz d5db9d0f73 Merge branch 'dev-measuredelay-full' into dev-fmetz
11 years ago
Richard Fuchs 2cfc12bcc6 fix incorrect free order of ICE components
11 years ago
Frederic-Philippe Metz fb30ef8ccd Merge remote-tracking branch 'upstream/master'
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
Richard Fuchs 20ac7cd5f7 process nominating ICE request only once per pair
11 years ago
Frederic-Philippe Metz 6d33ef76b0 Implemented delay measurement of RTP packets in kernel.
11 years ago
Richard Fuchs 2db33efecc reset ICE/STUN retransmit data on triggered checks
11 years ago
Richard Fuchs 9593519483 Leave unsupported (non-RTP) protocols alone when translation is requested
11 years ago
Frederic-Philippe Metz 9f421a9d8f Merge remote-tracking branch 'upstream/master'
11 years ago
Frederic-Philippe Metz bd24127bce Revert "First try of implementation of measureing delay."
11 years ago
Frederic-Philippe Metz e0f9c59274 Implemented stage 1 of measuring delay
11 years ago
Eric Tamme 506076b3b7 add raddr and rport on all non host type candidates per rfc5245 section-15.1
11 years ago
Richard Fuchs 5fca71d4b0 fix segfault when parsing server reflexive ICE candidates
11 years ago
Richard Fuchs 26137d2b4d move thread loop functions out of main.c
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
Frederic-Philippe Metz 6e7a287f54 Modified average_dur format for graphite.
11 years ago
Frederic-Philippe Metz d98d17b92f Implemented non blocking connect to graphite due to firewall issues.
11 years ago
Richard Fuchs 956d07d42e fix erroneously reported 0.0.0.0 address when bridging from ipv6
11 years ago
Richard Fuchs b83e80c811 add makefile dependency to itself
11 years ago
Richard Fuchs 26ca844e73 drop support for glib versions older than 2.30
11 years ago
Frederic-Philippe Metz 6bc7a77e9b First try of implementation of measureing delay.
11 years ago
Richard Fuchs f224babc54 segfault fix if no rtpmap attribute is present
11 years ago
Frederic-Philippe Metz ec5a543f0f Added prefix config parameter to graphite acc. to OPS
11 years ago
Richard Fuchs 1f7c8a228a remove obsolete HAS_HANDLER flag
11 years ago
Richard Fuchs 6173a7a2dc implement atomic bitfield ops
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 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
11 years ago
Richard Fuchs 46585265e1 implement a crude log limiter
11 years ago
Richard Fuchs 6379883f7b fix str_hash() for archs enforcing aligned pointers
11 years ago
Dipak Malla bfb41d1971 Fixed linking error in Makefile
11 years ago
Richard Fuchs af9625de74 make multi-homing thread safe
11 years ago
Richard Fuchs e830bf57eb update for redis module
11 years ago
Richard Fuchs 45dee75156 support specifying interfaces to use in control protocols
11 years ago
Richard Fuchs e365572265 receive local address from kernel and use it for outgoing packets
11 years ago
Richard Fuchs 513ac44a84 incorporate new local-interface infrastructure into appropriate places
11 years ago
Richard Fuchs 0cbb4665a5 paving the way to multi-interface support
11 years ago
Richard Fuchs afa9d5b475 Merge branch 'log-facility-switch' of github.com:camilleoudot/rtpengine into camilleoudot-log-facility-switch
11 years ago
Richard Fuchs 4d00147c04 s/force_relay/force-relay/
11 years ago
Camille Oudot faf3e22b9e logging: choose the log facility from the command line, or log to stderr
11 years ago
Richard Fuchs 54f903da3f bugfixes for legacy control protocols
11 years ago
Richard Fuchs fccad69070 segfault fix for tcp status command
11 years ago
Richard Fuchs c0f8196a25 implement detection of duplicate packets to catch and avoid forwarding loops
11 years ago
Richard Fuchs 65812fa2b2 limit the number of times the receive loop can run without breaking
11 years ago
Richard Fuchs fe6567161a simple port randomizer
11 years ago
Richard Fuchs 16b42fbd62 Switch around internal fromtag/totag/endpoint representation
11 years ago
Richard Fuchs 5e129dd8f6 brevity
11 years ago
Richard Fuchs 1f4f0d6137 implement delayed call/branch deletion
11 years ago
Richard Fuchs 50f2bfbc4d allow for fqdn in o= line
11 years ago
Richard Fuchs e0957d1b36 fix TCP/UDP protocol stream output
11 years ago