Camille Oudot
88ce85e5af
remove kernel module uid/gid global switch
10 years ago
Camille Oudot
fad407461d
allow non-root users to control the kernel module
...
use `set_proc_id=1` module option to let the module set ownership on the
/proc/rtpengine filesystem to `proc_uid:proc_gid`
10 years ago
Richard Fuchs
e7ad47744f
fix kernel compilation for older kernel versions
...
also works for 4.0+ kernels
fixes #151
10 years ago
Richard Fuchs
c6ff5e7c03
disable in-kernel RTP PT stats for kernels < 3.0
...
due to lack of bsearch() function
closes #150
10 years ago
Richard Fuchs
d567908e95
disable measuredelay features by default
10 years ago
Richard Fuchs
7db15eb87c
Merge branch 'rfuchs/1and1-master'
10 years ago
Richard Fuchs
76f3893464
ssrc tracking improvements
...
change ssrc tracking code to a hash table and delay creation of hash
table and ssrc lookup until a change in ssrc is actually seen
10 years ago
Richard Fuchs
9c3ad508f7
use appropriate crypto context for encryption and decryption
...
ensures that the correct ROC is used
10 years ago
Kevin McAllister
3097f71b8c
convert spaces to tab on comment.
10 years ago
Kevin McAllister
965fa396d2
Change packet_index functions to more closely match RFC
...
This became necessary because of the way Asterisk handles Sequence
numbers when changing SSRC. They continue to increment a single
sequence number even though the SSRC is different, on switching back
this causes the packet_index function to interpret this as many lost
packets. The previous function had dead-spots that would not adjust
the packet_index at all if the difference fell in these ranges. These
gaps always resulted in behavior contra what would happen in webrtc
clients.
10 years ago
Marc Soda
16b91847f9
Track SSRCs and sequence numbers. Sync between userspace and the kernel.
10 years ago
Marc Soda
65a358727c
Use the proper ROC when encrypting.
10 years ago
Richard Fuchs
ed2c101a3f
preliminary fixup of new kernel stats - needs more work
10 years ago
Frederic-Philippe Metz
89bbaf12e3
Merge branch 'dev-fmetz'
...
Conflicts:
daemon/Makefile
daemon/call.c
daemon/log.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
10 years ago
Frederic-Philippe Metz
f8aaf358cd
Implemented TOS/Traffic Class bit in received first RTP packet
10 years ago
Frederic-Philippe Metz
a9e4c023e4
Merge branch 'dev-fmetz'
...
Conflicts:
daemon/call.c
daemon/call.h
daemon/cli.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
10 years ago
Frederic-Philippe Metz
d5db9d0f73
Merge branch 'dev-measuredelay-full' into dev-fmetz
...
Conflicts:
daemon/call.c
daemon/call.h
daemon/cli.c
daemon/kernel.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
kernel-module/xt_RTPENGINE.h
10 years ago
Frederic-Philippe Metz
6d33ef76b0
Implemented delay measurement of RTP packets in kernel.
10 years ago
Frederic-Philippe Metz
bd24127bce
Revert "First try of implementation of measureing delay."
...
This reverts commit 6bc7a77e9b
.
10 years ago
Frederic-Philippe Metz
e0f9c59274
Implemented stage 1 of measuring delay
10 years ago
Frederic-Philippe Metz
6bc7a77e9b
First try of implementation of measureing delay.
...
Will be squashed later.
10 years ago
Richard Fuchs
65b3f66ee4
use atomic64_t for kernel stats
10 years ago
Richard Fuchs
c2ff5c3fd3
MT#9935 understand, learn, remember and report RTP payload types (codecs)
...
Squashed commit of the following:
commit cca40e8e311e6884204289687ba2a05d0855720b
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 12 10:17:51 2015 -0500
support per-payload-type stats in kernel module
commit dcc0dc0002bd552ae7c99aa58311af2f81336a8f
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 11 12:14:44 2015 -0500
count unknown rtp type as error
commit 941bde0df59720d1d3ef6660096cf2532a5c7e1c
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 11 12:01:55 2015 -0500
use the list of rtp formats from the m= line
This avoids dynamically altering the rtpstats hash table and makes
keeping packet stats lock free.
commit 9150fed671d8490f4c09fb3050002c7c558391df
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 6 15:06:04 2015 -0500
fix and simplify rtpmap hash table
commit 1f73741cbf2ac7d6b8d0a54d9562e9a550678e7c
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 6 13:56:07 2015 -0500
MT#9935 understand, learn, remember and report RTP payload types (codecs)
commit b0d690837c02989485cf73927a89ed860a299807
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Nov 20 13:36:25 2014 -0500
parse a=rtpmap attribute
10 years ago
Richard Fuchs
c21193a329
fix byte stats in kernel module
10 years ago
Richard Fuchs
fb9ed6ef0a
use trial & error approach to guess ROC in case of SRTP auth failures
...
Fixes #71
10 years ago
Richard Fuchs
0113991ef5
MT#9585 rename kernel module and all related items from MEDIAPROXY to RTPENGINE
11 years ago
Richard Fuchs
ba5ed24b63
kernel module didn't handle DTLS packets properly
...
fixes #32
11 years ago
Richard Fuchs
0bc4d3c994
kernel srtp fix
11 years ago
Richard Fuchs
ca138c3fa1
fix kernel module debug output
11 years ago
Richard Fuchs
4fb151ab19
/proc output indentation fix
11 years ago
Richard Fuchs
b905e73963
included expected source in /proc output
11 years ago
Richard Fuchs
7d82016582
implement source address checking - kernel part
11 years ago
Richard Fuchs
940030d670
support kernel forward of non-rtp packets
11 years ago
Richard Fuchs
838917b226
compile fixes for older gcc versions
...
Fixes #1
11 years ago
Richard Fuchs
f8f741b584
Update to upcoming 3.0 release (2.9.9 for now)
...
Merged from branch rfuchs/3.0
Conflicts:
daemon/sdp.c
debian/changelog
tests/simulator-ng.pl
utils/ng-client
11 years ago
Richard Fuchs
50573f40e5
bit field/array fixes
11 years ago
Richard Fuchs
9edb5a3677
attempt to lower idle CPU usage when reading list/blist
11 years ago
Richard Fuchs
ef7e5bb4f7
compile fix for kernels < 3.0.0
12 years ago
Richard Fuchs
e0e98bb31f
prevent endless read of proc/status file
12 years ago
Richard Fuchs
162ff026ab
kernel module compile fixes for kernels >= 3.10
12 years ago
Peter Dunkley
130d485346
Updated Makefiles and added compilation instructions to work with Enterprise
...
Linux (tested on CentOS 6.4 64-bit).
Init scripts and .spec files for RPM builds to follow.
12 years ago
Richard Fuchs
81dd046838
array size should depend on the #define
12 years ago
Richard Fuchs
6b5ff391a5
better /proc output
12 years ago
Richard Fuchs
43764b46d4
implement support for RFC 5761
12 years ago
Richard Fuchs
8a4f85ccb5
count auth errors in kernel module
12 years ago
Richard Fuchs
d1ce4eb9a8
aes-f8 goes kernel
12 years ago
Richard Fuchs
c49ea7b403
copy back s_l number from kernel to daemon
12 years ago
Richard Fuchs
97f9c3d398
SRTP daemon<>kernel tie-in
12 years ago
Richard Fuchs
02176fcb0f
implement AES-CM encryption and adding auth tag, which completes in-kernel AES-CM SRTP support
12 years ago
Richard Fuchs
17c9b7dc8b
implements in-kernel SRTP decryption (AES-CM)
12 years ago
Richard Fuchs
afdabe640d
this happens in irq context, so use appropriate locking
12 years ago
Richard Fuchs
4ec8f81caf
this implements in-kernel SRTP authentication
12 years ago
Richard Fuchs
15ad08a9aa
create crypto context for session keys
12 years ago
Richard Fuchs
4a2909daab
start implementing in-kernel AES en/decryption for SRTP
...
session key derivation complete
12 years ago
Richard Fuchs
1141bce13e
rename some stuff to avoid confusion
12 years ago
Richard Fuchs
ab30ae966e
detect stun packets in kernel module and pass them through
12 years ago
Richard Fuchs
a9823f2323
adding .gitignore files
13 years ago
Richard Fuchs
dc7517121d
remove uuid helper code
13 years ago