Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2015 15:27:26 -0600
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: traffic shaping on RELENG_10 ?
Message-ID:  <5671D73E.7060509@denninger.net>
In-Reply-To: <5671D153.4030501@sentex.net>
References:  <5671C78A.4030807@sentex.net> <5671C816.8060004@denninger.net> <5671D153.4030501@sentex.net>

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

--------------ms090706010904010706090509
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 12/16/2015 15:02, Mike Tancsa wrote:
> On 12/16/2015 3:22 PM, Karl Denninger wrote:
>> On 12/16/2015 14:20, Mike Tancsa wrote:
>>> I need to do some simple traffic shaping, but whenever I try and use
>>> altq, I dont seem to have any luck-- I mean zero.
>>>
>>>  I like the management of pf via pf.conf, but miss the simplicity of
>>> dummynet and ipfw.  Has anyone used pf and ipfw together in RELENG10 =
?
>>> Any tips / caveats ? Or am I better off re-writing the pf rules into
>>> ipfw and be done with it.
>>>
>>> 	---Mike
>> What are you trying to do?
>>
>> I use rate-shaping in ipfw without problems and have been for quite so=
me
>> time.
> Protect some boxes via pf, and then limit one box from eating up all th=
e
> bandwidth when doing a backups and syncs.
> I would like to keep pf for firewall rules, and I would like to use
> ipfw+DUMMYNET for bandwidth shaping
>
>
> 	---Mike
>
I use this...
   ipfw pipe 1 config bw 3000Kbit/s
   ipfw add 1700 pipe 1 tcp from {wherever} to any

(and so on.... you can add any sort of flow into the pipe, and it will
honor that limit)

Works very well.

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

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

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgB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BgNVBAMTE0N1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG
9w0BCQEWE0N1ZGEgU3lzdGVtcyBMTEMgQ0ECASkwDQYJKoZIhvcNAQEBBQAEggIADPRf4hM3
giT1Z0WbI3BGXJfOi0caWRaLYPTCcFk98Cc8VINRp8HlFgxsipNJ8FN9KyDmqoFA+yQ8SepY
g/Wrop07g59T9crdb/ohjOCxjlXlnCjq72lRmFc/qRriwmxm7leiSlG7IfVj5zSWb8CZFHN6
CsQBRV1d5N4cL6F4QP99ru0quXi39cyBcyoNw2Ci1NtF/dsmQr64zlNbHM66TeprHTFY6DA+
G/h8ggR6Y9RB2RmJPEnwRD7M6qXcY7xPCiQeX2vRkyvHfYG9D3BIN+zSmSbrLP+g9u2UgkjO
WA1wEZDl5Sft6IBk6f9G6+oDIg5Cnxw80bxdku1JQKK0+7CmwjVarWeL/J0RlPXgQI/zhxa3
+BfwgvbUn/stzGUCYOf2dRbYzzMsJgs6JxSa4pTNVXCFC7CLwnOFCNYsR+QEKZNmFagca4So
8m7H2vDwiIEPe7AvNjJSFEfHEe1lXSB2WqSkrHux404sS8Nsj6Kc6AjuQ6905KA2zF/ULJJf
m7O5YFm7eMLbkZjmcrlVm07JYTgNXhl2HEGuxyNPAVNb+FVC5B9iV9N6CJNfMUsbxirRjSdd
QbPSH5njdhi4wjqWf86Jm3hVqks5eUKLmw0r2O9uC/TliornZ4s5hteqMVv9URBlGBBDbEX6
P7v8UFbKm5HVHZ4Q6el3Yq9RIuQAAAAAAAA=
--------------ms090706010904010706090509--



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