Commit Graph

55 Commits

Author SHA1 Message Date
Thomas Ries
4d988c2536 - RTP proxy could get confused and mess up RTP streams
if two local UAs did use the same usernames but register
  on different providers. A call from UA1 to UA2 the could
  mess up the audio.
2009-07-30 17:02:36 +00:00
Thomas Ries
4f0b490c2f - eliminate some compiler warnings about unused return status 2009-02-28 23:06:22 +00:00
Thomas Ries
6952295a2d 2008 2008-01-19 16:07:14 +00:00
Thomas Ries
f81e32fe73 - DNS failure cache: do several attempts before blacklisting 2007-12-20 17:42:10 +00:00
Thomas Ries
26ca852a45 - Working on code that that will allow siproxd to use
separate interfaces in its "in front of NAT routes" setup.
  ( UA1[LAN0]--siproxd--LAN1--NAT--Internet--UA2 )
2007-11-22 19:12:47 +00:00
Thomas Ries
bdafa3cdbe - Small changes to compile again under OpenBSD. 2007-11-12 19:38:35 +00:00
Thomas Ries
ed3ea029e3 - keep failed DNS attempts in cache for 10 minutes.
This should protect from repeating DNS timeouts to
  caused by broken DNS server (possible DOS)
2007-09-03 19:55:11 +00:00
Thomas Ries
5ff32070f5 compare client id is now a two step procedure:
first we go for contact header. If present in both cases (stored in
registration table AND in INVITE / OK frame, then use it, otherwise fall
back to IP addresses.
2007-06-08 19:41:49 +00:00
Thomas Ries
f6b0b49bf9 - improvements on RTP proxy for proxying a "looped" call
(means originating from local UA , via external registrar
  back to another local UA)
2007-05-29 20:08:29 +00:00
Thomas Ries
4ff6e84e72 - Just discovered some patches originating from Debian
project - included most of them as they make sense.
  (Hint: People, if you get fixes, please drop me a note
  and a .diff - I won't be biting you)
2007-05-25 18:58:10 +00:00
Thomas Ries
46c602c6db - Various fixes due to a code review by Andrew Jones 2006-10-13 17:40:09 +00:00
Thomas Ries
fb500b4e96 - typecasting in DEBUG statements 2006-06-22 16:32:00 +00:00
Thomas Ries
9f165e6694 - fix an issue in rtpproxy_relay that screwed up the client_id
after the dejitter extension from yesterday.
  NOTE: be careful with utils_inet_ntoa(), it uses a STATIC buffer !!!
2006-06-19 19:55:10 +00:00
Thomas Ries
0984731872 - working on running siproxd in front of a routing device
and NOT on the firewall itself.
2005-03-01 21:36:48 +00:00
Thomas Ries
0f246be8b4 - copyright update to 2005 2005-01-08 10:05:13 +00:00
Thomas Ries
80aefbd9a9 - better debug output 2004-10-27 20:45:49 +00:00
Thomas Ries
0f6e6ce101 - utils.c: preparation for chroot() (consider syslog) 2004-10-13 20:43:24 +00:00
Thomas Ries
831d01122a - fix: secure_enviroment - set proper EGID (by Daniel Mueller) 2004-08-22 19:04:59 +00:00
Thomas Ries
5b310dd9db - small enhancements in error checking 2004-06-13 20:48:57 +00:00
Thomas Ries
fd687df2f7 - fix: get_ip_by_host() and buffers for reentrant functions 2004-06-13 12:20:47 +00:00
Thomas Ries
4a48f57bac *** empty log message *** 2004-06-12 09:42:45 +00:00
Thomas Ries
48d2334bd5 - doc/: added configuration example for X-Lite
- textual corrections in code
2004-05-23 14:36:54 +00:00
Thomas Ries
e4ebebb8ad *** empty log message *** 2004-05-17 21:41:45 +00:00
Thomas Ries
7bb291a84b - release 0.5.5 cleanup
- use CVS $Id$ identification in each file
2004-04-11 10:40:00 +00:00
Thomas Ries
e75d1c8f79 - Removed superfluous backslashes for line continuation 2004-02-14 10:07:31 +00:00
Thomas Ries
acbdb707ec - some changes & enhancements inspired by Cris Ross:
* 183 Trying *may* contain SDP data
  * compare_url: now does compare the scheme,
    if a host is not resolveable hostnames will be
    compares as strings
2003-12-05 18:16:28 +00:00
Thomas Ries
db2d3e22d8 - some fixes in sockbind() (FreeBSD) by Jeremy Shaw
- added doc/devel.txt with issues to keep the code portable
2003-11-24 22:58:44 +00:00
Thomas Ries
4f96757513 - got the gethostbyname() failure problem solved.
(the resolver needs a shared lib that was tried
  to load AFTER chrooting...)
2003-11-23 08:58:17 +00:00
Thomas Ries
00dfe93a0d - Introduced the use of gethostbyname_r() if available. As siproxd
uses threads it probably is a very good idea (some funny things
  seen with Linux 2.4.18 kernel & RTP proxy - gethostbyname()
  did return a NULL result but has h_errno set to 0 "every fine, thanks")
  Future will show it this helps.
- Had overlooked one inet_aton in register.c - replaced to utils_inet_aton
- Fixed a compiler warning in log.c for Solaris. Siproxd now at least
  builds on Solaris (tested on: SunOS 5.9 sun4u sparc SUNW,Ultra-60)
2003-11-22 21:54:21 +00:00
Thomas Ries
ccc0401850 - explicitely use _SOLARIS2 macro instead of just _SOLARIS 2003-11-20 07:17:18 +00:00
Thomas Ries
feffc2f827 - typo in utils.c (HAVE_INET_NTOA/ATON) 2003-11-19 22:39:57 +00:00
Thomas Ries
e67b823457 - Integrated a patch from Chris Ross:
* have siproxd compile on Solaris and BSD/OS (more to come)
  * ./configure option --with-libosip-prefix
  * properly handle getopt_long()/getopt()
- First attempt of iptables support. Routines to add/remove
  DNAT entries must still be done.
2003-11-19 19:36:30 +00:00
Thomas Ries
a19661887f RTP traversal using UDP masquerading tunnels from user space 2003-09-07 14:53:50 +00:00
Thomas Ries
b6b97c0c46 rel 3.3.4 2003-08-05 17:33:01 +00:00
Thomas Ries
c5fc06836a - should now be able to deal with an outbound interface
that is "temporary" DOWN (dial up internet access)
  if outbounf IF is down, send back a response to
  inbound UAs "408 Request Timeout".
- always log to syslog, also when running in foreground
- changed some WARNINGS into DEBUG statements
- re-arranged some code
- rtpproxy: prepared for proper thread termination on exit
- introduced short term caching for get_ip_by_ifname
- fixed in check for socket() return status
2003-04-01 20:35:59 +00:00
Thomas Ries
731b43e13d libosip2 support 2003-03-29 10:05:29 +00:00
Thomas Ries
d829f79971 - more intensive testst for NULL pointers
- added knowledge base for SIP URI rewriting (UA dependent)
2003-03-28 22:51:23 +00:00
Thomas Ries
96d17ec6d5 made build under SUSE 5.3 (Flifl) and optionally link statically against
libosip and pthreds
2003-03-22 14:00:25 +00:00
Thomas Ries
cdd05e2706 - replaced get_ip_by_ifname by a simpler routine
(needs to be *BSD tested yet!)
- removed old hostname based config of in/outbound interfaces
- experimental feature: additional masquerading of UA registrered
  host parts of their SIP URL
2003-03-09 20:49:50 +00:00
Thomas Ries
5bbdef20f0 - Bugfix: MSN Messenger issue - compare_url
- some more detailed debug output
2003-01-21 23:18:31 +00:00
Thomas Ries
e3ef83a413 fixed get_ip_by_ifname bug (not found of interfaces on odd place (1, 3, 5) 2002-12-06 19:30:25 +00:00
Thomas Ries
051c9dab99 Release 0.2.5 2002-12-06 00:13:51 +00:00
Thomas Ries
1a50659b63 fix in check_vialoop that could lead to false positives 2002-12-02 21:48:06 +00:00
Thomas Ries
4e1d23de9f last fixes for 0.2.4 2002-11-23 18:15:52 +00:00
Thomas Ries
0de2129a42 release 0.2.4 2002-11-23 17:42:42 +00:00
Thomas Ries
2d25da2fda BSD compatibility 2002-11-23 13:33:28 +00:00
Thomas Ries
6bb397118a cosmetics and some better error handling w/ strings and data structures
(NULL ptrs)
2002-11-08 20:48:16 +00:00
Thomas Ries
c45aa20f68 small stuff (cleanups, cosmetics) 2002-11-03 15:21:01 +00:00
Thomas Ries
0bc24c3b73 release 0.2.2 2002-10-12 16:40:26 +00:00
Thomas Ries
d9173e19b6 Release 0.2.1 2002-09-27 23:26:44 +00:00