Date: Mon, 19 Apr 2004 04:37:40 +0400 From: Gleb Smirnoff <glebius@cell.sick.ru> To: freebsd-net@freebsd.org Subject: route into netgraph? Message-ID: <20040419003740.GB56442@cell.sick.ru>
next in thread | raw e-mail | index | archive | help
Dear networkers, does anyone can give me a hint? I want to inject some traffic with a specific destination to netgraph. For example I want to route all traffic with dst 10.0.0.0/8 to my netgraph node, whereever it came from - came on interface or generated locally. I see only one way to do this - divert it with ipfw to ng_ksocket. But, it'll be nice to use smth like: route add 10.0.0.0/8 -iface ng0 and receive packets on ng0's inet hook. Any other ideas? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419003740.GB56442>