From patchwork Tue Mar 27 21:50:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alejandro_P=C3=A9rez_M=C3=A9ndez?= X-Patchwork-Id: 891829 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=um.es Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MrVECDTe"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 409l8Q4G16z9s1P for ; Wed, 28 Mar 2018 08:51:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qQ6KWd7I0UJeFV5AR4aVLiNDcPrkq3Ng4tl8eFP5Hgc=; b=MrVECDTe2swmRs VJOCXHOYCh/wi4098wlDfXWr+f4umwM2ciErUfF44GIPpIdWtIVo0lcO0ktu1iDL4N8lXg+qQ0z/m QVbmTrZllb5bl9xSZmEj0b2jMekEp1d4olBAruQ+dY7YcjUeJStFcihmFHX1JO20WYpRhkf07VQd6 Y+JLVzMRLZz/HMzH8aS3BNOWn+IEh0SHfaKQaKT7IhaAxSJ0PCrlbsecipX+yeAnd/OmY1sDka/0Q U20nOIKibTll5aqmG+QGLtsvi6Kp6aiTnqLy91wYMMgDjO5M8OSlk+uiGolR6M+ezSecRRYQtyLK2 Ouzp2o3YjXTaTYwSMgKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0wV8-0004sa-5f; Tue, 27 Mar 2018 21:51:30 +0000 Received: from xenon43.um.es ([155.54.212.170]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0wUs-0004qt-6Z for hostap@lists.infradead.org; Tue, 27 Mar 2018 21:51:16 +0000 Received: from localhost (localhost [127.0.0.1]) by xenon43.um.es (Postfix) with ESMTP id D9A8E20C57 for ; Tue, 27 Mar 2018 23:50:48 +0200 (CEST) X-Virus-Scanned: by antispam in UMU at xenon43.um.es Received: from xenon43.um.es ([127.0.0.1]) by localhost (xenon43.um.es [127.0.0.1]) (amavisd-new, port 10024) with LMTP id B8p-wdgRDC6E for ; Tue, 27 Mar 2018 23:50:48 +0200 (CEST) Received: from [192.168.100.27] (unknown [185.154.58.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: alex) by xenon43.um.es (Postfix) with ESMTPSA id B89C4201B9 for ; Tue, 27 Mar 2018 23:50:48 +0200 (CEST) To: hostap@lists.infradead.org From: =?utf-8?q?Alejandro_P=C3=A9rez_M=C3=A9ndez?= Subject: [PATCH] - Add definitions for RADIUS attributes standardised in RFC 7055. Message-ID: Date: Tue, 27 Mar 2018 23:50:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180327_145114_415994_E93C4CB3 X-CRM114-Status: GOOD ( 11.52 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [155.54.212.170 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add definitions for RADIUS attributes standardised in RFC 7055.     hostap code is used by the Moonshot software (an implementation of the     GSS EAP mechanism - RFC 7055), and those definitions are required     but missing.     Signed-off-by: Alejandro Perez diff --git a/src/radius/radius.h b/src/radius/radius.h index 96551c62e..a75922d44 100644 --- a/src/radius/radius.h +++ b/src/radius/radius.h @@ -102,6 +102,10 @@ enum { RADIUS_ATTR_USER_NAME = 1,         RADIUS_ATTR_EXTENDED_LOCATION_POLICY_RULES = 130,         RADIUS_ATTR_LOCATION_CAPABLE = 131,         RADIUS_ATTR_REQUESTED_LOCATION_INFO = 132, +       RADIUS_ATTR_GSS_ACCEPTOR_SERVICE_NAME = 164, +       RADIUS_ATTR_GSS_ACCEPTOR_HOST_NAME = 165, +       RADIUS_ATTR_GSS_ACCEPTOR_SERVICE_SPECIFICS = 166, +       RADIUS_ATTR_GSS_ACCEPTOR_REALM_NAME = 167,         RADIUS_ATTR_MOBILITY_DOMAIN_ID = 177,         RADIUS_ATTR_WLAN_HESSID = 181,         RADIUS_ATTR_WLAN_REASON_CODE = 185,