RE: Bridge hooks
ramsurrunv-aD7nsNzqxXzCK/[email protected]
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
> Thank you for you suggestion Visham. > > But I would not be able to use the suggestion below because the packets > or frames in my project would have custom headers (so cannot use > ebtables) hence I would not like the frames to traverse the network > stack. > Therefore I was planning to intercept it at the bridge and take it to > the user space...Moreover I need a complete user space implementation. > The ulog has kernel modules and user modules and the communication > between these modules is through netlink sockets which is not desired in > my case as I need a complete user space implementation. > > Hi, well you can have an application that creates your packets (let's say a ping program you created) and you use ulog to intercept them. The netlink sockets are used by the ulog to listen and receive packets. Anyways, at some point, the packets will have to go through part of the network stack (Layers 3 to 1 if you are sending them out.) I don't think you have an IPTables QUEUE target equivalent in ebtables. Goodluck.. Warm regards, Visham ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf