bird/doc
Ondrej Zajicek (work) c1632ad0f3 OSPF: Fix handling of unnumbered PtPs
This issue has a long history. In 2012, we changed data field for
unnumbered PtP links from iface id (specified by RFC) to IP address based
on reports of bugs in Quagga that required it, and we used out-of-band
information to distinquish unnumberred PtPs with the same local IP
address.

Then with OSPF graceful restart implementation, we found that we can no
longer use out-of-band information, and we need to use only LSAdb info
for routing table calculation, but i forgot to finish handling of this
case, so multiple unnumbered PtPs with the same local IP addresses were
broken.

Considering that even recent Mikrotik RouterOS has broken next hop
calculation that depends on IP address in PtP link data field, we
cannot just switch back to the iface id for unnumbered PtP links.

The patch makes two changes: First, it goes back to use out-of-band
(position) info for distinguishing local interfaces in SPF when graceful
restart is not enabled, while still uses LSAdb-only approach for SPF
calculation when graceful restart is enabled.

Second, it adds OSPF interface option 'ptp address', which controls
whether IP address or iface id is used in data field. It is enabled
by default except for unnumbered PtP links with enabled graceful
restart.

Thanks to Kenth Eriksson for the bugreport and Joakim Tjernlund for
suggestions.
2020-05-26 18:21:43 +02:00
..
old Moved old TeX documents to old/ to make them not interfere with doc building. 2000-05-31 11:28:07 +00:00
sbase Doc: Fix deprecated unescaped braces in perl script 2016-10-12 09:52:55 +02:00
slides Added slides for our presentation, but don't export them to the 2000-06-26 20:02:30 +00:00
slt2001 Added paper for my talk about BIRD at SLT 2001. 2001-01-19 20:30:08 +00:00
tex Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
bird.conf.example Doc: Redesign default config file 2018-03-20 19:28:26 +01:00
bird.conf.example2 Doc: Fix example 2018-01-23 14:26:18 +01:00
bird.sgml OSPF: Fix handling of unnumbered PtPs 2020-05-26 18:21:43 +02:00
kernel-doc Don't print empty synopses of functions. 2000-06-05 21:01:58 +00:00
LinuxDocTools.pm Doc: Fix typo in previous LinuxDoc change 2018-12-11 18:43:58 +01:00
Makefile Filters: VPN Route Distinguishers, Prefix Type, Docs Update 2017-03-13 13:51:20 +01:00
prog-foot.sgml Use <chapt> for chapters, <sect> for sections and <sect1> for subsections. 2000-06-02 17:23:53 +00:00
prog-head.sgml Ondrej Zajicek add to the team. 2009-08-16 22:41:07 +02:00
prog-intro.sgml Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
prog-root Doc: Move root of code documentation to doc dir 2018-12-14 01:53:32 +01:00
prog-spell.sed Added `progspell' target which runs ispell on the progdoc SGML file with 2000-06-07 12:27:18 +00:00
reply_codes Nest: Add command to request graceful restart 2019-06-30 21:29:24 +02:00
sgml2html Doc: Detect SP/OpenSP automatically 2019-02-19 18:20:07 +01:00
sgml2latex Doc: Detect SP/OpenSP automatically 2019-02-19 18:20:07 +01:00
sgml2txt Doc: Detect SP/OpenSP automatically 2019-02-19 18:20:07 +01:00