Re: Working divert socket example prog?

2016-04-28 Thread lpa lpa
I can measure something. I was not able, so far, to make the mentioned divert-loop work, not breaking natd is a much longer step to a non programmer > > > --Nikolay > > On Thu, Apr 28, 2016 at 7:21 AM, lpa lpa > wrote: > > Do anyone have a working example code of a diver

Working divert socket example prog?

2016-04-27 Thread lpa lpa
Do anyone have a working example code of a divert loop program? I tried building this one[1] but it seems to be for FreeBSD 5 and won't build on latest system. I want to make simple measurement of pps rate for a packet traveling inside a divert socket and getting reinjected back while printing som