sip-router
11 years agodns: fix build warnings when compiling without ipv6
Andrei Pelinescu-Onciul [Tue, 16 Dec 2008 14:35:55 +0000 (14:35 +0000)]
dns: fix build warnings when compiling without ipv6

Author: Vance Shipley <vances@motivity.ca>
Committer: Andrei Pelinescu-Onciul <andrei@iptel.org>

11 years agocore: fix build on Darwin
Andrei Pelinescu-Onciul [Tue, 16 Dec 2008 14:34:04 +0000 (14:34 +0000)]
core: fix build on Darwin

Author: Alfred Heggestad <aeh@db.org>
Committer: Andrei Pelinescu-Onciul <andrei@iptel.org>

11 years agodoc: tcp tunning update
Andrei Pelinescu-Onciul [Tue, 16 Dec 2008 14:30:48 +0000 (14:30 +0000)]
doc: tcp tunning update

- update with epoll tunning for kernels >= 2.6.27.8

Author: Andrei Pelinescu-Onciul <andrei@iptel.org>

11 years agosctp: SO_REUSEADDR on the sctp sockets
Andrei Pelinescu-Onciul [Fri, 12 Dec 2008 23:25:39 +0000 (23:25 +0000)]
sctp: SO_REUSEADDR on the sctp sockets

Reported-by: Michal Matyska, michal.matyska at iptel org
11 years agotcp: fix for async write
Andrei Pelinescu-Onciul [Fri, 12 Dec 2008 23:02:45 +0000 (23:02 +0000)]
tcp: fix for async write

- fixed bug in _wbufq_add() which caused packet corruption when
  multiple packets with size < default buffer size where queued.

Reported-by: Vaclav Kubart, vaclav.kubart at iptel org
Tested-by: Vaclav Kubart, vaclav.kubart at iptel org
11 years agoanother switch where PROTO_SCTP was missing - added case
Michal Matyska [Thu, 11 Dec 2008 19:12:41 +0000 (19:12 +0000)]
another switch where PROTO_SCTP was missing - added case

11 years agosctp protocol decoded in RPC dst_blacklist.view
Michal Matyska [Tue, 9 Dec 2008 14:09:22 +0000 (14:09 +0000)]
sctp protocol decoded in RPC dst_blacklist.view

so it does not show unknown protocol anymore

11 years agoclean up whitespace in makefile
Alfred E. Heggestad [Mon, 8 Dec 2008 12:26:39 +0000 (12:26 +0000)]
clean up whitespace in makefile

11 years agoadded README.prefix_route
Alfred E. Heggestad [Mon, 8 Dec 2008 10:36:46 +0000 (10:36 +0000)]
added README.prefix_route

11 years agoUse explicit comparison with NULL, it's more clear and shuts off gcc,
Maxim Sobolev [Mon, 8 Dec 2008 06:16:52 +0000 (06:16 +0000)]
Use explicit comparison with NULL, it's more clear and shuts off gcc,
which otherwise compain that condition is always true when argument is
pointer to the struct allocated on stack.

11 years agoFix warnings on LP64 plarforms out there (all 64-bit amd64/emt64 unixes
Maxim Sobolev [Mon, 8 Dec 2008 06:11:39 +0000 (06:11 +0000)]
Fix warnings on LP64 plarforms out there (all 64-bit amd64/emt64 unixes
and linuxes) where sizeof(*void) != sizeof(int).

11 years agoadded new module prefix_route
Alfred E. Heggestad [Sat, 6 Dec 2008 22:09:13 +0000 (22:09 +0000)]
added new module prefix_route

11 years agoupdate RPM spec file
Alfred E. Heggestad [Sat, 6 Dec 2008 21:49:27 +0000 (21:49 +0000)]
update RPM spec file

11 years agot_suspend() and t_continue() functions have been documented.
Miklos Tirpak [Fri, 5 Dec 2008 13:59:35 +0000 (13:59 +0000)]
t_suspend() and t_continue() functions have been documented.

11 years agodns: naptr local preferences fix
Andrei Pelinescu-Onciul [Wed, 3 Dec 2008 23:41:13 +0000 (23:41 +0000)]
dns: naptr local preferences fix

- in some cases the local preference for a protocol
  (dns_{udp,tcp,sctp,tls}_pref) was ignored (depending on the
  order of the records).

Reported-by: Vladimir Broz, vbroz at iptel org
Tested-by: Vladimir Broz, vbroz at iptel org
11 years agomore type punning warnings fixed
Andrei Pelinescu-Onciul [Fri, 28 Nov 2008 15:24:15 +0000 (15:24 +0000)]
more type punning warnings fixed

11 years agoavp: warning fixes & more sane usr_avp struct
Andrei Pelinescu-Onciul [Fri, 28 Nov 2008 15:24:01 +0000 (15:24 +0000)]
avp: warning fixes & more sane usr_avp struct

- type punning warning fixed (both for =-Wstrict-aliasing and
   -Wstrict-aliasing=2)
- replaced usr_avp->data with a union (more sane, looks better)

11 years agodns cache: fixed missing sctp SRV queries
Andrei Pelinescu-Onciul [Fri, 28 Nov 2008 10:41:40 +0000 (10:41 +0000)]
dns cache: fixed missing sctp SRV queries

- added missing support for sctp SRV queries

11 years agodns: fixed missing sctp SRV queries
Andrei Pelinescu-Onciul [Tue, 25 Nov 2008 19:15:05 +0000 (19:15 +0000)]
dns: fixed missing sctp SRV queries

- support for sctp SRV queries was missing

11 years agodoc/NEWS: minor update
Andrei Pelinescu-Onciul [Sun, 16 Nov 2008 18:29:06 +0000 (18:29 +0000)]
doc/NEWS: minor update

- added missing sigio_rt poll method to tcp_poll_method

11 years agomakefile: exclude_modules updated
Andrei Pelinescu-Onciul [Thu, 13 Nov 2008 16:24:41 +0000 (16:24 +0000)]
makefile: exclude_modules updated

- modules no longer on CVS removed
- add some presence modules to list of not compilable modules (pa & rls
 problems with the new DB API)

(see SER-415)

Reported-by: Bogdan Pintea <pintea@iptego.de>
Author: Bogdan Pintea <pintea@iptego.de>
Committer: Andrei Pelinescu-Onciul <andrei@iptel.org>

11 years agomakefile: fix group_modules
Andrei Pelinescu-Onciul [Thu, 13 Nov 2008 16:23:32 +0000 (16:23 +0000)]
makefile: fix group_modules

- make cfg group_include="standard presence"; make all did not make the
presence modules because the excluded list was re-evaluated.
(see SER-415)

Reported-by: Bogdan Pintea <pintea@iptego.de>
11 years agot_suspend() and t_continue() functions are introduced.
Miklos Tirpak [Mon, 10 Nov 2008 12:47:02 +0000 (12:47 +0000)]
t_suspend() and t_continue() functions are introduced.

These fuctions can be used by other modules to implement
asynchronous actions: t_suspend() saves the transaction, returns its
identifiers, and t_continue() continues the SIP request processing.
(The transaction processing does not continue from the same point
in the script, a separate route block defined by the parameter of
t_continue() is executed instead. The reply lock is held during the
route block execution.) FR timer is ticking while the
transaction is suspended, and the transaction's failure route is
executed if t_continue() is not called in time.

Missing: msg lumps are saved by t_suspend() and are not updated by
the subsequent t_relay(). This means that the modifications made
between them are lost.

11 years agosctp: minor fix for sctp_send_reties fixup
Andrei Pelinescu-Onciul [Fri, 7 Nov 2008 21:07:21 +0000 (21:07 +0000)]
sctp: minor fix for sctp_send_reties fixup

- the value too high check was done only if compiled without sctp support
(#ifndef USE_SCTP instead of USE_SCTP)

11 years agotypo fixed
Michal Matyska [Fri, 7 Nov 2008 17:29:46 +0000 (17:29 +0000)]
typo fixed

11 years agosctp: new config option: sctp_send_retries
Andrei Pelinescu-Onciul [Fri, 7 Nov 2008 14:53:35 +0000 (14:53 +0000)]
sctp: new config option: sctp_send_retries

- new ser.cfg option sctp_send_retries + doc

11 years agosctp: send retries option and unordered fix
Andrei Pelinescu-Onciul [Fri, 7 Nov 2008 14:53:04 +0000 (14:53 +0000)]
sctp: send retries option and unordered fix

- added a new option for forcing send retries by attempting to re-open
 the association (useful for example when a peer reboots or performs a
 failover to another host, to avoid loosing the current association send
 queue)
- fix: SCTP_UNORDERED properly set

11 years agosctp: minor spelling & comments changes
Andrei Pelinescu-Onciul [Fri, 7 Nov 2008 14:52:40 +0000 (14:52 +0000)]
sctp: minor spelling & comments changes

11 years agoFixed: IP address in Warning header was not 3261 ABNF compliant
Nils Ohlmeier [Wed, 29 Oct 2008 23:03:22 +0000 (23:03 +0000)]
Fixed: IP address in Warning header was not 3261 ABNF compliant
       (discovered at SIPit23)

11 years agocore: typo fix in ip_addr_loopback()
Andrei Pelinescu-Onciul [Thu, 23 Oct 2008 11:22:19 +0000 (11:22 +0000)]
core: typo fix in ip_addr_loopback()

- compiling ser without -DUSE_IPV6 used to fail because of a misplaced
bracket

11 years agodns: comment addition
Andrei Pelinescu-Onciul [Thu, 23 Oct 2008 11:21:59 +0000 (11:21 +0000)]
dns: comment addition

11 years agoDon't malloc zero-byte string if the replacement string is empty.
Maxim Sobolev [Tue, 21 Oct 2008 03:21:38 +0000 (03:21 +0000)]
Don't malloc zero-byte string if the replacement string is empty.

Sponsored by:   Sippy Software, Inc.
Debugging:      mpatrol

11 years agoIn MDStringArray() don't call MD5Update() on empty elements of array. This
Maxim Sobolev [Tue, 21 Oct 2008 03:10:47 +0000 (03:10 +0000)]
In MDStringArray() don't call MD5Update() on empty elements of array. This
doesn't change checksum, but could cause memory copy to be called with
zero length and/or NULL source/destination.

Sponsored by:   Sippy Software, Inc.
Debugging:      mpatrol

11 years agoIn get_to_uid() throw an error when username is empty. Judging by the
Maxim Sobolev [Tue, 21 Oct 2008 03:05:33 +0000 (03:05 +0000)]
In get_to_uid() throw an error when username is empty. Judging by the
fact that the get_to_uid() is trying to do zero-byte copy and underlying
consumers doing other nasty things such as trying to allocate 0-byte
memory buffer nobody expects this condition to happen.

Sponsored by:   Sippy Software, Inc.
Debugging:      mpatrol

11 years agodns: fix bug when using srv failover, ipv4 and ipv6
Andrei Pelinescu-Onciul [Fri, 17 Oct 2008 19:30:07 +0000 (19:30 +0000)]
dns: fix bug when using srv failover, ipv4 and ipv6

- fix crash during ipv4->ipv6 fallback when doing srv failover and when
listening on both ipv4 and ipv6 addresses (the hostname used in the
 AAAA fallback lookup was null).

Reported by: Nils Ohlmeier <nils@iptel.org>.

11 years agoipv6: avoid using as default socket a loopback addr.
Andrei Pelinescu-Onciul [Thu, 16 Oct 2008 18:02:50 +0000 (18:02 +0000)]
ipv6: avoid using as default socket a loopback addr.

- prefer non-loopback and non-multicast addresses as default sockets for ipv6

11 years agocore: attempt harder to filter loopback addresses
Andrei Pelinescu-Onciul [Thu, 16 Oct 2008 15:17:44 +0000 (15:17 +0000)]
core: attempt harder to filter loopback addresses

- on startup detect not only loopback interfaces (e.g. -l lo) but also
ipv4 and ipv6 loopback addresses (e.g. 127.0.0.1, ::1). This helps filtering
 them out when choosing the default socket for each of the protocols.

11 years agocore: don't force a socket if the dst af is different
Andrei Pelinescu-Onciul [Wed, 15 Oct 2008 14:13:56 +0000 (14:13 +0000)]
core: don't force a socket if the dst af is different

- get_send_socket() will now ignore a forced send socket if the destination
 address family is different from the forced socket (e.g. force ipv6 but
 attempt to send to ipv4). A non-obvious example of a scenario triggering
 this bug is registering over ipv4 an ipv6 contact.
 Reported by: Nils Ohlmeier <nils@iptel.org>

11 years agocore: fix socket list iteration
Andrei Pelinescu-Onciul [Wed, 15 Oct 2008 10:27:47 +0000 (10:27 +0000)]
core: fix socket list iteration

- socket list iteration didn't work properly on ser startup when some
of the protocols where compile-time disabled (no support for them compiled).
Symptomps: ser -l lo -f ser.cfg  prints a BUG message and doesn't start.
- small socket list related cleanups

11 years agosctp: if SCTP support not compiled, next_proto() shouldn't return SCTP
Andrei Pelinescu-Onciul [Tue, 14 Oct 2008 14:13:14 +0000 (14:13 +0000)]
sctp: if SCTP support not compiled, next_proto() shouldn't return SCTP

- minor fix: if no SCTP support was compiled, init_proto_order() didn't
 remove PROTO_SCTP references and this caused a BUG message on ser start

11 years agoCFG_READONLY flag is introduced. Variables marked with this flag
Miklos Tirpak [Mon, 13 Oct 2008 14:09:18 +0000 (14:09 +0000)]
CFG_READONLY flag is introduced. Variables marked with this flag
can be stored in the configuration framework even if they are read-only.

11 years agosctp: if USE_COMP, set comp to none
Andrei Pelinescu-Onciul [Thu, 9 Oct 2008 07:32:59 +0000 (07:32 +0000)]
sctp: if USE_COMP, set comp to none

11 years agosctp: more compatibility changes with old sctp versions
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:23:49 +0000 (11:23 +0000)]
sctp: more compatibility changes with old sctp versions

- warn about missing sctp sockopt at compile time too
- fow now ignore sctp adaption layer events (not supported by lksctp
1.0.6 which unfortunately is still widely used)

11 years agosctp: suggest kernel upgrade if not all the sctp options are supported
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:23:23 +0000 (11:23 +0000)]
sctp: suggest kernel upgrade if not all the sctp options are supported

11 years agosctp: command line options fix
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:22:56 +0000 (11:22 +0000)]
sctp: command line options fix

- some sctp options were untreated in the first getopt() switch, causing ser
to immediately abort() if the options were used

11 years agosctp: support for older sctp libraries and autoclose fix
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:22:43 +0000 (11:22 +0000)]
sctp: support for older sctp libraries and autoclose fix

- try to compile even if the used sctp library doesn't support all the
 sctp socket options that we would like to set, but warn about it both at
 compile time and each time ser is started
- ser -V will print a list of unsupported sctp options (due to missing
support in the sctp library/*.h files that ser was compiled against)
- fix: the autoclose sctp socket option was not properly set (paste typo)

11 years agosctp: added sctp_enable and sctp auto mode
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:22:05 +0000 (11:22 +0000)]
sctp: added sctp_enable and sctp auto mode

- added a new ser.cfg option: sctp_enable = 0|1|2. 0 means disable
 (equivalent with sctp_disable=yes), 1 enable (sctp_disable=no) and
  2 is auto mode (sctp enabled only if supported by the OS).
- sctp is now by default in auto enable mode: enabled if supported by the OS

11 years agodns_*_preference updated to include sctp
Andrei Pelinescu-Onciul [Tue, 7 Oct 2008 11:21:32 +0000 (11:21 +0000)]
dns_*_preference updated to include sctp

11 years agosctp: set TOS and ignore unsuported socket options
Andrei Pelinescu-Onciul [Wed, 1 Oct 2008 17:32:36 +0000 (17:32 +0000)]
sctp: set TOS and ignore unsuported socket options

- set TOS
- ignore non-critical unsuported socket options for better compatibility with
older kernels (e.g. 2.6.18 does not support SCTP_FRAGMENT_INTERLEAVE or
 SCTP_PARTIAL_DELIVERY_POINT)

11 years agosctp: init function for one-to-one sockets
Andrei Pelinescu-Onciul [Wed, 1 Oct 2008 17:32:06 +0000 (17:32 +0000)]
sctp: init function for one-to-one sockets

11 years agosctp: cleanup
Andrei Pelinescu-Onciul [Wed, 1 Oct 2008 17:30:57 +0000 (17:30 +0000)]
sctp: cleanup

sctp_init_sock() broken into several functions (sctp_init_su,
sctp_init_sock_opt_common, sctp_bind_sock), to allow for code reuse
with a future sctp one-to-one implementation.

12 years agoenable is renamed to enabled
Miklos Tirpak [Mon, 15 Sep 2008 15:53:44 +0000 (15:53 +0000)]
enable is renamed to enabled

12 years agoenable is renamed to enabled (enable is a keyword)
Miklos Tirpak [Mon, 15 Sep 2008 15:51:44 +0000 (15:51 +0000)]
enable is renamed to enabled (enable is a keyword)

12 years agoadding debconf options for disabling replication, which were already there but someon...
Pavel Kasparek [Mon, 15 Sep 2008 15:25:10 +0000 (15:25 +0000)]
adding debconf options for disabling replication, which were already there but someone deleted them

12 years agotypo fixed
Pavel Kasparek [Mon, 15 Sep 2008 14:40:47 +0000 (14:40 +0000)]
typo fixed

12 years agoDebian packaging - another attempt to make compilation and installation of modules...
Pavel Kasparek [Mon, 15 Sep 2008 14:24:10 +0000 (14:24 +0000)]
Debian packaging - another attempt to make compilation and installation of modules work again: reverting back to using of group_include and adding cleaning of saved config and saved module list before every call to make

12 years agoDebian packaging - added make modules
Pavel Kasparek [Mon, 15 Sep 2008 13:43:57 +0000 (13:43 +0000)]
Debian packaging - added make modules

12 years agoDebian packaging - replacing using of include_modules by modules
Pavel Kasparek [Mon, 15 Sep 2008 13:34:00 +0000 (13:34 +0000)]
Debian packaging - replacing using of include_modules by modules

12 years agoDebian packaging - trying to make modules installation work again, it installs lot...
Pavel Kasparek [Mon, 15 Sep 2008 12:56:27 +0000 (12:56 +0000)]
Debian packaging - trying to make modules installation work again, it installs lot of other modules not specified using include_modules=".."

12 years agoDebian packaging - forgotten " removed
Pavel Kasparek [Mon, 15 Sep 2008 12:03:19 +0000 (12:03 +0000)]
Debian packaging - forgotten " removed

12 years agoDebian packaging - fixed wrong format of variables assignment
Pavel Kasparek [Mon, 15 Sep 2008 12:01:24 +0000 (12:01 +0000)]
Debian packaging - fixed wrong format of variables assignment

12 years agoDebian packaging - replacing inclusion of modules by group by listing them individually
Pavel Kasparek [Mon, 15 Sep 2008 11:57:27 +0000 (11:57 +0000)]
Debian packaging - replacing inclusion of modules by group by listing them individually

12 years agoDebian packaging changes:
Pavel Kasparek [Mon, 15 Sep 2008 10:11:53 +0000 (10:11 +0000)]
Debian packaging changes:
- removing make proper in libs, which is done by main make proper anyway
- adding more modules to list of excluded modules (temporary hack until group inclusion of modules to compile works)

12 years agoremoving avpops module from list of standard modules, as it is unmaintained and all...
Pavel Kasparek [Mon, 15 Sep 2008 09:25:41 +0000 (09:25 +0000)]
removing avpops module from list of standard modules, as it is unmaintained and all the AVP functionality is already in the core

12 years agoadding debconf option for enabling/disabling rtp proxy
Pavel Kasparek [Mon, 15 Sep 2008 07:59:25 +0000 (07:59 +0000)]
adding debconf option for enabling/disabling rtp proxy

12 years agortp_proxy.enable configuration option is introduced, the following
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.

12 years agoudp_flood sctp portability fix
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

12 years agosctp enabled for freebsd
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)

12 years agosctp portability fixes
Andrei Pelinescu-Onciul [Wed, 3 Sep 2008 20:14:22 +0000 (20:14 +0000)]
sctp portability fixes

- the code is now more portable

12 years agosctp cfg typo fix
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)

12 years agomultiple connection support
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)

12 years agosctp support
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.

12 years agosctp minor fix
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)

12 years agosctp support for more notification
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

12 years agosctp event notification and ancillary 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)

12 years ago- fixed wrong tls config name
Jan Janak [Mon, 25 Aug 2008 14:50:51 +0000 (14:50 +0000)]
- fixed wrong tls config name

12 years ago- use standalone configuration file for tls
Jan Janak [Mon, 25 Aug 2008 14:30:35 +0000 (14:30 +0000)]
- use standalone configuration file for tls

12 years agofixed segfault in case of SCTP failover
Nils Ohlmeier [Sun, 24 Aug 2008 11:49:01 +0000 (11:49 +0000)]
fixed segfault in case of SCTP failover

12 years agofixed wrong function name in error message
Nils Ohlmeier [Sat, 23 Aug 2008 22:15:43 +0000 (22:15 +0000)]
fixed wrong function name in error message

12 years agocommand line support for address lists (-l)
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.

12 years agoenable sctp multihoming support
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.

12 years agosctp multi-homing config support
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) )

12 years agoinit_naptr_proto_prefs sctp fix
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

12 years agoSCTP protocol name support in ser.cfg
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

12 years agoAddress of serusers mailing list updated
Jan Janak [Thu, 14 Aug 2008 13:17:05 +0000 (13:17 +0000)]
Address of serusers mailing list updated

12 years agoupdated .cvsignore
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

12 years ago- sctp preference support in naptr queries (added a new ser.cfg option:
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)

12 years ago- sctp support
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()

12 years ago- core sctp support
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:47:53 +0000 (20:47 +0000)]
- core sctp support

12 years ago- experimental sctp support (one to many)
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:47:23 +0000 (20:47 +0000)]
- experimental sctp support (one to many)

12 years ago- support for sctp
Andrei Pelinescu-Onciul [Fri, 8 Aug 2008 20:45:40 +0000 (20:45 +0000)]
- support for sctp

12 years ago- workaround for type declaration conflicts between linux-libc-dev and libc
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)

12 years ago- excluded auth_identity from the default compilation list
Andrei Pelinescu-Onciul [Thu, 7 Aug 2008 13:15:24 +0000 (13:15 +0000)]
- excluded auth_identity from the default compilation list

12 years ago- magic include reordering to work around type declaration conflicts between
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

12 years ago- when starting ser in suid mode (e..g -u user), set also the supplementary
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>.

12 years agoMan pages for auth and avp.
Martin Hoffmann [Mon, 28 Jul 2008 14:58:25 +0000 (14:58 +0000)]
Man pages for auth and avp.

12 years ago- update: nonce_auth_max_drift, auth_extra_checks split into auth_checks_*
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_*

12 years ago- fix: ifdef __CPU_i386 define __CPU_x86
Andrei Pelinescu-Onciul [Thu, 17 Jul 2008 10:12:07 +0000 (10:12 +0000)]
- fix: ifdef __CPU_i386 define __CPU_x86

12 years ago- ser equivalents to time(2) and gettimeofday(2), using internal ser time
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)

12 years agoadded function qm_check\(\) which checks integrity of pkg mem.
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.