URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f5863aa…
Author: Andrei Pelinescu-Onciul <andrei(a)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=847fdfa…
Author: Andrei Pelinescu-Onciul <andrei(a)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=92b6de7…
Author: Andrei Pelinescu-Onciul <andrei(a)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=42e3dc7…
Author: Andrei Pelinescu-Onciul <andrei(a)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=49e4784…
Author: Andrei Pelinescu-Onciul <andrei(a)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=709fb80…
Author: Andrei Pelinescu-Onciul <andrei(a)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=6deb1c5…
Author: Andrei Pelinescu-Onciul <andrei(a)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(a)iptel.org>
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61d0ee5…
Author: Andrei Pelinescu-Onciul <andrei(a)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=c8586f8…
Author: Andrei Pelinescu-Onciul <andrei(a)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=617dda5…
Author: Andrei Pelinescu-Onciul <andrei(a)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=2c552c8…
Author: Andrei Pelinescu-Onciul <andrei(a)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=950e17a…
Author: Andrei Pelinescu-Onciul <andrei(a)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(a)iptel.org>
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e380cc1…
Author: Andrei Pelinescu-Onciul <andrei(a)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=3d55e46…
Author: Tomas Mandys <tomas.mandys(a)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=b73d58c…
Author: Andrei Pelinescu-Onciul <andrei(a)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=5b4d228…
Author: Andrei Pelinescu-Onciul <andrei(a)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=57f57a4…
Author: Andrei Pelinescu-Onciul <andrei(a)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=299ca7c…
Author: Andrei Pelinescu-Onciul <andrei(a)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(a)iptel.org>
Reported-and-tested-by: Jan Pewner <jpewner(a)iptel.org>
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8984eb5…
Author: Andrei Pelinescu-Onciul <andrei(a)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(a)iptel.org>
Reported-and-tested-by: Jan Pewner <jpewner(a)iptel.org>