179 Commits

Author SHA1 Message Date
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
2eac7c49b6 - readconfig.c: include sysconfdir to the list of locations
where siproxd will search for its config file
2003-11-18 20:00:39 +00:00
Thomas Ries
61153d735b but now! 2003-11-14 18:50:07 +00:00
Thomas Ries
ceb8ffb843 comment lines swapped 2003-11-14 18:49:15 +00:00
Thomas Ries
7422e70993 - rtpproxy.c: sys/types.h needed for *BSD
- rtpproxy_relay.c: stdlib.h needed for atexit()
- tested: siproxd builds on FreeBSD 4.9
2003-11-14 18:48:51 +00:00
Thomas Ries
5ba59ca603 - test for NETFILTER headers (RTP proxy) 2003-11-02 20:15:25 +00:00
Thomas Ries
c472d8d1b4 - rtpproxy bugfix: On repetitive INVITES, the UDP media
port could end up as -1 in the rewritten packet.
2003-11-02 20:14:03 +00:00
Thomas Ries
7a6b29bdb9 - corrected typo in change history 2003-11-02 20:08:14 +00:00
Thomas Ries
0f2e1a72c7 - siproxd can use another outbound proxy itself
- Linux 2.4.x: siproxd with RTP relay could hang
  on termination. Fixed.
2003-11-01 10:27:54 +00:00
Thomas Ries
d24377ebd1 - install to sbin
- adapted SPEC file
2003-10-31 20:42:03 +00:00
Thomas Ries
b4aa38a683 - released 0.4.2
- SPEC file: included config files & more docu
2003-10-31 20:21:49 +00:00
Thomas Ries
a492248d4d - fixed other memleak in proxy.c (every invitation body rewritten
has lost ~4kB of memory)
2003-10-19 17:36:53 +00:00
Thomas Ries
1aada28a60 - included compiling support for DMALLOC debugging
- fixed memory leak in proxy.c (39 bytes got lost
  every proxied message)
2003-10-19 10:31:37 +00:00
Thomas Ries
b58a815b71 - released 0.4.1 2003-10-12 10:22:18 +00:00
Thomas Ries
f50abc56ad - Local registration was simply broken. Fixed. 2003-10-12 10:12:55 +00:00
Thomas Ries
49b237db3f preparation for 0.4.0 release 2003-10-11 09:32:53 +00:00
Thomas Ries
f33e23775a - added INFO() for incomming SIP Calls 2003-10-08 20:34:24 +00:00
Thomas Ries
5735a8161e - rtpproxy_masq: fixed an issue in port allocation
which lead to syslog entries from IPCHAINS complaining
  about 'already used connection'
2003-10-08 20:15:00 +00:00
Thomas Ries
2c27f04ee9 - outbound proxy usage: properly maintain the internal registration
table
2003-10-05 01:10:45 +00:00
Thomas Ries
c2d9091dd0 - Siproxd now also works as outbound proxy 'only',
means that local UAs may register themselfes to a
  3rd party registrar and use siproxd only as oubound
  proxy for masquerading purpose.
- fixed some errors with callid handling (NULL pointers)
2003-10-04 15:39:39 +00:00
Thomas Ries
2a3ef7e0d4 - again... rtpproxy_masq... linking error when not having IPCHAINS 2003-09-25 18:53:37 +00:00
Thomas Ries
414f2f3e66 - corrected the calling arguments of rtp_masq dummy
routines (non IPCHAINS capable kernels)
2003-09-24 16:57:24 +00:00
Thomas Ries
0ba57c0e9b - \0 termination of read SIP telegram from line 2003-09-22 23:29:44 +00:00
Thomas Ries
196e6efe6d - released 0.3.6
- code cleanup for UDP masquerading tunnels
2003-09-22 20:33:16 +00:00
Thomas Ries
a19661887f RTP traversal using UDP masquerading tunnels from user space 2003-09-07 14:53:50 +00:00
Thomas Ries
d72215a733 - released 0.3.5 2003-08-30 16:49:01 +00:00
Thomas Ries
e2f129ff0a - released 0.3.5 2003-08-30 16:26:46 +00:00
Thomas Ries
d846e2b4c3 - security tests: responses may have empty SIP URI
don't fail there.
- increase size of call_id for RTP proxy table and
  include a size check.
- rtpproxy: cleaned up some stuff with handling of FD's
2003-08-30 15:11:43 +00:00
Thomas Ries
b6b97c0c46 rel 3.3.4 2003-08-05 17:33:01 +00:00
Thomas Ries
de208ab818 - released 3.3.3
- rewritten rewrite_invite_request
- more debug output in RTP proxy
2003-07-06 16:54:00 +00:00
Thomas Ries
bb1e4b63f0 more debug output (MOREDEBUG) 2003-04-23 16:21:23 +00:00
Thomas Ries
f58e0d996c FAQ update: RTP internals 2003-04-23 16:17:53 +00:00
Thomas Ries
992d92ffcd - added siproxd.spec to autoconf process 2003-04-07 18:09:32 +00:00
Thomas Ries
d3c28ae5bc release 0.3.2 2003-04-05 14:17:40 +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
d7029ce354 - released 0.3.1
- fix in configure.in for statically linking to libosip
- fix in rewriting SIP messages, figure out proper
   destination if *not* rewriting the SIP URI
- another NULL pointer related crash (no UA header present)
2003-03-29 17:14:56 +00:00
Thomas Ries
d1d5914db2 release 0.3.0 2003-03-29 11:56:01 +00:00
Thomas Ries
731b43e13d libosip2 support 2003-03-29 10:05:29 +00:00
Thomas Ries
e7eef98133 fixes 2003-03-28 23:06:14 +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
b4e7511ec6 release 0.2.8 2003-03-23 18:57:39 +00:00
Thomas Ries
b724b16780 uClibc building support (fli4l 2.1.x) 2003-03-23 01:11:45 +00:00
Thomas Ries
191b6e06dc again added... 2003-03-22 14:01:47 +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
93f890c9b1 working release 0.2.8 2003-03-15 18:47:27 +00:00
Thomas Ries
d7a3a2f23e rel 0.2.7 2003-03-15 18:25:03 +00:00