From owner-freebsd-net@freebsd.org Mon Nov 5 04:15:48 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 005E510F7195 for ; Mon, 5 Nov 2018 04:15:47 +0000 (UTC) (envelope-from vachhanihpavan@gmail.com) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20F116E0ED for ; Mon, 5 Nov 2018 04:15:46 +0000 (UTC) (envelope-from vachhanihpavan@gmail.com) Received: by mail-it1-x12d.google.com with SMTP id r12-v6so8107761ita.3 for ; Sun, 04 Nov 2018 20:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/UrhKtow+UAWB7d94LH0tamnWxq6axU4CyqTFBk4WQk=; b=je9O4XxD4USgUozwAfm3BpKlB/av7REmuEApbiyFj2TPe5VK8og+bKLQH5pa3luANh QKiL9CILWCH/as7MCyNd6dGcaMKUro22D2XmzbXRKTvC+tIUV/ujuJyk1piUqI/YCjhc Fnw3psNC2MU0qN1UVT1/dW5EQX4ywdxkf5MO/tzqyP8OAYy5kZenx5pHjFsSfk+DWLdf sStOMwRRUZVqL9L8yPCCCHvzHvaTKTKLYIlmoidB79xET2TR0qKaJWnYLZzvZgEaRSS2 1mRJsV14ALPK99fftWnvnuwgRWuvLdgQUhrC3uhBqhobKeYkKwgf0e5hGhMXE/XmcYEO rtkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/UrhKtow+UAWB7d94LH0tamnWxq6axU4CyqTFBk4WQk=; b=McqxLffWbk0WFSoX8KWn1dMW7liDIP6wM7FCnyKwIuz3qIL88DOgM9so0bt4f2qeXi HwWLey0opI/7n3dgXWOAvAV/j3mNkQWjc9T6qD9WO+SUJs+UTFuF19I0hXaDKYHCyOIk RyveRs0WM24OuAHf2r1Zcy6PCRjQaSyydW8WbhVWM4Lc2S7U/M0dyY3M2ifgnExmzzYk ejgjrfod55BCWUjnjSUmSnQ5eo5QvCgnjA99IW2QZ5c3pZ5f+ihR5tSkuJt/7uMGO8Mj ELRqDDlobUjBpCaySv6Np7nZzSlJOTjAu5br0fYH4SecNVSrTv0Dvgkz12+TbvHZ1vKb VaCQ== X-Gm-Message-State: AGRZ1gKNVjV5DQjEpnrg3Ps0+3ZLxLK/Wf6BocyUMUmPtPw6aCU8KG2o rjMp41R//vDrF0YA3ZfAHjMR9SrQR7Quil+AOKc= X-Google-Smtp-Source: AJdET5fnlyXnGJOl5T0611noL6GlhI4tGjcZxBy3xK8dZ7FEGd0yYVJUiFCqYxm3MpNoGsL8PzxtI8+IJSCeKh2d0dI= X-Received: by 2002:a24:81d7:: with SMTP id q206-v6mr5064910itd.94.1541391345222; Sun, 04 Nov 2018 20:15:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pavan Vachhani Date: Mon, 5 Nov 2018 09:45:33 +0530 Message-ID: Subject: Re: ECN+ Implementation To: Richard.Scheffenegger@netapp.com Cc: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 20F116E0ED X-Spamd-Result: default: False [-2.66 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.82)[-0.818,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[d.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(-0.27)[ipnet: 2607:f8b0::/32(-0.00), asn: 15169(-1.28), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.56)[-0.560,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 04:15:48 -0000 Hi Richard, Thanks for pointing out. Yes, I'll do that but I have a doubt. Currently, I'm planning to complete ECN+ and ECN+/Wait(where it waits for 1rtt before retransmission, instead of time-out) as they are part of my course projects. Then I'll also work on ECN++. So, in sysctl, there is *tcp_do_ecn* which has values as 0: Legacy ECN disabled 1: System will try to initiate ECN enabled connection. 2: Server will not not initiate ECN enabled connection but allow ECN if client wants it. So now, for ECN+, should I add new value '3' to *tcp_do_ecn *or make some new variable which can enabled only if *tcp_do_ecn* == 1? On Mon 5 Nov, 2018, 7:56 AM Scheffenegger, Richard, < Richard.Scheffenegger@netapp.com> wrote: > Hi Pavan, > > Try to make this behavior change dependent on a sysctl, possibly with 3 > different settings (legacy, ECN+, ECN++): > > You may also want to look at ECN++ > https://tools.ietf.org/html/draft-ietf-tcpm-generalized-ecn-03 > > Especially when you are looking to deploy this in Datacenters in > conjunction with DCTCP. > > Best regards, > Richard > > -----Original Message----- > From: owner-freebsd-net@freebsd.org On > Behalf Of Pavan Vachhani > Sent: Samstag, 3. November 2018 20:33 > To: freebsd-net@freebsd.org > Subject: ECN+ Implementation > > NetApp Security WARNING: This is an external email. Do not click links or > open attachments unless you recognize the sender and know the content is > safe. > > > > > Hi, > I am trying to implement ECN+ (rfc5562 < > https://tools.ietf.org/html/rfc5562>) > in FreeBSD. > I am not able to figure out the code where SYN and SYN+ACK is sent and > received. > Please guide me to correct part of code. It was looking into tcp_input.c > and tcp_output.c but couldn't get it for sure. > Sorry for simple questions, I am a beginner. > > Thanks in advance. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >