Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2000 21:03:21 +0200
From:      "Patrick" <patrick@freegates.be>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   need help for IPFW advanced use
Message-ID:  <000801bfe9d8$5cb421e0$0101a8c0@pfoubert>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

With this new version (4.0) of freebsd, you introduce the availability to limit the bandwidth use by using ipfw command .

I make a new installation, with 2 network cards, enable the gateway and testing it over two differents networks: it's run.

I enable IP Firewall as "OPEN" mode, it's ok

But when I try the command

IPFW PIPE SHOW, I get an error:

IPFW: getsockopt (ip_dummy_get): protocol not available

When I try to add a rule as:

IPFW ADD PIPE 1 IP FROM ANY TO ANY OUT (as man pages), i get an error:

IP_FW_CTL: Invalid command
IPFW: getsockopt(ip_fw_add): protocol not available

I not see a "valable" reason to have problems with ipfw but ...

If you have a idea or if kernel need to be recompiled with specific values or modules, please let's me know and the procedure to make it !

Thanks

Patrick Foubert
Servers Manager


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>With this new version (4.0) of freebsd, you introduce the 
availability to limit the bandwidth use by using ipfw command .</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I make a new installation, with 2 network cards, enable the 
gateway and testing it over two differents networks: it's run.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I enable IP Firewall as "OPEN" mode, it's ok</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>But when I try the command</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>IPFW PIPE SHOW, I get an error:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>IPFW: getsockopt (ip_dummy_get): protocol not 
available</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>When I try to add a rule as:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>IPFW ADD PIPE 1 IP FROM ANY TO ANY OUT (as man pages), i get 
an error:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>IP_FW_CTL: Invalid command</FONT></DIV>
<DIV><FONT size=2>IPFW: getsockopt(ip_fw_add): protocol not 
available</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I not see a "valable" reason to have problems with ipfw but 
...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>If you have a idea or if kernel need to be recompiled with 
specific values or modules, please let's me know and the procedure to make it 
!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Patrick Foubert</FONT></DIV>
<DIV><FONT size=2>Servers Manager</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801bfe9d8$5cb421e0$0101a8c0>