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: Adding New Commands to BGP Looking Glass?

2018-07-24 Thread Sebastian Benoit
MonsieurFugu(aleks.mcallis...@gmail.com) on 2018.07.24 03:48:11 -0700: > > 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

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-23 Thread Denis Fondras
> Do you see where I might've gone wrong? I know that my definition in the .h > file is wrong, but I'm trying to get this working in baby steps, and perhaps > I was mistaken but I thought that having a duplicated function would still > make it appear in the bgplg menu. Is there anything obvious

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

Re: Adding New Commands to BGP Looking Glass?

2018-07-20 Thread Denis Fondras
> If you need specifics I can certainly supply screenshots or code snippets. > It's probably something obvious that I'm just not seeing, but any help would > be greatly appreciated. > Can you show some diff and detailed steps please ?