ChangeLog 89 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848
  1. 2005-06-28 Paul Jakma <paul.jakma@sun.com>
  2. * (global) The great bgpd extern and static'ification.
  3. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code
  4. (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison
  5. warnings.
  6. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these
  7. used by various files which had their own private declarations,
  8. in the case of mplsvpn - incorrect.
  9. 2005-06-15 Paul Jakma <paul.jakma@sun.com>
  10. * bgpd.c: (bgp_terminate) workqueue's are lazy allocated and its
  11. possible to terminate bgpd before workqueues were setup, causing
  12. an abort/crash. Reported by Ashish Mehta of Sun.
  13. 2005-06-01 Paul Jakma <paul.jakma@sun.com>
  14. * (general) refcount struct peer and bgp_info, hence allowing us
  15. add work_queues for bgp_process.
  16. * bgp_route.h: (struct bgp_info) Add 'lock' field for refcount.
  17. Add bgp_info_{lock,unlock} helper functions.
  18. Add bgp_info_{add,delete} helpers, to remove need for
  19. users managing locking/freeing of bgp_info and bgp_node's.
  20. * bgp_table.h: (struct bgp_node) Add a flags field, and
  21. BGP_NODE_PROCESS_SCHEDULED to merge redundant processing of
  22. nodes.
  23. * bgp_fsm.h: Make the ON/OFF/ADD/REMOVE macros lock and unlock
  24. peer reference as appropriate.
  25. * bgp_damp.c: Remove its internal prototypes for
  26. bgp_info_delete/free. Just use bgp_info_delete.
  27. * bgpd.h: (struct bgp_master) Add work_queue pointers.
  28. (struct peer) Add reference count 'lock'
  29. (peer_lock,peer_unlock) New helpers to take/release reference
  30. on struct peer.
  31. * bgp_advertise.c: (general) Add peer and bgp_info refcounting
  32. and balance how references are taken and released.
  33. (bgp_advertise_free) release bgp_info reference, if appropriate
  34. (bgp_adj_out_free) unlock peer
  35. (bgp_advertise_clean) leave the adv references alone, or else
  36. call bgp_advertise_free cant unlock them.
  37. (bgp_adj_out_set) lock the peer on new adj's, leave the reference
  38. alone otherwise. lock the new bgp_info reference.
  39. (bgp_adj_in_set) lock the peer reference
  40. (bgp_adj_in_remove) and unlock it here
  41. (bgp_sync_delete) make hash_free on peer conditional, just in
  42. case.
  43. * bgp_fsm.c: (general) document that the timers depend on
  44. bgp_event to release a peer reference.
  45. (bgp_fsm_change_status) moved up the file, unchanged.
  46. (bgp_stop) Decrement peer lock as many times as cancel_event
  47. canceled - shouldnt be needed but just in case.
  48. stream_fifo_clean of obuf made conditional, just in case.
  49. (bgp_event) always unlock the peer, regardless of return value
  50. of bgp_fsm_change_status.
  51. * bgp_packet.c: (general) change several bgp_stop's to BGP_EVENT's.
  52. (bgp_read) Add a mysterious extra peer_unlock for ACCEPT_PEERs
  53. along with a comment on it.
  54. * bgp_route.c: (general) Add refcounting of bgp_info, cleanup
  55. some of the resource management around bgp_info. Refcount peer.
  56. Add workqueues for bgp_process and clear_table.
  57. (bgp_info_new) make static
  58. (bgp_info_free) Ditto, and unlock the peer reference.
  59. (bgp_info_lock,bgp_info_unlock) new exported functions
  60. (bgp_info_add) Add a bgp_info to a bgp_node in correct fashion,
  61. taking care of reference counts.
  62. (bgp_info_delete) do the opposite of bgp_info_add.
  63. (bgp_process_rsclient) Converted into a work_queue work function.
  64. (bgp_process_main) ditto.
  65. (bgp_processq_del) process work queue item deconstructor
  66. (bgp_process_queue_init) process work queue init
  67. (bgp_process) call init function if required, set up queue item
  68. and add to queue, rather than calling process functions directly.
  69. (bgp_rib_remove) let bgp_info_delete manage bgp_info refcounts
  70. (bgp_rib_withdraw) ditto
  71. (bgp_update_rsclient) let bgp_info_add manage refcounts
  72. (bgp_update_main) ditto
  73. (bgp_clear_route_node) clear_node_queue work function, does
  74. per-node aspects of what bgp_clear_route_table did previously
  75. (bgp_clear_node_queue_del) clear_node_queue item delete function
  76. (bgp_clear_node_complete) clear_node_queue completion function,
  77. it unplugs the process queues, which have to be blocked while
  78. clear_node_queue is being processed to prevent a race.
  79. (bgp_clear_node_queue_init) init function for clear_node_queue
  80. work queues
  81. (bgp_clear_route_table) Sets up items onto a workqueue now, rather
  82. than clearing each node directly. Plugs both process queues to
  83. avoid potential race.
  84. (bgp_static_withdraw_rsclient) let bgp_info_{add,delete} manage
  85. bgp_info refcounts.
  86. (bgp_static_update_rsclient) ditto
  87. (bgp_static_update_main) ditto
  88. (bgp_static_update_vpnv4) ditto, remove unneeded cast.
  89. (bgp_static_withdraw) see bgp_static_withdraw_rsclient
  90. (bgp_static_withdraw_vpnv4) ditto
  91. (bgp_aggregate_{route,add,delete}) ditto
  92. (bgp_redistribute_{add,delete,withdraw}) ditto
  93. * bgp_vty.c: (peer_rsclient_set_vty) lock rsclient list peer
  94. reference
  95. (peer_rsclient_unset_vty) ditto, but unlock same reference
  96. * bgpd.c: (peer_free) handle frees of info to be kept for lifetime
  97. of struct peer.
  98. (peer_lock,peer_unlock) peer refcount helpers
  99. (peer_new) add initial refcounts
  100. (peer_create,peer_create_accept) lock peer as appropriate
  101. (peer_delete) unlock as appropriate, move out some free's to
  102. peer_free.
  103. (peer_group_bind,peer_group_unbind) peer refcounting as
  104. appropriate.
  105. (bgp_create) check CALLOC return value.
  106. (bgp_terminate) free workqueues too.
  107. 2005-05-28 Hasso Tepper <hasso at quagga.net>
  108. * bgp_routemap.c: Sync set_metric_addsub_cmd with ripd.
  109. 2005-05-27 Hasso Tepper <hasso at quagga.net>
  110. * bgp_routemap.c: Stop leaking communities.
  111. 2005-05-27 Hasso Tepper <hasso at quagga.net>
  112. * bgpd.c: Deleting bgp->rsclient list needs fix similar to pree-groups
  113. deleting fix. Avoid leaking bgp->group, bgp->peer and bgp->rsclient
  114. lists.
  115. 2005-05-26 Hasso Tepper <hasso at quagga.net>
  116. * bgpd.c: Don't crash while deleting list of peer-groups.
  117. 2005-05-25 Hasso Tepper <hasso at quagga.net>
  118. * bgpd.c: Fix obvious (routeserver patch) merge error. This makes "no
  119. neighbor x.x.x.x routemap [export|import] commands work again.
  120. 2005-05-23 Paul Jakma <paul@dishone.st>
  121. * bgp_routemap.c: add semi-colons to VTY_GET_* to match vty.h change
  122. * bgp_fsm.h: Add extern qualifier to exported functions
  123. * bgp_nexthop.c: add static to nexthop specific globals
  124. * *.h: Add guard defines
  125. 2005-05-19 Paul Jakma <paul@dishone.st>
  126. * bgp_fsm.c: (bgp_stop) use sockunion_free, not XFREE..
  127. * bgp_network.c: (bgp_getsockname) ditto
  128. (bgp_accept) use XSTRDUP
  129. * bgp_routemap.c: (route_match_peer) ditto, als use a ret value and
  130. remove one sockunion_free.
  131. * bgpd.c: (peer_delete) ditto.
  132. XFREE the correct memtype, not free.
  133. (peer_create) use XSTRDUP
  134. * bgp_packet.c: (bgp_stream_dup) deleted, stream_dup should be used
  135. (various) update -> s/bgp_stream_dup/stream_dup
  136. 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  137. * bgp_zebra.c (bgp_redistribute_set, bgp_redistribute_unset):
  138. The 2nd arg to zebra_redistribute_send is now zclient instead of
  139. zclient->sock.
  140. 2005-04-09 Akihiro Mizutani <mizutani@net-chef.net>
  141. * bgp_vty.c: Make "exit-address-family" work in IPv4 unicast address
  142. family node.
  143. 2005-04-08 Martin Ling <martin-quagga@earth.li>
  144. * bgp_aspath.[ch], bgp_route.c, bgp_vty.c, bgpd.[ch]: Allow to enable
  145. the length of confederation path segments to be included during the
  146. as-path length check in the best path decision.
  147. 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  148. * bgp_zebra.c: (bgp_interface_delete) After deleting, set ifp->ifindex
  149. to IFINDEX_INTERNAL.
  150. 2005-03-21 Hasso Tepper <hasso at quagga.net>
  151. * bgp_route.c: Don't crash while clearing route tables if there is
  152. no particular afi/safi configured.
  153. 2005-02-23 Hasso Tepper <hasso at quagga.net>
  154. * bgp_route.c: Make reannouncing prefixes with changed attributes
  155. work again.
  156. 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
  157. * bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
  158. transparent-nexthop" commands.
  159. 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
  160. * bgp_routemap.c: New route-map command - "match ip route-source".
  161. 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
  162. * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
  163. community-list cleanup.
  164. 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
  165. * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop"
  166. -> "disable-connected-check".
  167. 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
  168. * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
  169. bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
  170. graceful-restart" commands added. Show numbers of individual
  171. messages in "show ip bgp neighbor" command. Final pieces of graceful
  172. restart.
  173. 2005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
  174. * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
  175. capability route-refresh" commands. Route refresh capability is sent
  176. anyway now. Preserve dummy deprecated commands.
  177. 2005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
  178. * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
  179. draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
  180. version" command as deprecated.
  181. 2005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
  182. * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
  183. maximum-prefix limit" feature support.
  184. 2005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
  185. * bgp_nexthop.c: Improve debug.
  186. * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
  187. function.
  188. * bgp_packet.c: MP AFI_IP update and withdraw parsing.
  189. * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
  190. is better place to log about peer status change than bgp_event().
  191. Log in bgp_connect_success().
  192. * bgp_vty.c: Fix typo in comment.
  193. * bgp_attr.c: Better log about unknown attribute.
  194. 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  195. * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
  196. of buffer_getstr.
  197. * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
  198. returned by buffer_getstr.
  199. (bgp_show_community) Must use XFREE instead of free on string
  200. returned by buffer_getstr.
  201. * bgp_routemap.c: (set_community) Must use XFREE instead of free
  202. on string returned by buffer_getstr.
  203. * bgp_vty.c: (neighbor_description) Use argv_concat instead of
  204. buffer_getstr.
  205. 2005-01-24 Hasso Tepper <hasso at quagga.net>
  206. * bgp_route.c: Fix showstopper bug. New route must be selected also
  207. if old one is flaged as BGP_INFO_ATTR_CHANGED.
  208. 2005-01-17 Hasso Tepper <hasso at quagga.net>
  209. * bgp_route.c: Clear peer's routing table regardless whether it's
  210. configured or not. Being not configured is even better reason to
  211. do it.
  212. 2005-01-05 Paul Jakma <paul@dishone.st>
  213. * bgp_packet.c: (bgp_write) set socket to nonblock while writing
  214. this should be generalised. See bugzilla #102. Fix supplied by
  215. wawa@yandex-team.ru (Vladimir Ivanov).
  216. 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  217. * *.c: Change level of debug messages to LOG_DEBUG.
  218. 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  219. * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
  220. 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  221. * bgp_main.c: (sigint) Use zlog_notice for termination message.
  222. (main) Use zlog_notice for startup announcement.
  223. 2004-11-25 Hasso Tepper <hasso at quagga.net>
  224. * bgp_main.c: Make group to run as configurable.
  225. 2004-11-09 Paul Jakma <paul@dishone.st>
  226. * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
  227. and cache{1,2}.. into arrays of tables and hence collapse
  228. bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
  229. a long time ago (and this change was hand-merged).
  230. 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  231. * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
  232. is deprecated because the output did not represent a single point
  233. in time. All output needs to be generated inline and buffered
  234. by the library code.
  235. (route_vty_out,route_vty_out_tag,damp_route_vty_out,
  236. flap_route_vty_out) Remove code to count number of lines of output,
  237. since this was only useful for VTY_CONTINUE behavior.
  238. (bgp_show_callback,vty_calc_line) Removed.
  239. (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
  240. As a result, there's a new output_arg argument to this function.
  241. Make function static.
  242. (bgp_show) Make function static and add a new output_arg argument.
  243. Change all functions that call bgp_show or bgp_show_table to
  244. pass the new output_arg argument (that used to be passed inside
  245. vty->output_arg).
  246. * bgp_mplsvpn.c: Remove declarations of functions defined in
  247. bgp_route.c; these declarations belong in bgp_route.h.
  248. * bgp_route.h: Declare 3 global functions used in both bgp_route.c
  249. and in bgp_mplsvpn.c.
  250. 2004-10-31 Paul Jakma <paul@dishone.st>
  251. * {bgpd,bgp_attr}.c: size_t printf format should be ld.
  252. 2004-10-25 Paul Jakma <paul@dishone.st>
  253. * Update with fix in debian bug id 222930.
  254. * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
  255. bgp_network.c: (....) raise/lower privs around call to
  256. SO_BINDTODEVICE sockopt.
  257. 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
  258. * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
  259. may be NULL.
  260. (bgp_connected_delete) ditto.
  261. 2004-10-14 Hasso Tepper <hasso at quagga.net>
  262. * bgp_dump.c: Make dump configuration appear in vtysh.
  263. 2004-10-13 Hasso Tepper <hasso at quagga.net>
  264. * bgp_snmp.c: Remove defaults used to initialize smux connection to
  265. snmpd. Connection is initialized only if smux peer is configured.
  266. * bgp_view.c: It's dead file. Reomved.
  267. 2004-10-13 Paul Jakma <paul@dishone.st>
  268. * (global) more const'ification and fixups of types to clean up code.
  269. * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
  270. should use something like the VTY_GET_INTEGER macro, but without
  271. the vty_out bits..
  272. * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
  273. (no_set_aggregator_as) ditto.
  274. * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
  275. returned, add comments about troublesome return value.
  276. 2004-10-03 James R. Leu <jleu at mindspring.com>
  277. * bgp_vty.c: Router id from zebra can be manually overriden.
  278. * bgp_zebra.c: Read router id related messages from zebra daemon.
  279. Remove own code related with router id selection.
  280. * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
  281. from zebra daemon if it isn't manually overriden.
  282. 2004-09-26 Hasso Tepper <hasso at quagga.net>
  283. * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
  284. 2004-09-23 Hasso Tepper <hasso at quagga.net>
  285. * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
  286. 2004-07-09 Paul Jakma <paul@dishone.st>
  287. * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
  288. * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
  289. attributes present before printing.
  290. * bgp_dump.c: update bgp_dump_attr prototype.
  291. * bgp_packet.c: (bgp_update_receive) init attrstr. check status
  292. of bgp_dump_attr. Log end-of-rib UPDATEs.
  293. 2004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
  294. * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
  295. if that is connection we're closing.
  296. (bgp_read) invalid marker check applies to KEEPALIVE too.
  297. * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
  298. 2004-06-04 Paul Jakma <paul@dishone.st>
  299. * type mismatch fixes
  300. 2004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
  301. * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
  302. Graceful restart capability display.
  303. 2005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  304. * bgp_debug.c: Cosmetical fixes and log neighbor changes.
  305. 2004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
  306. * bgp_ecommunity.c: Transit ecommunity support.
  307. * bgp_ecommunity.c: Fix for unknown community crush.
  308. 2005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  309. * *: Maximum prefix threshold support.
  310. * *: Reset notification fixups.
  311. 2004-05-08 Paul Jakma <paul@dishone.st>
  312. * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
  313. (bgp_interface_address_delete) ditto.
  314. (bgp_zebra_announce) ditto.
  315. (bgp_zebra_withdraw) ditto.
  316. 2004-05-03 Daniel Roesen <dr@cluenet.de>
  317. * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
  318. Established so that it reflects true downtime (rather time
  319. since last transition, eg Active->Idle)
  320. 2004-05-01 rivo nurges <rix@estpak.ee>
  321. * bgp_route.c: fix UNH IOL BGP-4.1.12f
  322. 2004-05-01 Paul Jakma <paul@dishone.st>
  323. * Revert the attempted clean-up of the dummy peer hack, reverts
  324. patchsets 435 (see 2004-02-17 below) and 456.
  325. 2004-04-16 rivo nurges <rix@estpak.ee>
  326. * bgpd.h, bgp_debug.c: update cease subcodes to
  327. draft-ietf-idr-cease-subcode-05
  328. * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
  329. 2004-02-17 Paul Jakma <paul@dishone.st>
  330. * bgpd.h: (bgp_peer) add fd_local and fd_accept
  331. file descriptor's, fd becomes a pointer to one of these.
  332. * bgpd.c: (global) adjust for fact that fd is now a pointer.
  333. (peer_create_accept) removed.
  334. * bgp_route.c: (global) adjust for change of peer fd to pointer
  335. * bgp_packet.c: (bgp_collision_detect) adjust and remove the
  336. "replace with other peer" hack.
  337. * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
  338. Update peer->fd_accept instead.
  339. (global) Adjust fd references - now a pointer.
  340. * bgp_fsm.c: (global) adjust peer fd to pointer.
  341. (bgp_connection_stop) new function, to stop connection.
  342. (global) adjust everything which closed peer fd to use
  343. bgp_connection_stop().
  344. 2003-12-23 Krzysztof Oledzki <oleq@ans.pl>
  345. * bgp_network.c: drop privs on error cases
  346. 2003-08-11 kunihiro <kunihiro@zebra.org>
  347. * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
  348. ability to specify 'peer-address' rather than IP.
  349. 2003-06-09 Paul Jakma <paul@dishone.st>
  350. * bgp_clist.c (community_list_delete): honour deny statements
  351. 2003-04-19 Hasso Tepper <hasso@estpak.ee>
  352. * rip_routemap.c: sync daemon's route-map commands to have same
  353. syntax
  354. 2003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
  355. * bgp_routemap.c: Add match extcommunity command.
  356. 2002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  357. * bgp_aspath.c (aspath_init): Extend hash size from default to
  358. 32767.
  359. (aspath_key_make): Use unsigned shoft for making hash. Suggested
  360. by: Marc Evans <Marc@SoftwareHackery.Com>
  361. 2002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  362. * bgp_clist.c (community_entry_free): Fix memory leak of standard
  363. extcommunity-list config string.
  364. 2002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
  365. * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
  366. when multiple instance is used.
  367. 2002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
  368. * bgpd.c: Make "default-originate" and "maximum-prefix" commands
  369. available in peer-group configuration.
  370. 2002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
  371. * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
  372. capability packet cause error or dont-capability-negotiate option
  373. is specified.
  374. 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  375. * zebra-0.93 released.
  376. 2001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  377. * bgpd.c (bgp_vty_init): Translate update commands are removed.
  378. 2001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  379. * bgp_route.c (bgp_static_set): Add workaround for BGP static
  380. route announcement when there is no zebra running.
  381. 2001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  382. * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
  383. unicast multicast" commands.
  384. 2001-09-14 Akihiro Mizutani <mizutani@dml.com>
  385. * bgp_open.c: When we receive capability route-refresh, we should
  386. check we send the capability not we receive the capability.
  387. * bgp_route.c (bgp_network_mask_natural_route_map): network
  388. statement route-map is added.
  389. 2001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  390. * bgp_advertise.c (bgp_advertise_intern): attr must be interned
  391. before looking up hash table.
  392. 2001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  393. * bgpd.h (struct peer): BGP filter is moved from peer_conf to
  394. peer.
  395. 2001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  396. * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
  397. Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
  398. 2001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  399. * bgp_table.c (bgp_node_create): Clearn memory before use it.
  400. 2001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  401. * Change to use bgp_table.[ch].
  402. 2001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  403. * bgpd.c (bgp_init): Add "transparent-as" and
  404. "transparent-nexthop" for old version compatibility.
  405. 2001-08-23 Akihiro Mizutani <mizutani@dml.com>
  406. * bgpd.h (struct peer): default-originate route-map is added.
  407. * bgp_route.c: When self originated route is advertised with
  408. attrubute-unchanged, nexthop was not properly set. This bug is
  409. fixed.
  410. 2001-08-22 Akihiro Mizutani <mizutani@dml.com>
  411. * bgpd.c (neighbor_attr_unchanged): transparent-as and
  412. transparent-next-hop commands are restructured. Instead of
  413. current transparent-* commands, attribute-unchanged command is
  414. introduced.
  415. neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
  416. (neighbor_default_originate): "default-originate" configuration
  417. announce default route even 0.0.0.0/0 does not exists in BGP RIB.
  418. 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  419. * zebra-0.92a released.
  420. 2001-08-19 Akihiro Mizutani <mizutani@dml.com>
  421. * bgpd.c: AF specific soft-reconfiguration inbound commands are
  422. added.
  423. 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  424. * bgp_route.c (bgp_show_callback): Do not do community NULL check.
  425. * bgp_community.c (community_cmp): Add check for commnunity NULL
  426. check.
  427. * bgp_routemap.c (route_match_community): Do not check comunity is
  428. NULL. It may match to community-list "^$".
  429. * bgp_community.c (community_match): Add check for community is
  430. NULL case.
  431. 2001-08-17 Akihiro Mizutani <mizutani@dml.com>
  432. * bgpd.c: AF specific route-reflector-client and
  433. route-server-client configuration are added.
  434. 2001-08-17 Rick Payne <rickp@ayrnetworks.com>
  435. * bgp_clist.c (community_match_regexp): Check special ^$ case.
  436. 2001-08-17 Akihiro Mizutani <mizutani@dml.com>
  437. * bgp_clist.c (community_list_match): Fix bug of community list
  438. permit and deny check.
  439. 2001-08-16 Akihiro Mizutani <mizutani@dml.com>
  440. * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
  441. command.
  442. 2001-08-15 Akihiro Mizutani <mizutani@dml.com>
  443. * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
  444. flag is introduced.
  445. * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
  446. 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  447. * zebra-0.92 released.
  448. 2001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  449. * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
  450. table properly.
  451. 2001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  452. * bgp_route.c (bgp_node_safi): Return SAFI of current node.
  453. (bgp_config_write_network_vpnv4): VPNv4 static configuration
  454. display.
  455. 2001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  456. * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
  457. node filter commands.
  458. 2001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  459. * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
  460. "ignore-link-local-nexthop" flag for ignore link-local nexthop for
  461. IPv6.
  462. 2001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  463. * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
  464. multicast" is added.
  465. (address_family_ipv6_unicast): "address-family ipv6 unicast" is
  466. added.
  467. 2001-08-07 Akihiro Mizutani <mizutani@dml.com>
  468. * bgp_route.c (bgp_process): Use flag instead of as_selected
  469. memeber in struct bgp_info.
  470. * bgp_route.h (struct bgp_info): Remove as_selected memeber from
  471. struct bgp_info.
  472. 2001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  473. * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
  474. check code with #ifdef BGP_SEND_ASPATH_CHECK.
  475. 2001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  476. * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
  477. * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
  478. information is alive or not.
  479. * bgp_community.c: Use community_val_get() on all OS.
  480. 2001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  481. * bgp_route.c (bgp_announce_check): Simplify set next-hop self
  482. check.
  483. 2001-07-24 Akihiro Mizutani <mizutani@dml.com>
  484. * bgp_route.c (bgp_announce_check): To route server clients, we
  485. announce AS path, MED and nexthop transparently.
  486. 2001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  487. * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
  488. XFREE. No memory is allocated in
  489. route_set_atomic_aggregate_compile().
  490. 2001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  491. * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
  492. are replaced by `address-family ipv4` and `address-family vpnvr'.
  493. 2001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  494. * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
  495. Reported by Rick Payne <rickp@rossfell.co.uk>.
  496. 2001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  497. * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
  498. empty, use socket's remote address for the nexthop.
  499. 2001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  500. * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
  501. <Yosi_Yarchi@KereniX.com>
  502. 2001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  503. * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
  504. <Yosi_Yarchi@KereniX.com>
  505. 2001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  506. * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
  507. of ri->next.
  508. * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
  509. when HAVE_IPV6 is not defined.
  510. 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
  511. * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
  512. than holdtime / 3.
  513. (bgp_confederation_peers_unset): Only set peer->local_as when
  514. confederation is enabled.
  515. (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
  516. * bgp_route.c (bgp_announce_check): Set med of redistributed route
  517. when it is announced to EBGP peer.
  518. 2001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
  519. * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
  520. all prefixes.
  521. 2001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  522. * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
  523. erroneous attribute (type, length and value), it does include
  524. attribute flags field.
  525. 2001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
  526. * bgp_route.c (bgp_announce_check): The route reflector is not
  527. allowed to modify the attributes of the reflected IBGP routes.
  528. 2001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
  529. * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
  530. confederation peer is treated as same as IBGP peer.
  531. 2001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  532. * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
  533. attr. Call aspath_unintern when return from this function.
  534. 2001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
  535. * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
  536. changed.
  537. 2001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
  538. * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
  539. do not refrect the value to current session.
  540. 2001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  541. * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
  542. suppress route withdraw.
  543. * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
  544. 2001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
  545. * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
  546. AS_SET and AS_CONFED_SET.
  547. 2001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  548. * bgp_route.c (bgp_process): Do not consider suppress route.
  549. * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
  550. aspath->data is realloced.
  551. 2001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
  552. * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
  553. aggregate when using as-set.
  554. 2001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
  555. * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
  556. correctly.
  557. * bgp_route.c (bgp_update): Just ignore AS path loop for
  558. confederation peer.
  559. 2001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  560. * bgp_route.c (bgp_aggregate_set): Add as_set argument.
  561. (bgp_aggregate_unset): Remove summary_only argument.
  562. (aggregate_address_as_set): New commands.
  563. "aggregate-address A.B.C.D/M as-set"
  564. "no aggregate-address A.B.C.D/M as-set"
  565. 2001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
  566. * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
  567. route is passed by route reflector.
  568. 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  569. * bgp_route.c: "no bgp dampening" with argument.
  570. (bgp_announce_check): Do not modify nexthop when the route is
  571. passed by route reflector.
  572. 2001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
  573. * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
  574. ASN passive" to "neighbor NEIGHBOR passive".
  575. (bgp_announce_check): Check well-known community attribute even
  576. when "no neighbor send-community" is set.
  577. 2001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  578. * bgp_fsm.c (bgp_establish): Do not send keepalive at established
  579. time when keepalive timer is configured as zero.
  580. 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  581. * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
  582. preference is well-known attribute.
  583. 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  584. * zebra-0.91 is released.
  585. * bgp_attr.h (struct attr): Comment out DPA value.
  586. (struct attr): Change refcnt type from int to unsinged long.
  587. * bgp_attr.c (attrhash_key_make): Likewise.
  588. (attrhash_cmp): Likewise.
  589. (bgp_attr_dpa): Likewise.
  590. 2001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
  591. * bgp_route.c (bgp_info_cmp): Make route selection completely same
  592. as Cisco's.
  593. 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  594. * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
  595. BGP_ATTR_FLAG_* to clarify meenings.
  596. 2001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
  597. * bgp_route.c (route_vty_out): Display argument to suppress same
  598. prefix information display.
  599. (route_vty_out_route): Don't display mask information for
  600. classfull network.
  601. 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  602. * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
  603. * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
  604. check.
  605. 2001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  606. * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
  607. (bgp_attr_parse): Comment out well-known attribute check.
  608. 2001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  609. * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
  610. used for network advertisement.
  611. (nlri_parse): When link-local IPv6 address NLRI comes from
  612. remote-peer, log the information then simply ignore it.
  613. * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
  614. redistributed.
  615. * bgp_route.c (bgp_update): Check IPv6 global nexthop
  616. reachability.
  617. 2001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  618. * bgp_route.c (bgp_update): Check nexthop points local address or
  619. not.
  620. (bgp_static_update_vpnv4): Set valid flag.
  621. * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
  622. (bgp_attr_parse): Well-known attribute check.
  623. * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
  624. * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
  625. * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
  626. defined.
  627. * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
  628. 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  629. * bgpd.c (bgp_network_import_check): New command for IGP network
  630. check.
  631. 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  632. * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
  633. changed. Call bgp_process once for each node.
  634. 2001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
  635. * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
  636. 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  637. * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
  638. * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
  639. IBGP route.
  640. 2001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
  641. * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
  642. "show ip bgp A.B.C.D/M longer-prefixes"
  643. "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
  644. "show ipv6 bgp X:X::X:X/M longer-prefixes"
  645. "show ipv6 mbgp X:X::X:X/M longer-prefixes"
  646. 2001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
  647. * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
  648. "show ip bgp cidr-only"
  649. "show ip bgp ipv4 (unicast|multicast) cidr-only"
  650. 2001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
  651. * bgp_route.c (bgp_update): AS path lookup check is done in
  652. bgp_update() not in attr_parse().
  653. 2001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  654. * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
  655. before bgp_attr_unintern().
  656. 2001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  657. * bgp_route.c (bgp_update): Now intern is performed very last part
  658. of the BGP packet update procedure.
  659. 2001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
  660. * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
  661. existing bgp_info structure.
  662. 2001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  663. * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
  664. address matching method.
  665. (bgp_update):
  666. * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
  667. check and IBGP nexthop route check.
  668. 2001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
  669. * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
  670. change.
  671. 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  672. * bgp_route.h (struct bgp_info): Remove selected flag. Use
  673. BGP_INFO_SELECTED for flags instead.
  674. (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
  675. flags instead.
  676. (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
  677. metric.
  678. (struct bgp_info_tab): Struct bgp_info_tag is integrated into
  679. struct bgp_info.
  680. (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
  681. * bgp_community.c (community_val_get): gcc-2.95 on
  682. sparc-sun-solaris cause crush. This function is for avoid the
  683. crush.
  684. 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  685. * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
  686. clear bug is fixed.
  687. 2001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
  688. * bgp_packet.c (bgp_open_receive): Return notification with
  689. supported version number.
  690. 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  691. * bgpd.c (bgp_show_summary): Display AS path and community
  692. entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
  693. * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
  694. read. When BGP packet read is partial, we must get size and type
  695. from packet again.
  696. 2001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
  697. * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
  698. (bgp_update): When there is a history entry increment route count.
  699. (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
  700. * bgp_damp.c (bgp_damp_withdraw): Set status to
  701. BGP_DAMP_DISCONTINUE.
  702. 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  703. * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
  704. IPv6 nexthop is not link-local addresss.
  705. 2001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
  706. * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
  707. configuration display.
  708. (bgp_damp_info_print): Display elapsed time from flap started.
  709. * bgp_damp.h (struct bgp_damp_info): Add flap start time.
  710. * bgpd.c (peer_create): Set last read time.
  711. (bgp_show_peer): Display last read time.
  712. (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
  713. configuration.
  714. * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
  715. (struct peer): Add last read time member.
  716. (BGP_VERSION_MP_4): Remove obsolete definition.
  717. 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  718. * bgp_nexthop.c: Remove OLD_RIB codes.
  719. * bgp_route.c (bgp_process): Likewise.
  720. * zebra-0.90 is released.
  721. * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
  722. bgp_info. Instead of that use BGP_INFO_DAMPED flag.
  723. (struct bgp_info): Remove invalid member from struct bgp_info.
  724. Instead of that use BGP_INFO_HISTORY flag.
  725. 2001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
  726. * bgp_damp.c (bgp_damp_info_print): New function to display
  727. dampening status.
  728. (DEFAULT_HARF_LIFE): Define default value.
  729. (DEFAULT_REUSE): Likewise.
  730. (DEFAULT_SUPPRESS): Likewise.
  731. (bgp_config_write_damp): When config value is same as default
  732. value, simply display "bgp dampening" to configuration.
  733. * bgp_damp.h (struct bgp_damp_info): Add flap member.
  734. * bgp_route.h (struct bgp_info): Added for BGP flap dampening
  735. history status.
  736. 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  737. * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
  738. address is properly handled.
  739. (bgp_connected_delete): Likewise.
  740. * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
  741. until it works fine.
  742. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  743. * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
  744. * bgp_route.c (bgp_update): When this is not damped route, clear
  745. ri pointer.
  746. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  747. * bgp_main.c: Add "-n" no_kernel option to not install route to
  748. kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
  749. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  750. * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
  751. connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
  752. * bgp_damp.c (bgp_config_write_damp): Add configuration display
  753. function.
  754. * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
  755. information when BGP info structure is freed.
  756. (bgp_info_cmp): Check damped flag.
  757. (bgp_announce_check): Damped route is not announced.
  758. 2001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
  759. * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
  760. route-refresh" command to "neighbor capability route-refresh".
  761. (clear_bgp_soft_in): Change soft-reconfig method.
  762. clear ip bgp <neighbor> soft in
  763. --------------------------------------
  764. Try stored cache first then route-refresh
  765. clear ip bgp <neighbor> in
  766. ---------------------------------
  767. Try route-refresh first then try to use stored cache
  768. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  769. * bgp_nexthop.c (bgp_connected_add): Check point-to-point
  770. connected route. Reported by ruud@ruud.org (Ruud de Rooij)
  771. 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  772. * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
  773. changed, refresh it.
  774. 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  775. * bgp_route.h (struct bgp_info_tag): Add as_selected to
  776. bgp_info_tag.
  777. 2001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  778. * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
  779. member for BGP flap dampening.
  780. * bgp_damp.c: New file is added.
  781. * bgp_damp.h: Likewise.
  782. 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  783. * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
  784. 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  785. * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
  786. socket for zebra communication.
  787. 2000-12-29 Akihiro Mizutani <mizutani@dml.com>
  788. * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
  789. 2000-12-27 Akihiro Mizutani <mizutani@dml.com>
  790. * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
  791. 2000-12-25 Akihiro Mizutani <mizutani@dml.com>
  792. * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
  793. 2000-12-18 Akihiro Mizutani <mizutani@dml.com>
  794. * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
  795. withdrawing best prefix perform router ID comparison.
  796. 2000-12-15 Akihiro Mizutani <mizutani@dml.com>
  797. * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
  798. routes comes from EBGP peer. When originator ID is same, take
  799. shorter cluster-list route. If cluster-list is same take smaller
  800. IP address neighbor's route.
  801. * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
  802. ignore" command. When this option is set, do not concider AS path
  803. length when route selection.
  804. (bgp_bestpath_compare_router_id): Add "bgp bestpath
  805. compare-routerid". When this option is set, compare router ID
  806. when the routes comes from EBGP peer.
  807. 2000-12-15 Akihiro Mizutani <mizutani@dml.com>
  808. * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
  809. available.
  810. 2000-12-14 Akihiro Mizutani <mizutani@dml.com>
  811. * bgp_packet.c (bgp_notify_receive): Disply received Notify data
  812. information.
  813. 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  814. * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
  815. it sure the memory is freed.
  816. * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
  817. HAVE_IPV6.
  818. 2000-12-08 Akihiro Mizutani <mizutani@dml.com>
  819. * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
  820. data part.
  821. * bgp_network.c (bgp_accept): When BGP connection comes from
  822. unconfigured IP address, close socket immediately.
  823. * bgpd.c: Fix some display format.
  824. 2000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  825. * bgp_packet.c (bgp_keepalive_send): Delete duplicate
  826. bgp_packet_set_size () call.
  827. 2000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  828. * bgp_packet.c (bgp_read_packet): Remove debug codes.
  829. 2000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  830. * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
  831. * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
  832. status.
  833. (bgp_establish): Likewise.
  834. 2000-11-26 Akihiro Mizutani <mizutani@dml.com>
  835. * bgp_open.c: Fix error messages.
  836. 2000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  837. * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
  838. established.
  839. (bgp_stop): Call BGP trap when the peer is dropped.
  840. 2000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  841. * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
  842. * bgpd.h (struct peer): Add update_time for track last update
  843. received time.
  844. * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
  845. code in any case.
  846. * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
  847. peering IP address.
  848. (bgpPeerTable): Return actual BGP version number.
  849. 2000-11-22 Akihiro Mizutani <mizutani@dml.com>
  850. * bgp_debug.c (bgp_notify_print): Notify data length display bug
  851. is fixed.
  852. 2000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  853. * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
  854. zebra is enabled, use the method.
  855. 2000-11-16 Akihiro Mizutani <mizutani@dml.com>
  856. * bgpd.c: Revise debug message output.
  857. 2000-11-15 Akihiro Mizutani <mizutani@dml.com>
  858. * bgp_clist.c (ip_community_list): Fix bug of string comparison.
  859. 2000-11-14 Akihiro Mizutani <mizutani@dml.com>
  860. * bgp_community.c (community_match): Fix bug of memcmp return
  861. value check.
  862. 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  863. * bgp_clist.c (community_list_match_exact): Add check for
  864. entry->style is COMMUNITY_LIST.
  865. (community_match_regexp): Apply new com_nthval macro.
  866. 2000-11-07 Rick Payne <rickp@rossfell.co.uk>
  867. * bgp_routemap.c (route_set_community_delete): "set
  868. community-delete COMMUNITY-LIST" is added.
  869. * bgp_community.c (community_del_val): Delete one community.
  870. (community_delete): Delete all community included in list.
  871. (community_match): Fix bug of matching community value.
  872. * bgp_clist.c (community_entry_free): Free community regular
  873. expression.
  874. (community_entry_make): Default style is COMMUNITY_LIST.
  875. (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
  876. (community_entry_regexp_lookup): New function for community
  877. regular expression lookup.
  878. (community_match_regexp): New function.
  879. (community_delete_regexp): New function.
  880. (community_list_delete_entries): New function.
  881. (community_list_match): Add COMMUNITY_REGEXP treatment.
  882. (community_list_match_exact): Likewise.
  883. (config_write_community): Write community list according to
  884. entry->style.
  885. 2000-11-07 Rick Payne <rickp@rossfell.co.uk>
  886. * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
  887. * bgp_clist.c (struct community_entry): Add style, regexp, reg to
  888. community_entry.
  889. 2000-11-06 Rick Payne <rickp@rossfell.co.uk>
  890. * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
  891. * bgpd.c (bgp_enforce_first_as): New command "bgp
  892. enforce-first-as".
  893. * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
  894. 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  895. * bgp_community.c (community_compare): Copy byte stream data to
  896. actual value instead of using type casting hack.
  897. (community_add_val): Likewise.
  898. (community_uniq_sort): Likewise.
  899. (community_print): Likewise.
  900. (community_print_vty): Likewise.
  901. (community_include): Use memcmp to compare community value.
  902. * bgp_community.h (com_lastval): com_lastval and com_nthval macro
  903. return pointer.
  904. 2000-11-06 Akihiro Mizutani <mizutani@dml.com>
  905. * bgpd.h (struct peer): Add established and dropped member for
  906. count peering up/down statistics.
  907. * bgpd.c (bgp_show_peer): Display peering up/down statistics.
  908. * bgp_fsm.c (bgp_establish): Increment established count.
  909. (bgp_stop): Increment dropped count.
  910. * bgp_packet.c (bgp_notify_receive): Increament notify count.
  911. 2000-11-1 Akihiro Mizutani <mizutani@dml.com>
  912. * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
  913. 2000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
  914. * bgpd.h: Static bit flag is set by (1 << DIGIT).
  915. 2000-10-24 Akihiro Mizutani <mizutani@dml.com>
  916. * bgp_ecommunity.c (ecommunity_dup): Extended community display
  917. format fix.
  918. 2000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
  919. * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
  920. (bgp_serv_sock_addrinfo): Check address family.
  921. 2000-10-23 Jochen Friedrich <jochen@scram.de>
  922. * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
  923. is registered. So those variables must be static.
  924. 2000-10-23 Akihiro Mizutani <mizutani@dml.com>
  925. * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
  926. next-hop" argument from IP address to access-list name.
  927. Remove zebra-0.88 compatibility commands.
  928. "match ip prefix-list WORD"
  929. "match ipv6 prefix-list WORD"
  930. 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  931. * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
  932. passing the pointer to the pointer of struct in6_addr instead of
  933. the pointer of struct in6_addr in "match ipv6 next-hop" command.
  934. * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
  935. HAVE_IPV6.
  936. 2000-10-20 Jasper Wallace <jasper@ivision.co.uk>
  937. * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
  938. to use linklist.c. Define COUNTER32 as ASN_COUNTER.
  939. 2000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  940. * bgp_route.c (bgp_announce_check): attr->nexthop empty check
  941. should be done by attr->nexthop.s_addr instead of strcmp.
  942. 2000-10-18 Akihiro Mizutani <mizutani@dml.com>
  943. * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
  944. bgp_redistribute_add().
  945. * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
  946. checking IPv4 multiaccess nexthop.
  947. * bgp_route.c (bgp_announce_check): In case of the nexthop is
  948. reachable on multiaccess media, do not change nexthop.
  949. (bgp_redistribute_add): Set nexthop when the value is passed.
  950. 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  951. * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
  952. connect timer.
  953. (bgp_start): If the peer is passive mode, force to move to Active
  954. mode.
  955. 2000-10-17 Horms <horms@vergenet.net>
  956. * bgp_debug.c (debug_bgp_fsm): Fix typo.
  957. 2000-10-17 Akihiro Mizutani <mizutani@dml.com>
  958. * bgp_route.c: "show ipv6 bgp" route display improvement.
  959. 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  960. * bgp_route.c (neighbor_routes): Allocate sockunion for callback
  961. function.
  962. (bgp_show_neighbor_route): Remove static declaration for union
  963. sockunion.
  964. * bgpd.c (peer_update_source_set): Clean previously allocated
  965. memory before allocate new one.
  966. 2000-10-03 Akihiro Mizutani <mizutani@dml.com>
  967. * bgp_route.c (neighbor_routes): Add show neighbor's routes
  968. command.
  969. "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
  970. "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
  971. "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
  972. "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
  973. 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  974. * zebra-0.89 is released.
  975. 2000-10-02 Akihiro Mizutani <mizutani@dml.com>
  976. * bgpd.c: "bgp deterministic-med" command is added.
  977. 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  978. * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
  979. route addition and deletion.
  980. 2000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  981. * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
  982. when comparing leftmost AS number.
  983. 2000-09-29 Akihiro Mizutani <mizutani@dml.com>
  984. * bgpd.c (peer_route_reflector): Route reflector can be set for
  985. IBGP peer.
  986. (bgp_distribute_set): Fix bug of string check for (in|out).
  987. (bgp_show_summary): Display total neighbor count.
  988. 2000-09-28 Akihiro Mizutani <mizutani@dml.com>
  989. * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
  990. originator for clinet to client routes.
  991. (bgp_packet_attribute): Add new cluster_list to the beginning of
  992. existing cluster_list.
  993. (bgp_packet_attribute): Fix bug of originator is rewritten even
  994. when originator is already set.
  995. 2000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  996. * bgpd.c (bgp_client_to_client_reflection): Add new command.
  997. "no bgp client-to-client reflection"
  998. "bgp client-to-client reflection"
  999. * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
  1000. 2000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1001. * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
  1002. read.
  1003. (bgp_read_packet): Likewise.
  1004. (bgp_read_packet): When errono is EAGAIN, try to read it again.
  1005. * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
  1006. 2000-09-26 Akihiro Mizutani <mizutani@dml.com>
  1007. * bgp_routemap.c: Configuration of prefix-list match is shown as
  1008. "match ip address prefix-list <WORD>". Old configuration "match
  1009. ip prefix-list <WORD>" is left for compatibilitty.
  1010. 2000-09-25 Akihiro Mizutani <mizutani@dml.com>
  1011. * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
  1012. BGP_CONFIG_MISSING_AS_WORST.
  1013. * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
  1014. Old "bgp bestpath missing-as-worst"
  1015. New "bgp bestpath med missing-as-worst"
  1016. 2000-09-24 Akihiro Mizutani <mizutani@dml.com>
  1017. * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
  1018. 2000-09-21 steve@Watt.COM (Steve Watt)
  1019. * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
  1020. term_bgp_debug_*.
  1021. * bgp_debug.c: Declare variables here.
  1022. 2000-09-21 Akihiro Mizutani <mizutani@dml.com>
  1023. * bgpd.c: MBGP soft-reconfiguration command is added.
  1024. clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
  1025. clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
  1026. clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
  1027. clear ip bgp <1-65535> ipv4 (unicast|multicast) in
  1028. clear ip bgp <1-65535> ipv4 (unicast|multicast) out
  1029. clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
  1030. clear ip bgp * ipv4 (unicast|multicast) in
  1031. clear ip bgp * ipv4 (unicast|multicast) out
  1032. clear ip bgp * ipv4 (unicast|multicast) soft
  1033. Change "clear ip bgp vpnv4 x.x.x.x soft" command to
  1034. "clear ip bgp x.x.x.x vpnv4 unicast soft".
  1035. "bgp bestpath med confed" command is added.
  1036. * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
  1037. 2000-09-18 Rick Payne <rickp@rossfell.co.uk>
  1038. * bgpd.c (bgp_show_peer): Fix misplaced #endif.
  1039. 2000-09-12 Akihiro Mizutani <mizutani@dml.com>
  1040. * bgpd.c (bgp_default_local_preference): Add "bgp default
  1041. local-preference" command.
  1042. * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
  1043. command.
  1044. 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1045. * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
  1046. are passed to zebra like IBGP route.
  1047. 2000-09-10 Akihiro Mizutani <mizutani@dml.com>
  1048. * bgpd.c (bgp_config_write_peer): Make it consistent passive
  1049. configuration.
  1050. * bgp_route.c: Community match command is added.
  1051. "show ip bgp community <val>"
  1052. "show ip bgp community <val> exact-match"
  1053. 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1054. * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
  1055. treated as IBGP routes.
  1056. 2000-09-08 Akihiro Mizutani <mizutani@dml.com>
  1057. * bgp_route.c (bgp_show_route): When local-AS community route is
  1058. selected, display "not advertised outside local AS" to "show ip
  1059. route A.B.C.D" output.
  1060. (show_ip_bgp_ipv4_filter_list): Add below four commands.
  1061. "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
  1062. "show ip bgp ipv4 (unicast|multicast) community"
  1063. "show ip bgp ipv4 (unicast|multicast) community-list WORD"
  1064. "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
  1065. * bgp_clist.c (community_list_match_exact): Community exact match
  1066. function.
  1067. 2000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1068. * bgp_route.c (bgp_update): Add peer's ttl check.
  1069. * bgpd.h (struct peer): Structure member refresh is renamed to
  1070. refresh_adv.
  1071. * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
  1072. when soft reconfiguration is performed.
  1073. * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
  1074. ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
  1075. * bgp_route.h (struct bgp_info_tag): Add valid flag.
  1076. 2000-08-25 Akihiro Mizutani <mizutani@dml.com>
  1077. * bgpd.c: Add AS base BGP soft reconfiguration.
  1078. * bgp_route.c: When no-advertise or no-export route is selected,
  1079. "show ip bgp" display "not advertised to EBGP peer" or "not
  1080. advertised to any peer" message.
  1081. 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1082. * zebra-0.88 is released.
  1083. * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
  1084. bgp route-mrt" to support MRT specific dump format.
  1085. * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
  1086. added.
  1087. * bgp_route.c (bgp_update): Currently nexthop check is only works
  1088. for IPv4.
  1089. 2000-08-17 Akihiro Mizutani <mizutani@dml.com>
  1090. * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
  1091. both inbound and outbound soft reconfiguration.
  1092. 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1093. * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
  1094. outbound.
  1095. (peer_new): Set route-refresh flag.
  1096. 2000-08-16 Akihiro Mizutani <mizutani@dml.com>
  1097. * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
  1098. cluster-id A.B.C.D" alias is added. " bgp cluster-id
  1099. <1-4294967295>" alias is added. "clear ip bgp * soft in" command
  1100. is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
  1101. bgp * in" alias is added.
  1102. 2000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  1103. * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
  1104. is set do not install the route into Adj-RIBs-In.
  1105. (bgp_update): Perform implicit withdraw before filtering of the
  1106. route.
  1107. * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
  1108. capability code and BGP message can be accepted.
  1109. * bgp_open.c (bgp_capability_parse): Likewise.
  1110. * bgp_route.c (bgp_refresh_table): New function for route refresh.
  1111. (bgp_refresh_rib): Likewise.
  1112. * bgpd.c (bgp_show_peer): Display route refresh status.
  1113. * bgp_route.c (bgp_aggregate_add): Add check for the route
  1114. validness.
  1115. (bgp_aggregate_delete): Likewise.
  1116. 2000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1117. * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
  1118. route become inaccessible.
  1119. 2000-08-15 Akihiro Mizutani <mizutani@dml.com>
  1120. * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
  1121. command is added.
  1122. 2000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1123. * bgp_zebra.c (bgp_interface_up): Register connected route.
  1124. (bgp_interface_down): Unregister connected route.
  1125. 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1126. * bgp_route.h (struct bgp_info): Add distance to the structure.
  1127. * bgp_route.c (bgp_aggregate_increment): Aggregate route only
  1128. match to smaller prefixlen route not match same prefixlen route.
  1129. (bgp_aggregate_decrement): Likewise.
  1130. (bgp_aggregate_add): Likewise.
  1131. (bgp_aggregate_delete): Likewise.
  1132. (bgp_network_backdoor): Add backdoor network configuration.
  1133. * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
  1134. configuration distance value.
  1135. * bgp_route.c (bgp_update): Filter EBGP route which has non
  1136. connected nexthop.
  1137. * bgp_attr.c (bgp_attr_aggregate_intern): New function for
  1138. aggregate route. Set origin to IGP. Set atomic aggregate flag.
  1139. Set aggregator AS and address.
  1140. (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
  1141. filling aggregator_as.
  1142. * bgp_route.c (bgp_process): Delete suppress check for install
  1143. suppressed route into local routing table.
  1144. (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
  1145. of bgp_attr_default_intern ().
  1146. (bgp_aggregate_add): Likewise.
  1147. * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
  1148. created. This is for avoid 0.0.0.0 router-id.
  1149. 2000-08-13 Akihiro Mizutani <mizutani@dml.com>
  1150. * bgp_route.c (route_vty_out_detail): Display "valid" when the
  1151. route is valied. Display "aggregated" when the route is
  1152. aggregated. "Advertisements suppressed by an aggregate" is
  1153. displayed when the route is suppressed.
  1154. (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
  1155. 2000-08-10 Akihiro Mizutani <mizutani@dml.com>
  1156. * bgp_route.c (route_vty_out_detail): Display format change.
  1157. 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1158. * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
  1159. * bgpd.c (bgp_delete): Delete static route before delete peer
  1160. configuration.
  1161. 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1162. * bgpd.c: Include bgpd/bgp_nexthop.h.
  1163. 2000-07-31 Akihiro Mizutani <mizutani@dml.com>
  1164. * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
  1165. identifier. And status is changed like below.
  1166. State/Pref -> State/PfxRcd
  1167. Shutdown -> Idle (Admin)
  1168. PrefixOvflw -> Idle (PfxCt)
  1169. * bgp_route.c (route_vty_out): Show internal route as "i".
  1170. 2000-07-13 Jim Bowen <jimb@zereau.net>
  1171. * bgp_snmp.c: Add BGP peer MIB implementation.
  1172. 2000-07-12 Akihiro Mizutani <mizutani@dml.com>
  1173. * bgpd.c (bgp_show_peer): Fix typo.
  1174. 2000-07-11 Akihiro Mizutani <mizutani@dml.com>
  1175. * bgp_routemap.c: Add commands for deleting set without argument.
  1176. 2000-07-03 Akihiro Mizutani <mizutani@dml.com>
  1177. * bgp_zebra.c: Fix redistribute help strings.
  1178. 2000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1179. * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
  1180. output to vty at once.
  1181. 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1182. * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
  1183. tag WORD" command is added.
  1184. * bgp_ecommunity.c (ecommunity_vty_out): New function added.
  1185. 2000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1186. * bgp_route.c (bgp_show): Fix total number of prefix count bug.
  1187. * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
  1188. negotiation result in "show ip bgp neighbors".
  1189. 2000-06-12 Akihiro Mizutani <mizutani@dml.com>
  1190. * bgpd.c: Fix help strings.
  1191. * bgpd.h: Likewise.
  1192. 2000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1193. * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
  1194. instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
  1195. * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
  1196. A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
  1197. * bgp_route.c (bgp_static_set): Set safi to p.safi.
  1198. 2000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1199. * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
  1200. (bgp_show_regexp): Change to use bgp_show().
  1201. (show_adj_route): Change to display header.
  1202. * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
  1203. is cleared manually.
  1204. * bgp_route.c (bgp_show_route): New function which display
  1205. specific BGP route. Divided from bgp_show().
  1206. (bgp_static_delete): Delete all static route.
  1207. 2000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
  1208. * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
  1209. invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
  1210. take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
  1211. mbgp" and "show ipv6 mbgp".
  1212. 2000-06-07 Akihiro Mizutani <mizutani@dml.com>
  1213. * bgp_route.c: Fix help strings and command arguments.
  1214. 2000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1215. * bgp_ecommunity.c: Include prefix.h
  1216. 2000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1217. * bgp_route.h (struct bgp_info_tag): New structure to hold tag
  1218. value.
  1219. * bgp_route.c (bgp_adj_set): table NULL check is added.
  1220. (bgp_adj_unset): Likewise.
  1221. (bgp_adj_lookup): Likewise.
  1222. (bgp_adj_clear): Likewise.
  1223. (route_vty_out): Add SAFI check for nexthop display.
  1224. (bgp_withdraw): Add SAFI check for withdraw route.
  1225. * Remove all #ifdef MPLS_VPN then include it as default.
  1226. * bgpd.c: Temporary disable peer-group command until the
  1227. implementation is completed.
  1228. * bgp_routemap.c (bgp_route_map_init): Install
  1229. route_metric_match_cmd.
  1230. (route_match_metric_compile): MED value compile using strtoul.
  1231. 2000-06-05 Akihiro Mizutani <mizutani@dml.com>
  1232. * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
  1233. NAME to WORD.
  1234. * Change command argument to more comprehensive.
  1235. METRIC -> <0-4294967295>
  1236. WEIGHT -> <0-4294967295>
  1237. LOCAL_PREF -> <0-4294967295>
  1238. IP_ADDR -> A.B.C.D
  1239. AS -> <1-65535>
  1240. AS-PATH-NAME -> WORD
  1241. ACCESS_LIST -> WORD
  1242. PREFIX_LIST -> WORD
  1243. COMMUNITY -> AA:NN
  1244. EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
  1245. IPv6_ADDR -> X:X::X:X
  1246. * bgp_clist.c: Fix help strings.
  1247. 2000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1248. * bgpd.c (peer_active): Add new function for check the peer is
  1249. active or not.
  1250. (neighbor_activate): New command "neighbor PEER activate" and "no
  1251. neighbor PEER activate" are added.
  1252. * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
  1253. 2000-06-02 Akihiro Mizutani <mizutani@dml.com>
  1254. * bgp_clist.c: Fix commuity-list help strings.
  1255. * bgp_routemap.c: Fix "set community" help strings. Add #define
  1256. SET_STR. Use (unicast|multicast) argument for "set nlri" command.
  1257. 2000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1258. * bgp_routemap.c (route_set_community_none_cmd): "set community
  1259. none" command is added to route-map.
  1260. 2000-06-01 Akihiro Mizutani <mizutani@dml.com>
  1261. * bgp_debug.c: Change "show debug" to "show debugging". Now "show
  1262. debugging" is not used in VIEW_NODE.
  1263. 2000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1264. * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
  1265. fix unconditional BGP connection.
  1266. * bgpd.c (peer_shutdown): Replace peer_shutdown() with
  1267. peer_change_flag_with_reset().
  1268. 2000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1269. * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
  1270. ipv4-unicast" command.
  1271. * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
  1272. * bgp_filter.c (as_list_delete): Free all AS filter.
  1273. * bgp_clist.c (community_list_delete): Free all community entry.
  1274. * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
  1275. access-list NAME".
  1276. * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
  1277. community-list NAME".
  1278. 2000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1279. * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
  1280. routes" to "show ip bgp PEER received-routes"
  1281. 2000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1282. * bgp_ecommunity.c (ecommunity_parse): New file for Extended
  1283. Communities attribute.
  1284. * bgp_ecommunity.h: Likewise.
  1285. 2000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1286. * bgp_mplsvpn.h: New file for MPLS-VPN.
  1287. * bgp_mplsvpn.c: Likewise.
  1288. * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
  1289. 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1290. * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
  1291. missing-as-worst".
  1292. 2000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1293. * bgp_routemap.c (match_community): Clarify help of "match
  1294. community".
  1295. 2000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1296. * bgp_aspath.c (aspath_cmp_left): Remove debug code.
  1297. 2000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1298. * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
  1299. from same neighboring AS.
  1300. * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
  1301. * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
  1302. 2000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1303. * bgp_route.c (bgp_output_filter): When distribute-list's
  1304. corresponding access-list does not exist, filter all routes.
  1305. (bgp_input_filter): Likewise.
  1306. 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1307. * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
  1308. * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
  1309. 2000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1310. * bgpd.c (bgp_distribute_update): Add struct access_list *
  1311. argument.
  1312. 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1313. * bgp_clist.c (community_list_dup_check): Add duplicate insertion
  1314. check.
  1315. * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
  1316. * bgp_route.c (bgp_show): Fix undeclared write variable.
  1317. 2000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1318. * bgp_routemap.c: Add "match ip address prefix-list".
  1319. 2000-03-29 Rick Payne <rickp@rossfell.co.uk>
  1320. * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
  1321. 2000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  1322. * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
  1323. the peer status is Connect.
  1324. 2000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1325. * Fix bug of rewritten originator-id.
  1326. 2000-01-27 Rick Payne <rickp@rossfell.co.uk>
  1327. * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
  1328. directly referencing array, search proper AS path delimiter.
  1329. (aspath_strip_confed): Strip the confederation stuff from the
  1330. front of an AS path.
  1331. (aspath_add_left_confed): New function for adding specified AS to
  1332. the leftmost AS_CONFED_SEQUENCE.
  1333. * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
  1334. to Cisco compatible.
  1335. * bgpd.c (bgp_confederation_id_set): Confederation configuration.
  1336. (bgp_confederation_id_unset): Likewise.
  1337. (bgp_confederation_peers_check): Likewise.
  1338. (bgp_confederation_peers_add): Likewise.
  1339. (bgp_confederation_peers_remove): Likewise.
  1340. (bgp_confederation_peers_set): Likewise.
  1341. (bgp_confederation_peers_unset): Likewise.
  1342. (bgp_confederation_peers_print): Likewise.
  1343. 2000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  1344. * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
  1345. 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1346. * bgp_open.c (bgp_open_option_parse): When there is no common
  1347. capability send Unsupported Capability error to the peer.
  1348. 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1349. * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
  1350. IPv6 unicast.
  1351. * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
  1352. 2000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1353. * bgpd.c (neighbor_strict_capability): Add
  1354. "strict-capability-match" command.
  1355. * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
  1356. router-id.
  1357. * bgpd.c (peer_override_capability): Add "override-capability"
  1358. command.
  1359. 1999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  1360. * bgp_packet.c (bgp_write): Change status to Idle and set timer
  1361. after write failed.
  1362. 1999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1363. * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
  1364. 1999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1365. * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
  1366. nlri_parse().
  1367. 1999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1368. * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
  1369. * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
  1370. the peer is cleared.
  1371. * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
  1372. link-local address. This is KAME specific problem.
  1373. 1999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1374. * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
  1375. while. We don't completely detect the link is shared or not at
  1376. this moment.
  1377. * bgp_packet.c (bgp_notify_send): Make shortcut call of
  1378. bgp_write() and bgp_stop().
  1379. * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
  1380. global and link-local address.
  1381. 1999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1382. * bgpd.c (no_neighbor_port): New command added.
  1383. (peer_new): Set send_community.
  1384. 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1385. * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
  1386. (show_ip_mbgp_summary): Likewise.
  1387. (show_ipv6_bgp_summary): Likewise.
  1388. (show_ipv6_mbgp_summary): Add new command.
  1389. (peer_free): Free peer->host.
  1390. (peer_lookup_by_su): Delete function.
  1391. (ipv6_bgp_neighbor): Changed to use peer_remote_as().
  1392. (sockunion_vty_out): Function deleted.
  1393. (vty_clear_bgp): Use afi instead of family.
  1394. Delete old list bgp_list. Use struct newlist *bgplist.
  1395. (peer_lookup_by_host): Function deleted.
  1396. 1999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1397. * bgpd.h (struct peer_group): New structure added.
  1398. (struct peer_conf): New structure added.
  1399. (struct peer): Change all prefix_count to unsigned long.
  1400. * bgpd.c: Reconstruct all of VTY commands reflect internal
  1401. structure change.
  1402. Use bgplist instead of bgp_list.
  1403. Use peerlist intstead of peer_list.
  1404. * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
  1405. parsing then return immediately.
  1406. * bgp_route.c (nlri_parse): When NLRI parse error occured, return
  1407. -1.
  1408. (nlri_process): Use pcount_v4_{unicast,multicast}.
  1409. (nlri_delete): Likewise.
  1410. 1999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
  1411. * bgp_routemap.c (route_match_nlri): `match nlri
  1412. unicast|multicast' and `set nlri unicast|multicast' command are
  1413. added.
  1414. 1999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
  1415. * bgpd.c: Add translate-update support.
  1416. * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
  1417. 1999-11-19 Robert.Olsson@data.slu.se
  1418. * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
  1419. 1999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1420. * bgp_open.c (bgp_capability_mp): Temporary comment out
  1421. SAFI_UNICAST_MULTICAST handling until we know the meanings.
  1422. 1999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1423. * bgp_btoa.c: New file added.
  1424. 1999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1425. * bgpd.h (struct peer): Add dont_capability flag.
  1426. (struct peer): Add override_capability flag.
  1427. * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
  1428. dont-capability-negotiation' added.
  1429. 1999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
  1430. * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
  1431. attribute from non-shared-network peers.
  1432. 1999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1433. * bgp_snmp.c: New file added.
  1434. * BGP4-MIB.txt: Updated to the latest Internet-Draft
  1435. draft-ietf-idr-bgp4-mib-04.txt.
  1436. 1999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1437. * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
  1438. * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
  1439. #ifdef HAVE_MBGPV4.
  1440. 1999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1441. * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
  1442. dump bgp commands.
  1443. (config_write_bgp_dump): Write interval value to the
  1444. configuration.
  1445. 1999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1446. * bgp_zebra.c: Redistribute route-map support is added.
  1447. * bgp_zebra.h: New file added.
  1448. 1999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1449. * bgp_dump.c: BGP packet dump routine compatible with MRT.
  1450. * bgp_dump.h: BGP packet dump routine compatible with MRT.
  1451. * bgp_debug.c: Renamed from bgp_dump.c
  1452. * bgp_debug.h: Renamed from bgp_dump.h
  1453. 1999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1454. * BGP4-MIB.txt: New file added. Edited version of RFC1657.
  1455. 1999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
  1456. * bgp_route.c (bgp_announce): If we're not on a shared network
  1457. with the peer and we don't have a link-local next hop, but the
  1458. inbound next-hop has a link-local address, don't readvertise it to
  1459. our peer.
  1460. 1999-10-25 Marc Boucher <marc@mbsi.ca>
  1461. * bgp_zebra.c: Add redistribute kernel command.
  1462. 1999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1463. * bgp_route.c (bgp_reset): New function added.
  1464. * bgpd.conf.sample2: Add IPv6 configuration sample.
  1465. 1999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
  1466. * bgp_route.c (ipv6_aggregate_address): Function added.
  1467. 1999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  1468. * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
  1469. list after parsing BGP update packet.
  1470. * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
  1471. (bgp_attr_community): Intern parsed community.
  1472. (bgp_attr_cluster_list): Intern parsed cluster list.
  1473. * bgp_routemap.c: Add `set community-additive' command.
  1474. 1999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
  1475. * bgp_routemap.c (route_set_local_pref): Fix bug of setting
  1476. attribute flag.
  1477. 1999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
  1478. * bgp_route.c (bgp_announce): Add check of IPv6 default route
  1479. announcement.
  1480. * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
  1481. 1999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1482. * `show ip[v6] bgp PREFIX' show uptime of the route.
  1483. 1999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1484. * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
  1485. of that use AF_INET and AF_INET6 directly.
  1486. (vty_clear_bgp): Add new function to support various clear ip bgp
  1487. method.
  1488. 1999-10-04 Lars Fenneberg <lf@elemental.net>
  1489. * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
  1490. 1999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1491. * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
  1492. prefix-list'.
  1493. 1999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  1494. * bgpd.c (bgp_collision_detect): Add BGP collision detection
  1495. function.
  1496. 1999-09-26 Blake Meike <bmeike@adero.com>
  1497. * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
  1498. added.
  1499. 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  1500. * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
  1501. min() macro.
  1502. 1999-08-19 Rick Payne <rickp@rossfell.co.uk>
  1503. * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
  1504. keepalive timer configurable.
  1505. 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1506. * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
  1507. 1999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1508. * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
  1509. the peer not all of them.
  1510. 1999-08-11 Rick Payne <rickp@rossfell.co.uk>
  1511. * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
  1512. will get overwritten by route-maps.
  1513. 1999-08-08 Rick Payne <rickp@rossfell.co.uk>
  1514. * bgp_routemap.c: Multi protocol route-map modification.
  1515. 1999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1516. * bgp_route.c: Set network statement route's origin attribute as
  1517. igp.
  1518. * bgp_zebra.c: Set redistribute route's origin attribute as
  1519. incomplete.
  1520. * bgp_route.c (bgp_info_cmp): Add attribute existance check,
  1521. origin attribute check, BGP peer type check.
  1522. 1999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1523. * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
  1524. 1999-07-29 Rick Payne <rickp@rossfell.co.uk>
  1525. * Changed route-maps to behave in a more cisco-like fashion
  1526. 1999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1527. * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
  1528. When multiple route to the same destination exist, bgpd try to
  1529. announce the information to stopped peer. Then add orphan write
  1530. thread is added. This cause many strange behavior of bgpd.
  1531. Reported by Georg Hitsch <georg@atnet.at>.
  1532. 1999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1533. * bgpd.c: Change peer's A.B.C.D to PEER.
  1534. 1999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  1535. * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
  1536. * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
  1537. local address.
  1538. 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  1539. * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
  1540. by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
  1541. 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1542. * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
  1543. fsm_holdtime ().
  1544. 1999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1545. * bgp_routemap.c: Add `set atomic-aggregate' command.
  1546. 1999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1547. * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
  1548. to "ip next-hop".
  1549. 1999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1550. * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
  1551. added.
  1552. 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
  1553. * bgp_zebra.c (zebra_init): Install standard commands to
  1554. ZEBRA_NODE.
  1555. 1999-06-28 Rick Payne <rickp@rossfell.co.uk>
  1556. * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
  1557. 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1558. * bgpd.c: Add neighbor update-source command as ALIAS to
  1559. neighbor_interface.
  1560. 1999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1561. * bgp_attr.c (bgp_packet_attribute): Send community attribute when
  1562. send_community flag is set.
  1563. * bgpd.h (struct peer): Add send_community flag.
  1564. 1999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1565. * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
  1566. <1-65535>.
  1567. 1999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1568. * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
  1569. 1999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1570. * bgp_community.c (community_merge): Function added.
  1571. 1999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1572. * bgp_clist.c: New file.
  1573. * bgp_clist.h: New file.
  1574. * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
  1575. compatibility.
  1576. (COMMUNITY_NO_ADVERTISE): Fix typo.
  1577. 1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1578. * bgp_routemap.c: Add `set weight WEIGHT' command.
  1579. * bgpd.c: Remove all_digit_check function. Instead of that use
  1580. all_digit function in lib/prefix.c.
  1581. * bgp_routemap.c (bgp_route_map_init): Install
  1582. no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
  1583. element to the RMAP_NODE.
  1584. 1999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  1585. * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
  1586. inside aspath_make_str function.
  1587. (aspath_prepend): New function is added for AS path prepend.
  1588. (aspath_make_str_count): Renamed from aspath_make_str. AS path
  1589. count is set to the structure.
  1590. (aspath_merge): New function.
  1591. 1999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  1592. * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
  1593. (no_redistribute_bgp): Likewise.
  1594. (router_zebra): Semantics changed. Now 'router zebra' is default
  1595. behavior of bgpd.
  1596. 1999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1597. * bgp_routemap.c: Add some commands to bgp route-map.
  1598. match ip next-hop: New command.
  1599. match metric: New command.
  1600. set metric: Doc fix.
  1601. set local-preference: Add DEFUN.
  1602. 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
  1603. * bgp_main.c (signal_init): SIGTERM call sigint.
  1604. (sigint): Loggging more better message.
  1605. 1999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1606. * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
  1607. length bit check is added.
  1608. 1999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1609. * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
  1610. function with route_set_local_pref_cmd argument.
  1611. (no_match_aspath): Function added.
  1612. (route_set_metric): Set attribute flag bit.
  1613. * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
  1614. packet.
  1615. 1999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1616. * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
  1617. holdtime' command is added.
  1618. * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
  1619. * bgpd.c (bgp_prefix_list_set): New function added.
  1620. (bgp_prefix_list_unset): Likewise.
  1621. (bgp_prefix_list_update): Likewise.
  1622. (show_ip_bgp_neighbors): prefix-list information display.
  1623. 1999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1624. * bgpd.c (bgp_delete): Function added for `no router bgp'.
  1625. 1999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1626. * bgp_dump.c (bgp_dump_attr): Add originator_id display.
  1627. * bgpd.c (bgp_router_id): Even when address is malformed set the
  1628. value to configuration bug fixed.
  1629. (no_bgp_router_id): New function.
  1630. (no_bgp_cluster_id): New function.
  1631. 1999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1632. * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
  1633. 1999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1634. * bgp_route.c (bgp_announce): Add route reflector check.
  1635. 1999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1636. * bgpd.c (bgp_cluster_id): Add function for route reflector.
  1637. (neighbor_route_reflector_client): Likewise.
  1638. (no_neighbor_route_reflector_client): Likewise.
  1639. * bgpd.h (struct bgp ): Add cluster for route reflector.
  1640. * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
  1641. 1999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  1642. * Makefile.am (noinst_HEADERS): Add bgp_filter.h
  1643. * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
  1644. has same functionality.
  1645. * bgp_filter.h: New file.
  1646. * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
  1647. aspath_unintern ()
  1648. (aspath_free): New function.
  1649. 1999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1650. * bgp_aspath.c (aspath_aggregate): Function added.
  1651. * bgp_aspath.h (aspath_aggregate): Prototype added.
  1652. * bgp_aspath.c (aspath_empty_aspath): New argument
  1653. gated_dont_eat_flag is added.
  1654. 1999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1655. * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
  1656. 1999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1657. * bgp_route.c (aggregate_address): Function added.
  1658. * bgp_zebra.c (zebra_read): Change log to zlog.
  1659. 1999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1660. * Makefile.am (noninst_HEADERS): Added for make dist.
  1661. 1999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1662. * aspath_regex.c: Removed from distribution.
  1663. 1999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1664. * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
  1665. bug fixed.
  1666. 1999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1667. * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
  1668. by kad@gibson.skif.net.
  1669. * bgp_regex.[ch]: New file added.
  1670. 1999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1671. * bgp_filter.c: New file added.
  1672. 1999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1673. * bgp_aspath.c (aspath_empty_aspath): Change for peering with
  1674. gated.
  1675. 1999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  1676. * bgp_main.c (main): Default loggin method changed from syslog to
  1677. stdout.
  1678. 1999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1679. * bgp_route.c: Delete obsolete default attribute DEFUN.
  1680. 1999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1681. * bgp_attr.c: Make attribute structure put into attribute hash.
  1682. 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1683. * bgp_view.c : Delete file.
  1684. 1999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1685. * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
  1686. * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
  1687. replace bgp_route with this.
  1688. * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
  1689. prefix value to access_list_apply().
  1690. * bgpd.conf.sample: Add route-map sample.
  1691. Delete obsolete default-attr statements.
  1692. * bgp_packet.c: Use stream_fifo for packet queueing.
  1693. 1999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  1694. * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
  1695. * bgp_main.c: include unistd.h for daemon().
  1696. * bgp_route.c (nlri_process): add IPv6 table lookup.
  1697. * bgp_attr.c (route_parse_ipv6): call nlri_process().
  1698. (attr_make): Obsolete function attr_make deleted.
  1699. 1999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  1700. * bgp_aspath.c (aspath_add_left): change function name from
  1701. aspath_add_leftmost_as().
  1702. 1999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  1703. * bgp_aspath.c: add aspath_add_leftmost_as ().
  1704. 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
  1705. * syslog support added
  1706. 1999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1707. * bgpd.c: DEFUN (neighbor_nexthop): deleted.
  1708. DEFUN (neighbor_distribute_list): added.
  1709. 1999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1710. * bgpd.h (struct peer ): header_buf and read_buf is removed.
  1711. * bgp_peer.[ch]: Deleted. Peer related functions are merged to
  1712. bgpd.c
  1713. * bgp_network.c: New file.
  1714. * bgp_network.h: New file.
  1715. * bgp_packet.h: New file.
  1716. 1999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1717. * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
  1718. buffered.
  1719. 1999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1720. * bgp_packet.c: New file.
  1721. 1998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  1722. * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
  1723. * `show ip bgp' bug fixed.
  1724. * aspath_log (): Remove argument logfp.
  1725. 1998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1726. * bgp_fsm.h: New file.
  1727. 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
  1728. * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
  1729. bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
  1730. bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
  1731. bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
  1732. 1998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1733. * bgpd.c (bgp_config_write): Delete vector v argument.
  1734. 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1735. * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
  1736. 1998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1737. * bgp_radix.[ch]: removed.
  1738. 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
  1739. * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
  1740. 1998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1741. * bgp_dump.c: delete nroute().
  1742. 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  1743. * bgp_aspath.c: HAVE_CONFIG_H typo :-)
  1744. * bgpd.h: Modify for compile on Solaris.
  1745. * bgp_aspath.h: likewize
  1746. * bgp_community.h: likewize
  1747. * bgp_routemap.c: likewize
  1748. 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  1749. * bgpd.h: Modify for compile on Solaris.
  1750. * bgp_aspath.h: likewize
  1751. 1998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1752. * routemap.[ch]: move to ../lib directory.
  1753. 1998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1754. * routemap.c (route_map_apply): add function.
  1755. 1998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1756. * routemap.h: add file.
  1757. * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
  1758. 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1759. * Makefile.am: sysconfdir_DATA added.
  1760. 1998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1761. * bgp_dump.c: add `debug bgp fsm'
  1762. add `no debug bgp fsm'
  1763. add `show debug bgp'
  1764. * bgp_open.c: File added.
  1765. 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1766. * .cvsignore: File added.
  1767. 1998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1768. * bgp_community.[ch]: File added.
  1769. 1998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1770. * bgpd now use lib/thread.[ch].
  1771. 1998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1772. * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
  1773. * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
  1774. 1997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1775. * bgp_vty.c: bgp_vty.c deleted.
  1776. * bgpd.c (config_write_neighbor): add ebgp-multihop command.
  1777. 1997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  1778. * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
  1779. 1997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1780. * bgp_vty.c: new file.
  1781. * bgp_attr.c: add new logging system.
  1782. 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1783. * Change all inet_addr call into inet_aton.
  1784. 1997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1785. * bgp_radix.c: change radix_peer_delete
  1786. 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1787. * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
  1788. 1997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1789. * bgp_dump.c (bgp_log_route): add dump_attr function
  1790. 1997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1791. * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
  1792. * bgp_dump.c (bgp_log_route): change logfile format.
  1793. 1997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1794. * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
  1795. * bgp_attr.c (community_str2com): add community value generation
  1796. * bgp_attr.h: add SAFI definition for BGP-4+
  1797. 1997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1798. * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
  1799. * Makefile.in: add bgp_open.o, delete bgp_loop.o
  1800. * bgp_open.c: newfile which manages BGP Open message
  1801. * bgp_loop.c: this file is merged with bgp_fsm.c
  1802. * bgp_radix.c (radix_add): radix_add() now return route_t instead
  1803. of int
  1804. (bgp_sim): now we can read update & withdraw from file
  1805. * bgp_route.c: add route_free() call into route_parse etc.
  1806. 1997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1807. * bgp_radix.c: Radix code is completely rewritten. It has better
  1808. memory treatment than old one.
  1809. 1997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1810. * bgp_route.c: route_alloc for route struct allocation statistics.
  1811. * bgpd.c (bgp_make_update): now we cann announce MED attribute.
  1812. * bgp_aspath.c (aspath_print_all): change aspath_print_all output
  1813. format.
  1814. 1997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1815. * bgp_term.c (term_parse): add command : show asstat, show ashash
  1816. * bgp_aspath.c: aspath_cmp bug fix
  1817. (aspath_print_all): add aspath_print_all ();
  1818. * bgp_peer.h: delete rlist element from struct peer.
  1819. 1997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1820. * bgp_aspath.c: completely rewritten.
  1821. * bgp_aspath.h: completely rewritten.
  1822. add AsPath, AsSegment structure
  1823. add AS_SET treatment
  1824. change Hash codes
  1825. 1997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1826. * bgp_attr.h: add Attribute flags defines
  1827. * bgp_route.c: delete rlist related functions
  1828. * bgp_aspath.c (as_origin): add as_origin function
  1829. (aspath_print): move from bgp_dump.c and add support of AS_SET
  1830. change Hash related function names.
  1831. 1997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1832. * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
  1833. 1997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1834. * bgp_aspath.c (as_sort): add function as_sort
  1835. * bgp_aspath.h: add IBGP, EBGP