Jan Janak [Tue, 24 Aug 2004 08:45:09 +0000 (08:45 +0000)]
- Spelling checked
- READMEs updated
Bogdan-Andrei Iancu [Tue, 24 Aug 2004 08:11:49 +0000 (08:11 +0000)]
- some updates avp related
Bogdan-Andrei Iancu [Mon, 23 Aug 2004 20:47:51 +0000 (20:47 +0000)]
- avp core replaced with .14 version
- avp DB support removed from core (later to be added as separate module)
- tm support for avps (avp list saved into transactions and made available into
tm callbacks, in failure and reply routes).
Jan Janak [Fri, 13 Aug 2004 21:46:27 +0000 (21:46 +0000)]
- Really commited the allow parser now
Jan Janak [Fri, 13 Aug 2004 21:42:18 +0000 (21:42 +0000)]
- conflicting identifiers fixed in parse_methods
- Added Allow header field parser, implemented by Juha Heinanen
Jan Janak [Fri, 13 Aug 2004 13:08:54 +0000 (13:08 +0000)]
parse_methods, a function to parse the list of comma separated method
names, contributed by Juha Heinanen
Jan Janak [Fri, 13 Aug 2004 12:07:11 +0000 (12:07 +0000)]
"method" contact parameter should be "methods", fixed by Juha Heinanen.
Jiri Kuthan [Mon, 9 Aug 2004 11:41:57 +0000 (11:41 +0000)]
update on ngrep
Jan Janak [Wed, 4 Aug 2004 14:26:24 +0000 (14:26 +0000)]
free_query changed to free_result
Andrei Pelinescu-Onciul [Tue, 27 Jul 2004 13:45:25 +0000 (13:45 +0000)]
- mac os x support ported from stable
- version increased to 0.8.99-dev
- makefile gcc version detection update (should correctly detect the version on gentoo now)
- other small 0.8.14 fixes
Andrei Pelinescu-Onciul [Tue, 27 Jul 2004 13:12:33 +0000 (13:12 +0000)]
- minor malloc debug stuff
Jan Janak [Mon, 26 Jul 2004 15:22:25 +0000 (15:22 +0000)]
Updated to describe the setup of radiusclient-ng
Andrei Pelinescu-Onciul [Sat, 24 Jul 2004 07:36:39 +0000 (07:36 +0000)]
- fixed ipv6 multicast on non-linux OSes (linux is the only one using
IPV6_ADD_MEMBERSHIP, all the other use instead IPV6_JOIN_GROUP)
Maxim Sobolev [Wed, 21 Jul 2004 13:24:45 +0000 (13:24 +0000)]
There is no radius_acc and radius_auth modules anymore.
Maxim Sobolev [Wed, 21 Jul 2004 07:57:21 +0000 (07:57 +0000)]
Record User-Agent in the location database.
Andrei Pelinescu-Onciul [Mon, 19 Jul 2004 13:54:41 +0000 (13:54 +0000)]
- coding style draft
Andrei Pelinescu-Onciul [Mon, 19 Jul 2004 13:45:50 +0000 (13:45 +0000)]
- malloc changes: fragment avoidance, bookkeeping, hooks for future
full mem. defragmenter
Andrei Pelinescu-Onciul [Sat, 17 Jul 2004 19:11:45 +0000 (19:11 +0000)]
- tm unixsock callback bug fixed (the callback can be called multiple times
for retrans.)
Andrei Pelinescu-Onciul [Sat, 17 Jul 2004 19:02:18 +0000 (19:02 +0000)]
- forward ported all the compile/warning fixes from 0.8.14
Maxim Sobolev [Wed, 7 Jul 2004 14:56:49 +0000 (14:56 +0000)]
Fix ipv6 compilation on FreeBSD and probably other systems with Kame-derived
IPv6 stacks: IN6_IS_ADDR_MULTICAST() doesn't automagically casts its argument
to struct in6_addr * there.
Andrei Pelinescu-Onciul [Wed, 7 Jul 2004 11:12:53 +0000 (11:12 +0000)]
- cvs commit rules first draft. Please comment (anything including better formatting :-))
Daniel-Constantin Mierla [Mon, 5 Jul 2004 17:36:47 +0000 (17:36 +0000)]
- new definition of table silo -- two new columns username and domain
- version of table silo incremented to 3
Daniel-Constantin Mierla [Mon, 5 Jul 2004 17:35:31 +0000 (17:35 +0000)]
- explicit multidomain support (recipient's ID stored now in (username,domain))
- r_uri columns kept for compatibility with old version of msilo but is not filled by this version and will be removed in future
- the version of silo table should be 3 -- the module checks it at start up
- NEWS updated
Andrei Pelinescu-Onciul [Mon, 5 Jul 2004 15:19:14 +0000 (15:19 +0000)]
ported from stable:
- drop messages with 0 src port immediately$
- error message cleanups for udp checksum error (EAGAIN) and tcp$
"dead children"$
- detect ips between quotes in src_ip or dst_ip$
Andrei Pelinescu-Onciul [Fri, 2 Jul 2004 16:38:58 +0000 (16:38 +0000)]
- lots of parse_header calls fixed + some warnings
Jiri Kuthan [Fri, 2 Jul 2004 02:13:05 +0000 (02:13 +0000)]
ngrep path no longer neede,
the ngrep: V1.42, $Revision: 1.46 $ include the switch "-W
byline" does line-by-line printing,
notification courtesy of Ezequiel Colombo
Andrei Pelinescu-Onciul [Thu, 1 Jul 2004 15:33:58 +0000 (15:33 +0000)]
- tm free lumps fix, thanks to Richard Fogel <rfogel@borderware.com>
Andrei Pelinescu-Onciul [Mon, 28 Jun 2004 15:39:35 +0000 (15:39 +0000)]
- flush & switch to unbuffered std. file descriptors before forking
(to avoid having a buffer flush after fork => getting the same message
multiple times)
Andrei Pelinescu-Onciul [Thu, 24 Jun 2004 13:24:44 +0000 (13:24 +0000)]
- usrloc load location bad db records fix
Andrei Pelinescu-Onciul [Thu, 17 Jun 2004 10:45:56 +0000 (10:45 +0000)]
- added fifo_server.php, a fifo net relay, on behalf of Juha Heinanen
With fifo_server.php you can run ser on one machine and serweb (or other
fifo dependent stuff) on another one
Jan Janak [Wed, 16 Jun 2004 14:20:12 +0000 (14:20 +0000)]
Tests for return value of db.use_table functions added
Andrei Pelinescu-Onciul [Tue, 8 Jun 2004 10:55:29 +0000 (10:55 +0000)]
- changed db api: now several db modules can be used simultaneously;
all the modules were updated to use the new api
- small cleaups, like using static db related variables in modules
(were it was possible)
- changed version no.
Andrei Pelinescu-Onciul [Tue, 8 Jun 2004 10:47:24 +0000 (10:47 +0000)]
-minor todo update
Jiri Kuthan [Mon, 31 May 2004 17:12:39 +0000 (17:12 +0000)]
additional logs which should help to explain why we sometimes see
errors like these:
May 31 14:05:49 proxy00 /usr/local/sbin/ser[9043]: Warning: run_failure_handlers: no UAC support
Bogdan-Andrei Iancu [Wed, 12 May 2004 09:41:06 +0000 (09:41 +0000)]
- when replicating, no reply is allowed to propagate upstream -> error replies
are no more generated when fwd failes for replicated requests (porting from
stable)
Andrei Pelinescu-Onciul [Tue, 11 May 2004 07:48:36 +0000 (07:48 +0000)]
- fixed comment
Jiri Kuthan [Fri, 7 May 2004 01:01:40 +0000 (01:01 +0000)]
fix: stateless confused with stateful, thanks to John-Erik for having pointed it out
Daniel-Constantin Mierla [Mon, 3 May 2004 16:35:14 +0000 (16:35 +0000)]
- added declaration of get_hdr_field()
Andrei Pelinescu-Onciul [Mon, 3 May 2004 12:18:10 +0000 (12:18 +0000)]
- added mcast_ttl
Andrei Pelinescu-Onciul [Mon, 3 May 2004 11:32:19 +0000 (11:32 +0000)]
- added Jan's multicast support patch
Andrei Pelinescu-Onciul [Mon, 3 May 2004 11:21:52 +0000 (11:21 +0000)]
- write the pgid file only if we have our own pgid
Andrei Pelinescu-Onciul [Mon, 3 May 2004 10:29:57 +0000 (10:29 +0000)]
- applied pgid patch from Jan (save pgdid in the file specified by -G)
- inc ver no
Andrei Pelinescu-Onciul [Fri, 30 Apr 2004 11:57:27 +0000 (11:57 +0000)]
- exec_pre_cb called after basic sanity checks (at least 1 via present)
Karel Kozlik [Fri, 30 Apr 2004 11:03:54 +0000 (11:03 +0000)]
added moving privileges from subsciber to admin_privileges when reinstal
Andrei Pelinescu-Onciul [Thu, 29 Apr 2004 15:39:39 +0000 (15:39 +0000)]
- new config variables:
sock_mode = <permissions> (e.g. sock_mode=0600: default value = 0660)
ser unix sockets and fifo will be created with this permissions
(old name fifo_mode is still supported, but deprecated)
sock_user = username|"uid"
sock_group = groupname|"gid"
change the owner and/or group of the ser unix sockets or fifo
Short example config snippet:
sock_mode=0600 # ser socket/fifo mode
sock_user="www-data" # ser socket/fifo owner
sock_group=nogroup
user=nobody # ser user (ser will suid to it)
- typo fixed in socket_info (thanks to Jan)
Jiri Kuthan [Wed, 28 Apr 2004 18:49:36 +0000 (18:49 +0000)]
backported fixed for handling failed mallocs
Jan Janak [Tue, 27 Apr 2004 14:52:57 +0000 (14:52 +0000)]
q2double and double2q added
Jan Janak [Tue, 27 Apr 2004 14:52:33 +0000 (14:52 +0000)]
print_q -> q2str
Jan Janak [Tue, 27 Apr 2004 14:51:13 +0000 (14:51 +0000)]
str2float removed -- not necessary anymore
Jan Janak [Mon, 26 Apr 2004 19:19:28 +0000 (19:19 +0000)]
print_q -> q2str and it's interface aligned to other similar functions.
Jan Janak [Mon, 26 Apr 2004 17:11:55 +0000 (17:11 +0000)]
str2q implemented
append_branch("sip:a@iptel.org", "0.23") implemented
append_branch("sip:a@iptel.org", 230) removed (it was not very intuitive)
Jan Janak [Mon, 26 Apr 2004 16:53:15 +0000 (16:53 +0000)]
Fixed ruri q printing bug reported by Juha.
Jan Janak [Sun, 25 Apr 2004 21:00:29 +0000 (21:00 +0000)]
Column version of table version renamed to table_version to avoid
conflicts, reported by axelm@nic.at
Jan Janak [Sun, 25 Apr 2004 20:37:48 +0000 (20:37 +0000)]
Fixed bug reported by Axel.Boeger@freenet-ag.de -- Missing ; in To of
NOTIFY when another parameter follows tag parameter in From in SUBSCRIBE.
Jan Janak [Sun, 25 Apr 2004 19:48:06 +0000 (19:48 +0000)]
A regular expression matching user does not match username anymore
(caused wrong expansion of username to usernamename)
Jan Janak [Sun, 25 Apr 2004 19:46:31 +0000 (19:46 +0000)]
Added a note on make parameters
Spellchecked
Jan Janak [Sun, 25 Apr 2004 15:29:31 +0000 (15:29 +0000)]
qvalue related functions and types.
Jan Janak [Sun, 25 Apr 2004 15:13:24 +0000 (15:13 +0000)]
Added the possibility to set priorities of URIs in the destination set.
Jan Janak [Fri, 23 Apr 2004 15:17:30 +0000 (15:17 +0000)]
The list of branches is turned into the list of contacts and appended to
3xx replies.
Jan Janak [Wed, 14 Apr 2004 19:08:55 +0000 (19:08 +0000)]
TTL parameter added
Karel Kozlik [Tue, 13 Apr 2004 19:14:32 +0000 (19:14 +0000)]
fixed security bug related to generating phplib_id of admin
phplib_id should be difficulty to guess
Karel Kozlik [Tue, 13 Apr 2004 19:11:08 +0000 (19:11 +0000)]
flag of admin permissions moved from table subscriber to table admin privileges
column perms in table subscriber is not further needed
Jamey Hicks [Thu, 1 Apr 2004 17:52:17 +0000 (17:52 +0000)]
added 'pa pres' and 'pa loc' commands to ser_ctl
Bogdan-Andrei Iancu [Thu, 1 Apr 2004 17:06:07 +0000 (17:06 +0000)]
- bug fixed in request() - after linking the RURI in the new dialog,
calculate_hooks must be called to update next_hop
Andrei Pelinescu-Onciul [Thu, 1 Apr 2004 13:40:43 +0000 (13:40 +0000)]
- updated RE bugs
- added a workarround for [^something] matches new line, courtesy of Bogdan
Andrei Pelinescu-Onciul [Wed, 31 Mar 2004 11:01:20 +0000 (11:01 +0000)]
- changed a warning into a dbg
Andrei Pelinescu-Onciul [Wed, 31 Mar 2004 09:29:55 +0000 (09:29 +0000)]
- fixed via->alias not translated bug in tm/sip_msg.c via_body_cloner (not criticial)
- fixed parse_via, rport set instead of i (critical, could cause core dumps
in some configuration involving tcp and would also open an extra tcp
connection for replies, if stateless mode is used)
- Makefile*: version number increase and excluded cpl-c and pa from
compilation (they depend on libxml2, use make include="cpl-c pa" if you want
to compile them)
Jan Janak [Tue, 30 Mar 2004 16:20:04 +0000 (16:20 +0000)]
More log message fixes.
Jan Janak [Tue, 30 Mar 2004 15:18:03 +0000 (15:18 +0000)]
Fixed missleading name of function in log message.
Andrei Pelinescu-Onciul [Tue, 30 Mar 2004 09:51:04 +0000 (09:51 +0000)]
- news updated with the changes from the last commit
Andrei Pelinescu-Onciul [Tue, 30 Mar 2004 09:44:19 +0000 (09:44 +0000)]
- core dump limits are by default set to unlimited or a high enough
value (to disable set disable_core_dump=yes in ser.cfg).
- open file limits set-able in ser.cfg, use open_files_limit=no
to make ser automatically try to increase this limit (if no<current limit
nothing will be done). You must start ser as root to be able to increase
its open file limit past the hardlimit (default 1024 on most systems).
- move process table init. before module init. (sanity)
Andrei Pelinescu-Onciul [Wed, 24 Mar 2004 14:53:04 +0000 (14:53 +0000)]
.- missing copyrights
Andrei Pelinescu-Onciul [Wed, 24 Mar 2004 11:08:14 +0000 (11:08 +0000)]
- more cleanup
Andrei Pelinescu-Onciul [Wed, 24 Mar 2004 10:59:29 +0000 (10:59 +0000)]
- cleanup
Bogdan-Andrei Iancu [Tue, 16 Mar 2004 19:49:28 +0000 (19:49 +0000)]
- condition fixup
Jan Janak [Tue, 16 Mar 2004 17:00:57 +0000 (17:00 +0000)]
Removed the part about replacing uri==myself
Bogdan-Andrei Iancu [Tue, 16 Mar 2004 14:47:09 +0000 (14:47 +0000)]
- looks like ifndef/define was missing
Jiri Kuthan [Tue, 16 Mar 2004 13:37:05 +0000 (13:37 +0000)]
split of t_relay to t_relay_udp/t_relay_tcp documented
Andrei Pelinescu-Onciul [Mon, 15 Mar 2004 15:50:42 +0000 (15:50 +0000)]
- bugfix: unix_server_loop: buffer.s was never reset
Jan Janak [Mon, 15 Mar 2004 15:42:16 +0000 (15:42 +0000)]
cmd_list initialized to zero manually, just to be sure
Andrei Pelinescu-Onciul [Mon, 15 Mar 2004 15:29:58 +0000 (15:29 +0000)]
- va_end() on error
- ret==-1 changed into ret < 0
Jan Janak [Sun, 14 Mar 2004 17:54:38 +0000 (17:54 +0000)]
Dialog-wise ACKs for local transactions.
Bogdan-Andrei Iancu [Fri, 12 Mar 2004 14:15:22 +0000 (14:15 +0000)]
- modparam types switched to flags; USE_FUNC_PARAM flag added for param
type - instead of copying the param value, a func is called to process it
Karel Kozlik [Wed, 10 Mar 2004 21:00:33 +0000 (21:00 +0000)]
Added index to table acc by column sip_callid. It's needful to selecting missed calls in serweb.
Karel Kozlik [Wed, 10 Mar 2004 11:58:37 +0000 (11:58 +0000)]
added tables for user preferences, multidomain serweb ACL control, speed-dial and caller screening
Jan Janak [Tue, 9 Mar 2004 19:36:15 +0000 (19:36 +0000)]
Proper function names in error messages
Jan Janak [Tue, 9 Mar 2004 18:32:58 +0000 (18:32 +0000)]
Unix domain socket version of serctl
Andrei Pelinescu-Onciul [Tue, 9 Mar 2004 15:18:10 +0000 (15:18 +0000)]
- open_fifo_server split into init_fifo_server and start_fifo_server
- init_fifo_server called before do_suid
- start_fifo_server called after do_suid and after all sockets are opened
(to inherit them)
- fixed init order fro non_fork_mode (this mode is only for debugging,
shouldn't need fifo or unix server, but if it needs them try to init them
before do_suid and start them after)
- increased version no.
Maxim Sobolev [Tue, 9 Mar 2004 14:45:12 +0000 (14:45 +0000)]
If SER compiled without USE_TCP don't try to lookup for a function
t_relay_to_tcp. This fixes acc module loading when SER compiled without
USE_TCP.
Jan Janak [Tue, 9 Mar 2004 12:53:13 +0000 (12:53 +0000)]
.cvs ignore added
Jan Janak [Tue, 9 Mar 2004 12:51:14 +0000 (12:51 +0000)]
serunix added.
Jan Janak [Tue, 9 Mar 2004 12:26:42 +0000 (12:26 +0000)]
Unix domain socket wrapper
Andrei Pelinescu-Onciul [Tue, 9 Mar 2004 11:26:06 +0000 (11:26 +0000)]
- su_getport type changed from short to unsigned short
Jan Janak [Tue, 9 Mar 2004 11:10:59 +0000 (11:10 +0000)]
Initialization if unix domain socket split
Jan Janak [Mon, 8 Mar 2004 20:51:57 +0000 (20:51 +0000)]
Initialization of the unixsock server moved before forking of UDP
listeners because they need to inhert open unix sockets
Andrei Pelinescu-Onciul [Mon, 8 Mar 2004 14:06:18 +0000 (14:06 +0000)]
- increased vers. no
Andrei Pelinescu-Onciul [Mon, 8 Mar 2004 14:05:46 +0000 (14:05 +0000)]
- moved daemonize in its own file
- removed suid stuff from daemonize and moved it in do_suid()
(ser will change uid now after opening the listening sockets)
Andrei Pelinescu-Onciul [Mon, 8 Mar 2004 13:12:48 +0000 (13:12 +0000)]
- int2str updated: works for 64bits longs, minor cleanup
Jan Janak [Fri, 5 Mar 2004 22:53:21 +0000 (22:53 +0000)]
t_stats exported via unixsock interface
Jan Janak [Fri, 5 Mar 2004 19:27:40 +0000 (19:27 +0000)]
Missing header field added