tvfbfdb uyvy wrote: > Hello, > I am currently trying to expand an RT module so as to add packet dumping > capabilities, with libpcap if possible because i want a log with the libpcap > format. However, I read in a previous topic that the libpcap api is not > supported by real-time space. Is that still true?
Must be a fairly old report. No, it's not true (though libpcap will still run in Linux space). > I can think of other ways to dump raw traffic in some kind of log. One of > them is to use another process in user-space and signal it through a mailbox > or FIFO mechanism to start capruring the packets. > I am open to as many suggestions as possible for my problem. The RTcap component of RTnet was designed exactly for this purpose. Just enable it during compilation and in rtnet.conf after installation. Then run "rtnet capture". This will fire up rteth0 and export it as a pseudo Linux networking device under the same name. Open Ethereal, tcpdump, or whatever and sniff on rteth0. There has been some trouble report recently that the promisc mode does not work. I was not able to reproduce this issue. So be warned that there /might/ be a problem, and please report back if you hit it as well. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users