Could bgp password include double quotation character "?

Ondrej Filip feela at network.cz
Fri Dec 1 09:21:54 CET 2017


On 30.11.2017 22:50, Eugene Qian wrote:
> Hi All,

Hi Eugene,
at this moment, password cannot contain those two symbols: '"' and '\n'.

		Ondrej


> 
> How could I include double quotation in bgp password?
> 
> in my config file
> 
> protocol bgp AS_64496 from ABC {
>   description "BIRD BGP instance AS_64496";
>   multihop;
>   neighbor x.y.z.3 as 65002;
>   source address a.b.c.29;     # What local address we use for the TCP
> connect
>   password "a1s@"xyz";
>   import all;
>   export where proto = "static_bgp";
> }
> 
> password "a1s@"xyz";
> 
> I tried to use \ to escape or use single quotation for password, the
> bird will give me this error
> 
> /opt/bird/etc/bird.conf, line 30: syntax error
> 
> What is the restriction on password?
> 
> Thanks
> -Eugene



More information about the Bird-users mailing list