Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 20:07:03 +0200
From:      Alex <akruijff@dds.nl>
To:        Luigi Rizzo <luigi@FreeBSD.org>, cjc@FreeBSD.ORG
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re[2]: conf/36230: ipfw traffic shaper with DHCP env.
Message-ID:  <18432210796.20020714200703@dds.nl>
In-Reply-To: <200207132149.g6DLnY0v057339@freefall.freebsd.org>
References:  <200207132149.g6DLnY0v057339@freefall.freebsd.org>

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

Hello/Beste Luigi & Crist,

Saturday, July 13, 2002, 11:49:34 PM, you wrote:

CJC> From: "Crist J. Clark" <cjc@FreeBSD.ORG>
CJC> To: Alex de Kruijff <akruijff@dds.nl>
CJC> Cc: freebsd-gnats-submit@FreeBSD.ORG
CJC> Subject: Re: conf/36230: ipfw traffic shaper with DHCP env.
CJC> Date: Sat, 23 Mar 2002 18:42:51 -0800
CJC>
CJC>  On Sat, Mar 23, 2002 at 06:34:03AM -0800, Alex de Kruijff wrote:
CJC>  [snip]
CJC>
CJC>  > I like to run a ipfw traffic shaper on a network with a DHCP server. The DHCP server updates the DNS with a given hostname (+ suffix). The ip-address the client receives can change in time but the hostname do not. The ipfw rules however keep the old values resulting in a rules that do not apply.
CJC>  > >How-To-Repeat:
CJC>  > # add alex to the DNS (nomaly you will let the DHCP do this for you)
CJC>  >
CJC>  > ipfw add 100 pipe 1 ip from alex to any via ed0
CJC>  > ipfw add 200 pipe 2 ip from any to alex via ed0
CJC>  >
CJC>  > # change the ip address of the host alex.
CJC>  > >Fix:
CJC>  > Save the URL, if given, instead of the ip-address.
CJC>
CJC>  How often do you check that the hostname to IP address mapping has
CJC>  changed? For every packet? Way too expensive. Every minute? Every five
CJC>  minutes? Why not just run a cron job to update your rules then?

Your right its to expensive. Maybe the DHCP can play a role in this.
And else something for cron. Tanks for answering. (I'm a bit late on
the response, sorry for that, but i didn't notice it earlier)

LR> State-Changed-From-To: feedback->closed
LR> State-Changed-By: luigi
LR> State-Changed-When: Sat Jul 13 14:48:31 PDT 2002
LR> State-Changed-Why: 
LR> use "me" as suggested to specify the local host. "me" checks
LR> the address against the list of interface addresses on each
LR> incoming packet so it will detect changes.


LR> http://www.freebsd.org/cgi/query-pr.cgi?pr=36230

Sorry but this will not work. Me is the server while the clients are
added. I appreciate you effort anyhow.

-- 
Best regards/Met vriendelijke groet,
Alex


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18432210796.20020714200703>