From nobody Tue Oct 15 16:07:17 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XSfBG1FxKz5YdM0 for ; Tue, 15 Oct 2024 16:07:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSfBG0Bcyz4Lwf for ; Tue, 15 Oct 2024 16:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729008438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6PF94n+KPt0yTm7/+jiX0/WbJHjz5B6gFV8kX25yNUY=; b=E94MQYNdZDAWP6hFiB/rkBDAvXedSdNI2+dx36j7gEwwocWg+Cb2Ap3vrJWIeuVmOGZBSc Dg2beNT5aQpQDo1snxpZ2T8uZcuhDk+xTLkz+pH3sAaSwJrLh07RuzSUwJKncXXvbpE/lY A/7Ze5neRgTUM5spj+O+Wz7TeikCTleJUEJA0US2DaDNIvahTXsscWVNoKkWM108fGDhCq FM2vVm9iKoG7y1tcTJ9f5Dayzp1r2kDBA3gYrVyE/MRxBrGatxd66rmMb7yjO4xbcn94GF pZ9qsv6g111e2c3k2XfMVSYzR41m5n5ivR7xQWyYrkgdw+0iEuNTq8MX7h/Xzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729008438; a=rsa-sha256; cv=none; b=dopDZUwvot4taSsv9GcCpoBgDTBd1siXZXl7k/Tuke+hDetD6OCj0n9IUszTImEwP3NI0k qmFGVxY4xvjByiPz9LziDJx3lXt841wOtLIiFZU+PFZhPE58Bzdbml/2yjAukj3rU0Cayb yNT+kddqx+N7p5WtDidsQRUeOH5UzaS0ZSJf8n8v3ID4kUNiFFX2/ikmQhgC/Q+zPXGNUO vk5J9ilZDCydzZffatGyUob3tMrjEGJYvFvZPGUi3pQZ131vBNewNzVKrcaJLwjhMI3WJ0 Ov6haD8otCJbQjLNbD/ldnUvGzehyos1hfB0iZBAJc8XAltDtsdeD1l5pAUtbA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XSfBF6TRxzS2v for ; Tue, 15 Oct 2024 16:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49FG7HLI092610 for ; Tue, 15 Oct 2024 16:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FG7HjE092609 for net@FreeBSD.org; Tue, 15 Oct 2024 16:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 16:07:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219918 --- Comment #12 from Damjan Jovanovic --- (In reply to Kurt Jaeger from comment #10) EIM =3D endpoint-independent mapping, same abbreviation that is also used i= n RFC 6887 (if not more RFCs). They also used EDM =3D endpoint-dependent mapping (address and port-dependent mapping in RFC 4787). There are several problems with "full cone": - The RFC that invented the term, RFC 3489, is now obsolete, and the new version of it, RFC 5389, no longer uses that term. - All the NAT types described in RFC 3489 confused 2 different concepts: mapping (how packets change going out) and filtering (what can come back in= ). See the table below for a comparison of RFC 3489 and RFC 4787 terms under different settings. - When EIM and PKT_ALIAS_DENY_INCOMING are both set, it is no longer a "full cone" NAT, it would be a "port restricted cone" NAT instead. | | = | PKT_ALIAS_ | PKT_ALIAS_ | = | EIM | DENY_INCOMING | NAT type, by RFC = | Comment -----------+---------------+-----------------------------------------------= -+----------- unset | unset | RFC 4787: address and port-dependent mapping = | These are | | address and port-dependent filtering= | the only | | RFC 3489: "symmetric" NAT = | ways that -----------+---------------+-----------------------------------------------= -| libalias unset | set | RFC 4787: address and port-dependent mapping = | works | | address and port-dependent filtering= | at | | RFC 3489: "symmetric" NAT = | present. -----------+---------------+-----------------------------------------------= -+----------- set | unset | RFC 4787: endpoint-independent mapping = | My patch | | endpoint-independent filtering = | adds | | RFC 3489: "full cone" NAT = | these -----------+---------------+-----------------------------------------------= -| bottom set | set | RFC 4787: endpoint-independent mapping = | 2 rows | | address and port-dependent filtering= | as | | RFC 3489: "port restricted cone" NAT = | options. --=20 You are receiving this mail because: You are the assignee for the bug.=