* ipautofw doesn't compile...
@ 1998-09-28 4:55 Keith Baker
1998-10-04 20:06 ` Ben Slusky
0 siblings, 1 reply; 2+ messages in thread
From: Keith Baker @ 1998-09-28 4:55 UTC (permalink / raw)
To: axp-list
Has anyone gotten ipautofw to work?
I use my alpha as an internet masq for one of my setups. I want to allow
my other machine to use directplay games. Only problem is ipautofw
doesn't even come close to compiling... does anyone have any diffs... or
even any clues? As I have never touched the kernel I have no idea...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ipautofw doesn't compile...
1998-09-28 4:55 ipautofw doesn't compile Keith Baker
@ 1998-10-04 20:06 ` Ben Slusky
0 siblings, 0 replies; 2+ messages in thread
From: Ben Slusky @ 1998-10-04 20:06 UTC (permalink / raw)
To: axp-list
On Mon, Sep 28, 1998 at 12:55:28AM -0400, Keith Baker wrote:
> even any clues? As I have never touched the kernel I have no idea...
I'm assuming you've configured your kernel for IP masqing tho'. If not,
read the IP Masquerading mini-HOWTO.
The problem with ipautofw is the header files: the glibc and kernel
header files tend to step on each other. The solution is to cut some of
them out.
Replace this block of #include's in ipautofw-2.0.0.c:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/ip_icmp.h>
#include <linux/if.h>
#include <linux/timer.h>
#include <linux/ip_fw.h>
#include <netdb.h>
With this one:
#define IFNAMSIZ 16
#include <sys/types.h>
#include <sys/socket.h>
#include <asm/types.h>
#include <linux/timer.h>
#include <linux/ip_fw.h>
#include <netdb.h>
Happy gaming,
-
-Ben
--
Behold now! By the Jordan dreameth / That beast by scholars called behemoth;
Though scholars of another cloth / I understand say behemoth;
While others still, rejecting both / Refer to him as behemoth.
The beast is one, the sound trichotomous; / The fact is, he's a hippopotamus.
-Willard R. Espy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-10-04 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-28 4:55 ipautofw doesn't compile Keith Baker
1998-10-04 20:06 ` Ben Slusky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox