On Jun 16, 2010 at 14:21, marius zbihlei <[email protected]> wrote: > 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 <[email protected]> > >Committer: Andrei Pelinescu-Onciul <[email protected]> > >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
Great, you need: git checkout -b raw_socks origin/andrei/socks make config extra_defs=-DUSE_RAW_SOCKS and in .cfg: udp4_raw=1 # or -1 udp4_mtu=... (if you have a lower mut then 1500) I probably won't be able to do any performance testing this week. Andrei _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
