- release 0.5.5 cleanup

- use CVS $Id$ identification in each file
This commit is contained in:
Thomas Ries
2004-04-11 10:40:00 +00:00
parent 21f68a722b
commit 7bb291a84b
23 changed files with 58 additions and 48 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
0.5.5
=====
11-Mar-2004: - Released 0.5.5
11-Apr-2004: - Released 0.5.5
9-Apr-2004: - SDP body: do rewrite 'o=' (originator) address, too
- siproxd can be linked to a customer firewall control
module (library) that will be called for each RTP
+18 -10
View File
@@ -2,8 +2,13 @@ Release Notes for siproxd-0.5.5
===============================
Major changes since 0.5.4:
-
-
- several fixes in the SDP media rewriting part
- use realtime scheduling for RTP proxy thread
- PID file
- custom firewall control module: siproxd can be linked against
custom library that may perform specific actions on start/stop
of RTP streams (dynamically reconfigure firewall settings)
- a number of enhancement in security checks
General Overview:
- SIP (RFC3261) Proxy for SIP based softphones hidden behind a
@@ -40,26 +45,29 @@ Requirements:
- libosip2
Currently tested on:
- Redhat 6.0 (Kernel 2.2.x, Glibc)
- Redhat 7.2 (Kernel 2.4.x, Glibc)
- SUSE 5.3 (kernel 2.0.x, libc5)
- Redhat 7.2 (build against uClibc)
- SuSE 7.3
- Fedora Core1 (Kernel 2.4.x, Glibc)
This is my main development and testing environment. Other platforms
are not extensively tested by myself.
Reported to build on:
- FreeBSD 4.7-STABLE
- OpenBSD 2.9
- Solaris2
Reported interoperability (tested with softphones):
Reported interoperability with softphones:
- Grandstream BudgeTone-100 series
- Linphone (local and remote UA) (http://www.linphone.org)
- Kphone (local and remote UA) (http://www.wirlab.net/kphone/)
- MSN messenger 4.6 (remote and local UA)
- X-Lite (Win XP Professional)
If you can confirm other SIP phones working, please drop me
a short note.
Reported interoperability with service providers:
- Sipphone (http://www.sipphone.com)
- FWD (http://www.fwd.pulver.com)
If you have siproxd successfully running with another SIP phone
and/or service provider, please drop me a short note so I can update
the list.
Known bugs:
There will be...
+1 -3
View File
@@ -31,9 +31,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
struct siproxd_config configuration;
+1 -2
View File
@@ -37,8 +37,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+2
View File
@@ -54,6 +54,8 @@
#include "fwapi.h"
#include "log.h"
static char const ident[]="$Id$";
/*
* some prototypes of util.c - so I don't have to suck in the
* whole bunch of include files. You probably will not use this
+2
View File
@@ -1,6 +1,8 @@
/* TAKEN from rcf2617.txt */
/* $Id$ */
#ifndef _DIGCALC_H_
#define _DIGCALC_H_
+2
View File
@@ -24,6 +24,8 @@
#include "fwapi.h"
#include "log.h"
static char const ident[]="$Id$";
int fwapi_start_rtp(int rtp_direction,
struct in_addr local_ipaddr, int local_port,
struct in_addr remote_ipaddr, int remote_port) {
+2
View File
@@ -19,6 +19,8 @@
*/
/* $Id$ */
/*
* constants
*/
+1 -4
View File
@@ -30,10 +30,7 @@
#include <time.h>
#include <syslog.h>
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
static int log_to_syslog=0;
static int debug_pattern=0;
+2
View File
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* $Id$ */
#include <stdarg.h>
#define DBCLASS_BABBLE 0x00000001 /* babble (like entering/leaving fnc)*/
+1 -3
View File
@@ -35,9 +35,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+1 -2
View File
@@ -32,8 +32,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+1 -2
View File
@@ -35,8 +35,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+2
View File
@@ -19,6 +19,8 @@
*/
/* $Id$ */
/*
* SIP Method 'knowledg base'
* This table tells siproxd what incomming requests (which methods)
+1 -3
View File
@@ -29,9 +29,7 @@
#include "rtpproxy.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+2
View File
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* $Id$ */
#define CALLIDNUM_SIZE 256
#define CALLIDHOST_SIZE 32
#define CLIENT_ID_SIZE 128
+7 -3
View File
@@ -42,9 +42,7 @@
#include "rtpproxy.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
@@ -119,6 +117,7 @@ int rtp_relay_init( void ) {
if (uid != euid) seteuid(0);
if (geteuid()==0) {
#if defined(HAVE_SCHED_GET_PRIORITY_MAX) && defined(HAVE_SCHED_GET_PRIORITY_MIN)
int pmin, pmax;
/* place ourself at 1/3 of the available priority space */
pmin=sched_get_priority_min(SCHED_RR);
@@ -126,6 +125,11 @@ int rtp_relay_init( void ) {
schedparam.sched_priority=pmin+(pmax-pmin)/3;
DEBUGC(DBCLASS_RTP,"pmin=%i, pmax=%i, using p=%i", pmin, pmax,
schedparam.sched_priority);
#else
/* just taken a number out of thin air */
schedparam.sched_priority=10;
DEBUGC(DBCLASS_RTP,"using p=%i", schedparam.sched_priority);
#endif
sts=pthread_setschedparam(rtpproxy_tid, SCHED_RR, &schedparam);
if (sts != 0) {
ERROR("pthread_setschedparam failed: %s", strerror(errno));
+1 -4
View File
@@ -32,10 +32,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/*
* do security and integrity checks on the received packet
+2 -2
View File
@@ -43,8 +43,8 @@
#include "rewrite_rules.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+2 -4
View File
@@ -38,9 +38,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
struct siproxd_config configuration;
@@ -197,7 +195,7 @@ int main (int argc, char *argv[])
sts=unlink(configuration.pid_file);
if ((sts==0) ||(errno == ENOENT)) {
if ((pidfile=fopen(configuration.pid_file, "w"))) {
fprintf(pidfile,"%i\n",getpid());
fprintf(pidfile,"%i\n",(int)getpid());
fclose(pidfile);
} else {
WARN("couldn't create new PID file: %s", strerror(errno));
+2
View File
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* $Id$ */
#ifdef DMALLOC
#include <dmalloc.h>
#endif
+2 -2
View File
@@ -38,8 +38,8 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
+2 -3
View File
@@ -44,8 +44,7 @@
#include "siproxd.h"
#include "log.h"
static char const ident[]="$Id: " __FILE__ ": " PACKAGE "-" VERSION "-"
BUILDSTR " $";
static char const ident[]="$Id$";
/* configuration storage */
extern struct siproxd_config configuration;
@@ -350,7 +349,7 @@ int get_ip_by_ifname(char *ifname, struct in_addr *retaddr) {
} /* for i */
/* not found in cache, go and get it */
bzero(&ifr, sizeof(ifr));
memset(&ifr, 0, sizeof(ifr));
if((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
ERROR("Error in socket: %s\n",strerror(errno));