13 years ago@cfg_get.<group_name>.<var_name> is documented
Miklos Tirpak [Fri, 11 Jan 2008 16:41:51 +0000 (16:41 +0000)]
@cfg_get.<group_name>.<var_name> is documented

13 years agoconfiguration values can be retrieved in the script via selects:
Miklos Tirpak [Fri, 11 Jan 2008 16:38:52 +0000 (16:38 +0000)]
configuration values can be retrieved in the script via selects:

13 years agoIntroducing CONSUME_ALL flag: all the subsequent parameters are
Miklos Tirpak [Fri, 11 Jan 2008 16:30:30 +0000 (16:30 +0000)]
Introducing CONSUME_ALL flag: all the subsequent parameters are
accepted without resolving or checking them
Can be used to implement selects with more than one parameter

13 years agocfg_get_by_name() returns an error instead of the incorrect value
Miklos Tirpak [Fri, 11 Jan 2008 15:15:19 +0000 (15:15 +0000)]
cfg_get_by_name() returns an error instead of the incorrect value
if a fix-up function is defined

13 years ago- fix: io_watch_add moved to the end of CONN_QUEUED_WRITE
Andrei Pelinescu-Onciul [Thu, 10 Jan 2008 15:18:45 +0000 (15:18 +0000)]
- fix: io_watch_add moved to the end of CONN_QUEUED_WRITE
 (so that if sigio_rt is used and the io_watch_add call ends up in
  the connection destruction via handle_io() the code is still safe)

13 years ago- EPOLLET doesn't need checking for previous IO events
Andrei Pelinescu-Onciul [Thu, 10 Jan 2008 15:16:34 +0000 (15:16 +0000)]
- EPOLLET doesn't need checking for previous IO events
 (this also fixes io_watch_chg possible invocation of handle_io which would
  lead to ugly problems inside tcp handle_tcpconn_ev)

13 years agoadded dependency to bison and flex to build dependencies
Pavel Kasparek [Tue, 8 Jan 2008 16:35:13 +0000 (16:35 +0000)]
added dependency to bison and flex to build dependencies

13 years ago- tcp: fix local timer intialization (proper prev_ticks init.)
Andrei Pelinescu-Onciul [Tue, 8 Jan 2008 13:11:30 +0000 (13:11 +0000)]
- tcp: fix local timer intialization (proper prev_ticks init.)

13 years agofixes SER-345 - patch accepted
Michal Matyska [Mon, 7 Jan 2008 12:45:30 +0000 (12:45 +0000)]
fixes SER-345 - patch accepted

13 years ago- if select is unfixable print just the part of text which was parsed
Michal Matyska [Mon, 7 Jan 2008 12:33:52 +0000 (12:33 +0000)]
- if select is unfixable print just the part of text which was parsed

13 years ago- fix (redesign) how credentials realm is extracted from msg / fixed at startup
Michal Matyska [Mon, 7 Jan 2008 12:14:11 +0000 (12:14 +0000)]
- fix (redesign) how credentials realm is extracted from msg / fixed at startup
reported by Alfred E. Heggestad
When compiling with gcc-3.4.3 on solaris/sparc I get some warnings:
select_core.c: In function `get_credentials':
select_core.c:896: warning: cast to pointer from integer of different size
select_core.c: In function `select_auth':
select_core.c:950: warning: cast from pointer to integer of different size
select_core.c: In function `select_auth_param':
select_core.c:963: warning: cast from pointer to integer of different size

- when select is unresolvable during fixing print its name in the error message to easily correct script

13 years agoRestoring the original core configuration during exiting that
Miklos Tirpak [Thu, 3 Jan 2008 10:30:55 +0000 (10:30 +0000)]
Restoring the original core configuration during exiting that
makes the config variables available for farther function calls.
Closes SER-349

13 years ago- tcp alias replace improvement/fix
Andrei Pelinescu-Onciul [Fri, 28 Dec 2007 20:43:32 +0000 (20:43 +0000)]
- tcp alias replace improvement/fix
- more debugging fixes

13 years ago- tcp fix: flags changed & membars() before derefs, more sanity checks and
Andrei Pelinescu-Onciul [Fri, 28 Dec 2007 10:06:23 +0000 (10:06 +0000)]
- tcp fix: flags changed & membars() before derefs, more sanity checks and
 alias debugging

13 years ago- fix: signed/unsigned comparisons (tcp_send)
Andrei Pelinescu-Onciul [Sat, 22 Dec 2007 18:13:29 +0000 (18:13 +0000)]
- fix: signed/unsigned comparisons (tcp_send)

13 years ago- fix: partial writes were not taken into account
Andrei Pelinescu-Onciul [Sat, 22 Dec 2007 17:49:03 +0000 (17:49 +0000)]
- fix: partial writes were not taken into account

13 years ago- fix: tcp fd cache: don't cache own fd in a tcp_reader
Andrei Pelinescu-Onciul [Sat, 22 Dec 2007 08:11:14 +0000 (08:11 +0000)]
- fix: tcp fd cache: don't cache own fd in a tcp_reader
- various cleanups/better error messages

13 years agoincluded some extra comments about usrloc/db_mode
Jiri Kuthan [Sat, 22 Dec 2007 00:56:30 +0000 (00:56 +0000)]
included some extra comments about usrloc/db_mode

13 years ago- fixes:
Andrei Pelinescu-Onciul [Fri, 21 Dec 2007 23:27:13 +0000 (23:27 +0000)]
- fixes:
        - on io_watch_add overwrite error don't delete the previous fd hash
           entry + more error debugging info
        - return proper len on pending connect (instead of -1)
        - tcp_reader: always check if a connection was marked as bad and if
          so release it immediately + error checks for io_watch_*

13 years ago- tcp: support for pending connects: add a connection immediately to the
Andrei Pelinescu-Onciul [Fri, 21 Dec 2007 17:58:07 +0000 (17:58 +0000)]
- tcp: support for pending connects: add a connection immediately to the
connection hash (before even attempting the connect sys call) and just queue
possible writes. When the connection completes update the connection info &
aliases and send the queued data. This avoids parallel connects when the
intial connect takes too long (highly experimental, on by default)

13 years agochanged default rtp proxy control socket port to 22222 in Debian package spec, for...
Pavel Kasparek [Thu, 20 Dec 2007 14:49:39 +0000 (14:49 +0000)]
changed default rtp proxy control socket port to 22222 in Debian package spec, for ser-oob package

13 years agoadded fixation of path to *.sql files in to Debian package spec rules
Pavel Kasparek [Thu, 20 Dec 2007 14:21:19 +0000 (14:21 +0000)]
added fixation of path to *.sql files in to Debian package spec rules

13 years agotypos fixed in Debian package spec
Pavel Kasparek [Thu, 20 Dec 2007 12:35:46 +0000 (12:35 +0000)]
typos fixed in Debian package spec

13 years agoadded a meta-package ser-ai1 to Debian package spec
Pavel Kasparek [Thu, 20 Dec 2007 12:09:37 +0000 (12:09 +0000)]
added a meta-package ser-ai1 to Debian package spec

13 years agoisplit DOMAIN so that option processing works even for requests with
Jiri Kuthan [Tue, 18 Dec 2007 10:56:03 +0000 (10:56 +0000)]
isplit DOMAIN so that option processing works even for requests with
IP address in request URI (otherwise such requests would be discarded
by anti-relay policy before they made it to OPTIONS)

13 years ago- fix: do not perform rev dns. when comparing an ip with a string or avp
Andrei Pelinescu-Onciul [Mon, 17 Dec 2007 17:51:04 +0000 (17:51 +0000)]
- fix: do not perform rev dns. when comparing an ip with a string or avp
 (in the script), if rev_dns is not set

13 years ago- tcp: - try to destroy a conenction on error asap, even if it's referenced
Andrei Pelinescu-Onciul [Fri, 14 Dec 2007 01:50:39 +0000 (01:50 +0000)]
- tcp: - try to destroy a conenction on error asap, even if it's referenced
         (in this case destroy it partially - close fds a.s.o)
       - changed refcnt usage

13 years ago- tcp: - try to close connections faster even if still referenced
Andrei Pelinescu-Onciul [Fri, 14 Dec 2007 01:40:12 +0000 (01:40 +0000)]
- tcp: - try to close connections faster even if still referenced
       - changed refcnt usage (on 0 refcnt free, experimental)

13 years ago- io_watch_chg fix for EPOLL_ET: handle possible pre-existing IO events
Andrei Pelinescu-Onciul [Thu, 13 Dec 2007 18:05:39 +0000 (18:05 +0000)]
- io_watch_chg fix for EPOLL_ET: handle possible pre-existing IO events

13 years agoDestination blacklist parameters have been updated to the config
Miklos Tirpak [Thu, 13 Dec 2007 15:29:55 +0000 (15:29 +0000)]
Destination blacklist parameters have been updated to the config
framework, the following variables are changeable runtime:

- use_dst_blacklist
- dst_blacklist_expire
- dst_blacklist_mem

13 years agoindex added to missed_calls table
Karel Kozlik [Thu, 13 Dec 2007 15:08:18 +0000 (15:08 +0000)]
index added to missed_calls table

13 years agoadding two more indexes to acc table
Karel Kozlik [Thu, 13 Dec 2007 13:13:25 +0000 (13:13 +0000)]
adding two more indexes to acc table

13 years agoThe help function returns also the type of the parameter.
Miklos Tirpak [Thu, 13 Dec 2007 11:21:05 +0000 (11:21 +0000)]
The help function returns also the type of the parameter.

13 years ago- tcp: close connection immediately if the write buf. timeouts (timeout fixes)
Andrei Pelinescu-Onciul [Wed, 12 Dec 2007 19:11:25 +0000 (19:11 +0000)]
- tcp: close connection immediately if the write buf. timeouts (timeout fixes)
 + some cleanups

13 years agocfg_get_group_*() is introduced:
Miklos Tirpak [Wed, 12 Dec 2007 16:41:51 +0000 (16:41 +0000)]
cfg_get_group_*() is introduced:
  returns the list of declared groups

cfg_diff_*() is introduced:
  returns the pending configuration changes

13 years agoAttribute "datetime_created" made visible in serweb as read-only
Karel Kozlik [Wed, 12 Dec 2007 14:27:26 +0000 (14:27 +0000)]
Attribute "datetime_created" made visible in serweb as read-only

13 years agoNew section is added to the documentation of the configuration framework:
Miklos Tirpak [Wed, 12 Dec 2007 10:12:55 +0000 (10:12 +0000)]
New section is added to the documentation of the configuration framework:
Modules that fork a new process running in an endless loop are
supposed to periodicaly refresh their own local configuration.

13 years ago- local_timer cleanup (always use local_timer*, don't mix them with timer_*)
Andrei Pelinescu-Onciul [Tue, 11 Dec 2007 20:11:01 +0000 (20:11 +0000)]
- local_timer cleanup (always use local_timer*, don't mix them with timer_*)
- tcp fix: clear the write watch flag after  empting the write buffers

13 years ago- io_wait fixes:
Andrei Pelinescu-Onciul [Tue, 11 Dec 2007 18:19:58 +0000 (18:19 +0000)]
- io_wait fixes:
     - use the correct flags fo sigio_rt's sigio_band
     - call handle_io for POLLERR & POLLHUP even if not specified among
     the watched events
- tcp: - handle POLLERR & POLLHUP (same way as POLLIN)

13 years ago- Updating the local configuration in the child processes that are
Miklos Tirpak [Tue, 11 Dec 2007 16:15:55 +0000 (16:15 +0000)]
- Updating the local configuration in the child processes that are
forked by modules.

- Per-child process config destroy function is introduced:
should be called when a child process exists, but SER continues
running, not needed to be called otherwise.

13 years agoadded installation of *.sql files for script to Debian package
Pavel Kasparek [Mon, 10 Dec 2007 13:20:58 +0000 (13:20 +0000)]
added installation of *.sql files for script to Debian package

13 years ago- fix for script numeric compares on 64 bit big endian systems
Andrei Pelinescu-Onciul [Sun, 9 Dec 2007 13:15:24 +0000 (13:15 +0000)]
- fix for script numeric compares on 64 bit big endian systems

13 years agodocumenting the configuration framework
Miklos Tirpak [Fri, 7 Dec 2007 16:32:57 +0000 (16:32 +0000)]
documenting the configuration framework

13 years ago- solaris: - use isainfo -n for arch. detection (compile time)
Andrei Pelinescu-Onciul [Thu, 6 Dec 2007 12:22:28 +0000 (12:22 +0000)]
- solaris: - use isainfo -n for arch. detection (compile time)
           - detect/support sun4v
           - compile by default on 64 bits on sparc64

13 years ago- freebsd accept filter fix (it works now)
Andrei Pelinescu-Onciul [Thu, 6 Dec 2007 12:14:47 +0000 (12:14 +0000)]
- freebsd accept filter fix (it works now)

13 years ago- freebsd compile fixes (use struct __res_state* instead of res_state + some
Andrei Pelinescu-Onciul [Thu, 6 Dec 2007 00:07:56 +0000 (00:07 +0000)]
- freebsd compile fixes (use struct __res_state* instead of res_state + some

13 years agofixes to compile on Mac OS X
Nils Ohlmeier [Wed, 5 Dec 2007 23:13:03 +0000 (23:13 +0000)]
fixes to compile on Mac OS X

13 years agofixed typo to fix compilation on OS X
Nils Ohlmeier [Wed, 5 Dec 2007 22:04:41 +0000 (22:04 +0000)]
fixed typo to fix compilation on OS X

13 years ago- close all the unneeded fds in child processes (=> significantly less fds
Andrei Pelinescu-Onciul [Wed, 5 Dec 2007 20:26:58 +0000 (20:26 +0000)]
- close all the unneeded fds in child processes (=> significantly less fds

13 years agoModifying the return value of cfg_set* functions, in order to make
Miklos Tirpak [Wed, 5 Dec 2007 16:30:57 +0000 (16:30 +0000)]
Modifying the return value of cfg_set* functions, in order to make
a difference between variable not found and error cases.

13 years ago- cfg_core.c and cfg_core.h are added to the repository as a placeholder
Miklos Tirpak [Wed, 5 Dec 2007 16:21:36 +0000 (16:21 +0000)]
- cfg_core.c and cfg_core.h are added to the repository as a placeholder
of the core configuration.

- debug level is switched to the new config variable type. From now,
it is changeble runtime.

13 years agoInitialize and destory the configuration framework in main.c,
Miklos Tirpak [Wed, 5 Dec 2007 15:51:24 +0000 (15:51 +0000)]
Initialize and destory the configuration framework in main.c,
and update the local config within the child processes at the
beginning of each loop.

TODO: The local config must be updated in all the modules that
fork a new process implementing an endless loop.

13 years agoLet the config framework compiled together with SER core
Miklos Tirpak [Wed, 5 Dec 2007 15:32:55 +0000 (15:32 +0000)]
Let the config framework compiled together with SER core

13 years agoImplementing a configuration framework, that can be used by SER core,
Miklos Tirpak [Wed, 5 Dec 2007 15:22:01 +0000 (15:22 +0000)]
Implementing a configuration framework, that can be used by SER core,
and by the modules, to get and set internal variables on-the-fly, and
eliminate SER restarts whenever it is possible.

The core and the modules can declare configuration variables, and can
retrieve the value of the variables at any time without performance
overhead. The framework makes sure that the variables do not change
during the SIP message processing, the child processes see a snapshot
of the variables with constant values. The variable, that is changed by
a cfg driver module, will be automatically replaced by the framework
the next time a SIP message is started to be processed.

The drivers can change the value of all the variables by names with or
without the need of commit. That means a kind of transaction support,
the framework can keep track of the changes (per driver) until they
are committed or rolled-back.

13 years ago- tcp support for queueing writes: if some data cannot be written immediately
Andrei Pelinescu-Onciul [Tue, 4 Dec 2007 20:25:29 +0000 (20:25 +0000)]
- tcp support for queueing writes: if some data cannot be written immediately
 on the socket (socket buffers full or still connecting), the data will be
 queued and written at a latter time (max. queue size per socket is controlled
 by tcp_conn_wq_max, timeout by tcp_send_timeout and total queued bytes / max.
 mem. used by tcp_wq_max). By default disabled (experimental), to enable it
  use tcp_buf_write=yes in ser.cfg. To compile without queueing support

13 years ago- io_wait support for write
Andrei Pelinescu-Onciul [Thu, 29 Nov 2007 21:01:45 +0000 (21:01 +0000)]
- io_wait support for write
- io_wait: added io_watch_chg(..)
- updated tcp code to the io_wait api changes

13 years ago- set default tcp options
Andrei Pelinescu-Onciul [Wed, 28 Nov 2007 21:24:32 +0000 (21:24 +0000)]
- set default tcp options

13 years ago- advanced tcp options support:
Andrei Pelinescu-Onciul [Wed, 28 Nov 2007 19:20:47 +0000 (19:20 +0000)]
- advanced tcp options support:
    - support for defering tcp accepts until some data is received
    (linux & freebsd), default off. See NEWS: tcp_defer_accept.
    - support for delaying the final ACK from the 3-way handshake until some
    data is sent (the ACK will come with the 1st data segment). Default on
     when supported (linux only). See NEWS: tcp_delayed_ack.
    - support for limiting the number of retransmitted SYNs (linux only,
     see NEW: tcp_syncnt)
    - support for limiting the lifetime of orphaned sockets in FIN_WAIT2
      (linux only, see NEWS: tcp_linger2)
    - keepalive support, see NEWS: tcp_keepalive (default on), tcp_keepidle,
      tcp_keepintvl and tcp_keepcnt

- the FD cache can now be turned off from ser.cfg (see NEW: tcp_fd_cache)

13 years ago- fix: don't extend the timeout on tcp_send() if the connection is handled
Andrei Pelinescu-Onciul [Wed, 28 Nov 2007 13:39:55 +0000 (13:39 +0000)]
- fix: don't extend the timeout on tcp_send() if the connection is handled
 by a tcp_reader process

13 years ago- for tcp read processes, reuse the read fd for sending
Andrei Pelinescu-Onciul [Tue, 27 Nov 2007 21:05:32 +0000 (21:05 +0000)]
- for tcp read processes, reuse the read fd for sending
- keep a tcp send fd cache (experimental)
(performance improvement)

13 years ago- switched to much better tcp timers (performance increase especially
Andrei Pelinescu-Onciul [Tue, 27 Nov 2007 07:23:27 +0000 (07:23 +0000)]
- switched to much better tcp timers (performance increase especially
with tesn of thousands of active tcp connections)

13 years ago- indentation changed only
Michal Matyska [Mon, 26 Nov 2007 17:28:54 +0000 (17:28 +0000)]
- indentation changed only

13 years agoadding db_ops module to db url modparam line in debian package postinstall script
Pavel Kasparek [Mon, 26 Nov 2007 14:24:15 +0000 (14:24 +0000)]
adding db_ops module to db url modparam line in debian package postinstall script

13 years agoadded starting of ser in default runlevels to debian package post-install script
Pavel Kasparek [Mon, 26 Nov 2007 13:23:33 +0000 (13:23 +0000)]
added starting of ser in default runlevels to debian package post-install script

13 years agoadding ntp to Suggests: dependencies of ser-oob package
Pavel Kasparek [Mon, 26 Nov 2007 09:17:47 +0000 (09:17 +0000)]
adding ntp to Suggests: dependencies of ser-oob package

13 years agoadding forgotten templates file for ser-oob package
Pavel Kasparek [Fri, 23 Nov 2007 14:08:50 +0000 (14:08 +0000)]
adding forgotten templates file for ser-oob package

13 years ago- io_wait.h: when calling handle_io() in a loop (e.g. io_watch_add() &
Andrei Pelinescu-Onciul [Thu, 22 Nov 2007 19:32:35 +0000 (19:32 +0000)]
- io_wait.h: when calling handle_io() in a loop (e.g. io_watch_add() &
 SIGIO_RT or EPOLL_ET or io_wait_loop_* and repeat mode) always check & stop if
 the fd was removed inside the handle_io() call

- tcp_main.c: always add the connection & clear the coresponding flags before
 io_watch_add-ing its fd, to avoid the possibility of the handle_* being
 called without fully init. parameters

13 years ago- local per process timer support (optimized "main" timer version that works
Andrei Pelinescu-Onciul [Thu, 22 Nov 2007 13:43:09 +0000 (13:43 +0000)]
- local per process timer support (optimized "main" timer version that works
only inside one process). Several independent timers can be run in the
 same time (if intialized with different handles). They'll be used for the
 tcp connection timeout handling (near future).

13 years agolog level increased for other messages on server failure
Jiri Kuthan [Wed, 21 Nov 2007 17:46:58 +0000 (17:46 +0000)]
log level increased for other messages on server failure

13 years agoestehtic change: put applicability check in front of a route block to
Jiri Kuthan [Tue, 20 Nov 2007 00:11:19 +0000 (00:11 +0000)]
estehtic change: put applicability check in front of a route block to
avoid one level of if-nesting

13 years agoadded `-L' option
Ondrej Martinek [Mon, 19 Nov 2007 17:31:24 +0000 (17:31 +0000)]
added `-L' option

13 years agoenabling db_ops module packaging
Pavel Kasparek [Fri, 16 Nov 2007 12:57:47 +0000 (12:57 +0000)]
enabling db_ops module packaging

13 years ago- proper query declaration for db_ops
Jan Janak [Thu, 15 Nov 2007 17:45:02 +0000 (17:45 +0000)]
- proper query declaration for db_ops
- uncomented options for 2.1

13 years agoadding speeddial module to deb package again
Pavel Kasparek [Thu, 15 Nov 2007 12:59:57 +0000 (12:59 +0000)]
adding speeddial module to deb package again

13 years agoFixing improper blacklisting of destinations because of non-INVITE timeouts.
Miklos Tirpak [Wed, 14 Nov 2007 15:30:21 +0000 (15:30 +0000)]
Fixing improper blacklisting of destinations because of non-INVITE timeouts.
Two new module parameters are introduced:

- blst_methods_add:
  bitmap of method types that can trigger blacklisting
  (only INVITE by default)

- blst_methods_lookup:
  bitmap of method types that are looked up in the blacklist
  (everything except BYE by default)

closes SER-331

13 years agotimer modparam must be named
Miklos Tirpak [Wed, 14 Nov 2007 09:08:53 +0000 (09:08 +0000)]
timer modparam must be named

13 years agotypo fixed, courtesy of Aldred E. H.
Jiri Kuthan [Tue, 13 Nov 2007 16:01:38 +0000 (16:01 +0000)]
typo fixed, courtesy of Aldred E. H.

13 years agocore dump reported on lowr log level, small warning buffer size on
Jiri Kuthan [Tue, 13 Nov 2007 15:56:31 +0000 (15:56 +0000)]
core dump reported on lowr log level, small warning buffer size on

13 years ago- expreimental e2eack retransmission callback (called each time a retrans.
Andrei Pelinescu-Onciul [Mon, 12 Nov 2007 15:58:49 +0000 (15:58 +0000)]
- expreimental e2eack retransmission callback (called each time a retrans.
 of an ACK to a 2xx is received, however like TMCB_E2EACK_IN it will work
  only as long as the transaction still exists)

13 years agoupdating Debian specification - adding debconf configuration for ser package, adding...
Pavel Kasparek [Mon, 5 Nov 2007 15:33:12 +0000 (15:33 +0000)]
updating Debian specification - adding debconf configuration for ser package, adding ser-nth package, adding more options to default/ser file and init script

13 years agocorrecting syntax error
Miklos Tirpak [Mon, 5 Nov 2007 10:11:50 +0000 (10:11 +0000)]
correcting syntax error

13 years agoupdating Debian specification and adding oob cfg file
Pavel Kasparek [Fri, 2 Nov 2007 16:43:28 +0000 (16:43 +0000)]
updating Debian specification and adding oob cfg file

13 years ago- support for db_getopt
Jan Janak [Wed, 31 Oct 2007 16:10:11 +0000 (16:10 +0000)]
- support for db_getopt

13 years ago- avoid using multicast sockets as send defaults
Andrei Pelinescu-Onciul [Thu, 18 Oct 2007 21:14:43 +0000 (21:14 +0000)]
- avoid using multicast sockets as send defaults

13 years ago* fixed memory leak in fix_param()
Ondrej Martinek [Thu, 18 Oct 2007 16:42:54 +0000 (16:42 +0000)]
* fixed memory leak in fix_param()

13 years ago - removed bkl_hit_cnt stat from dst_blacklist_add_to function
Vladimir Marek [Thu, 18 Oct 2007 12:43:03 +0000 (12:43 +0000)]
 - removed bkl_hit_cnt stat from dst_blacklist_add_to function

13 years agoIdentity-info and Identity header parser does not insist on BNF specified
Gergely Kovacs [Mon, 15 Oct 2007 14:32:19 +0000 (14:32 +0000)]
Identity-info and Identity header parser does not insist on BNF specified
in RFC.

Memory allocator part of Identity-info, Identity and Date header moved out
from get_hdr_field()@parser/msg_parser.c

13 years agoIdentity, Identity-info, Date headers would be parsed only if they were
Gergely Kovacs [Mon, 15 Oct 2007 14:21:01 +0000 (14:21 +0000)]
Identity, Identity-info, Date headers would be parsed only if they were

13 years agofixes SER-322:
Miklos Tirpak [Mon, 15 Oct 2007 07:55:41 +0000 (07:55 +0000)]
fixes SER-322:
 - parser sticks in an endless loop when the terminating
   quote mark is missing in a substring: @hf_value["Contact].uri
 - quote mark can be escaped: @hf_value[\"Contact\"].uri

13 years agofixes SER-321 patch reflecting comments applied
Michal Matyska [Fri, 12 Oct 2007 22:25:40 +0000 (22:25 +0000)]
fixes SER-321   patch reflecting comments applied

Change to DNS subsystem: if search list used (not recomended) and name
was resolved using the search list, the link between the short name (query)
and the long name (answer) is stored in DNS cache as fake CNAME record.

New config script setting available (dns_search_full_match) which controls,
whether SER will check if the extension of the name is present in search list
(defualt) or blindly accepted (faster, but little bit risky for spoofed
DNS replies)

13 years ago- don't include expired entries in DNS cache view output
Vladimir Marek [Thu, 11 Oct 2007 06:07:02 +0000 (06:07 +0000)]
- don't include expired entries in DNS cache view output

13 years ago- support for db_setopt
Jan Janak [Wed, 10 Oct 2007 13:25:52 +0000 (13:25 +0000)]
- support for db_setopt
- fixed minor problems in memory deallocation on error

13 years ago - don't include expired entries in IP blacklist view command
Vladimir Marek [Wed, 10 Oct 2007 10:56:41 +0000 (10:56 +0000)]
 - don't include expired entries in IP blacklist view command

13 years agoadding indexes to table credentials and domain
Karel Kozlik [Wed, 10 Oct 2007 09:31:37 +0000 (09:31 +0000)]
adding indexes to table credentials and domain

13 years ago- fix: when dns or blacklist are disabled, reply with an error from
Andrei Pelinescu-Onciul [Tue, 9 Oct 2007 20:35:50 +0000 (20:35 +0000)]
- fix: when dns or blacklist are disabled, reply with an error from
  the corresponding rpc function (way better then crashing)

- un-nested the stat_sum function

13 years ago- coding style (mainly identations) & some comments / spelling
Andrei Pelinescu-Onciul [Tue, 9 Oct 2007 19:56:08 +0000 (19:56 +0000)]
- coding style (mainly identations) & some comments / spelling

13 years ago- mcast fixes: avoid trying to send from multicast listening sockets
Andrei Pelinescu-Onciul [Mon, 8 Oct 2007 13:29:41 +0000 (13:29 +0000)]
- mcast fixes: avoid trying to send from multicast listening sockets
 (the kernel will fix it, but in a non-ser deterministic way, e.g. the
  sent packet might have as source ip and address on which we don't listen):
         - get_send_socket() will ignore a forced mcast socket
         - msg_send() will ignore a mcast source socket and it will
           automatically choose another one

13 years ago- fix: get_send_socket bug in some unlikely circumstances$
Andrei Pelinescu-Onciul [Fri, 5 Oct 2007 08:27:13 +0000 (08:27 +0000)]
- fix: get_send_socket bug in some unlikely circumstances$
 (a socket of a diff. proto is forced and find_si cannot fix it to$
   a corresp. socket of the correct proto

13 years agonew attribute type introduced 'sw_highest_alias_number'
Karel Kozlik [Thu, 4 Oct 2007 20:30:33 +0000 (20:30 +0000)]
new attribute type introduced 'sw_highest_alias_number'

13 years agoMakefile.defs:
Ondrej Martinek [Thu, 4 Oct 2007 18:09:24 +0000 (18:09 +0000)]
  * added MODS_DIR macro

  * added mods_dir variable

  * added `-L dir' option

  * fixed Usage message which referred to the non-existent
    `-p port' option

  * fixed parsing of command-line options - options with missing
    arguments were incorrectly reported as unknown options

  * load_module() - added possibilty to load modules by name,
    the path to the module file is <mods_dir>/<name>.so
    (if EXTRA_DEBUG macro is defined <mods_dir>/<name>/<name>.so
    is tried too) where <mods_dir> can be specified using `-L dir'
    option on the command-line, otherwise the default value MODS_DIR
    is used