1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
|
2004-09-12 Paul Jakma <paul@dishone.st>
* ospf_packet.c: Fix bugzilla #107
(ospf_packet_max) get rid of the magic 88 constant
(ospf_swab_iph_ton) new function. set ip header to network order,
taking BSDisms into account.
(ospf_swab_iph_toh) the inverse.
(ospf_write) Add support for IP fragmentation, will only work on
linux though, other kernels make it impossible. get rid of the
magic 4 constant.
(ospf_make_ls_upd) Bound check to end of stream, not to
interface mtu.
(ospf_ls_upd_packet_new) New function, allocate upd packet
taking oversized LSAs into account.
(ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
rather than statically allocating mtu sized packet buffer, which
actually was wrong - it didnt take ip header into account, which
should not be included in packet buffer.
(ospf_ls_upd_send_queue_event) minor tweaks and remove
TODO comment.
2004-08-31 David Wiggins <dwiggins@bbn.com>
* ospf_spf.c (ospf_spf_calculate): Many more comments and debug
print statements. New function ospf_vertex_dump used in debugging.
2004-08-31 David Wiggins <dwiggins@bbn.com>
* ospf_spf.h (struct vertex): Comments for flags and structure members.
2004-08-31 David Wiggins <dwiggins@bbn.com>
* ospf_route.c: When finding an alternate route, log cost as well.
2004-08-31 David Wiggins <dwiggins@bbn.com>
* ospf_interface.c (ospf_lookup_if_params): Initialize af in
struct prefix allocated on stack.
2004-08-31 David Wiggins <dwiggins@bbn.com>
* ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
acks to AllSPFRouters, rather than All-DR.
2004-08-27 Hasso Tepper <hasso at quagga.net>
* ospf_vty.c: Don't print ospf network type under interface only
if interface is in broadcast mode and interface type really is
broadcast. Fixes Bugzilla #108.
2004-08-27 David Wiggins <dwiggins@bbn.com>
* ospf_spf.c (ospf_nexthop_calculation): Initialize address family
in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
calculation.
2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
* ospf_packet.c (ospf_recv_packet): adjust size declaration of
buffer used to get interface index so that it compiles on other
than Linux and includes the required alignment space. Probably
this was only working on sparc/sparc64 because most of
sockaddr_dl was not being written.
2004-08-19 Paul Jakma <paul@dishone.st>
* ospf_packet.c: update to match sockopt renames.
2004-08-04 Paul Jakma <paul@dishone.st>
* ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
Compare only against list head - all nexthops must be same cost
anyway, fixes a reference-listnode-after-delete bug noted by
Kir Kostuchenko.
(ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
candidates attached to root.
2004-07-27 Paul Jakma <paul@dishone.st>
* ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
last fix for ospfd wedging due to oversize LSAs: dont list loop on
ospf_ls_upd_queue_send() - guaranteed segfault.
2004-07-27 Paul Jakma <paul@dishone.st>
* ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
the LSA as then free_opaque_info_per_id() can never unlock (and
free) the LSA. Reported by Gunnar Stigen.
2004-07-23 Paul Jakma <paul@dishone.st>
* ospf_network.c: Replace PKTINFO/RECVIF with call to
setsockopt_pktinfo
* ospf_packet.c: Use getsockopt_pktinfo_ifindex and
SOPT_SIZE_CMSG_PKTINFO_IPV4.
2004-07-14 Paul Jakma <paul@dishone.st>
* ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
problem reported by Peter Frost amongst others, where function
will spin indefinitely if update list contains LSAs greater than
MTU-headers or other condition leading to update list never being
cleared. Problem of what to do with these LSAs remains.
(ospf_make_ls_upd) add comment about large LSA problem,
indentation cleanup.
2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
* Makefile.am (lib_LTLIBRARIES): make libospf shared
2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
* Makefile.am: Add shlib support.
2004-06-10 Hasso Tepper <hasso@estpak.ee>
* *: Removed ifdefs HAVE_NSSA.
2004-06-06 Paul Jakma <paul@dishone.st>
* ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
2004-05-31 Sagun Shakya <sagun.shakya@sun.com>
* ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
index is out of range.
ospf_flood.c: endianness fix
ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
in various places.
2004-05-10 Hasso Tepper <hasso@estpak.ee>
* ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
to ospf_zebra.c from ospfd.c and add redistribution updates if
route-map is used in redistribution.
* ospf_main.c: Remove now useless call to ospf_init().
2004-05-08 Paul Jakma <paul@dishone.st>
* ospf_zebra.c: Sync with lib/zclient changes
2004-05-05 Paul Jakma <paul@dishone.st>
* ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
defined. Warn at compile and runtime. Use
IPTOS_PREC_INTERNETCONTROL otherwise.
* ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
some of the checks up to ospf_read, return either a
virtual link oi, or NULL.
(ospf_read) Cleanup, make it responsible for checks. Remove
the nbr lookup - moved to ospf_neighbor. Adjust all nbr
lookups to use new wrappers exported by ospf_neighbor.
* ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
* ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
neighbour table by router-id for virtual-link ospf_interfaces,
not by peer_addr (which breaks for asymmetric vlinks)
(ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
above.
* ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
address for either end of a virtual-link, and hence potential cost
changes.
2004-04-22 Hasso Tepper <hasso@estpak.ee>
* ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
to "summarize" routes in ASBR at the moment.
2004-04-20 Hasso Tepper <hasso@estpak.ee>
* ospfd.c: Unset NP flag if area is going to be normal or stub.
Fixes UNH OSPF_NSSA.1.2a comment.
* ospf_abr.c: Originate default into stub/nssa area even if
summaries are disabled.
* ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
2004-04-19 Hasso Tepper <hasso@estpak.ee>
* ospf_vty.c: Don't warn that export- and import-list can't be
configured to backbone area if they are applied and are working
fine.
2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
* ospf_packet.c: Don't drop packets in Solaris x86.
[quagga-dev 1005].
2004-03-18 Amir Guindehi <amir@datacore.ch>
* ospf_opaque.c: Attempt to correct the incorrect behavior of
Quagga's ospfd in the special situation that a node's opaque
capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
* ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
should be configured with the highest cost path within the range,
not lowest.
2004-02-17 Paul Jakma <paul@dishone.st>
* ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
params, nor the interface structure, if an interface delete
message is received from zebra.
* ospf_interface.c: (ospf_if_delete_hook) Delete the interface
params and interface, ie that which was previously removed in
(ospf_interface_delete) above.
2004-02-11 Hasso Tepper <hasso@estpak.ee>
* ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
if oi doesn't exist any more.
2004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
* ospf_packet.c (ospf_ls_upd): Router should flush received network
LSA if it was originated with older router-id ([zebra 14710] #6).
2003-12-08 Mattias Amnefelt <mattiasa@kth.se>
* ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
network byte order.
2003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
* ospfd.c (ospf_network_match_iface): Rewrite code for clarity
while trying not to change semantics. Add ifdefed-out code to
avoid matching ppp interfaces whose destination address does not
also match the prefix under consideration, to help out people with
problems due to as-yet-unfixed bugs with p2p interfaces coming and
going.
2003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
* ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
node in body of the loop to avoid chance that route node
is unlocked and deleted before the next iteration tries to
get next route node.
2003-05-24 Kenji Yabuuchi
* ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
match for interface lookup.
2003-05-18 Hasso Tepper <hasso@estpak.ee>
* ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
output
2003-05-16 Hasso Tepper <hasso@estpak.ee>
* ospf_lsa.c: Fix handling of NSSA
2003-04-23 Hasso Tepper <hasso@estpak.ee>
* ospf_vty.c: fix "router xxx" node commands in vtysh
2003-04-19 Hasso Tepper <hasso@estpak.ee>
* {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
* ospf_routemap.c: sync daemon's route-map commands to have same
syntax.
2003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
* ospf_packet.c: Add missing param to zlog
* ospf_flood.c: remove unused vars
2003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
* ospf_interface.c: fix incorrect memset
2003-04-10 Amir Guindehi <amir@datacore.ch>
* ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
2003-04-03 David Watson <dwatson@eecs.umich.edu>
* ospf_lsa.c: byte order fix
2002-03-17 Amir Guindehi <amir@datacore.ch>
* ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
* ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
* ospfclient: OSPFAPI demonstration client.
2003-01-23 Masahiko Endo <endo@suri.co.jp>
* ospf_ism.c: NSM event schedule bug fix.
2002-10-30 Greg Troxel <gdt@ir.bbn.com>
* ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
2002-10-23 endo@suri.co.jp (Masahiko Endo)
* ospf_opaque.c: Update Opaque LSA patch.
2002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
* ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
2002-10-23 Juris Kalnins <juris@mt.lv>
* ospf_interface.c (ospf_if_stream_unset): When write queue
becomes empty stop write timer.
2002-10-10 Greg Troxel <gdt@ir.bbn.com>
* ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
conform to RFC.
2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* zebra-0.93 released.
2002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
(ospf_lsa_has_link): LSA Length calculation fix. Reported by:
Paul Jakma <paulj@alphyra.ie>.
* ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
by: juris@mt.lv.
2002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
2001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_interface.c (ospf_add_to_if): Use /32 address to register
OSPF interface information.
(ospf_delete_from_if): Likewise.
* ospf_zebra.c (ospf_interface_address_delete): Likewise.
2001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospf_zebra.c (ospf_redistribute_unset): When redistribute type
is OSPF, do not unset redistribute flag.
2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* zebra-0.92a released.
2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* zebra-0.92 released.
2001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospfd.c (ospf_config_write): auto-cost reference-bandwidth
configuration display.
2001-07-24 David Watson <dwatson@eecs.umich.edu>
* ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
check for an existing link before connecting the parent and child.
ospf_nexthop_calculation is also modified to check for duplicate
entries when copying from the parent. Finally, ospf_spf_next
removes duplicates when it merges two equal cost candidates.
2001-07-23 itojun@iijlab.net
* ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
[zebra 8549].
2001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
it work on OpenBSD.
2001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (config_write_ospf_default_metric): Display
default-metric configuration.
2001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
2001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
crush.
(ospfIfMetricEntry): Likewise.
2001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
Lin'Kova" <jen@stack.net>.
2001-03-15 Gleb Natapov <gleb@nbase.co.il>
* ospf_interface.c (ip_ospf_network): Set interface parameter.
(interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
* ospf_zebra.c (ospf_interface_add): Set interface parameter.
2001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_recv_packet): Solaris also need to add
(iph.ip_hl << 2) to iph.ip_len.
2001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
Suggested by: David Watson <dwatson@eecs.umich.edu>.
* ospf_zebra.c (zebra_init): Remove zebra node.
* ospfd.c (ospf_area_range_set): Function name is changed from
ospf_ara_range_cmd.
(ospf_area_range_unset): New function which separated from DEFUN.
New commands are added:
"no area A.B.C.D range A.B.C.D/M advertise"
"no area <0-4294967295> range A.B.C.D/M advertise"
"no area A.B.C.D range A.B.C.D/M not-advertise"
"no area <0-4294967295> range A.B.C.D/M not-advertise"
* ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
* ospf_network.c (ospf_if_add_allspfrouters): Use
setsockopt_multicast_ipv4.
(ospf_if_drop_allspfrouters): Likewise.
* ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
(ospf_network_lsa_install): Likewise.
(ospf_summary_lsa_install): Likewise.
(ospf_summary_asbr_lsa_install): Likewise.
(ospf_external_lsa_install): Likewise.
(ospf_lsa_install): Call ospf_lsa_different to check this LSA is
new one or not.
2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (ospf_interface_delete): Do not free interface
structure when ospfd receive interface delete message to support
pseudo interface.
2001-02-01 Dick Glasspool <dick@ipinfusion.com>
* ospfd.c (area_range_notadvertise): Change area range "suppress"
command to "not-advertise".
* ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1800 to 60.
* ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
updating the area-range, the lowest cost is now saved.
* ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
numbers rather than creating overflow during calculation.
2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
* zebra-0.91 is released.
2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_db_desc_proc): Do not continue process when
NSM_SeqNumberMismatch is scheduled.
(ospf_ls_req): Free ls_upd when return from this function.
(ospf_ls_upd_timer): When update list is empty do not call
ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
Endo).
2001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
MaxAge. RFC2328 Section 14.
(ospf_maxage_lsa_remover): Call above function during removing
MaxAge LSA.
2001-01-26 Dick Glasspool <dick@ipinfusion.com>
* ospf_flood.c (ospf_flood_through_as): Function is updated for
NSSA Translations now done at ospf_abr.c with no change in P-bit.
* ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
Addr.
(ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
* ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
* ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
* ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
* ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
OSPF_AS_NSSA_LSA.
* ospfd.c (data_injection): Function to inject LSA. This is
debugging command.
2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_route_match_same): Remove function.
(ospf_route_match_same_new): Renamed to ospf_route_match_same.
* ospf_zebra.c (ospf_interface_address_delete): Add check for
oi->address. Suggested by Matthew Grant
<grantma@anathoth.gen.nz>.
(ospf_zebra_add): Remove function.
(ospf_zebra_add_multipath): Rename to ospf_zebra_add.
* ospf_interface.c: Remove HAVE_IF_PSEUDO part.
* ospf_zebra.c: Likewise.
2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_ase.c: Remove OLD_RIB part.
* ospf_route.c: Likewise.
* zebra-0.90 is released.
* ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
NetBSD.
2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_route_delete): Use
ospf_zebra_delete_multipath.
2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
* ospf_interface.c (ospf_if_cleanup): Function name is renamed
from ospf_if_free(). Rewrite whole procudure to support primary
address deletion.
* ospf_zebra.c (ospf_interface_address_delete): Add primary
address deletion process.
2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
treatment like FreeBSD.
2001-01-09 endo@suri.co.jp (Masahiko Endo)
* ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
strips IP header size from receiving IP Packet. So we adjust
ip_len to whole IP packet size by adding IP header size.
2001-01-08 endo@suri.co.jp (Masahiko Endo)
* ospf_network.c (ospf_serv_sock): When socket() is failed return
immediately.
(ospf_serv_sock): Close socket when it is not used.
* ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
defined.
(ospf_write): When bind is fined, close sock.
2001-01-07 Gleb Natapov <gleb@nbase.co.il>
* ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
appears when you try to configure bandwidth on the ppp interface
that is not yet configured in ospfd.
2001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
will print nexthops for AS-external routes.
* ospf_ase.c (ospf_ase_route_match_same): New function to compare
ASE route under multipath environment.
(ospf_ase_compare_tables): Likewise.
2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
2000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_route_install): Install multipath information
to zebra daemon.
* ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
multipath information to zebra daemon.
2000-12-25 Dick Glasspool <dick@ipinfusion.com>
* ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
fail.
(DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
called.
* ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
leave Type-7 LSA at Lock Count = 2.
* ospf_flood.c (ospf_flood_through): Flood_though_as updated for
NSSA no P-bit off during Area flooding, but P-bit is turned off
for mulitple NSSA AS flooding.
* ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
Type-7 LSDB.
* ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
(ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
NSSA.
2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
found LSA and if the LSA is MAXAGE we should call refresh instead
of originate.
2000-12-18 Dick Glasspool <dick@ipinfusion.com>
* ospf_abr.c: Removed redundant "...flood" in
announce_network_to_area(). Repaired nssa Unlock by using
discard.
* ospf_packet.c: Removed old NSSA translate during mk_ls_update.
* ospfd.c: Free up all data bases including NSSA.
* ospf_lsa.c: Now allow removal of XLATE LSA's Check in
discard_callback. Added routine to get ip addr from within the
ifp.
* ospf_flood.c: Now set Forward Address for outgoing Type-7.
* ospf_lsa.h: Added prototype for the below. struct in_addr
ospf_get_ip_from_ifp (struct interface *ifp).
2000-12-14 Gleb Natapov <gleb@nbase.co.il>
* ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
Now maximum packet length may be 65535 bytes (maximum IP packet
length).
* ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
* ospfd.c (config_write_network_area): Remove unnecessary area
lookup code.
2000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
2000-12-13 Gleb Natapov <gleb@nbase.co.il>
* ospfd.c (config_write_network_area): Fix bug in
config_write_network_area function.
2000-12-12 Gleb Natapov <gleb@nbase.co.il>
* ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
LSA's origination and refreshment as same as other type of LSA.
* ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
* ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
2000-12-08 Dick Glasspool <dick@ipinfusion.com>
The bulk of NSSA changes are contained herein; This version will
require manual setting of "always" for NSSA Translator, and will
not perform aggregation yet.
* ospf_dump.c: "debug ospf nssa" is added.
* ospf_dump.h: Likewise.
* ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
* ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
'never, candidate, always'. Change "suppress" to "not-advertise".
* ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
struct ospf.
* ospf_ase.c (ospf_ase_calculate_route): External to stay away
from LOCAL_XLT
* ospf_nsm.c (ospf_db_summary_add): External to stay away from
LOCAL_XLT
* ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
NSSA translator, then do it. Approve the global list, and flush
any unapproved.
* ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
Type-5 resulted from a Local Type-7 translation; not used for
flooding, but used for flushing.
* ospf_flood.c: New NSSA flooding.
2000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospfd.c (ospf_find_vl_data): New function for looking up virtual
link data.
(ospf_vl_set_security): Virtual link configuration with
authentication.
(ospf_vl_set_timers): Set timers for virtual link.
* New commands are added.
"area A.B.C.D virtual-link A.B.C.D"
"area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535>"
"area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> authentication-key AUTH_KEY"
"area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
"area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> message-digest-key <1-255> md5 KEY"
"area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
* ospf_packet.c (ospf_check_md5_digest): Add neighbor's
cryptographic sequence number treatment.
(ospf_check_auth): OSPF input buffer is added to argument.
(ospf_read): Save neighbor's cryptographic sequence number.
* ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
number when neighbor status is changed to NSM down.
* ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
* ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
sequence number to neighbor structure.
2000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
(ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
2000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
interface.
(ospf_ls_upd_queue_empty): New function to empty ls update queue
of the OSPF interface.
(no_router_ospf): 'no router ospf' unregister redistribution
requests from zebra.
2000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_ism.c (ism_change_status): Increment status change number.
* ospf_interface.h (struct ospf_interface): Add new member for
status change statistics.
* Makefile.am: Update dependencies.
* ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
(ospf_interface_delete): OSPF SNMP interface delete.
* ospf_snmp.h: New file is added.
2000-11-23 Dick Glasspool <dick@ipinfusion.com>
* ospfd.h: Add new ospf_area structure member for
NSSATranslatorRole and NSSATranslator state.
* ospfd.c: Provided for eventual commands to specify NSSA
elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
decimal integer version of area-suppress.
* ospf_flood.c: Flood Type-7's only into NSSA (not AS).
* ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
translator, advertise Nt bit.
* ospf_route.c: 1st version of "sh ip os border-routers".
2000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospfd.c (area_vlink): Virtual link can not configured in stub
area.
2000-11-23 Gleb Natapov <gleb@nbase.co.il>
* ospf_packet.c (ospf_db_desc): In states Loading and Full the
slave must resend its last Database Description packet in response
to duplicate Database Description packets received from the
master. For this reason the slave must wait RouterDeadInterval
seconds before freeing the last Database Description packet.
Reception of a Database Description packet from the master after
this interval will generate a SeqNumberMismatch neighbor
event. RFC2328 Section 10.8
(ospf_make_db_desc): DD Master flag treatment.
* ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
nsm_change_status().
(nsm_bad_ls_req): Likewise.
(nsm_adj_ok): Likewise.
(nsm_seq_number_mismatch): Likewise.
(nsm_oneway_received): Likewise.
* ospf_neighbor.h (struct ospf_neighbor): New structure member
last_send_ts for timestemp when last Database Description packet
was sent.
* ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
there. Call ospf_db_desc_resend() in any case.
2000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
network (suppose you have only one router with interface priority
0). It's router LSA does not contain the link information about
this network.
* ospf_nsm.c (nsm_timer_set): When you change a priority of
interface from/to 0 ISM_NeighborChange event should be scheduled
in order to elect new DR/BDR on the network.
* ospf_interface.c (ip_ospf_priority): Likewise.
* ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
retransmit list we need to check whether the present old LSA in
retransmit list is not more recent than the new
one.
2000-11-09 Dick Glasspool <dick@ipinfusion.com>
* ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
area. Any that exit the NSSA area are translated to type-5 LSA's.
The instantiated image is restored after translation.
(ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
(ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
removed.
(ospf_ls_ack_send): Likewise.
* ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
local area. Otherwise they are allowed out the area to be
translated by ospf_packet.c.
* ospf_lsa.c: Undo some previous changes for NSSA.
* ospf_lsdb.h: New access for type 7.
2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_path_exist): New function to check nexthop
and interface are in current OSPF path or not.
(ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
when it is not there. Reported by Michael Rozhavsky
<mrozhavsky@opticalaccess.com>
2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_dump.c (config_write_debug): Add seventh string "detail" is
added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
OSPF_DEBUG_DETAIL.
2000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
* ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
logging.
2000-11-06 Dick Glasspool <dick@ipinfusion.com>
* ospfd.h: Add ait_ntoa function prototype.
* ospfd.c (ait_ntoa): New function for displaying area ID and
Stub/NSSA status.
(show_ip_ospf_interface_sub): Use ait_ntoa.
(show_ip_ospf_nbr_static_detail_sub): Likewise.
(show_ip_ospf_neighbor_detail_sub): Likewise.
* ospf_route.c (ospf_intra_route_add): Set external routing type
to ospf route.
(ospf_intra_add_router): Likewise.
(ospf_intra_add_transit): Likewise.
(ospf_intra_add_stub): Likewise.
(ospf_add_discard_route): Likewise.
(show_ip_ospf_route_network): Use ait_ntoa.
(show_ip_ospf_route_network): Likewise.
(show_ip_ospf_route_router): Likewise.
* ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
(show_lsa_detail_adv_router): Likewise.
(show_ip_ospf_database_summary): Likewise.
* ospf_route.h (struct route_standard): Add new member
external_routing.
* ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
route.
(ospf_update_network_route): Likewise.
(ospf_update_router_route): Likewise.
2000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_flood.c (ospf_process_self_originated_lsa): Enclose
OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
* Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
Please specify "debug ospf event" for enable logging.
* ospf_ism.c: Do not extern debug flag varible. It is done by
ospf_debug.h
* ospf_asbr.c: Likewise.
* ospf_lsa.c: Likewise.
* ospf_nsm.c: Likewise.
* ospf_zebra.c: Likewise.
* ospf_dump.c (debug_ospf_event): New command "debug ospf event"
is added.
* ospfd.c (router_ospf): Change logging from vty_out() to
zlog_info().
(ospf_area_stub_cmd): Likewise.
* ospf_dump.h: Extern term_debug flags.
(OSPF_DEBUG_EVENT): Add new flag.
(IS_DEBUG_OSPF_EVENT): Add new macro.
2000-11-03 Dick Glasspool <dick@ipinfusion.com>
* ospf_flood.c (ospf_process_self_originated_lsa):
OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
(ospf_flood): Type-5's have no change. Type-7's can be received,
and will Flood the AS as Type-5's They will also flood the local
NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
during re-fresh will be converted back to Type-7's (if within an
NSSA).
(ospf_flood_through): Incoming Type-7's were allowed here if our
neighbor was an NSSA. So Flood our area with the Type-7 and also
if we are an ABR, flood thru AS as Type-5.
* ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
area and other area.
* ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
exists in DD packet, make it sure that this area is not stub.
(ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
to NULL.
(ospf_ls_upd): If the LSA is AS External LSA and the area is stub
then discard the lsa. If the LSA is NSSA LSA and the area is not
NSSA then discard the lsa.
2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
is not properly set when interface comes up.
2000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.h (OSPF_OPTION_O): Add new hello header option.
2000-11-01 Dick Glasspool <dick@ipinfusion.com>
* ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
(OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
* ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
string.
2000-10-31 Dick Glasspool <dick@ipinfusion.com>
* ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
* ospf_lsa.c (show_ip_ospf_database): NSSA database display
function is added. ALIASES which have "show ip ospf database
nssa-external" is added.
(show_ip_ospf_border_routers): New command "show ip ospf
border-routers" is added.
2000-10-30 Dick Glasspool <dick@ipinfusion.com>
* ospfd.c (router_ospf): NSSA Enabled message is added for
testing.
(ospf_area_type_set): Are type set for NSSA area.
(ospf_area_stub_cmd): Special translation of no_summary into NSSA
and summary information. If NSSA is enabled pass the information
to ospf_area_type_set().
(area_nssa): New commands are added:
"area A.B.C.D nssa"
"area <0-4294967295> nssa"
"area A.B.C.D nssa no-summary"
"area <0-4294967295> nssa no-summary"
(ospf_no_area_stub_cmd): Special translation of no_summary into
NSSA and summary information. If external_routing is
OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
OSPF_AREA_DEFAULT).
(show_ip_ospf_area): Display NSSA status.
(config_write_ospf_area): Show NSSA configuration.
* ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
on and E is off.
2000-10-26 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
those routers that are fully adjacent to the Designated Router;
each fully adjacent router is identified by its OSPF Router ID.
The Designated Router includes itself in this list. RFC2328,
Section 12.4.2.
2000-10-23 Jochen Friedrich <jochen@scram.de>
* ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
it is registered. So those variables must be static.
2000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
* ospfd.c: Add area_default_cost_decimal_cmd and
no_area_default_cost_decimal_cmd alias.
2000-10-05 Gleb Natapov <gleb@nbase.co.il>
* ospfd.c (ospf_network_new): Fix setting area format.
(no_router_ospf): Check area existance when calling
ospf_interface_down().
* ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
default route.
2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
* zebra-0.89 is released.
2000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
* ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
address.
2000-09-28 Michael Rozhavsky <mike@nbase.co.il>
* ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
2000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
byte order.
2000-09-25 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
Add CISCO compatible command.
2000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_abr.c (ospf_area_range_lookup): New function is added for
area range lookup in OSPF-MIB.
(ospf_area_range_lookup_next): Likewise.
2000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (no_router_ospf): Delete virtual link before deleting
area structure.
* ospf_lsa.c (ospf_external_lsa_refresh_type): Check
EXTERNAL_INFO(type).
* ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
ospf_vl_data_free().
* ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
when ospf_vl_shutdown is called.
(ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
interface's thread.
2000-09-21 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsa.c: New implementation of OSPF refresh.
2000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
2000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
2000-09-18 Gleb Natapov <gleb@nbase.co.il>
* ospf_route.h (route_standard): Change member from `struct area'
to area_id.
* ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
(ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
(ospf_abr_process_router_rt):
* ospf_ase.c (ospf_find_asbr_route),
(ospf_find_asbr_router_through_area),
* ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
(process_summary_lsa), (ospf_update_network_route),
(ospf_update_router_route):
* ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
(ospf_intra_add_transit), (ospf_intra_add_stub),
(ospf_route_table_dump), (show_ip_ospf_route_network),
(show_ip_ospf_route_router), (ospf_asbr_route_cmp),
(ospf_prune_unreachable_routers):
* ospf_spf.c (ospf_rtrs_print):
* ospfd.c (ospf_rtrs_free): Fix the struct change above.
2000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
with ifdef.
2000-09-13 Gleb Natapov <gleb@nbase.co.il>
* ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
* ospf_network.c (ospf_serv_sock_init): Add socket option
SO_BINDTODEVICE on read socket.
* ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
not match.
* ospfd.c (ospf_area_check_free), (ospf_area_get),
(ospf_area_add_if): New function added.
2000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
count.
* ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
starting SPF calculation.
* ospfd.h (struct ospf_area): Add ABR and ASBR router count.
2000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
ID.
* ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
lsa_originate_count.
(ospf_network_lsa_originate): Likewise.
(ospf_summary_lsa_originate): Likewise.
(ospf_summary_asbr_lsa_originate): Likewise.
(ospf_external_lsa_originate): Likewise.
2000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
syntax is IpAddress.
(ospf_admin_stat): New function for OSPF administrative status
check.
2000-09-10 Jochen Friedrich <jochen@scram.de>
* ospf_snmp.c: Implement OSPF MIB skeleton.
2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_snmp.c: New file is added.
2000-09-07 David Lipovkov <davidl@nbase.co.il>
* ospf_zebra.c (ospf_interface_delete): Add pseudo interface
treatment.
* ospf_interface.c (interface_config_write): Likewise.
2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
* zebra-0.88 is released.
2000-08-17 Michael Rozhavsky <mike@nbase.co.il>
* ospfd.c (ospf_area_free): Remove virtual link configuration only
when Area is removed.
2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (network_area): Revert check for EXTERNAL_INFO
(ZEBRA_ROUTE_CONNECT).
(no_network_area): Likewise.
2000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.h (struct ospf): Add distance_table and
distance_{all,intra,inter,external}.
* ospf_zebra.c: Add OSPF distance related functions.
2000-08-15 Gleb Natapov <gleb@nbase.co.il>
* ospf_asbr.c (ospf_external_info_find_lsa): New function added.
* ospf_lsa.c (ospf_default_external_info),
(ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
New function added.
* ospf_zebra.c
(ospf_default_information_originate_metric_type_routemap),
(ospf_default_information_originate_always_metric_type_routemap):
Change name and add route-map function.
(ospf_default_information_originate_metric_routemap),
(ospf_default_information_originate_routemap),
(ospf_default_information_originate_type_metric_routemap):
New DEFUN added.
2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
restore size from two octet to four.
2000-08-14 Michael Rozhavsky <mike@nbase.co.il>
* ospf_ase.c (ospf_ase_incremental_update): Implement incremental
AS-external-LSA in 16.6 of RFC2328.
2000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
* ospf_interface.c (ospf_if_get_output_cost): Change cost
calculation algorithm.
* ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
2000-08-11 Michael Rozhavsky <mike@nbase.co.il>
* ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
AS-external-LSAs.
2000-08-10 Toshiaki Takada <takada@zebra.org>
* ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
`auto-cost reference-bandwidth' OSPF router command added.
2000-08-08 Gleb Natapov <gleb@nbase.co.il>
* ospf_routemap.c (ospf_route_map_update): New function added.
Add route-map event hook.
2000-08-08 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_distribute_check_connected): If redistribute
prefix is connected route on OSPF enabled interface, suppress to
announce it.
2000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
* ospf_interface.c (ospf_if_get_output_cost):
New function added. Handle bandwidth parameter for cost
calculation.
2000-08-08 Michael Rozhavsky <mike@nbase.co.il>
* ospf_interface.c (interface_config_write): Show interface
configuration regardless interface is down.
* ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
route calculate function.
2000-08-08 Gleb Natapov <gleb@nbase.co.il>
* ospf_routemap.c: New file added.
* ospf_asbr.c (ospf_reset_route_map_set_values),
(ospf_route_map_set_compare): New function added.
* ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
with AS-external-LSA.
2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
ospf_zebra_add as metric.
(ospf_ase_calculate_route_add): Likewise.
* ospf_route.c (ospf_route_install): Pass or->cost to
ospf_zebra_add as metric.
* ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
(ospf_zebra_delete): Likewise.
2000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
* ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
Dispatch delayed-ACK with flooding AS-external-LSA across virtual
link.
2000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
* ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
`show ip ospf'.
* ospf_interface.c (ospf_if_free): Fix bug of crash with
Point-to-Point interface.
2000-07-27 Michael Rozhavsky <mike@nbase.co.il>
* ospf_flood.c (ospf_process_self_originated_lsa):
Make sure to clear LSA->param (redistributed external information)
before refreshment.
2000-07-27 Gleb Natapov <gleb@nbase.co.il>
* ospfd.c (refresh_group_limit), (refresh_per_slice),
(refresh_age_diff): New defun added. Refresher related parameter
can be configurable.
2000-07-27 Akihiro Mizutani <mizutani@dml.com>
* ospf_interface.c (interface_config_write): Print `description'
config directive to work.
2000-07-24 Akihiro Mizutani <mizutani@dml.com>
* ospf_interface.c (ospf_if_init): Use install_default for
INTERFACE_NODE.
2000-07-24 Gleb Natapov <gleb@nbase.co.il>
* ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
(ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
This make sending always as many LS update/Ack combined in one ospf
packet.
2000-07-24 Gleb Natapov <gleb@nbase.co.il>
* ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
LSA is AS-external-LSA.
* ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
2000-07-21 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_default_originate_timer): Set timer for
`default-information originate'. Fix some default originate
related functions.
2000-07-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (stream_put_ospf_metric): New function added.
2000-07-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (show_ip_ospf_database_router),
(show_ip_ospf_database_network), (show_ip_ospf_database_summary),
(show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
(show_router_lsa), (show_any_lsa), (show_router_lsa_self),
(show_any_lsa_self): Functions removed.
(show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
(show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
New functions added. Replace above functions.
(show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
Functions removed.
(show_ip_ospf_database_summary): New functions added. Replace
above functions.
(show_ip_ospf_database_cmd): DEFUN rearranged.
(show_ip_ospf_database_type_id_cmd),
(show_ip_ospf_database_type_id_adv_router_cmd),
(show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
(show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
(show_ip_ospf_database_type_self_cmd): New ALIAS added.
2000-07-11 Toshiaki Takada <takada@zebra.org>
* ospf_asbr.c (ospf_external_info_new),
(ospf_external_info_free): New functions added.
* ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
origination parameter for external-LSA.
Remove member `redistribute'.
* ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
command executed, metric and metric-type values are overridden.
If one of those is changed refresh AS-external-LSAs for appropriate
type.
2000-07-11 Michael Rozhavsky <mike@nbase.co.il>
* ospf_lsa.c (ospf_summary_lsa_refresh),
(ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
* ospf_abr.c (set_metric): New function added.
2000-07-07 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_default_information_originate_metric_type),
(ospf_default_information_originate_type_metric): New defun added.
Metic and Metric type can be set to default route.
(ospf_default_information_originate_always_metric_type):
(ospf_default_information_originate_always_type_metric):
New defun added. Metric and Metric type can be set to default
always route.
* ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
New defun added.
2000-07-06 Gleb Natapov <gleb@nbase.co.il>
* ospf_flood.c (ospf_flood_through_area): Fix bug of considering
on the same interface the LSA was received from.
2000-07-06 Michael Rozhavsky <mike@nbase.co.il>
* ospfd.c (ospf_config_write): Fix bug of printing `area stub'
command with `write mem'.
* ospfd.c (no_router_ospf): Remove installed routes from zebra.
* ospf_zebra.c (ospf_interface_delete): Fix function to handle
zebra interface delete event.
2000-07-06 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_default_information_originate),
(ospf_default_information_originate_always): New DEFUN added.
2000-07-05 Michael Rozhavsky <mike@nbase.co.il>
* ospf_route.c (ospf_terminate): Make sure to remove external route
when SIGINT received.
2000-07-03 Gleb Natapov <gleb@nbase.co.il>
* ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
many structure with `no router ospf'.
2000-06-30 Gleb Natapov <gleb@nbase.co.il>
* ospf_neighbor.c (ospf_nbr_new),
ospf_nsm.c (nsm_timer_set): Start LS update timer only
when neighbor enters Exchange state.
2000-06-29 Gleb Natapov <gleb@nbase.co.il>
* ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
ospf_packet.c (ospf_db_desc_proc):
Do not cancel DD retransmit timer when Master.
2000-06-29 Gleb Natapov <gleb@nbase.co.il>
* ospf_abr.c (ospf_abr_announce_network_to_area),
(ospf_abr_announce_rtr_to_area)
ospf_ase.c (ospf_ase_rtrs_register_lsa),
ospf_flood.c (ospf_process_self_originated_lsa),
(ospf_flood_through_area), (ospf_ls_request_delete),
ospf_interface.c (ospf_if_free),
ospf_ism.c (ism_change_status),
ospf_lsa.c (ospf_router_lsa_update_timer),
(ospf_router_lsa_install), (ospf_network_lsa_install),
(ospf_lsa_maxage_delete), (ospf_lsa_action),
(ospf_schedule_lsa_flood_area),
ospf_nsm.c (nsm_change_status),
ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
* ospf_flood.c (ospf_ls_request_free): Function deleted.
* ospf_lsa.c (ospf_discard_from_db): New function added.
2000-06-26 Toshiaki Takada <takada@zebra.org>
* ospfd.h (ospf): struct member `external_lsa' name changed to
`lsdb'.
2000-06-26 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
(ospf_network_lsa_install), (ospf_summary_lsa_install),
(ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
Functions re-arranged.
* ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2000-06-20 Michael Rozhavsky <mike@nbase.co.il>
* ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
verification of LS type.
2000-06-20 Gleb Natapov <gleb@nbase.co.il>
* ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
whether rn->info is NULL.
2000-06-20 Toshiaki Takada <takada@zebra.org>
* ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
DR and Backup correctly with `show ip ospf interface' command.
2000-06-20 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
(ospf_lsa_discard): These functions are used for avoiding
unexpected reference to freed LSAs.
2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
warning.
2000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2000-06-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_external_lsa_install): Make sure to register
LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
Fix core dump.
2000-06-10 Toshiaki Takada <takada@zebra.org>
* ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
(ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
(lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
(find_lsa), (ospf_lsdb_lookup), (find_by_id),
(ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
removed for migration to new_lsdb.
* ospf_lsa.c (ospf_summary_lsa_install),
(ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
(ospf_lsa_maxage_walker), (ospf_lsa_lookup),
(ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
(count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
(ospf_get_free_id_for_prefix): Funcitions removed.
2000-06-09 Gleb Natapov <gleb@nbase.co.il>
* ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
* ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
(ospf_hello): Always copy router-ID when hello is received.
2000-06-08 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
ospf_area.
2000-06-08 Michael Rozhavsky <mike@nbase.co.il>
* ospf_ase.c (ospf_asbr_route_same): New function added.
This function makes sure external route calculation more
precisely.
2000-06-07 Michael Rozhavsky <mike@nbase.co.il>
* ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
network-LSA deletion instead of using ospf_lsdb_delete.
Also cancel network-LSA origination timer.
2000-06-07 Levi Harper <lharper@kennedytech.com>
* ospf_interface.c (ospf_if_down): Close read fd when an interface
goes down.
2000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
avoid ambiguous else.
* ospf_flood.c (ospf_external_info_check): Likewise.
2000-06-05 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2000-06-04 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_default_information_originate),
(no_ospf_default_information_originate): New DEFUN added.
2000-06-03 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
ospf_lsa.h to ospf_asbr.h.
* ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
(ospf_external_info_delete): Function moved from ospf_lsa.c
to ospf_asbr.c.
2000-06-03 Toshiaki Takada <takada@zebra.org>
* ospf_flood.c (ospf_external_info_check): New function added.
(ospf_process_self_orignated_lsa): Make sure to flush
self-originated AS-external-LSA, when router reboot and no longer
originate those AS-external-LSA.
2000-06-02 Toshiaki Takada <takada@zebra.org>
* ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
socket option.
* ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
unicast destination packets.
2000-06-02 Toshiaki Takada <takada@zebra.org>
* ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
specified LSA matches.
2000-06-02 Gleb Natapov <gleb@nbase.co.il>
* ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
socket option.
2000-06-01 Akihiro Mizutani <mizutani@dml.com>
* ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
Replace string `OSPF information\n' with OSPF_STR.
2000-06-01 Toshiaki Takada <takada@zebra.org>
* ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
ospf_lsdb.
2000-06-01 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
(config_debug_ospf_ism), (config_debug_ospf_nsm),
(config_debug_ospf_lsa), (config_debug_ospf_zebra),
(term_debug_ospf_packet), (term_debug_ospf_event),
(term_debug_ospf_ism), (term_debug_ospf_nsm),
(term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
variable to use for debug option flags.
(debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
(debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
flags.
* ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
(TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
(CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
(IS_CONF_DEBUG_OSPF): New Macro added.
2000-05-31 Toshiaki Takada <takada@zebra.org>
* ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
Currently this command is used for only debugging.
* ospf_nsm.c (nsm_change_status): Make sure thread cancellation
for network-LSA when DR has no full neighbors.
* ospf_nsm.c (ospf_db_summary_clear): New function added.
2000-05-30 Toshiaki Takada <takada@zebra.org>
* ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
maxage_lsa_remover when LSA is replaced.
2000-05-25 Gleb Natapov <gleb@nbase.co.il>
* ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
`struct ospf_area' to remove LSA from Link State retransmission list
of neighbor from only one Area.
2000-05-24 Michael Rozhavsky <mike@nbase.co.il>
* ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
overriting old LSA with new LSA.
2000-05-24 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
size calculation.
2000-05-22 Michael Rozhavsky <mike@nbase.co.il>
* ospf_route.c (ospf_intra_add_stub):
* ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
value instead of u_int16_t.
2000-05-22 Axel Gerlach <agerlach@datus.datus.com>
* ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
equal cost path calculation.
2000-05-21 Toshiaki Takada <takada@zebra.org>
* ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
Make sure, when rotuer route is deleted, related external routes
are also deleted.
2000-05-20 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_interface_down): Make sure interface flag is disable
and set fd to -1.
2000-05-16 Toshiaki Takada <takada@zebra.org>
* ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
Functions removed.
* ospfd.h (EXTERNAL_INFO): Macro added.
Substitute `ospf_top->external_info[type]' with it.
2000-05-16 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2000-05-14 Gleb Natapov <gleb@nbase.co.il>
* ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
* ospf_lsdb.c (new_lsdb_insert)
* ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2000-05-14 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
(tv_add), (tv_sub), (tv_cmp): Prototype definition added.
* ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2000-05-13 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
time_t to struct timeval.
(tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
(tv_sub), (tv_cmp): timeval utillity functions added.
2000-05-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
this function.
router-LSA refresh timer related stuff is re-organized.
2000-05-10 Gleb Natapov <gleb@nbase.co.il>
* ospf_interface.c (ospf_vl_set_params):
* ospf_packet.c (ospf_check_network_mask):
* ospf_spf.[ch] (ospf_spf_next):
Remove field address from `struct vertex', and search for peer
address of virtual link in function `ospf_vl_set_params' instead.
2000-05-10 Gleb Natapov <gleb@nbase.co.il>
* ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2000-05-08 Thomas Molkenbur <tmo@datus.com>
* ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
with ospf_stream_dup() to fix memory leak.
2000-05-08 Michael Rozhavsky <mike@nbase.co.il>
* ospf_flood.c (ospf_flood_through_area): Fix the problem of
LSA update without DROther.
2000-05-04 Gleb Natapov <gleb@nbase.co.il>
* ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2000-05-03 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
instead linked-list.
(ospf_db_summary_count), (ospf_db_summary_isempty):
New function added.
* ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2000-05-02 Gleb Natapov <gleb@nbase.co.il>
* ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
not needed any more, then free them.
2000-05-02 Toshiaki Takada <takada@zebra.org>
* ospfd.c (timers_spf), (no_timers_spf): New defun added.
SPF calculation timers related stuff is rearranged.
* ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
SPF timer is scheduled by SPF calculation delay and holdtime
configuration variable.
* ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
forwarding address when nexthop learned by other protocols is
in the OSPF domain.
* ospf_zebra.c (ospf_redistribute_source_metric_type),
(ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
ALIASes.
2000-05-01 Toshiaki Takada <takada@zebra.org>
* ospf_flood.c (ospf_ls_retransmit_count),
(ospf_ls_retransmit_isempty): New function added.
(ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
(ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
(ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
(ospf_ls_retransmit_add_nbr_all): Replace these functions to use
new_lsdb.
2000-04-29 Toshiaki Takada <takada@zebra.org>
* ospfd.c (no_network_area): Add check Area-ID whether specified
Area-ID with prefix matches config.
2000-04-27 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
remaining withdrawn routes on zebra.
2000-04-25 Michael Rozhavsky <mike@nbase.co.il>
* ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
(ospf_nsm_event): Fix network-LSA re-origination problem.
2000-04-24 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
with DD retransmission.
* ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
a neighbor disappears.
2000-04-23 Michael Rozhavsky <mike@nbase.co.il>
* ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
flag to new LSA. when summary-LSA is reoriginatd.
* ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
procedure. Change the condition of interface selection.
2000-04-21 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
occurs.
* ospfd.c (show_ip_ospf_neighbor_id): New defun added.
`show ip ospf neighbor' related commands are re-arranged.
2000-04-20 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c (debug_ospf_zebra): New defun added.
Suppress zebra related debug information.
2000-04-19 Toshiaki Takada <takada@zebra.org>
* ospf_zebra.c (ospf_distribute_list_update_timer),
(ospf_distribute_list_update), (ospf_filter_update):
New function added. Re-organize `distribute-list' router ospf
command.
2000-04-13 Michael Rozhavsky <mike@nbase.co.il>
* ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2000-04-14 Michael Rozhavsky <mike@nbase.co.il>
* ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
interface transmit_delay.
2000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
Add to schedule router_lsa origination when the interface cost changes.
2000-04-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_refresher_register_lsa),
(ospf_refresher_unregister_lsa): Fix bug of core dumped.
* ospfd.c (no_router_ospf): Fix bug of core dumped.
2000-03-29 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2000-03-29 Michael Rozhavsky <mike@nbase.co.il>
* ospf_lsa.c (ospf_network_lsa):
* ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
in stub network.
2000-03-28 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
(nsm_oneway_received): Fix bug of NSM state flapping between
ExStart and Exchange.
2000-03-28 Toshiaki Takada <takada@zebra.org>
* ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
change u_int8_t to u_char.
2000-03-27 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2000-03-27 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_interface_run): Make sure Address family matches.
2000-03-26 Love <lha@s3.kth.se>
* ospf_packet.c (ospf_write): Chack result of sendto().
2000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2000-03-23 Libor Pechacek <farco@clnet.cz>
* ospf_lsa.c (ospf_network_lsa)
* ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
unallocated memory.
2000-03-23 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_config_write): Fix bug of duplicate line for
`area A.B.C.D authentication'.
2000-03-22 Toshiaki Takada <takada@zebra.org>
* ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
Suppress all zlog related to LSAs with this config option.
2000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2000-03-21 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
Fix bug of memory leak about linklist.
* ospf_flood.c (ospf_flood_through_area): Likewise.
2000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
to identify LSA uniquely. This fix routes lost.
2000-03-18 Toshiaki Takada <takada@zebra.org>
* ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
routing table.
2000-03-17 Alex Zinin <zinin@amt.ru>
* ospf_spf.[ch]: Bug fix.
The 2nd stage of Dijkstra could consider one vertex
more than once if there is more than one link
between the routers, thus adding extra CPU overhead
and extra next-hops.
Fixed.
2000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2000-03-14 Toshiaki Takada <takada@zebra.org>
* ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
ospf_path. Actually ignore merging ospf_route with completely same
paths.
2000-03-12 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (show_as_external_lsa_detail): fix bug of
external route tag byte order.
2000-03-11 Toshiaki Takada <takada@zebra.org>
* ospf_lsdb.c (ospf_lsdb_insert): New function added.
2000-03-09 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_external_lsa_install),
(ospf_lsa_lookup), (show_ip_ospf_database_all),
(show_ip_ospf_database_self_originate): Use struct new_lsdb for
LSDB of AS-external-LSAs instead of ospf_lsdb.
* ospf_lsa.c (ospf_lsa_unique_id): New function added.
Use for assigning Unique Link State ID instead of
ospf_get_free_id_for_prefix().
2000-03-09 Toshiaki Takada <takada@zebra.org>
* ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
fault reported by George Bonser <george@siteROCK.com>.
2000-03-07 Libor Pechacek <farco@clnet.cz>
* ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2000-03-06 Toshiaki Takada <takada@zebra.org>
* ospf_route.c (ospf_route_cmp): Change meaning of return values.
2000-03-02 Alex Zinin <zinin@amt.ru>
* ospfd.h, ospf_ia.h
New Shortcut ABR code. Now area's flag can be configured
with Default, Enable, and Disable values.
More info will be in the new ver of I-D soon (see IETF web).
2000-02-25 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
(osfp_external_lsa_originate), (ospf_external_lsa_queue),
(ospf_external_lsa_originate_from_queue): New function added.
(ospf_external_lsa): Function removed.
* ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
when listen a route from Zebra, instead creating external route.
* ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
(ospf_asbr_route_add_queue_lsa),
(ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
Functions removed.
* ospf_ase.c (process_ase_lsa): Function will not be used.
(ospf_ase_calculate), (ospf_ase_calculate_route_add),
(ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
process_ase_lsa () is separated to these functions.
OSPF AS-external-LSA origination is whole re-organized.
2000-02-18 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
* ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
(ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
memory leak.
2000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
checksum after change Advertised Router field.
2000-02-09 Toshiaki Takada <takada@zebra.org>
* ospf_asbr.c (ospf_external_route_lookup): Add new function.
2000-02-08 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_router_id_get), (ospf_router_id_update),
(ospf_router_id_update_timer): Router ID decision algorithm is changed.
Router ID is chosen from all of eligible interface addresses even if
it is not enable to OSPF.
2000-02-08 Toshiaki Takada <takada@zebra.org>
* ospf_asbr.c (ospf_asbr_route_add): Function divided to
ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
waited to install to LSDB.
`0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
in the ACK before deleting.
* ospf_packet.c (ospf_hello): Reset the flags after a shutdown
and no shutdown of the interface.
2000-01-31 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_ls_req): Send multiple Link State Update
packets respond to a Link State Request packet.
* ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
* ospf_interface.c (ospf_vl_new): Crash when backbone area
is not configured and set virtual-link to no-backbone area,
bug fixed.
2000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
LS Request LSA.
* ospf_packet.c (ospf_ls_upd): Comment out LS request list
treatment. That should be done in OSPF flooding procedure.
* ospf_flood.c (ospf_flood_through_area): Enclose
ospf_check_nbr_loding inside if-else close.
2000-01-31 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2000-01-29 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2000-01-28 Toshiaki Takada <takada@zebra.org>
* ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
removing LSA from nbr->db_summary.
2000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
* ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
destination when the link is point-to-point.
(ospf_ls_ack_send_delayed): Likewise.
2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
pointer lookup after the node is freed.
2000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
external route, use ospf_top->external_self.
2000-01-27 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_forward_address_get): New function added.
* ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
only when it should be replaced.
2000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
* ospf_lsa.c (ospf_lsa_free): Reduce logging message using
ospf_zlog value.
* ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
change. Self originated LSA is freed but not deleted from lsdb.
2000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_ism.c (ism_interface_down): Don't use router_id for
detecting self neighbor structure. Instead of that compare
pointer itself.
* ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
is deleted.
(ospf_nbr_free): Free last send packet.
* ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
Instead of that src is introduced.
* ospf_nsm.h: Enclose macro defenition with do {} while (0).
2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c: Change part of passive interface implementation. For
passive interface just disabling sending/receiving Hello on the
interface.
2000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
* ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
* ospf_interface.c (ospf_if_lookup_by_name): Add new function.
* ospf_lsa.c (ospf_router_lsa): Skip passive interface.
* ospfd.c (passive_interface): New command passive-interface is
added.
(ospf_config_write): Print passive interface.
2000-01-15 Toshiaki Takada <takada@zebra.org>
* ospf_interface.h (crypt_key): New struct added to store
multiple cryptographic autheitication keys.
(ospf_interface): struct changed.
* ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
* ospf_packet.c (ip_ospf_message_digest_key): Changed to store
multiple cryptographic authentication keys.
2000-01-14 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
ip_ospf_* ().
Old notation `ospf *' still remains backward compatibility.
1999-12-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c: ospf_lsa_more_recent() bug fix
* ospf_nsm.c, ospf_packet.c: remove nbr data struct when
int goes down, also check DD flags correctly (bug fix)
1999-12-28 Alex Zinin <zinin@amt.ru>
* "redistribute <source> metric-type (1|2) metric <XXX>" added
1999-12-23 Alex Zinin <zinin@amt.ru>
* added RFC1583Compatibility flag
* added dynamic interface up/down functionality
1999-11-19 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.h (struct ospf_neighbor): Add member state_change
for NSM state change statistics.
1999-11-19 Toshiaki Takada <takada@zebra.org>
* ospfd.c (show_ip_ospf_neighbor_detail),
(show_ip_ospf_neighbor_int_detail): DEFUN Added.
1999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_asbr.c (ospf_asbr_check_lsas): Add check of
lsa->refresh_list.
1999-11-11 Toshiaki Takada <takada@zebra.org>
* ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
This macro is expanded to ospf_examine_summaries ()
for SUMMARY_LSA and SUMMARY_LSA_ASBR.
(OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
This macro is expanded to ospf_examine_transit_summaries ()
for SUMMARY_LSA and SUMMARY_LSA_ASBR.
1999-11-11 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
(ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
(ospf_find_self_external_lsa_by_prefix): Changed to
macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
1999-11-11 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
combined.
* ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
combined.
1999-11-10 Toshiaki Takada <takada@zebra.org>
* ospf_route.c (ospf_lookup_int_by_prefix): Move function to
ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
1999-11-01 Alex Zinin <zinin@amt.ru>
* ospf_packet.c
some correction to LSU processing
* ospf_lsa.c ospfd.h
randomize initial LSA refreshment interval
and limit the size of LSA-group to 10
to let randomization work more effectively.
1999-10-31 Alex Zinin <zinin@amt.ru>
* ospf_interface.c
cancel t_network_lsa_self
when freeing int structure
* ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
Summary and ASE LSA refreshment functions
added---LSA refreshment is paced to 70 LSAs
per sec to avoid link overflow. Refreshment events
are further randomized within a 10 sec interval
to avoid syncing.
Also the sigfault of memcmp() in ospf_lsa_is_different()
is fixed.
1999-10-30 Alex Zinin <zinin@amt.ru>
* ospf_nsm.c
Fix the bug where MAX_AGE LSAs
are included into the DB summary.
* ospf_interface.c
allocate 2*MTU input buffer instead of just MTU
for the cases when the other router mistakenly
sends larger packets thus causing fragmentation, etc.
* ospf_nsm.c
in nsm_reset_nbr() lists should be freed
not when they are empty.
1999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
check inside of if (ospf_top).
1999-10-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c ospf_lsdb.c :
add assertion in lsa and lsa->data alloc functions,
as well as in lsdb_add for new->data
* ospf_lsdb.c: free hash table correctly
1999-10-28 John Capo <jc@irbs.com>
* ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
calculation
1999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
* OSPF-MIB.txt: New file added. Edited version of RFC1850.
1999-10-27 Alex Zinin <zinin@amt.ru>
* ospfd, ospf_zebra, ospf_abr
"area import-list" command is added.
This command allows to filter the inter-area routes
injected into an area. Access list hook function
extended to invalidate area exp/imp lists.
1999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
* ospfd.c (ospf_interface_run): Enable to detect P2P network
on an OSPF interface.
1999-10-19 Jordan Mendelson <jordy@wserv.com>
* ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
in ospf_ls_retransmit_lookup ().
1999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
* ospf_route.c: Workaround about installation of OSPF routes into
the zebra daemon. Add checking of existance routes. Free
ospf_top->old_table if it exists.
1999-10-15 Jordan Mendelson <jordy@wserv.com>
* Add support for MD5 authentication.
1999-10-12 Alex Zinin <zinin@amt.ru>
* ospfd.c, ospfd.h, ospf_abr.c:
a new command "area export-list" was added, it allows
the admin. to control which intra-area routes are
announced to other areas by the ABR
1999-10-12 Alex Zinin <zinin@amt.ru>
* ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
when "no redistribute" is used after a distribute list
denying some networks was used
1999-10-05 Toshiaki Takada <takada@zebra.org>
* ospf_route.c (ospf_path_dup): New function added.
1999-10-05 Toshiaki Takada <takada@zebra.org>
* ospf_interface.[ch]: Some of VL related funciton name changed.
1999-09-27 Alex Zinin <zinin@amt.ru>
* ospf_zebra.c: Distribute-list functionality added
1999-09-27 Toshiaki Takada <takada@zebra.org>
* ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
instance exists.
1999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
instead of node->next. Reported by Hiroki Ishibashi
<ishibasi@dcd.abk.nec.co.jp>.
* ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
or not.
1999-09-23 Alex Zinin <zinin@amt.ru>
* stub area support added
1999-09-23 Alex Zinin <zinin@amt.ru>
* fwd_addr in ASE-LSAs is now set correctly
* ASE routing changed to check the fwd_addr
and skip the route if the addr points to one
of our interfaces to avoid loops.
1999-09-22 Alex Zinin <zinin@amt.ru>
* ospf_interface:
ospf_vls_in_area() added, it returns
the number of VLs configured through the area
* ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
honor correct mem alloc
1999-09-22 Alex Zinin <zinin@amt.ru>
* memory.[ch]:
Some OSPF mem types added,
plus more info in "show mem"
1999-09-21 Alex Zinin <zinin@amt.ru>
* ospfd.c:
"area range substitute" added.
It can be used on NAT-enabled (IP-masquarade)
routers to announce private networks
from an area as public ones into the outside
world (not in the RFC, btw :)
1999-09-21 Alex Zinin <zinin@amt.ru>
* ospfd.c:
"area range suppress" added.
This command allows to instruct the router
to be silent about specific ranges, i.e.,
it is a method of route filtering on area
borders
1999-09-21 Alex Zinin <zinin@amt.ru>
* ospfd.c VLs removed when "no network area" executed
1999-09-20 Alex Zinin <zinin@amt.ru>
* ospf_ase.c bug fix for not-zero fwd_addr
and directly connected routes.
1999-09-20 Yon Uriarte <yon@plannet.de>
* ospf_packet.c (ospf_make_ls_req): Introduce delta value for
checking the length of OSPF packet exceeds MTU or not.
* ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
l1->data->length.
1999-09-18 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c bug fix for ospf_network_lsa() to
include itself into the RID list
1999-09-10 Alex Zinin <zinin@amt.ru>
* Alternative ABR behaviors IBM/Cisco/Shortcut
implemented
1999-09-10 Alex Zinin <zinin@amt.ru>
* router and network-LSA origination
changed to honor MinLSInterval
1999-09-08 Alex Zinin <zinin@amt.ru>
* modified ABR behavior to honor VLs and transit
areas
1999-09-07 Alex Zinin <zinin@amt.ru>
* completed VL functionality
1999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_asbr.c: New file.
ospf_asbr.h: New file.
* ospf_zebra.c (ospf_redistribute_connected): Add redistribute
related stuff.
1999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
1999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.c (ospf_spf_register): Change name from
ospf_spf_route_add() to ospf_spf_register().
Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_external_lsa_install): Change to update
lsa->data rather than install new one, when same id lsa is already
installed.
1999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
(ospf_network_lsa_install): Likewise.
(ospf_summary_lsa_install): Likewise.
(ospf_summary_asbr_lsa_install): Likewise.
(ospf_external_lsa_install): Likewise.
* ospf_spf.c (ospf_spf_calculate): Comment out debug function
ospf_rtrs_print().
1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
freeing rtrs.
1999-08-31 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (show_ip_ospf_database_summary),
(show_ip_ospf_database_summary_asbr),
(show_ip_ospf_database_external): New function added.
`show ip ospf database summary',
`show ip ospf database asbr-summary'
`show ip ospf database external' command can be used.
* ospf_lsa.c (ospf_lsa_count_table): New function added.
(show_ip_ospf_database_all): show nothing if a type of LSA
does not exist.
1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
the node is deleted.
1999-08-31 Toshiaki Takada <takada@zebra.org>
* ospf_flood.c (ospf_ls_retransmit_lookup): change to return
struct ospf_lsa *.
(ospf_ls_request_new), (ospf_ls_request_free),
(ospf_ls_request_add), (ospf_ls_request_delete),
(ospf_ls_request_delete_all), (ospf_ls_request_lookup):
New function added.
* ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
* ospf_lsa.h (LS_AGE): Slightly change macro definition.
* ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
Use LS_AGE macro.
1999-08-30 Alex Zinin <zinin@amt.ru>
* ospfd.c
fix a bug with area range config write
added "show ip ospf" command, it will be enhanced later on
1999-08-30 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c
updated ospf_router_lsa() to honor flags (B-bit)
1999-08-30 Alex Zinin <zinin@amt.ru>
* ospf_abr.c
wrote major functions implementing ABR activity
1999-08-30 Alex Zinin <zinin@amt.ru>
* ospf_ia.c ospf_route.c ospf_route.h
fixed the bug with ospf_route.origin field.
Now it holds pointer to lsa_header
1999-08-30 Alex Zinin <zinin@amt.ru>
* ospf_flood.c ospf_flood.h:
transformed ospf_flood_if_select into ospf_flood_through_area()
added new ospf_flood_if_select() and ospf_flood_through_as()
1999-08-30 Toshiaki Takada <takada@zebra.org>
* ospf_flood.[ch]: New file added.
* ospf_packet.c (ospf_lsa_flooding),
(ospf_lsa_flooding_select_if): functions move to ospf_flood.c
* ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
(ospf_remove_lsa_from_retransm_list),
(ospf_nbr_remove_all_lsas_from_retransm_list),
(ospf_lsa_remove_from_ls_retransmit):
(ospf_lsa_retransmit): functions move to
ospf_flood.c, and change function's name:
ospf_put_lsa_on_retransm_list ()
-> ospf_ls_retransmit_add ()
ospf_remove_lsa_from_retransm_list ()
-> ospf_ls_retransmit_delete ()
ospf_nbr_remove_all_lsas_from_retransm_list ()
-> ospf_ls_retransmit_clear ()
ospf_lsa_remove_from_ls_retransmit ()
-> ospf_ls_retransmit_delete_nbr_all ()
ospf_lsa_retransmit ()
-> ospf_ls_retransmit_add_nbr_all ()
* ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
route_node_lookup() instead of route_node_get().
* ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_lookup_int_by_prefix): Add check of
oi->address.
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c
MaxAge LSA deletion functions added.
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_neighbor.c
ospf_nbr_lookup_by_addr(): added route_unlock_node()
when function returns NULL if (rn->info == NULL)
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospfd.c
added a hack for area range deletion
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.h
included lsdb field into struct ospf_lsa, to find
LSDB easier when removing MaxAge LSAs.
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c ospf_neighbor.c ospf_nsm.c
ospf_packet.c changed to honor new retransmit list
management functions
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_neighbor.c , .h added new retransmit list functions.
1999-08-29 Alex Zinin <zinin@amt.ru>
* Makefile.in
added ospf_ase, ospf_abr, ospf_ia
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_spf.c:
- changed ospf_next_hop_calculation() to include interface
and nexthop addr for directly connected routers---more informative
and solves problem with route installation into the kernel
- changed ospf_nexthop_out_if_addr() to support routers, not only
transit networks
- added ospf_process_stubs();
1999-08-29 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c:
- changed ospf_router_lsa() to provide correct links
for p-t-p interfaces;
- changed ospf_summary_lsa_install() to support table
of self-originated summary-LSAs;
- added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
- changed ospf_lsa_install() accordingly
- changed show_ip_ospf_database_router_links() to support p-t-p
1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_make_db_desc): Only master can clear more
flag.
1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c (ospf_read): Add check of IP src address.
1999-08-28 Alex Zinin <zinin@amt.ru>
* ospf_neighbor.h
added ospf_nbr_lookup_by_routerid()
1999-08-28 Alex Zinin <zinin@amt.ru>
* ospfd.h
added ABR/ASBR flag definitions and fields;
added iflist field to area structure;
summary_lsa_self and summary_lsa_asbr_self are changed
to be route tables;
added ranges field---configured area ranges;
A separate Routers RT added;
area range config commands and config write added
1999-08-28 Alex Zinin <zinin@amt.ru>
* ospf_route.c :
ospf_route_free()--added code to free the list of paths;
The following functions added:
ospf_intra_add_router();
ospf_intra_add_transit();
ospf_intra_add_stub();
the last function uses new ospf_int_lookup_by_prefix();
show_ip_ospf_route_cmd()--changed to support new RT structure;
added ospf_cmp_routes()--general route comparision function;
added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
they are used in ASE and IA routing;
added ospf_subst_route() and ospf_add_route();
1999-08-28 Alex Zinin <zinin@amt.ru>
* ospf_route.h :
changed struct ospf_path to include output interface,
changed struct ospf_route to support IA and ASE routing.
added prototypes of the function used in IA and ASE modules.
1999-08-28 Alex Zinin <zinin@amt.ru>
* ospf_lsa.h ospf_lsa.c :
added ospf_my_lsa(), an interface independent version of
ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
1999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_interface.c (interface_config_write): Add check for
oi->nbr_self.
1999-08-25 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_dup): New function added.
* ospf_packet.c (ospf_write), (ospf_read): Print send/recv
interface in debug message.
1999-08-25 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_ls_ack_send): The name is changed from
`ospf_ls_ack_send'.
(ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
Delayed Link State Acknowledgment is scheduled by timer.
1999-08-25 Alex Zinin <zinin@amt.ru>
* ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
a stub network instead of link to a transit network into
originated router-LSA, bug fixed.
1999-08-24 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_update_router_id): New function added.
* ospf_network.c (ospf_write): Create new socket per transmission.
And select outgoing interface whether dst is unicast or multicast.
* ospf_packet.c: LSA flooding will work.
1999-08-24 VOP <vop@unity.net>
* ospf_route.c: Include "sockunion.h"
1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_network.c (ospf_serv_sock_init): Enclose
IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
not have the definition.
1999-08-23 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c: Fix bug of DD processing.
1999-08-18 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
1999-08-17 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
corrected. The bug of `mes_lookup' is fixed.
This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
* ospf_lsa.c (ospf_router_lsa_install): The name is changed from
`ospf_add_router_lsa'.
(ospf_network_lsa_install): The name is changed from
`ospf_add_network_lsa'.
* ospf_interface.h (ospf_interface): Add member `nbr_self'.
* ospf_interface.c (ospf_if_is_enable): New function added.
1999-08-16 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.h (struct lsa_header): The name is changed from
`struct ospf_lsa'.
(struct ospf_lsa): New struct added to control each LSA's aging
and timers.
* ospf_lsa.c (ospf_lsa_data_free): The name is change from
`ospf_lsa_free'.
(ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
(ospf_lsa_different), (ospf_lsa_install): New function added.
* ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
1999-08-12 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (nsm_reset_nbr): New function added.
KillNbr and LLDown neighbor event call this function.
1999-08-10 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_ls_retransmit)
(ospf_ls_upd_timer): New function added.
Set retransmission timer for Link State Update.
1999-07-29 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c (ospf_dr_election): Fix bug of DR election.
1999-07-28 Toshiaki Takada <takada@zebra.org>
* ospf_network.c (ospf_serv_sock_init): Set IP precedence field
with IPTOS_PREC_INTERNET_CONTROL.
* ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
if NSM status change.
* ospf_packet.c (ospf_make_hello): Never include a neighbor in
Hello packet, when the neighbor goes down.
1999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
* Makefile.am (noinst_HEADERS): Add ospf_route.h.
* ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
command.
1999-07-25 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
assignement.
1999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_route.c (ospf_route_table_free): New function added.
* ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
distance is same.
* ospfd.h (struct ospf): Add old_table.
* ospf_main.c (sighup): Call of log_rotate () removed.
* ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
area->lsa as self LSA. This should be area->lsa_self.
1999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
(),ospf_zebra_delete () added.
* ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
1999-07-24 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c: Change LS sequence number treatment.
(ospf_lsa_is_self_originated): New function added.
(show_ip_ospf_database_self_originated): New DEFUN added.
1999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
1999-07-22 Toshiaki Takada <takada@zebra.org>
* ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
(ospf_nexthop_dup): function added.
(ospf_nexthop_calculation): function changed.
* ospf_interface.c (ospf_if_lookup_by_addr): function added.
1999-07-21 Toshiaki Takada <takada@zebra.org>
* ospf_spf.c (ospf_spf_closest_vertex): function removed.
1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
1999-07-21 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
* ospf_lsa.c (show_ip_ospf_database_router): describe each
connected link.
1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
change behavior according to LSA type.
(ospf_lsa_has_link): Link check function is added.
1999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
SPF calcultion schedule addtition.
(ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
timer is added.
(ospf_spf_next_router): Delete ospf_spf_next_network ().
* ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
header typo correction. Display of router LSA's #link added.
1999-07-19 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_check_network_mask): Added new function for
receiving Raw IP packet on an appropriate interface.
1999-07-16 Toshiaki Takada <takada@zebra.org>
* ospfd.c (ospf_router_id): new DEFUN added.
1999-07-15 Toshiaki Takada <takada@zebra.org>
* ospf_spf.c (ospf_spf_init), (ospf_spf_free),
(ospf_spf_has_vertex), (ospf_vertex_lookup),
(ospf_spf_next_router), (ospf_spf_next_network),
(ospf_spf_closest_vertex), (ospf_spf_calculate):
function added.
1999-07-13 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c: fix bug of DR Election.
* ospf_nsm.c: fix bug of adjacency forming.
1999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (ospf_init): Change to use install_default.
1999-07-01 Rick Payne <rickp@rossfell.co.uk>
* ospf_zebra.c (zebra_init): Install standard commands to
ZEBRA_NODE.
1999-06-30 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c: Whole debug command is improved.
(ISM|NSM) (events|status|timers) debug option added.
(show_debugging_ospf): new DEFUN added.
1999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
IPV4_ADDR_SAME.
1999-06-29 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
(ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
* ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
* ospf_ism.c (ospf_dr_election): fix DR Election.
* ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
command's state.
1999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
1999-06-28 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (show_ip_ospf_database_network): fix bug of
`show ip ospf database network' command output.
* ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
Retransmission, Database Summary and Link State Request.
* ospf_packet.c (ospf_ls_req_timer): New function added.
Set Link State Request retransmission timer.
1999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_main.c (main): Change default output from ZLOG_SYSLOG to
ZLOG_STDOUT.
* ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
show_ip_ospf_neighbor_cmd to VIEW_NODE.
* ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
and show_ip_ospf_database_type_cmd to VIEW_NODE.
1999-06-25 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c: fix bug of DD making.
fix bug of LS-Update reading.
1999-06-23 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c: All type of packets are changed to use
fifo queue structure.
(ospf_fill_header) function added.
1999-06-22 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c (ospf_packet_new): New function added to handle
sending ospf packet by fifo queue structure.
(ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
(ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
(ospf_fifo_free): Likewise.
1999-06-21 Toshiaki Takada <takada@zebra.org>
* ospf_nsm.c (ospf_db_desc_timer): function added.
(nsm_timer_set) function added.
* ospf_dump.c (ospf_option_dump): function added.
* ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
1999-06-20 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c (ospf_lsa_more_recent): function added.
* ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
to dd_flags.
1999-06-19 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
* ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
(if_ospf_hello_interval), (if_ospf_priority),
(if_ospf_retransmit_interval), (if_ospf_transmit_delay)
argument changed from NUMBER to <range>.
DEFUN (if_ospf_network_broadcast),
DEFUN (if_ospf_network_non_broadcast),
DEFUN (if_ospf_network_point_to_multipoint),
DEFUN (if_ospf_network_point_to_point) functions are combined to
DEFUN (if_ospf_network).
1999-06-18 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
ospf_lsa_lookup (), ospf_lsa_count () Added.
1999-06-15 Toshiaki Takada <takada@zebra.org>
* DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
`debug ospf ism' command shows debug message.
`debuf ospf nsm' command shows debug message.
1999-06-14 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c: ospf_network_lsa () Added.
ospf_lsa_checksum () Added.
* DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
`debug ospf packet' command shows debug message.
1999-06-13 Toshiaki Takada <takada@zebra.org>
* ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
ospf_ls_ack {}.
1999-06-11 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c: fix IP packet length treatment.
1999-06-10 Toshiaki Takada <takada@zebra.org>
* ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
* ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
* ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
ospf_make_hello (), ospf_make_db_desc () Added.
ospf_db_desc_proc () Added.n
* Database Description packet can be processed.
1999-06-08 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.c: New file.
1999-06-07 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.c: ospf_fully_adjacent_count () Added.
1999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_spf.[ch]: New file.
1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c: Changed to use lib/zclient.c routines.
* ospf_zebra.h (zebra_start): Remove struct zebra.
1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospfd.c (ospf_config_write): Add cast (unsigned long int) to
ntohl for sprintf warning.
1999-05-19 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
if interface state changes to DR or BDR.
1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
* ospf_main.c (signal_init): SIGTERM call sigint.
(sigint): Logging more better message.
1999-05-12 Toshiaki Takada <takada@zebra.org>
* ospfd.c: Fix bug of `no router ospf' statement, it will work.
1999-05-11 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.c: ospf_nbr_free () Added.
1999-05-10 Toshiaki Takada <takada@zebra.org>
* ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
* Fix bug of `no network' statement, it will work.
1999-05-07 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
updated by ospf_if_update ().
1999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
* Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
1999-04-25 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c: DEFUN (no_if_ospf_cost),
DEFUN (no_if_ospf_dead_interval),
DEFUN (no_if_ospf_hello_interval),
DEFUN (no_if_ospf_priority),
DEFUN (no_if_ospf_retransmit_interval),
DEFUN (no_if_ospf_transmit_delay) Added.
interface_config_write () suppress showing interface
default values.
1999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
* ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
of ospf_network { }. So `router ospf' statement in ospfd.conf
works again.
(ospf_if_update): Call ospf_get_router_id for updating router ID.
1999-04-25 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c: DEFUN (if_ospf_network) deleted.
DEFUN (if_ospf_network_broadcast),
DEFUN (if_ospf_network_non_broadcast),
DEFUN (if_ospf_network_point_to_multipoint),
DEFUN (if_ospf_network_point_to_point),
DEFUN (no_if_ospf_network) Added.
1999-04-23 Toshiaki Takada <takada@zebra.org>
* ospfd.h: struct area { } changed to struct ospf_network { }.
Add struct ospf_area { }.
* ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
and ospf_network_free ().
DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
1999-04-22 Toshiaki Takada <takada@zebra.org>
* ospf_lsa.h: New file.
* ospf_packet.h: LSA related struct definition are moved to
ospf_lsa.h.
* ospf_packet.c: ospf_verify_header () Added.
1999-04-21 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c: ospf_elect_dr () and related function is changed.
DR Election bug fixed.
* ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
* ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
1999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_main.c (main): access_list_init () is added for vty
connection filtering.
1999-04-16 Toshiaki Takada <takada@zebra.org>
* ospfd.c: DEFUN (show_ip_ospf_interface) Added.
* ospf_neighbor.c: ospf_nbr_count () Added.
1999-04-15 Toshiaki Takada <takada@zebra.org>
* ospfd.h: struct ospf { } Changed.
* ospfd.c: ospf_lookup_by_process_id () Deleted.
* ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
1999-04-14 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c: ospf_elect_dr () Added.
* ospf_network.c: ospf_if_ipmulticast () Added.
1999-04-11 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c: interface_config_write (),
DEFUN (if_ip_ospf_cost),
DEFUN (if_ip_ospf_dead_interval),
DEFUN (if_ip_ospf_hello_interval),
DEFUN (if_ip_ospf_priority),
DEFUN (if_ip_ospf_retransmit_interval) and
DEFUN (if_ip_ospf_transmit_delay) Added.
1999-04-08 Toshiaki Takada <takada@zebra.org>
* ospf_dump.c: ospf_packet_db_desc_dump () Added.
* ospf_neighbor.c: ospf_nbr_bidirectional () Added.
* ospf_nsm.c: nsm_twoway_received () Added.
1999-04-02 Toshiaki Takada <takada@zebra.org>
* ospf_neighbor.c: New file.
* ospf_neighbor.h: New file.
* ospf_nsm.c: New file.
* ospf_nsm.h: New file.
* ospf_packet.c: Add ospf_make_header (), ospf_hello () and
ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
1999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
1999-03-19 Toshiaki Takada <takada@zebra.org>
* ospf_packet.c: New file.
* ospf_packet.h: New file.
* ospf_network.c: New file.
* ospf_network.h: New file.
* ospfd.h: move OSPF message structure has moved to ospf_packet.h.
1999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
* ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
address.
* Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
for install ospfd.conf.sample as owner read only file.
* ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
1999-03-15 Toshiaki Takada <takada@zebra.org>
* ospf_ism.c: New file.
* ospf_ism.h: New file.
* ospf_dump.c: New file.
* ospf_dump.h: New file.
* ospfd.h: Add (struct ospf), (struct config_network),
(struct message) structure.
* ospf_interface.c: Add ospf_if_match_network ().
* ospf_interface.h (struct ospf_interface): Change struct members.
* ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
DEFUN (network_area): Added.
* ospfd.conf.sample: Change sample configuration.
1999-03-05 Toshiaki Takada <takada@zebra.org>
* ospf_interface.c: New file.
* ospf_interface.h: New file.
* ospf_zebra.h: New file.
* ospf_zebra.c: Add interface function for zebra daemon.
* ospfd.c: New file.
1999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
* Move IPv6 codes and files to ospf6d directory.
1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
* syslog support added
1998-12-22 Toshiaki Takada <takada@zebra.org>
* ospfd.h: New file.
* ospf_lsa.h: New file.
1998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
* Makefile.am: New file.
* ospf_main.c: New file.
|