From nobody Sun Apr 17 16:09:47 2022 X-Original-To: freebsd-virtualization@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 52EF111D8961 for ; Sun, 17 Apr 2022 16:10:00 +0000 (UTC) (envelope-from erik@nstr.no) Received: from pv50p00im-ztdg10011301.me.com (pv50p00im-ztdg10011301.me.com [17.58.6.40]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4KhFQH4M3Lz3wRx for ; Sun, 17 Apr 2022 16:09:59 +0000 (UTC) (envelope-from erik@nstr.no) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nstr.no; s=sig1; t=1650211793; bh=x6f/Q7GHgPEPQ7ayeIW6DwRypX/d4TBxiMgr/JaObF4=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=KyaZycbnn5ra+9kCUhB6UPm390B/DyiYQNNjMiPhRnBXGtwFqTDgAz3zyIFCN1dId 8x3h4RASl80vsHtypNeUJSHWoEp6UG4ELSdZuexfMhDkX52AicL8UBvgV8HVsjsph3 jI7aCIsJAveTv2FKp+yGpfZShIk2ix9jlk0KdIB73M+OGi8JvLGy58I37GtfYNnUSG fvOXSV0Zt/MTg3JC95rXkZvxwUGYu8sU3D6Tn3WMXKI+nNVVFHhoTwAZqpYXZCpmig pb3c/AyD8GZTMdM/xphnN9zz0ZS4qi/EkbUE3AVG2zF4fHJsgyYb2JERFMUvExuMo4 po8TA874fjuCA== Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 8AD08180265; Sun, 17 Apr 2022 16:09:50 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-F7683A40-054F-4D37-B77A-C89EE11C479F Content-Transfer-Encoding: 7bit From: Erik N List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (1.0) Subject: =?utf-8?Q?Re:_Anyone_have_a_copy_of_the_work_that_Joyent_did_on_?= =?utf-8?Q?FreeBSD_=E2=80=9CVPC=E2=80=9D_software_defined_network?= =?utf-8?Q?ing=3F?= Date: Sun, 17 Apr 2022 18:09:47 +0200 Message-Id: References: Cc: freebsd-virtualization@freebsd.org In-Reply-To: To: Mark Peek X-Mailer: iPhone Mail (19D52) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486,18.0.858 definitions=2022-04-16_09:2022-04-15,2022-04-16 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1030 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2204170111 X-Rspamd-Queue-Id: 4KhFQH4M3Lz3wRx X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nstr.no header.s=sig1 header.b=KyaZycbn; dmarc=none; spf=pass (mx1.freebsd.org: domain of erik@nstr.no designates 17.58.6.40 as permitted sender) smtp.mailfrom=erik@nstr.no X-Spamd-Result: default: False [-0.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16:c]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[nstr.no:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.966]; RECEIVED_SPAMHAUS_PBL(0.00)[17.56.9.10:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.40:from]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nstr.no:s=sig1]; FREEFALL_USER(0.00)[erik]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[nstr.no]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization]; RWL_MAILSPIKE_VERYGOOD(0.00)[17.58.6.40:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail-F7683A40-054F-4D37-B77A-C89EE11C479F Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Mark but as mentioned that=E2=80=99s not it. Erik > On 17 Apr 2022, at 16:58, Mark Peek wrote: >=20 > =EF=BB=BF > Perhaps this? > https://github.com/joyent/freebsd-vpc >=20 > Mark >=20 >> On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci = wrote: >> I may be able to get ahold of Brian Cantrill. He's likely the best PoC t= oo. >>=20 >>> On Sun, Apr 17, 2022 at 2:49 AM Erik N wrote: >>> I was watching this presentation from BSDCan 2018, by Sean Chittenden, t= itled =E2=80=9CIntroducing FreeBSD VPC=E2=80=9D. >>>=20 >>> The video recording of said presentation is at https://youtu.be/La4ekkKb= M5o and slides are at https://papers.freebsd.org/2018/chittenden-freebsd_vpc= .files/chittenden-freebsd_vpc-slides.pdf >>>=20 >>> The presentation details enhancements to FreeBSD, to allow efficient pri= vate networking between bhyve guests as well as jails on overlay networks, r= unning across separate FreeBSD hosts. This, according to the presentation, c= omes in the form of a suite of VXLAN-related network interfaces. >>>=20 >>> =46rom two of the slides: >>>=20 >>> vpc(4) Interfaces >>> vpcsw(4) - switches packets - one packet per customer, multiple subnets s= upported in the same switch >>> vmnic(4) - dedicated guest NIC, looks like a virtio network device to gu= ests >>> vpcp(4) - plugs vmnic(4) ports into vpcsw(4) switches vpci(4) - Non-bhyv= e(4) interface, usable in jails(2) >>> ethlink(4) - Performs unencapsulated packet forwarding, wraps a cloned o= r physical ethernet interface >>> vpclink(4) - Performs VXLAN encapsulation >>>=20 >>> New System Calls >>> vpc_open(2) - Creates a new VPC descriptor vpc_ctl(2) - Manipulates VPC d= escriptors Capsicum-like, intended for privilege separation Intended for ide= mpotent tooling >>> Makes aggressive use of UUIDs as operator handles to be compatible with T= riton >>>=20 >>> At the very end of the presentation slides are links to for kernel code a= nd kernel library code on GitHub: >>>=20 >>> https://github.com/joyent/freebsd/tree/projects/VPC >>>=20 >>> https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.fr= eebsd.org/sys/vpc >>>=20 >>> Unfortunately, the whole repository on GitHub is gone. 404. And I couldn= =E2=80=99t find any forks of it either. >>>=20 >>> Does anyone have a copy of the VPC branch that Joyent had in that reposi= tory? >>>=20 >>> All that seems to be left of the project on Joyent's GitHub is a separat= e, archived repository https://github.com/joyent/freebsd-vpc that only has c= ode for a utility that would interact with the code from the aforementioned n= ow gone repository. >>>=20 >>> Erik N. >>=20 >>=20 >> --=20 >> Philip M. Gollucci >> IT Executive and Engineering Leader >> http://www.linkedin.com/in/pgollucci/ >> 301.818.0719 >>=20 >> TRULY HUMAN NOTICE: Getting this email out of normal working hours? We w= ork at a digitally-enabled relentless pace, which can disrupt our ability to= sleep enough, eat right, exercise, and spend time with the people that matt= er most. I am sending you this email at a time that works for me. I only exp= ect you to respond to it when convenient to you. >>=20 --Apple-Mail-F7683A40-054F-4D37-B77A-C89EE11C479F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Mark but as mentioned that=E2=80=99= s not it.

Erik

On 17 Apr 2022, at 16:58, Mark Peek <mp@freebsd.org> wr= ote:

=EF= =BB=BF

On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci <pgollucci@p6m7g8.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft:1px solid rgb(204,204,204);padding-left:1ex">
I= may be able to get ahold of Brian Cantrill.  He's likely the best PoC t= oo.

On Sun, Apr 17, 2022 at 2:49 AM Erik N <erik@nstr.no> wrote:
I was watching this pres= entation from BSDCan 2018, by Sean Chittenden, titled =E2=80=9CIntroducing Fre= eBSD VPC=E2=80=9D.


The presentation details enhancements to FreeBSD, to allow efficient priv= ate networking between bhyve guests as well as jails on overlay networks, ru= nning across separate FreeBSD hosts. This, according to the presentation, co= mes in the form of a suite of VXLAN-related network interfaces.
=46rom two of the slides:

vpc(4) I= nterfaces
vpcsw(4) - switches packets - one packet per customer, m= ultiple subnets supported in the same switch
vmnic(4) - dedicated g= uest NIC, looks like a virtio network device to guests
vpcp(4) - p= lugs vmnic(4) ports into vpcsw(4) switches vpci(4) - Non-bhyve(4) interface,= usable in jails(2)
ethlink(4) - Performs unencapsulated packet fo= rwarding, wraps a cloned or physical ethernet interface
vpclink(4)= - Performs VXLAN encapsulation

New Syst= em Calls
vpc_open(2) - Creates a new VPC descriptor vpc_ctl(2) - M= anipulates VPC descriptors Capsicum-like, intended for privilege separation I= ntended for idempotent tooling
Makes aggressive use of UUIDs as op= erator handles to be compatible with Triton

A= t the very end of the presentation slides are links to for kernel code and k= ernel library code on GitHub:

Unfortunately, the whole repository on GitHub is gone. 404. And I= couldn=E2=80=99t find any forks of it either.

Does= anyone have a copy of the VPC branch that Joyent had in that repository?



= --
Philip M. Gollu= cci
IT Executive and Eng= ineering Leader
http://www.linkedin.com/in/pgollucci/<= /div>
301.818.0719

TRULY HUMAN NOTICE:=   Getting this email out of normal working hours? We work at a dig= itally-enabled relentless pace, which can disrupt our ability to sleep enoug= h, eat right, exercise, and spend time with the people that matter most. I a= m sending you this email at a time that works for me. I only expect you to r= espond to it when convenient to you.=

= --Apple-Mail-F7683A40-054F-4D37-B77A-C89EE11C479F--