Richard Fuchs
e11d55b3fb
glib < 2.32 requires use of distinct static mutex type
13 years ago
Richard Fuchs
2b63e794df
Prepare for multi-threaded operation
...
Introduce generic "objects" with reference counting primitives and automatic
resource deallocation when no refs are left ("garbage collection"). Overhaul
poller framework to make extensive use of these objects to allow for future
thread-concurrent operation.
No locking added anywhere yet except in poller. Poller is still not 100%
thread safe, but close.
Valgrind reports no errors or memleaks.
13 years ago
Richard Fuchs
135aa3decf
remove obsolete targets from makefile
13 years ago
Richard Fuchs
4a3e36bf04
mybsearch function is also obsolete
13 years ago
Richard Fuchs
1ee9782b98
dont poll kernel list when table couldnt be opened
13 years ago
Richard Fuchs
8b320e76d9
lets be more strict with timer removal
13 years ago
Richard Fuchs
52ef56d106
it's inefficient to walk the entire list of poller items every second just to look for times which we don't really use. so instead, use the linked timers list for this purpose. this is also inefficient for timer remove, but since we don't use those times anyway, we don't care.
13 years ago
Richard Fuchs
ee30ea647a
BSEARCH macro is obsoleted
13 years ago
Richard Fuchs
69e5a2840a
use glib slice allocator in poller
13 years ago
Richard Fuchs
48f0a61277
good bye poll(), hello epoll_*()
13 years ago
Richard Fuchs
89fb0c42c4
update .so name to match .deb
13 years ago
Michael Prokop
cc9810b968
Build package ngcp-mediaproxy-ng-dbg providing debugging symbols
...
Split out the debugging symbols from the main packages into
one single package named ngcp-mediaproxy-ng-dbg
Closes: https://bugtracker.sipwise.com/view.php?id=1825
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Richard Fuchs
f3a5ea2eb8
take rtcp ports into account when checking for timeouts
13 years ago
Jon Bonilla
d172ed9ac6
Remove init and default scripts
...
The default file is provided by templates. We
won't have questions regarding changed config
files on upgrades.
The init script will be provided via lsb-scripts.
13 years ago
Richard Fuchs
f28fea205b
take 0-byte packets into consideration when updating peer info for NAT'd streams
13 years ago
Michael Prokop
c47c044adb
Bump Standards-Version to 3.9.3
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
35dcbddfcd
Bump Standards-Version to 3.9.3
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
15a695762b
Set maintainer field to new default
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Richard Fuchs
6c6332ed91
dump packet stats upon call teardown
13 years ago
Richard Fuchs
376dd662ba
increase max udp packet len to 8192 and add warning message if the limit is hit
13 years ago
Richard Fuchs
8f94668a72
log version upon startup
13 years ago
Richard Fuchs
44db4d4548
who knew that zero-length udp packets are valid?
13 years ago
Richard Fuchs
5dfb33aa9d
be a bit more clear in the read error message
13 years ago
Richard Fuchs
e9f0681d45
log error code upon RTP socket error
13 years ago
Michael Prokop
e9063cc452
Drop unnecessary debhelper Depends
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Richard Fuchs
e62a58eb31
remove uuid helper code
13 years ago
Richard Fuchs
f775df551c
separate redis code from main code - modularize!(tm)
13 years ago
Michael Prokop
c4c541cee1
Initial ngcp-mediaproxy-ng-dev packaging
...
This package provides the base for compiling mediaproxy's redis
stuff as shared library.
TODO: get rid of kernel-module/xt_MEDIAPROXY.h in
debian/ngcp-mediaproxy-ng-dev.install once call.h doesn't depend
on xt_MEDIAPROXY.h anymore (Richard is aware of it)
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Richard Fuchs
4090cb4a93
add alarm timeout for xmlrpc calls
13 years ago
Richard Fuchs
0e374a3f1b
delete empty dir
13 years ago
Richard Fuchs
18971214c9
add --b2b-url and --no-fallback option support to init/default
13 years ago
Richard Fuchs
3fc55e0eae
we need to use the to-tag for sems
13 years ago
Richard Fuchs
c054124217
pipelined redis commands may also fail, handle it
13 years ago
Richard Fuchs
e3d9134ae4
we also need libcurl now
13 years ago
Richard Fuchs
af0d2e9e45
make RPC call to SBC upon RTP timeout for call teardown
13 years ago
Richard Fuchs
e47f8265a5
link against xmlrpc-c libs
13 years ago
Richard Fuchs
7b6c8db4f5
add --b2b-url CLI parameter
13 years ago
Richard Fuchs
97f9401fae
add pretty linebreak to avoid too long lines
13 years ago
Richard Fuchs
254c8e2abe
add xmlrpc-c as build dependency
13 years ago
Michael Prokop
45247064f7
Use (>= ${source:Version}) for interbetween versioning
...
Closes lintian error not-binnmuable-any-depends-all / not-binnmuable-all-depends-any
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
1d85aa4c10
Use versioned depends in-between ngcp-mediaproxy-ng, daemon, iptables + kernel-dkms packages
...
As requested by Richard
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Richard Fuchs
85f50f9004
changelog/version
13 years ago
Richard Fuchs
29f66f8f0d
create a cli flag to disable automatic fallback to userspace if desired
13 years ago
Richard Fuchs
e1c4f62347
the init script shall not die upon kernel module failure
13 years ago
Richard Fuchs
a23fe2f7b6
Fall back to userspace forwarding if kernel module is unavailable
13 years ago
Richard Fuchs
e781f53243
always store ip addresses in ipv6 format from now on
13 years ago
Richard Fuchs
cefa4d764d
correctly restore ipv4 addresses from redis
13 years ago
Richard Fuchs
332e5d59b5
adding some redis debug messages
13 years ago
Richard Fuchs
a0c696e9c4
DEL multiple redis keys with one statement when possible
13 years ago
Richard Fuchs
241d479de2
Push viabranch info into redis and restore it as well
13 years ago