Configuring Added Commands to Work - BGPLG

2018-08-13 Thread MonsieurFugu
At the risk of sounding like a dumb ass, I'm not really sure how to ask this or if I'm even in the right place in regards to my problem, but how do you configure the "bgplg.h" file to make externally added commands work properly? Inside the .h file is a "cmd" struct, which seems to define the

Re: Adding New Commands to BGP Looking Glass?

2018-07-23 Thread MonsieurFugu
Thanks for the reply, So my first step was getting the "mtrace" source files and copying them into the "/usr/src/usr.bin/bgplg/" directory, as that is the location of all the other commands like ping and traceroute. I also added a copy of the executable into "/var/www/bin/", as the other commands

Adding New Commands to BGP Looking Glass?

2018-07-19 Thread MonsieurFugu
Hi OpenBSD forum, I've recently set up a BGPLG and I've been trying to add "mtrace" to the drop down command list, but I've been having a bit of trouble getting it to work and was wondering if anyone could point me in the right direction to get it working. I've configured the "bgplg.c" to define

Re: Adding New Commands to BGP Looking Glass?

2018-07-24 Thread MonsieurFugu
> It is not clear whether you rebuilt bgplg or not. > Also mtrace binary needs to be built statically. I restarted the console and used the following commands; # /etc/rc.d/httpd start # /etc/rc.d/bgpd start But I don't think that "rebuilt" the BGPLG. How do I do that? Okay yeah I definitely

Re: Adding New Commands to BGP Looking Glass?

2018-07-24 Thread MonsieurFugu
Sorry for the replies in quick succession, I just wanted to thank you- yup, those commands got "mtrace" to appear! :D Now all I have to do is configure the bgplg.h file to make the mtrace command work properly, should be easy peasy Thanks again dude! -- Sent from:

Re: Adding New Commands to BGP Looking Glass?

2018-07-24 Thread MonsieurFugu
Thank you for the reply, Okay that's good to know- I'm getting a couple errors but I can probably iron them out. So do I need to do that set of commands every time I add something new to the "bgplg.c" file? Should those commands detect "mtrace" automatically or do I need to do something else?

Re: CVS Download: Timeout Error

2018-07-10 Thread MonsieurFugu
Thanks for the reply, Yeah I thought it was something to do with the ports but I'm honestly not great with networking at the best of times, let alone on an OS that's new to me. Sure, I'm sorry I misspoke a few times there- I meant the source code and I used the disable PF command which I thought

CVS Download: Timeout Error

2018-07-09 Thread MonsieurFugu
Hi OpenBSD forum, I'm new to OpenBSD and I'm running into an issue downloading the CVS libraries and I cannot figure out the problem. I've downloaded the libs before but the vm I was using got corrupted, and after following the same steps as before I keep getting this error: host$ cvs -qd