Commit Graph

349 Commits (git.mgm/mediaproxy-ng/github/master)

Author SHA1 Message Date
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
Richard Fuchs bf4df4dff9 remove more code duplication
13 years ago
Richard Fuchs 504995e47c return call stats in NG delete message reply
13 years ago