From nobody Sun Oct 22 22:09:59 2023 X-Original-To: ports-bugs@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 4SDCDR5w2Bz4xtpS for ; Sun, 22 Oct 2023 22:09:59 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDCDR4rXlz3RMs for ; Sun, 22 Oct 2023 22:09:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698012599; a=rsa-sha256; cv=none; b=u7MAHlxXJIo4L0/xEEvljLaGzbYpkDrhhV6+v/fiKM69265CQ9jSlkyTcUiCRK/TYugcTb TJw8PjAVbTPi7CaqyRQH0Uhyeq7vXn6qD+z66jNZ3g0qFr+oR/V3asLCE6uH2wH2viDGYg Rci8bMRc056WdsMIegpEvQOLhgNytbnsw3SgoUSHH2phSEMaLCAnZMESbvfYrM/CaXc0An 4ze4zUHTcwysi5Ie1QHJBlQ8mpLC+EaHE/0zUMd0j+XTzl5jpmRzrFGGpKjoikJFtWCDK3 DOof1B4aVDvZVbWXiOP5BRx1Xda+Af2fHkY8iyba8LQxZQ03a0Fivod7BsnyvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698012599; 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; bh=rq5Uuw3hGYLtA1cq4yjky0eGT1jJuLOyybn/ZBGcW7E=; b=oOS5+HPMiQJSE21AqHUerJDL5j5gB9FEoRhsETf1rTzbqh5QgVFvFiMq2uPqnI/RiC7pON /ZSXmQ4oKm0VC4W6Khk9WmOx6YUizjFZIDiupaWGJS5i9kGjv6m81UQlgynMbsXp2inRxU KNlYpKua5Fc8b5fqe0HtFJx20deVSZCN1omsHWUwg6VdQNeZHkcmt2Gt2O6ieFRTn0LwNO EvoycoMLf9IxSBiglpOUVdNxXNwyWOq2YI7YlNE8ePCq1XJP54m4kASJabglMxduGlf+Rp cg1AqKBcrRRd9SlvOI+kpMH4UWM2lDJ3IPBEpf45XVCrmWL7fuhNl2BF2Svbig== 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 4SDCDR3pFqzS2 for ; Sun, 22 Oct 2023 22:09:59 +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 39MM9xn2059825 for ; Sun, 22 Oct 2023 22:09:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39MM9xZD059824 for ports-bugs@FreeBSD.org; Sun, 22 Oct 2023 22:09:59 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: ports-bugs@FreeBSD.org Subject: [Bug 274660] net/zerotier API/controller Date: Sun, 22 Oct 2023 22:09:59 +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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: wired2network@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dch@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274660 Bug ID: 274660 Summary: net/zerotier API/controller Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: dch@freebsd.org Reporter: wired2network@gmail.com Assignee: dch@freebsd.org Flags: maintainer-feedback?(dch@freebsd.org) Team, I am trying to get zerotier on OPNsense's FreeBSD to operate as a controlle= r. I attempted to use the API commands to elevate to a controller but get illegal variable using X-ZT1-Auth. CONTROLLER_ID=3D$(zerotier-cli info | cut -d' ' -f 3) curl -X POST \ -H "X-ZT1-Auth: $(cat /var/lib/zerotier-one/authtoken.secret)" \ -d '{"name":"love death and robots"}' \ "http://localhost:9993/controller/network/${CONTROLLER_ID}______" perhaps since I am using the wrong variable or API commands to perform this operation? I did attempt to force the files into the appropriate controller= .d folder to create a controller, which built out the associated folder housing the members. When I attempted to add nodes to this controller, the controll= er received the member files for authenticated, but everytime I change the st= atus to authorized: true, the system tends to revert it back to false. I also attempted to adjust the zerotier-one file to state true for the controller,= but this also resulted in not being able to authorize nodes. Can you please help point me in the right direction? "controller": true, "apiVersion": %d, "clock": %llu "databaseReady": %s --=20 You are receiving this mail because: You are the assignee for the bug.=