[sr-dev] git:andrei/raw_sock: raw sockets: udp send will use now raw sockets if enabled

marius zbihlei marius.zbihlei at 1and1.ro
Wed Jun 16 13:21:11 CEST 2010


Andrei Pelinescu-Onciul wrote:
> Module: sip-router
> Branch: andrei/raw_sock
> Commit: 22e7e32e343724a42abc4c0c1b7986e88e50111b
> URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=22e7e32e343724a42abc4c0c1b7986e88e50111b
>
> Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
> Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
> Date:   Tue Jun 15 16:36:14 2010 +0200
>
> raw sockets: udp send will use now raw sockets if enabled
>
> A raw socket, that will be used for sending, is now initialized on
> startup. The operation can succeed only if sr is started as root
> or with CAP_NET_RAW.
> If the initialization fails and the raw sockets are forced on from
> the config (udp4_raw = 1), ser won't start. If the raw socket are
> in auto mode (udp4_raw = -1), sr will start, but with the raw
> socket send part disabled (normal udp send will be used).
>
> If the raw socket part is not disabled at startup, it can be
> turned anytime on/off via the runtime cfg. framework.
>
> Note: the raw socket send is supported only over ipv4 and for now
> only on linux.
>
>   
Hello,

Good to see that the last bits are in order. I will start with 
performance testing a.s.a.p

Marius



More information about the sr-dev mailing list