From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10718 invoked from network); 21 Nov 1998 05:54:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 21 Nov 1998 05:54:48 -0000 Received: from hotmail.com (f58.hotmail.com [207.82.251.192]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id AAA10442 for ; Sat, 21 Nov 1998 00:54:47 -0500 Received: (qmail 5080 invoked by uid 0); 21 Nov 1998 05:54:16 -0000 Message-ID: <19981121055416.5079.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Fri, 20 Nov 1998 21:54:16 PST X-Originating-IP: [24.0.139.66] From: "Designer 7" To: bob@invengen.com, axp-list@redhat.com Subject: RE: Anyone else have problems with ip_masq and Alpha Linux kernel 2.0.35?? MIME-Version: 1.0 Content-Type: text/plain Date: Fri, 20 Nov 1998 21:54:16 PST Hey Bob, Uh... sorry to bug you, but where did you get the source for ipfwadm for Alpha? I got the one from the www.xos.nl site.... but.... I'm having a lot of compile problems... a lot of warnings about redefinitions, conflicting types and incomplete types... I found out all the header files in /usr/include/netinet/ are different than the ones that are in the kernel source tree. I think the one's in the netinet are wrong... or do they serve some special purpose? I looked at the ip_fw.h in the kernel source tree.. and it looks right... unsigned short, unsigned long instead of the u_int16_t and u_int32_t.... Man... these files all really screwed up.... unless there is something I completely missed here.... what am I not understanding? I'm on Redhat 5.2/Alpha by the way.... if I am right, and a lot of these headers are wrong, can Redhat please release an update with the correct ones so we don't have to manually fix all of them? Or can someone explain to me what my problem is? > >> By the way, to bob who replied below... how did you figure out what was >> wrong with the code? Or did you read all of the code and stumbled on >> that problem? > >I used RH5.1 on an Intel machine and did masquerading. But, after that >machine died, I decided to get an Alpha. I spent several days fiddling with >ipfwadm trying to get it to work, saying to myself, "I *know* this should >work, but it isn't...." :-) > >I decided to search the web to see if anyone else had problems like this. >The only article I found was dated in August of this year (sorry, I forgot >the author's name and where it was located). The author had said that >it appeared as if the ip_fw structure was not correct and was dependant >upon a 32-bit architecture. I just changed the 2 32-bit declarations >so they would be correct on a 64-bit architecture. I recompiled the >kernel and ipfwadm, and that did the trick. > >-bob fahey > > >-- >To unsubscribe: send e-mail to axp-list-request@redhat.com with >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com