Hello. I have two questions about bird2. 1. I've seen that you can use "debug channels all;" can turn on the channel log. Unfortunately I couldn't do that. Is this right? If I do so, I get "/etc/bird/bird.conf:22:7 syntax error, unexpected CF_SYM_UNDEFINED, expecting PROTOCOLS or COMMANDS or LATENCY" 2. I built various filters. I can also see my print message in the log. Can I also have this message displayed when I call up "birdc show route filtered". So which filter took effect? Or do I need another command for this? Best wishes pr0
On Fri, Jul 09, 2021 at 01:39:15PM +0200, pr0j3ctx wrote:
Hello.
I have two questions about bird2.
1. I've seen that you can use "debug channels all;" can turn on the channel log. Unfortunately I couldn't do that. Is this right?
Hello This should work in 2.0.8, would not work if you have older version.
2. I built various filters. I can also see my print message in the log. Can I also have this message displayed when I call up "birdc show route filtered". So which filter took effect? Or do I need another command for this?
No, the command 'birdc show route filtered' do not run filters, just show saved filtered routes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi.
1. I've seen that you can use "debug channels all;" can turn on the channel log. Unfortunately I couldn't do that. Is this right? This should work in 2.0.8, would not work if you have older version. I am on 2.0.7. I will try again after an update. 2. I built various filters. I can also see my print message in the log. Can I also have this message displayed when I call up "birdc show route filtered". So which filter took effect? Or do I need another command for this? No, the command 'birdc show route filtered' do not run filters, just show saved filtered routes.
Can I see my 'print' output anywhere else on the route? With another command? Or any indication by which filter this route was filtered? Bye pr0
On Fri, Jul 09, 2021 at 08:11:56PM +0200, pr0j3ctx wrote:
Hi.
1. I've seen that you can use "debug channels all;" can turn on the channel log. Unfortunately I couldn't do that. Is this right? This should work in 2.0.8, would not work if you have older version. I am on 2.0.7. I will try again after an update. 2. I built various filters. I can also see my print message in the log. Can I also have this message displayed when I call up "birdc show route filtered". So which filter took effect? Or do I need another command for this? No, the command 'birdc show route filtered' do not run filters, just show saved filtered routes.
Can I see my 'print' output anywhere else on the route? With another command?
No, it is not saved. I thought that it could be handled by using custom route attribute (so you could assign the failure description there), but seems that they are not supported for string type. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Ondrej Zajicek -
pr0j3ctx