Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* ipfwadm NONAME alpha
@ 1998-08-01  4:00 Michael Weber
  1998-08-01  4:00 ` B. James Phillippe
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Weber @ 1998-08-01  4:00 UTC (permalink / raw)


Hi!

I recently set up my alpha as home network server. I tried to use 
    ipfwadm -F -p deny
and it quits with no error msg.
But
    ipfwadm -F -a m -Smydomain.de/24 -D0/0
fails with:
    "setsockopt failed".

Oh, I used RH5.1 ipfwadm

Any ideas? Does anyone have a working setup?

Michael
p.s.: please do also send a Cc since my news gate is not set up yet. I
apologize.

BTW: kernel etc. seems to be configured right... I used the same config
on Linux/x86 and it worked (I also checked it against Masq-HOWTO)!
-- 
not configured.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ipfwadm NONAME alpha
  1998-08-01  4:00 ipfwadm NONAME alpha Michael Weber
@ 1998-08-01  4:00 ` B. James Phillippe
  0 siblings, 0 replies; 2+ messages in thread
From: B. James Phillippe @ 1998-08-01  4:00 UTC (permalink / raw)
  To: Michael Weber

On Sat, 1 Aug 1998, Michael Weber wrote:

>     ipfwadm -F -a m -Smydomain.de/24 -D0/0
> fails with:
>     "setsockopt failed".
> 
> Oh, I used RH5.1 ipfwadm
> 
> Any ideas? Does anyone have a working setup?

You can use the ipfwadm from RedHat-5.0 or the one from ftp.terran.org.
The problem with the RedHat-5.1 one is that glibc includes aren't right.
Some of them (in this case, netinet/ip_fw.h) define packet and byte counts
as u_int32_t, wherease the kernel defines them as "long".  long and
u_int32_t are not the same size on Alpha, so the struct is short, making it
an invalid argument to setsockopt.

cheers,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-01  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-01  4:00 ipfwadm NONAME alpha Michael Weber
1998-08-01  4:00 ` B. James Phillippe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox