From owner-freebsd-ports-bugs@freebsd.org Sun Oct 11 10:53:06 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DA37A0FC8B for ; Sun, 11 Oct 2015 10:53:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B3EA1E46 for ; Sun, 11 Oct 2015 10:53:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9BAr64W029776 for ; Sun, 11 Oct 2015 10:53:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203695] [patch] net/mpd5: Add RFC 4638 client support (PPPoE MTU > 1492) Date: Sun, 11 Oct 2015 10:53:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: david@wood2.org.uk X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mav@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 10:53:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203695 Bug ID: 203695 Summary: [patch] net/mpd5: Add RFC 4638 client support (PPPoE MTU > 1492) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mav@FreeBSD.org Reporter: david@wood2.org.uk Keywords: patch Assignee: mav@FreeBSD.org Flags: maintainer-feedback?(mav@FreeBSD.org) Created attachment 161904 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161904&action=edit Patch adding RFC 4638 client support (generated using svn diff) Kernel support for the RFC 4638 PPP-Max-Payload tag was added to HEAD in base r287654 and MFCed to stable/10 in base r288918 . The user space support has been developed by Dmitry Luhtionov, one of the mpd5 maintainers. I backported the RFC 4638 support to mpd-5.7, debugged and tested it - see https://sourceforge.net/p/mpd/bugs/54/#14d2 for details. The attached patch is is patch-rfc4638 and patch-rfc4638-supplementary from the bug comment merged together, then split into one source file per patch file, following normal FreeBSD ports tree practice. I have built and tested the resulting port on my machine, which works correctly. The patch should not affect the compilation or operation of mpd5 on machines that lack kernel support for the PPP-Max-Payload tag. DOCUMENTATION To set an MTU less than or equal to 1492: set link mtu (as normal) To set an MTU greater than 1492: set pppoe max-payload (do not use set link mtu, as this leads to a configuration error before being ignored) IMPORTANT You must set the MTU of the interface(s) used for PPPoE to a minimum of 8 bytes higher than the desired PPPoE MTU. This means jumbo frame support is required for a PPPoE MTU > 1492. -- You are receiving this mail because: You are the assignee for the bug.