Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 10:45:25 -0400
From:      "Feighery, Patrick D." <feighery@mitre.org>
To:        "Adrian Penisoara" <ady@freebsd.ady.ro>
Cc:        freebsd-ipfw@freebsd.org
Subject:   RE: ECN Capability in the Network Layer
Message-ID:  <87ABB5B9BD11A240B9CBB3F0485AEC8901E5F326@IMCSRV4.MITRE.ORG>
In-Reply-To: <78cb3d3f0709251305q31f6d161wba2f69607a61c9a8@mail.gmail.com>
References:  <87ABB5B9BD11A240B9CBB3F0485AEC8901E01984@IMCSRV4.MITRE.ORG> <78cb3d3f0709251305q31f6d161wba2f69607a61c9a8@mail.gmail.com>

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

------=_NextPart_000_00B4_01C80673.AB9C6BE0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I've spent some time changing various parameters within pf.conf that I must
be missing something so obvious.
 
My real goal is to have FreeBSD see either the ECT_0 or ECT_1 bit in the IP
packet (which contains a TCP data segment) and set the CC bits so my
transport layer can react to it.  For testing purposes I am also using pfctl
to emulate a 20,000 bps link, so in theory I won't need any competing flows
to congest the link.  I could use Dummynet to constrain the link, but I have
no idea what the interaction between the two would be. I have set the
interface queue both via sysctl and pfctl to a small number 5.  I should see
and via wireshark do see packet loss.  Therefore, I would expect to set some
parameter which defines a threshold where the ECN CC bit would be set before
packet loss occurs.
 
Is there a problem with RED and constraining my link to 20,000 bps?  
 
Best Regards.
 
    Pat
 
 



  _____  

From: ady@ady.ro [mailto:ady@ady.ro] On Behalf Of Adrian Penisoara
Sent: Tuesday, September 25, 2007 4:05 PM
To: Feighery, Patrick D.
Cc: freebsd-ipfw@freebsd.org
Subject: Re: ECN Capability in the Network Layer


Hi,

  You should lookup the pf.conf(5) man page for the red and ecn scheduler
parameters (as a matter of fact ecn implies red).

Regards,
Adrian.


On 9/24/07, Feighery, Patrick D. <feighery@mitre.org> wrote: 

I am currently trying to integrate an ECN capability into a third
party's transport layer protocol.  In the past I have used Dummynet to
test how transport protocols react under a variety of strange and
non-typical network characteristics.  Now I am trying to use a 
combination of Dummynet and ECN.  Unfortunately after crawling the
network for a few days, I can't really figure out how to configure
FreeBSD to support ECN.  I have been testing with a FreeBSD 6.2
installation and have added the ALTQ into the kernel.  However I can't 
figure out how to create an /etc/pf.conf config file for ECN.  Do I
need to install a different version of FreeBSD to get this
functionality.

Can anyone point me into the correct direction?

Best Regards 

    Pat Feighery

_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"




------=_NextPart_000_00B4_01C80673.AB9C6BE0
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvzCCA2Qw
ggJMoAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwWjESMBAGA1UEChMJbWl0cmUub3JnMR4wHAYDVQQL
ExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMTG01JVFJFIENvcnBvcmF0aW9uIFJvb3Qg
Q0EtMTAeFw0wNjA2MDEwNDAwMDBaFw0xODA2MDEwNDAwMDBaMFoxEjAQBgNVBAoTCW1pdHJlLm9y
ZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MSQwIgYDVQQDExtNSVRSRSBDb3Jwb3Jh
dGlvbiBSb290IENBLTEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCva1qWPZiEJv5v
MtCbjt0cTu0Nbn15Q1cKqQBXKi8VSH9zZPmPxfWizJJ7JSqFJ5/sLUz3NsnUVjpLYBdFcxNXnOLj
XtmDPFOewm5T98NZc9wRRCiDzt4f8qsHFI19ShPiK3cN5Uq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wXTESMBAGA1UEChMJbWl0cmUub3JnMR4wHAYDVQQLExVD
ZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJzAlBgNVBAMTHk1JVFJFIENvcnBvcmF0aW9uIFByaW1hcnkg
Q0EtMQICEO0wCQYFKw4DAhoFAKCCAbAwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG
9w0BCQUxDxcNMDcxMDA0MTQ0NTI1WjAjBgkqhkiG9w0BCQQxFgQUV673EJXmEnHBoR1K88AJ8PfB
KrwwZwYJKoZIhvcNAQkPMVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN
AwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwcgYJKwYB
BAGCNxAEMWUwYzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1
dGhvcml0eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIQ7TB0Bgsq
hkiG9w0BCRACCzFloGMwXTESMBAGA1UEChMJbWl0cmUub3JnMR4wHAYDVQQLExVDZXJ0aWZpY2F0
ZSBBdXRob3JpdHkxJzAlBgNVBAMTHk1JVFJFIENvcnBvcmF0aW9uIFByaW1hcnkgQ0EtMQICEO0w
DQYJKoZIhvcNAQEBBQAEgYBEipxL5jXmGAG1L8kJys9XdOIcfbQBNn+28QnSeF1Csn8/7cHKhg7x
hsMkC7k31R3wIAJ6kqT4Olu3ZFeIp2KAsbRLGebC2sdr2DjXnZBo0aKsITDIW8I9jbZ8vp/srZHV
qznwSoT1r6Oh7XcDNB0sSRZHpeHhXdE286DseqZeMQAAAAAAAA==

------=_NextPart_000_00B4_01C80673.AB9C6BE0--



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