[Bug 274660] net/zerotier API/controller
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Oct 2023 22:09:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274660 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 controller. I attempted to use the API commands to elevate to a controller but get illegal variable using X-ZT1-Auth. CONTROLLER_ID=$(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 controller received the member files for authenticated, but everytime I change the status 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 -- You are receiving this mail because: You are the assignee for the bug.