Working divert socket example prog?

Nikolay Denev nike_d at cytexbg.com
Thu Apr 28 19:06:28 UTC 2016


Hi,

Have you looked at the natd(8) source code?


--Nikolay

On Thu, Apr 28, 2016 at 7:21 AM, lpa lpa <arvorebemgrande at gmail.com> wrote:
> 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 some logs.
>
> However I am not a coder :(
>
> Thank you.
>
> [1]https://github.com/DianeRay/divert-loop/tree/master/divert-loop
>
> --
> Mais que uma ONG.
> Uma convicção.
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list