Commit Graph

596 Commits (89bbaf12e3c0d1c5e08a16abb449ef2b8cd9e604)

Author SHA1 Message Date
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
Richard Fuchs 8f4e3451f4 increase default log level for debug builds
11 years ago
Richard Fuchs 58940b5018 change stun log levels
11 years ago
Richard Fuchs ec21806c95 use default TOS if not using NG protocol
11 years ago
Richard Fuchs 9d001e3452 fix segfault if NG protocol is not used
11 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
12 years ago
Juha Heinanen e84c2f52c3 added log level handling to debian default file and init script
12 years ago
oboisti d74c24ff21 added --log-level option and USR1 and USR2 signals to update log level on the fly
12 years ago
Richard Fuchs 1a83499916 fix incorrect source address of STUN binding responses
12 years ago
Richard Fuchs d63df522d6 merge bencode fix from kamailio source
12 years ago
Richard Fuchs 7e88b38506 change port range defaults to match docs
12 years ago
Peter Dunkley 130d485346 Updated Makefiles and added compilation instructions to work with Enterprise
12 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