(snapshot 4.8 / amd64)

Hello,

The restricted bgpd socket example in bgplgsh and bgplg should be
updated :

http://www.openbsd.org/faq/current.html#20100627
2010/06/27 - bgpd(8) options moved to config
bgpd(8) command-line options -s and -r to set the paths of the control
socket and the restricted control socket have been replaced with
settings in the configuration file.

Replace -s /path/to/bgpd.sock with socket "/path/to/bgpd.sock" in
bgpd.conf Replace -r /path/to/bgpd.rsock with socket
"/path/to/bgpd.rsock" restricted in bgpd.conf

-----
man bgplgsh:
      For example, set the following in /etc/rc.conf.local to start
          bgpd(8) using the second, restricted, control socket:

                bgpd_flags="-r /var/www/logs/bgpd.rsock"

man bgplg
          For example, set the following in /etc/rc.conf.local to start
          bgpd(8) using the second, restricted, control socket:

                bgpd_flags="-r /var/www/logs/bgpd.rsock"

Thanks, regards.
(no sendpr available here, sorry)

Reply via email to