[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: misc_(_at_)_openbsd_(_dot_)_org, tech_(_at_)_openbsd_(_dot_)_org
- Subject: ipnat problems
- From: Sean McNamara <sean_(_at_)_zaxxon_(_dot_)_apana_(_dot_)_org_(_dot_)_au>
- Date: Thu, 9 Oct 1997 20:55:05 +1000
At 7:12 AM +1000 4/10/97, Todd C. Miller wrote:
> > I found today discussions on the "open: no such file or directory" message
> > in the NetBSD lists, which suggested doing "sh MAKEDEV ipl" in the /dev
> > directory - I did that, and it stopped that message, but now I get:
> > zaxxon# ipnat -l
> > ioctl(SIOCGNATS): Invalid argument
> > zaxxon# ipfstat
> > ioctl(SIOCGETFS): Invalid argument
> > and variations on the theme. Does this mean I have the wrong kernel? I have
> > the genericsbc one, should I just use generic?
> Sounds like you don't have "option IPFILTER_LOG" in your kernel.
I added that to the GENERIC config file, compiled the new kernel, and had
the following message as it compiled:
In file included from ../../../../netinet/ip_fil.c:40:
../../../../netinet/ip_fil_compat.h:17: warning: `IPFILTER_LOG' redefined
*Initialization*:1: warning: this is the location of the previous definition
This happened several times :\
When I tried the kernel it had come up with, it booted, but I still got the
same error messages about an "Invalid argument".
Something else: When I "sh MAKEDEV ipl" in /dev, all I get is /dev/ipl -
the message I saw elsewhere said I should also get ipstate, ipauth and
ipnat in /dev as devices.
Just to recap the salient points:
* I'm using OpenBSD 2.1/mac68k "out of the box" on a IIcx, and am hoping to
make TCP connections through the IIcx (using ipnat) from a Quadra 840AV and
a Centris 610;
* packets are routed out over my ppp link to the right address (I've been
using dotted decimal while trying things out), but nothing comes back;
* when I do a "netstat" on the host I'm trying to telnet to from my 840AV,
I see a connection from "192.0.0.2", which is the 840AV's IP address on the
Ethernet, so the address isn't being translated by ipnat before the packets
* I can't do "ipnat -l" or "ipfstat" without the messages at the beginning
of this post.
So, my questions now become:
1. Is there a known problem in OpenBSD 2.1/mac68k when running ipnat? Or
just with OpenBSD 2.1 in general? Or is it something in my setup?
2. Do the pieces of info I have provided above and in my previous messages
("ppp and ipnat problems" in misc_(_at_)_openbsd_(_dot_)_org) help _anyone_ to figure out
where things are going wrong? (I can send all my messages on request to
anyone who missed them.)
3. Does anyone have mac68k successfully running ipnat over a ppp link under
OpenBSD 2.1, and if so, with which kernel? If so, can I please have the
config file for the kernel so I can compile one up myself?
4. How can I get those extra devices? (Or, why aren't I getting them?)
I'm getting pretty desperate, as things are so close to how they're
supposed to be it's just getting too tantalising! :\ :)
All help gratefully accepted.
Sean McNamara http://ion.apana.org.au/~mcnamara/
finger mcnamara_(_at_)_ion_(_dot_)_apana_(_dot_)_org_(_dot_)_au for Geek Code (v3.1) and other bits
"I should be allowed to blurt the merest idea if by random whim one
occurs to me but sadly, this can never be for I am not allowed to think"
I Should Be Allowed To Think, They Might Be Giants
Visit your host, monkey.org