Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 22:50:05 +0100
From:      Daniel Pocock <daniel@lvdx.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: FreeBSD, quagga (BGP) and 2950 VLANs
Message-ID:  <43386D0D.7000209@lvdx.com>
In-Reply-To: <432F4A12.9090709@mac.com>
References:  <432EC4FF.4030706@lvdx.com> <20050919205757.GI62233@complx.LF.net>	<432F3013.7090001@keystreams.com>	<20050919214618.GJ62233@complx.LF.net>	<20050919215605.GK62233@complx.LF.net> <432F4507.4020708@lvdx.com> <432F4A12.9090709@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms000203000804020905090400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



Chuck Swiger wrote:

> Daniel Pocock wrote:
> [ ... ]
>
>> I'm also curious about whether FreeBSD supports polled rather than 
>> interrupt driven behaviour in the NIC driver - that means that the 
>> system won't keep on re-entering an interrupt handler concurrently 
>> while under load (when a DoS attack is in progress).
>
>
> Indeed it does, see "man polling".
> Make sure you increase HZ to at least 1000...
>
Good news - I got the quagga and vlan stuff working.  Thanks for all 
those who gave tips on this issue.  It was surprisingly easy to get all 
this going and I'm now receiving a full BGP table from an upstream provider.

I'm now starting to look at how to filter packets that I am forwarding, 
to ensure that none of the people I connect to can use me as their 
default route (unless I give them permission to do so).  The FreeBSD 
docs mention three different packet filters - pf, ipfw and ipf.

Does any of these have specific benefits for a routing device that is 
forwarding 99.9% of it's traffic to other hosts, or is it just a 
question of personal preference?  The rules I intend to write are fairly 
simple, and I don't need any state-based stuff.

--------------------------------------
Director
London Voice and Data Exchange Limited
http://www.lvdx.com
--------------------------------------


--------------ms000203000804020905090400
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCz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000804020905090400--



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