From owner-freebsd-hackers@freebsd.org Mon Jun 17 14:50:09 2019 Return-Path: Delivered-To: freebsd-hackers@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 3FB5A15BBCED for ; Mon, 17 Jun 2019 14:50:09 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81D926C699 for ; Mon, 17 Jun 2019 14:50:08 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: by mail-ed1-f51.google.com with SMTP id e3so16506510edr.10 for ; Mon, 17 Jun 2019 07:50:08 -0700 (PDT) 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; bh=bTJ5CYtcXounPesFAGrxAdB+R8uUzjobM2RBhmucizI=; b=cY9mk3yLGf1XrM2gmreix4Lu1Khc6W0GD4hmr0rAyp2rQ2n4e5w3z0ibZbTKOZq9G2 oXp7IMQUOVN8nTMv8VBbhCvpGS/MmZzwOrxWRClf05REzVqU86NZV7ODR4Z2SG9otkqN wM64DjmbeN9x4w9JbsxbaDqVtTrAjPXHZ6JDPBblB7F8WUqYZk0EtjuObfE1poK9OuGl QPCRdIfZwX5V9hZUdxSIvuFFM7LXkFZD3P/uG2loL/iWyPj5sMC7E6Ateg04ozo7wlg5 7EOggWAp5yieU5NYMdwwEvycIt9XQ3az+YaYMxaGPJK+iEJCLunqRhlwoR5BCJyjXISP w8BQ== X-Gm-Message-State: APjAAAWNt6X+wpcCgAUFbJlRDWlYVXGtrZUkpjzwwnwjDVOY96Ewt+5Q SH86MJ7GL+l/mBOOjx6PZwNWnGnF5hQ= X-Google-Smtp-Source: APXvYqzJb5ra8thm9fsYYbSmV+/4SB9LdoPZedhe95EniZHV5zaHjD92ONGoLAKtyXOaWWv4GV5EOQ== X-Received: by 2002:a17:906:7801:: with SMTP id u1mr56445923ejm.250.1560783006504; Mon, 17 Jun 2019 07:50:06 -0700 (PDT) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com. [209.85.208.45]) by smtp.gmail.com with ESMTPSA id i6sm3841101eda.79.2019.06.17.07.50.06 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 07:50:06 -0700 (PDT) Received: by mail-ed1-f45.google.com with SMTP id p15so16533366eds.8 for ; Mon, 17 Jun 2019 07:50:06 -0700 (PDT) X-Received: by 2002:a17:906:13c7:: with SMTP id g7mr35714705ejc.1.1560783005905; Mon, 17 Jun 2019 07:50:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shivank Garg Date: Mon, 17 Jun 2019 20:19:54 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: To: freebsd-hackers@freebsd.org X-Rspamd-Queue-Id: 81D926C699 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of shivankgarg98@gmail.com designates 209.85.208.51 as permitted sender) smtp.mailfrom=shivankgarg98@gmail.com X-Spamd-Result: default: False [-5.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.91)[-0.910,0]; DMARC_NA(0.00)[freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[51.208.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[shivank@freebsd.org,shivankgarg98@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[shivank@freebsd.org,shivankgarg98@gmail.com]; IP_SCORE(-2.27)[ip: (-5.55), ipnet: 209.85.128.0/17(-3.42), asn: 15169(-2.31), country: US(-0.06)]; TO_DOM_EQ_FROM_DOM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2019 14:50:09 -0000 Please ignore this mail On Mon, Jun 17, 2019 at 8:15 PM Shivank Garg wrote: > Hi, Everyone! > This project is aimed at developing a loadable MAC module with the "The > TrustedBSD MAC Framework" to limit the set of IP addresses a VNET-enabled > Jail can choose from. > > This Week- > - I compiled a basic MAC policy module which restricts from setting Jail's > IP address. > - Read about syctl. > - Wrote a test shell script and test cases for the module. > - I thought about the design and plausible improvements in design > > > Do Check this project on > Github: > https://github.com/shivankgarg98/freebsd/tree/shivank_MACPolicyIPAddressJail/sys/security/mac_ipacl > FreeBSD wiki: > https://wiki.freebsd.org/SummerOfCode2019Projects/MACPolicyIPAddressJail > > Please feel free to share your ideas and feedback on this project. > > Regards, > Shivank Garg >