Add bgplgd a fastcgi daemon that provide a REST JSON api to bgpctl.
authorclaudio <claudio@openbsd.org>
Tue, 28 Jun 2022 16:11:30 +0000 (16:11 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 28 Jun 2022 16:11:30 +0000 (16:11 +0000)
commite76e7180ef44bd7168efdb5e33737f0b23c51e48
tree065b0d2f30d493f5be072283442d3aba493acc4c
parent2eb829ff4383204b3c3b4d6e98c1cfbfe5c66cce
Add bgplgd a fastcgi daemon that provide a REST JSON api to bgpctl.
Most code stolen from slowcgi, it just exec bgpctl with -j.
Put it in tb@ deraadt@
usr.sbin/bgplgd/Makefile [new file with mode: 0644]
usr.sbin/bgplgd/bgplgd.8 [new file with mode: 0644]
usr.sbin/bgplgd/bgplgd.c [new file with mode: 0644]
usr.sbin/bgplgd/bgplgd.h [new file with mode: 0644]
usr.sbin/bgplgd/http.h [new file with mode: 0644]
usr.sbin/bgplgd/qs.c [new file with mode: 0644]
usr.sbin/bgplgd/slowcgi.c [new file with mode: 0644]
usr.sbin/bgplgd/slowcgi.h [new file with mode: 0644]