ChangeLog 128 KB

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