[sr-dev] New commits on branch ser_core_cvs
Andrei Pelinescu-Onciul
andrei at iptel.org
Fri Jun 26 20:18:51 CEST 2009
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f5863aa01d653c652854dbbd3000531e8a0388ac
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:59:09 2009 +0000
sctp: sctp_max_assocs support from the script
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=847fdfa493ecab48d3287287133141ff4705a1c0
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:57:06 2009 +0000
sctp: core.sctp_options shows now also sctp_max_assocs
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=92b6de79c7734da50dbc23c05e116a5259171806
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:56:44 2009 +0000
sctp: max_assocs options
Added a new option controlling the maximum number of open
associations allowed. When exceeded new associations will be
immediately closed (using ABORT).
If connection tracking is used (default) trying to open new
associations will gracefully fail before actually opening them. If
no connection tracking is used, the associations will first be
opened and then immediately closed. In this case the packet
triggering the active open will be sent (as part of the initial
4-way handshake), before the association is closed.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=42e3dc75f49dab19f22a14c8d9620d2d9ab57b18
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:56:25 2009 +0000
sctp: sctp_assoc_tracking support from the script
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=49e4784a3bf57989645592cb481cdd299c9e5c46
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:56:04 2009 +0000
sctp: core.sctp_options shows now also sctp_assoc_tracking
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=709fb806388cc9c31f94e0cc4b6cdccb8da1c1c6
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Jun 26 17:55:05 2009 +0000
sctp: assoc_tracking option
Association tracking can now be turned on/off at runtime.
Turning it off saves some memory and gives slightly better
performance at the cost of having to turn off some other features
that depend on it (right now that will be sctp_assoc_reuse).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6deb1c538b11a63533f38c684083fd9d0a5f6a5c
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Wed Jun 17 09:12:08 2009 +0000
sctp: SCTP_PEER_ADDR_PARAMS fix for older kernels
On older kernels (< 2.6.27) one has to set the AF when setting a
SCTP_PEER_ADDR_PARAMS socket option even if the address is the
wildcard (INADDR_ANY).
This affects the sctp_hbinterval and sctp_pathmaxrxt config
options.
Reported-by: Cristian Constantin <cristian.constantin at iptel.org>
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61d0ee551872fc55c0f70ba8d4f9a5ab0c1d0e87
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon Jun 15 22:34:55 2009 +0000
sctp: assoc_reuse option
Association reuse for replies can now be turned off (the default
is on). Config name: sctp_assoc_reuse, real time name: assoc_reuse
(sercmd cfg.set_now_int sctp assoc_reuse 0).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c8586f86b34945cdb0b30655b2ae655d9ceb7740
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Wed Jun 10 23:24:42 2009 +0000
core: cfg vars for the new sctp options
- new script vars: sctp_asocmaxrxt,
sctp_init_max_attempts, sctp_init_max_timeo, sctp_hbinterval,
sctp_pathmaxrxt, sctp_sack_delay, sctp_sack_freq, sctp_max_burst.
- updated NEWS
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=617dda5c7cf4fda589ffb7666f281a073f17adec
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Wed Jun 10 23:23:52 2009 +0000
core: sctp_options rpc updated
Updated sctp_options with the new options (asocmaxrxt,
init_max_attempts, init_max_timeo, hbinterval, pathmaxrxt,
sack_delay, sack_freq, max_burst).
E.g.:
$ sercmd core.sctp_options
{
sctp_socket_rcvbuf: 54784
sctp_socket_sndbuf: 54784
sctp_autoclose: 180
sctp_send_ttl: 32000
sctp_send_retries: 0
sctp_srto_initial: 3000
sctp_srto_max: 60000
sctp_srto_min: 1000
sctp_asocmaxrxt: 10
sctp_init_max_attempts: 8
sctp_init_max_timeo: 60000
sctp_hbinterval: 30000
sctp_pathmaxrxt: 5
sctp_sack_delay: 200
sctp_sack_freq: 0
sctp_max_burst: 4
}
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2c552c8d6e9ce21a7f1e6a9b71b904a68bdf0ebe
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Wed Jun 10 23:21:25 2009 +0000
sctp: more config variables
Added more config variables for various sctp protocol specific
parameters:
asocmaxrxt - maximum retransmissions attempts per association
init_max_attempts - maximum INIT retransmission attempts
init_max_timeo - maximum INIT retransmission timeout (RTO max for
INIT)
hbinterval - sctp heartbeat interval, -1 for disable
pathmaxrxt - maximum retransmission attempts per path
sack_delay - delay until an ACK is generated after receiving a
packet.
sack_freq - number of packets received before an ACK is sent
max_burst - maximum burst of packets that can be emitted by an
association
All of them can be changed at runtime (e.g.
$ sercmd cfg.set_now_int sctp hbinterval -1 ), but the changes
will affect only new associations (they will not affect the
already established ones).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=950e17ad49e6b1f64df6ac00a15c6d51a3ae9020
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon Jun 8 08:50:40 2009 +0000
tcp: remove unused var. decls
Removed tcp_new_conn_alias_flags and tcp_alias_flags declaration,
since they have been replaced by runtime cfg. equivalents
(tcp alias_flags and new_conn_alias_flags).
Reported-by: Libor Chocholaty <libor at iptel.org>
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e380cc17d6d6b1fe812992d871182297b564b348
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon Jun 8 08:50:07 2009 +0000
dns: fix missing out-of-memory check
- fix missing out-of-memory check when creating a negative cache
entry
- minor optimizations (likely)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d55e464984488a932b05ce4abdd0d8a534e7005
Author: Tomas Mandys <tomas.mandys at iptel.org>
Date: Tue Jun 2 20:46:05 2009 +0000
- @next_hop.src_ip: source ip of outgoing message
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b73d58cf3d57a539eebf85a5ef09555dcac5038e
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri May 29 12:24:58 2009 +0000
sctp: retransmission options
- added new config and runtime options for controlling the
retransmissions at the sctp protocol level:
sctp_srto_initial - initial value of the retr. timeout used in
RTO calculations.
sctp_srto_max - maximum value of the retr. timeout (RTO).
sctp_srto_min - minimum value of the retr. timeout (RTO).
- on startup get the OS defaults for the sctp options so that
sercmd core.sctp_options always displays the options in use
(even if they haven't been "manually").
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5b4d228889174a738d9aa0d14ba61b5cafdd53b7
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri May 29 08:42:28 2009 +0000
sctp: sctp autoclose can now be changed at runtime
sctp_autoclose can now be changed at runtime, but it will affect
only new associations (autoclose for the pre-existing ones will
not be changed).
E.g.:
$ sercmd cfg.set_now_int sctp autoclose 120
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=57f57a4336dd514db4e3b80e55ae2a3d2c3839d9
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Tue May 26 17:20:12 2009 +0000
sctp: enable runtime changing for some of the cfg vars
Migrated sctp to the cfg. framework.
All config variables can be interrogated at runtime using the
cfg.get rpc (e.g. $ sercmd cfg.get sctp send_ttl) and some of
them can also be changed (send_ttl and send_retries for now).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=299ca7ce7443a48f5d60af98150989092ca5a3a0
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Tue May 26 15:41:30 2009 +0000
tcp: minor fix: TCP_EV_IDLE_CONN_CLOSED
TCP_EV_IDLE_CONN_CLOSED was called also on connect and send timeout (along
with TCP_EV_CONNECT_TIMEOUT and TCP_EV_SEND_TIMEOUT). Same for the
corresponding statistics.
Reported-and-tested-by: Libor Chocholaty <libor at iptel.org>
Reported-and-tested-by: Jan Pewner <jpewner at iptel.org>
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8984eb5e4a1f3ba205830a89202200ee2ec8d029
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon May 25 18:20:11 2009 +0000
tcp: minor fix: TCP_EV_CONNECT_RST() not always called
The TCP_EV_CONNECT_RST() macro was not called, when a received RST
was "signaled" by a poll/epoll/.. error, because the tcp
connection state was destroyed before it was checked.
(minor impact, only logging was affected)
Reported-and-tested-by: Libor Chocholaty <libor at iptel.org>
Reported-and-tested-by: Jan Pewner <jpewner at iptel.org>
More information about the sr-dev
mailing list