[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ipf & kernel options/pseudo-devices



hiya,

I'm trying to build a custom kernel for my gateway machine here running
2.8-stable.

I tried to disable (or remove) everything that is not necessary, so I have
the smallest possible kernel while maintaining all the functionality I
need (and have in the GENERIC kernel).

Somehow I think I must have disabled too many options, because every time
I reboot the machine with a new, custom kernel, I can't use ipf and
therefor i can't use ipnat. E get the following output with the ipfstat
and ipnat programs:

[root][/root]# ipfstat
ioctl(SIOCGETFS): Invalid argument
[root][/root]# ipnat -l
ioctl(SIOCGNATS): Invalid argument

(Yes, i'm running those as root)

Could someone give me a list of kernel options (besides INET, IPFILTER and
IPFILTER_LOG) and pseudo-devices i need to run ipf/ipnat? I think it might
have something to do with the filesystems I added support for (only FFS
and MSDOSFS) or with the number of bpfilter pseudo-devices (currently set
to 8).

If it is more convenient to forward the kernel options/pseudo-devices to
the list, please tell me and I will send it. (i will not include the
normal devices...)

NOTE: I can use my normal network interfaces (local network & cable
internet connection).

Thanks in advance,

//Wouter Clarie