[Ronja] pcapified BERTEST

Karel Kulhavy twibright at hispeed.ch
Sun Oct 5 13:05:58 BST 2008


Hi Bruce,

---- Bruce M Simpson <bms at incunabulum.net> schrieb:
> Here is a pcapified bertest for FreeBSD.

I finally managed to get to this. I installed pcap and tried to compile on
Linux From Scratch and am still
getting these 2 error messages:
clock at sandy:~$ gcc bertest-pcap.c 
bertest-pcap.c:15:23: error: net/if_dl.h: No such file or directory
bertest-pcap.c:16:26: error: net/if_types.h: No such file or directory

I googled for net/if_dl.h but didn't find a hint how to fix it in the first few
results. Do you know what needs to be installed?

Karel
> 
> I have performed no other testing other than compilation and packet send 
> on FreeBSD, nor have I ported any of the Linux/bash specific test 
> scripts to other operating systems.
> 
> It should probably build on MacOS X and other BSDs with minimal changes. 
> Windows usage will require that the mac address function is hacked to 
> use IPHLPAPI.DLL, this is a minimal change.
> 
> The test scripts themselves look like they need to be ported to a POSIX 
> compiant shell to work with other operating systems.
> 
> cheers
> BMS




More information about the Ronja mailing list