Could bgp password include double quotation character "?
Hi All, 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
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
participants (2)
-
Eugene Qian -
Ondrej Filip