Subject: Re: mopd port
To: Maftoum / Karl Joseph (ISE) <k.maftoum@student.canberra.edu.au>
From: Mats O Jansson <maja@celsiustech.se>
List: port-vax
Date: 01/06/1997 14:34:43
On Mon, 6 Jan 1997, Maftoum / Karl Joseph (ISE) wrote:

> 
> Question: is there any way of getting bpf support int he linux kernel? 
> ie. is there a patch?  I managed to get mopd etc compiled withbits from 
> libpcap , but it fails "no interface" because there is not /dev/bpf* 
> devices. Or do I have to eliminate the bpf and use the linux low-level 
> packet driver from libpcap ( a pain) ?
>
I'm not the right person to answer questions about linux kernels and I doubt
this list is the right one. But since it is a question about mopd I'll 
try to answer it.

To my knowledge Linux doesn't support BPF. I have a friend how as been 
running Linux since about 0.10, and when I ask a year ago he said it wasn't
supported. So when he wanted Linux support in mopd I looked at libpcap but
gave it up. I still is of the opinon that a pf module for libpcap would be
nice.

But a quick hack would be to get ftp://munnari.oz.au/mac/arns.tar.Z and
extract the pf.c module from it. It supports something called Linux 
SOCK_PACKET. The interfaces isn't the same but I think it's close enough
to be a useful start. If you get somthing to work I would like a copy,
but I don't think I can add it to the distribution due to the copyright
of the pf.c module.
 
> Karl
> 
> 
> ------------------------------------------------------------------------------
> 
> Karl Maftoum
> Computer Engineering Student at the University of Canberra, Australia
> 
> Email: u963870@student.canberra.edu.au
> 
> 
> 

-moj

------------------------------------------------------------------------------
Mats O Jansson, CelsiusTech Systems, Jaerfaella, Sweden
email: maja@celsiustech.se (or moj@stacken.kth.se)