I posted this a while back but didn't get any responses. Perhaps I didn't state my problem well enough, so I'd like to retry again w/ a better problem definition.
I'm looking for any free (or low cost) software that can help me build my network appliance. What I need is simply:
- Something that redirects/passes Ethernet frames as seen by the interface into my C/C++ program. I need to set the interface to promiscuous mode at times. These Ethernet frames should be sent to my program before being passed to the Linux Kernel by the network device (if possible, i.e. as early on as possible).
- My program needs to be able to construct Ethernet frames and send it out on an interface.
- My system is a Pentium 4 1.8GHz with 256MB RAM and dual Intel gigE interfaces running Linux 2.6.x (w/ just the kernel and the min. development setup, I can put additional software in if needed).
- Currently I'm using libpcap and libnet for the above tasks. But these libraries performance is not high enough because I'm dropping some frames when I put the system into promiscuous mode and get traffic that's ony about 15Mbps. (I'd like to get as close to
Thanks in advance for your help. If I receive any emailed answers, I will post a summary. My email address is frank_6014 at yahoo (with the .com)