Miklos Tirpak [Fri, 12 Sep 2008 11:01:19 +0000 (11:01 +0000)]
rtp_proxy.enable configuration option is introduced, the following
values are supported:
"0" -- disable
"1" -- enable
"detect" -- detect whether the UAC or the UAS is behind NAT, and enable
the RTP Proxy when necessary
WARNING: disabling the RTP Proxy runtime may leave the RTP sessions
being proxied unmaintained.
Andrei Pelinescu-Onciul [Wed, 3 Sep 2008 20:17:04 +0000 (20:17 +0000)]
udp_flood sctp portability fix
- compiles now wit -DUSE_SCTP on freebsd 7.0
Andrei Pelinescu-Onciul [Wed, 3 Sep 2008 20:15:43 +0000 (20:15 +0000)]
sctp enabled for freebsd
- ser can now be compiled on freebsd 7.0 with sctp support
(gmake SCTP=1 cfg-defs ; gmake all)
Andrei Pelinescu-Onciul [Wed, 3 Sep 2008 20:14:22 +0000 (20:14 +0000)]
sctp portability fixes
- the code is now more portable
Andrei Pelinescu-Onciul [Wed, 3 Sep 2008 20:13:23 +0000 (20:13 +0000)]
sctp cfg typo fix
- typo fixed in cfg.lex (the options for setting the send or receive buffer
sizes did not work)
Andrei Pelinescu-Onciul [Wed, 27 Aug 2008 08:39:50 +0000 (08:39 +0000)]
multiple connection support
- enabled support for opening multiple connections (-n con_no)
Andrei Pelinescu-Onciul [Wed, 27 Aug 2008 08:39:12 +0000 (08:39 +0000)]
sctp support
- compile with -DUSE_SCTP -lsctp and using -S command line flag will
cause udp_flood to send packets using SCTP.
Andrei Pelinescu-Onciul [Wed, 27 Aug 2008 08:38:08 +0000 (08:38 +0000)]
sctp minor fix
- ancillary data worked only the first time (msg_control was intialized
only once)
Andrei Pelinescu-Onciul [Wed, 27 Aug 2008 08:36:53 +0000 (08:36 +0000)]
sctp support for more notification
- support all relevant notifications, for now just dump some DBG() info
Andrei Pelinescu-Onciul [Wed, 27 Aug 2008 08:35:19 +0000 (08:35 +0000)]
sctp event notification and ancillary info
- debugging: print stream number, ppid, flags, tsn, cumtsn and assoc_id
for each received packet (DBG())
- handle notifications (for now only print info about them)
Jan Janak [Mon, 25 Aug 2008 14:50:51 +0000 (14:50 +0000)]
- fixed wrong tls config name
Jan Janak [Mon, 25 Aug 2008 14:30:35 +0000 (14:30 +0000)]
- use standalone configuration file for tls
Nils Ohlmeier [Sun, 24 Aug 2008 11:49:01 +0000 (11:49 +0000)]
fixed segfault in case of SCTP failover
Nils Ohlmeier [Sat, 23 Aug 2008 22:15:43 +0000 (22:15 +0000)]
fixed wrong function name in error message
Andrei Pelinescu-Onciul [Tue, 19 Aug 2008 18:37:52 +0000 (18:37 +0000)]
command line support for address lists (-l)
Support for specifying and address list for -l (e.g. -l (foo, bar)). For
sctp all the address in the list will be used for multi-homing.
Andrei Pelinescu-Onciul [Mon, 18 Aug 2008 14:56:32 +0000 (14:56 +0000)]
enable sctp multihoming support
- listen on multiple sctp addresses, the primary address being the first
one in the list.
Andrei Pelinescu-Onciul [Mon, 18 Aug 2008 14:55:13 +0000 (14:55 +0000)]
sctp multi-homing config support
- config support for sctp multi-homing (listen on multiple addresses in the
same time).
Format: sctp:(addr1, addr2, addr3)
sctp:(eth0) -> will listen on all eth0 addresses in the same
time
(eth0,lo) -> sctp will listen on all addresses from eth0 & lo
in the same time, while the other protocols will
create different socket for each of the addresses
(e.g.: for udp it would be equivalent with:
listen= udp:eth0 udp:lo)
The first address is always the main one.
Conflicts are resolved automatically, by removing the duplicates. Main
addresses have priority (e.g: sctp:(lo,eth0) sctp:(eth0,eth1) after
duplicate removal will become sctp:(lo) sctp:(eth0,eth1)).
- try to always keep the order in which listen addresses were given in
config (fixes reordering between interface names and hostnames, e.g.
listen= eth0 foo.bar resulted in ip(foo.bar) , ip(eth0) )
Andrei Pelinescu-Onciul [Mon, 18 Aug 2008 14:49:57 +0000 (14:49 +0000)]
init_naptr_proto_prefs sctp fix
- fixed init_naptr_proto_prefs sanity checks
Andrei Pelinescu-Onciul [Mon, 18 Aug 2008 14:47:33 +0000 (14:47 +0000)]
SCTP protocol name support in ser.cfg
- added missing support for SCTP in proto=..., listen a.s.o
Jan Janak [Thu, 14 Aug 2008 13:17:05 +0000 (13:17 +0000)]
Address of serusers mailing list updated
Andrei Pelinescu-Onciul [Wed, 13 Aug 2008 14:49:46 +0000 (14:49 +0000)]
updated .cvsignore
- added the new autogenerated make related files, *.d, *.so, vi .swp a.s.o
Andrei Pelinescu-Onciul [Tue, 12 Aug 2008 09:51:32 +0000 (09:51 +0000)]
- sctp preference support in naptr queries (added a new ser.cfg option:
dns_sctp_pref, see doc/dns.txt for more details)
Andrei Pelinescu-Onciul [Mon, 11 Aug 2008 17:41:16 +0000 (17:41 +0000)]
- sctp support
- added t_relay_to_sctp(). t_replicate_sctp(), t_forward_nonack_sctp()
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:47:53 +0000 (20:47 +0000)]
- core sctp support
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:47:23 +0000 (20:47 +0000)]
- experimental sctp support (one to many)
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:45:40 +0000 (20:45 +0000)]
- support for sctp
Andrei Pelinescu-Onciul [Thu, 7 Aug 2008 13:29:09 +0000 (13:29 +0000)]
- workaround for type declaration conflicts between linux-libc-dev and libc
headers on x86_64 debian (in one place declared as long int and in another as
long long)
Andrei Pelinescu-Onciul [Thu, 7 Aug 2008 13:15:24 +0000 (13:15 +0000)]
- excluded auth_identity from the default compilation list
Andrei Pelinescu-Onciul [Wed, 6 Aug 2008 15:24:27 +0000 (15:24 +0000)]
- magic include reordering to work around type declaration conflicts between
linux-libc-dev and libc headers in debian
Andrei Pelinescu-Onciul [Tue, 29 Jul 2008 12:06:50 +0000 (12:06 +0000)]
- when starting ser in suid mode (e..g -u user), set also the supplementary
groups of the respective user.
Patch from Marcus Better <marcus@better.se>.
Martin Hoffmann [Mon, 28 Jul 2008 14:58:25 +0000 (14:58 +0000)]
Man pages for auth and avp.
Andrei Pelinescu-Onciul [Thu, 17 Jul 2008 13:37:49 +0000 (13:37 +0000)]
- update: nonce_auth_max_drift, auth_extra_checks split into auth_checks_*
Andrei Pelinescu-Onciul [Thu, 17 Jul 2008 10:12:07 +0000 (10:12 +0000)]
- fix: ifdef __CPU_i386 define __CPU_x86
Andrei Pelinescu-Onciul [Thu, 17 Jul 2008 07:51:34 +0000 (07:51 +0000)]
- ser equivalents to time(2) and gettimeofday(2), using internal ser time
(faster then making a syscall, but at least in the gettimeofday case more
imprecise, can be about 0.1-0.2 s off)
Libor Chocholaty [Mon, 14 Jul 2008 13:37:42 +0000 (13:37 +0000)]
added function qm_check\(\) which checks integrity of pkg mem.
If you have a problem with memory you can include qm_check() into lovely places in your code and at these checkpoints
integrity pf pkg memory will be checked.
Andrei Pelinescu-Onciul [Mon, 14 Jul 2008 13:14:11 +0000 (13:14 +0000)]
- makecfg.lst INCLUDES comparison allows now for differences in whitespace
(thank to Pavel Kasparek <pavel@iptel.org>)
Andrei Pelinescu-Onciul [Thu, 10 Jul 2008 17:11:03 +0000 (17:11 +0000)]
- auth update
Andrei Pelinescu-Onciul [Wed, 9 Jul 2008 20:25:05 +0000 (20:25 +0000)]
- update (recent auth changes)
Andrei Pelinescu-Onciul [Wed, 2 Jul 2008 12:07:37 +0000 (12:07 +0000)]
- base64 init and endianness checks on startup
Andrei Pelinescu-Onciul [Tue, 1 Jul 2008 21:56:06 +0000 (21:56 +0000)]
- typo
Andrei Pelinescu-Onciul [Tue, 1 Jul 2008 20:33:20 +0000 (20:33 +0000)]
- added fast base64 and base16 encoders/decoders along with test program and
some results
Andrei Pelinescu-Onciul [Tue, 1 Jul 2008 20:31:55 +0000 (20:31 +0000)]
- moved modules list from config.mak to modules.lst and added modules list
reconfigure targets: make modules-cfg ... (this allows changing the modules
list without triggering a complete recompile)
- added make cfg-defs which would change only the build options, without
modifying the modules list
Martin Hoffmann [Tue, 1 Jul 2008 18:00:31 +0000 (18:00 +0000)]
Don't include stuff in man pages that is marked rule="admin-guide"
Andrei Pelinescu-Onciul [Sat, 28 Jun 2008 20:45:10 +0000 (20:45 +0000)]
- added clean-all and proper-all (like clean and proper but work on all the
modules, not only the one currently configured)
Andrei Pelinescu-Onciul [Sat, 28 Jun 2008 20:16:36 +0000 (20:16 +0000)]
- added install-modules-man and made make install also imake & install the
modules man pages (if present)
- added try_err function to Makefile.shared, for checking and reporting if
a shell command failed (if err_fail is 1 it will also force an error return
from the current makefile subshell)
- install-share, install-utils, install-modules-doc, install-modules-man will
now fail if err_fail=1 (default) and one of the individual file install
fails. Closes SER-389.
Andrei Pelinescu-Onciul [Sat, 28 Jun 2008 17:51:20 +0000 (17:51 +0000)]
- first compile all the code and then install (at the price of slightly
slower make install)
Closes SER-390.
Andrei Pelinescu-Onciul [Sat, 28 Jun 2008 00:36:56 +0000 (00:36 +0000)]
- new files needed by the improved build system
Andrei Pelinescu-Onciul [Sat, 28 Jun 2008 00:35:25 +0000 (00:35 +0000)]
- experimental make cfg /config support: make cfg fore regeneration of the
"build" config, saved in config.mak. This config is used instead of
including Makefile.defs each time. The config is also automatically
generated if missing. The speed improvements are dramatic in most cases:
make proper 15 times faster, make clean 8 times, make with generated
config 2.6 times faster then before, make rebuilding only one file 9 times
faster.
E.g.: make cfg include_modules=mysql CPU=pentium-m BASEDIR=/tmp/ser
make install # builds default ser + mysql, optimized for pentium-m
# and installs in /tmp/ser/usr/local/*
make clean # cleans default modules + mysql
Jan Janak [Thu, 26 Jun 2008 12:33:23 +0000 (12:33 +0000)]
ignore ser tarballs
Jan Janak [Thu, 26 Jun 2008 12:12:42 +0000 (12:12 +0000)]
- .cvsignore with libprint.so.* added
Jan Janak [Thu, 26 Jun 2008 12:11:42 +0000 (12:11 +0000)]
- .cvsignore with libser_presence.so.* added
Jan Janak [Thu, 26 Jun 2008 12:09:12 +0000 (12:09 +0000)]
- adding .cvsignore with libser_cds.so.*
Jan Janak [Thu, 26 Jun 2008 12:06:03 +0000 (12:06 +0000)]
- adding .cvsignore with sercmd
Andrei Pelinescu-Onciul [Thu, 26 Jun 2008 10:08:03 +0000 (10:08 +0000)]
- missing include Makefile.targets
Andrei Pelinescu-Onciul [Thu, 26 Jun 2008 09:08:53 +0000 (09:08 +0000)]
- don't try to autodetect libreadline for a no-build target
(e.g. clean). It uses Makefile.targets to get the list of no code-building
targets.
Andrei Pelinescu-Onciul [Thu, 26 Jun 2008 09:07:35 +0000 (09:07 +0000)]
- don't try to build dependencies or lex/yacc stuff unless it's really
necessary (makefile target != clean,doc,modules, a.s.o ; for the complete
long list see Makefile.targets)
Jan Janak [Thu, 26 Jun 2008 00:54:13 +0000 (00:54 +0000)]
- support for files installed in '*/share/ser'
- replace the path to sql files in ser_mysql.sh during install
- install SQL files for mysql
(to be continued)
Jan Janak [Thu, 26 Jun 2008 00:43:06 +0000 (00:43 +0000)]
- removed version table which is not needed anymore in 2.1
Jan Janak [Thu, 26 Jun 2008 00:27:56 +0000 (00:27 +0000)]
- reindented
Jan Janak [Thu, 26 Jun 2008 00:08:55 +0000 (00:08 +0000)]
More flexible configuration of the path to the source database
templates. There is a new configuration option in the script containing
the default path to the directory containing source database templates. The
value of that option will be updated during make install. Relative pathnames
are converted to absolute pathnames with respect to the location of the
ser_dbtext.sh script.
Jan Janak [Thu, 26 Jun 2008 00:01:52 +0000 (00:01 +0000)]
More flexible configuration of the path to SQL script files. There is a new
configuration option in the script containing the default path to the
directory containing SQL script files. The value of that option will be
updated during make install. Relative pathnames are converted to absolute
pathnames with respect to the location of the ser_postgres.sh script.
Jan Janak [Wed, 25 Jun 2008 23:45:51 +0000 (23:45 +0000)]
- support for SCRIPT_DIRECTORY conf. option
- -d cmd line option added
- help text reformatted
- more flexible searching of SQL script files
Pavel Kasparek [Wed, 25 Jun 2008 12:34:54 +0000 (12:34 +0000)]
changed default user and group to run ser as to root.root - it is needed for core files generation
Jan Janak [Tue, 24 Jun 2008 16:13:07 +0000 (16:13 +0000)]
- reset pointes when route set is missing, patch provided by Dragos Vingarnzan
closes SER-266
Jan Janak [Tue, 24 Jun 2008 15:52:49 +0000 (15:52 +0000)]
- reindented
Andrei Pelinescu-Onciul [Tue, 24 Jun 2008 14:39:52 +0000 (14:39 +0000)]
- check defines and includes used at compile time and if different
force rebuilding everything in the current dir (creates a new file:
makecfg.lst that stores the compile defines & includes used at compile
time). This should solve problems such as compiling mysql with malloc
debugging, modifiyng a file and then recompiling without malloc debugging.
Pavel Kasparek [Tue, 24 Jun 2008 07:39:21 +0000 (07:39 +0000)]
fixing install target - using underscore instead of dash in INSTALL-* and cfg-*
Andrei Pelinescu-Onciul [Mon, 23 Jun 2008 18:35:26 +0000 (18:35 +0000)]
- README target support: make README will regenerate the README from all
the current modules
- man target: (experimental) make man will generate a man page for all the
modules that support it (.xml file in the module directory, for now only
acc_db, acc_syslog & auth_db support it)
Jan Janak [Mon, 23 Jun 2008 17:53:09 +0000 (17:53 +0000)]
- added various tls options (commented out)
Jan Janak [Mon, 23 Jun 2008 17:43:20 +0000 (17:43 +0000)]
- install ser-oob as ser-advanced
- replace the path to modules in ser-advanced
- install tls configuration
- install ser_cert.sh script
Jan Janak [Mon, 23 Jun 2008 17:22:42 +0000 (17:22 +0000)]
- add section numbers to all outputs based on html
- add TOC to txt (which is used to generate READMEs)
Jan Janak [Mon, 23 Jun 2008 17:21:00 +0000 (17:21 +0000)]
- enable section numbering in html and txt output
Jan Janak [Mon, 23 Jun 2008 17:12:04 +0000 (17:12 +0000)]
- comment typos fixed
Jan Janak [Mon, 23 Jun 2008 17:09:57 +0000 (17:09 +0000)]
- fixed crash caused by incorrect to/from, patch provided by Bogdan Pintea
closes SER-373
Jan Janak [Mon, 23 Jun 2008 14:10:02 +0000 (14:10 +0000)]
- removed debugging return from a destroy function, patch provided by Jan
Andres
closes SER-379
Andrei Pelinescu-Onciul [Fri, 20 Jun 2008 17:01:31 +0000 (17:01 +0000)]
- added missing notes about t_reset_fr(), t_reset_retr() and
t_reset_max_lifetime()
Andrei Pelinescu-Onciul [Fri, 20 Jun 2008 16:59:43 +0000 (16:59 +0000)]
- doc update:
- fixed timer examples (milliseconds instead of seconds)
- added note that delete_timer is obsolete for 2.1
- added "See also" for various parameters and functions
- added missing docs for: t_reset_fr(), t_reset_retr(),
t_set_max_lifetime(), t_reset_max_lifetime(), t_set_auto_inv_100(),
max_inv_lifetime, max_noninv_lifetime, restart_fr_on_each_reply,
auto_inv_100
- removed solved "known limitations": authentication mergin on forking
(we have it), local ack/cancel ignoring delete routes (Miklos reparse*
patches solved it some time ago), 6xx should be delayed (solved long time
ago), snmp support (we don't intend to ever add it).
- regenerated the README
Jan Janak [Tue, 17 Jun 2008 12:52:25 +0000 (12:52 +0000)]
- check for db_first and db_next also when the command type is DB_SQL
Jan Janak [Tue, 17 Jun 2008 12:19:37 +0000 (12:19 +0000)]
- fixed a problem when commands created with unitialized contexts would crash
Andrei Pelinescu-Onciul [Fri, 13 Jun 2008 20:09:54 +0000 (20:09 +0000)]
- an attempt at portable endianness macros: __IS_LITTLE_ENDIAN,
__IS_BIG_ENDIAN and runtime check/sanity functions
Martin Hoffmann [Fri, 13 Jun 2008 14:22:46 +0000 (14:22 +0000)]
Man page for acc_syslog.
Alfred E. Heggestad [Thu, 12 Jun 2008 16:11:46 +0000 (16:11 +0000)]
fix indentation; 4 spaces -> tab
Alfred E. Heggestad [Thu, 12 Jun 2008 15:47:10 +0000 (15:47 +0000)]
fix typo; 'the the' -> 'the'
Alfred E. Heggestad [Thu, 12 Jun 2008 13:28:04 +0000 (13:28 +0000)]
fix some typos; accouting -> accounting
Tomas Mandys [Thu, 12 Jun 2008 07:20:37 +0000 (07:20 +0000)]
- renamed int2str to int2str_internal which interferes with API function defined in ut.h
- "i may be undefined" warning fixed
Gergely Kovacs [Wed, 11 Jun 2008 15:39:15 +0000 (15:39 +0000)]
'unused variable' compiler warning fixed
Jan Janak [Wed, 11 Jun 2008 11:10:29 +0000 (11:10 +0000)]
- db_fld value union defined separately
Jan Janak [Wed, 11 Jun 2008 11:08:30 +0000 (11:08 +0000)]
- return values unified
- print token info only when EXTRA_DEBUG is defined
- cfg_get_token calls accept flags from the parent function
- cfg_eat_eol implemented
- parser functions are supposed to handle EOL themselves
- various flags implemented to tell parser functions how
to return strings (pkgmem, shmmem, malloc, static buf)
- *_opt functions parse the whole option body, every of
them has an alternative without _opt suffix which parses
one token.
- cfg_parse_section accepts memory allocation flags just
like cfg_parse_str
Tomas Mandys [Tue, 10 Jun 2008 15:03:35 +0000 (15:03 +0000)]
- publishing up_since as core variable
Libor Chocholaty [Tue, 10 Jun 2008 12:30:38 +0000 (12:30 +0000)]
more verbose comment
Martin Hoffmann [Mon, 9 Jun 2008 15:33:52 +0000 (15:33 +0000)]
Man page for acc_db.
Some corrections to stylesheet and the page for auth_db.
Martin Hoffmann [Mon, 9 Jun 2008 09:18:33 +0000 (09:18 +0000)]
Stylesheet for docbook-based man pages.
Man page for auth_db.
Andrei Pelinescu-Onciul [Fri, 6 Jun 2008 12:12:33 +0000 (12:12 +0000)]
- parse_nameaddr doesn't log any error messages anymore (sometimes it's called
to check if a string is in nameaddr format, for example from the avp module)
- if parse_nameaddr fails in parse_rr, parse_rr will log the failed "uri".
Andrei Pelinescu-Onciul [Fri, 6 Jun 2008 11:49:18 +0000 (11:49 +0000)]
- be more verbose when parse_nameaddr fails (show the guilty string).
Patch from Alfred E. Heggestad <aeh@db.org>.
Jan Janak [Fri, 6 Jun 2008 00:00:21 +0000 (00:00 +0000)]
- standalone configuration file parser, this is an extended version of the
parser from the tls module. This version can be used from other modules too,
currently used by tls and ldap modules, in the future to be used by bdb,
mysql, postgres, flatstore, and others.
Andrei Pelinescu-Onciul [Thu, 5 Jun 2008 16:36:58 +0000 (16:36 +0000)]
- don't path libdl and libresolve to modules by default
(thanks to Marcus Better <marcus@better.se>)
Andrei Pelinescu-Onciul [Wed, 4 Jun 2008 13:13:54 +0000 (13:13 +0000)]
- T_CANCELED is set for any E2E CANCEL, making t_is_canceled() usable
for more then checking for out fo order CANCELs (experimental)
Jan Janak [Sat, 31 May 2008 17:50:34 +0000 (17:50 +0000)]
- fixed indentation
Andrei Pelinescu-Onciul [Fri, 30 May 2008 21:11:53 +0000 (21:11 +0000)]
- ver. no ++
Andrei Pelinescu-Onciul [Fri, 30 May 2008 21:10:53 +0000 (21:10 +0000)]
- fix: in some corner cases where send blocks for a long time or when final
reply or on send callbacks take too much time to execute for a transaction
for which the final reply timer just expired, it is possible that the wait
handler would execute _before_ we are finished with t (e.g. before all the
callbacks are called). Because presence on a timer list is not ref. counted
and we optimize deletion by allowing unlink_timer() not to wait for the
fr_timer to finish (timer_allow_del()) this would mean the transaction will
be deleted while still in use. The fix makes sure the wait timer is always
started after we're not looking at t anymore (an alternative would be to
remove timer_allow_del() from retr_buf_hanlder(), but this could cause
fast timer slowdowns).