ChangeLog 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001
  1. 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  2. * zebra_vty.c: (route_type_str) Remove obsolete function: use new
  3. library function zebra_route_string() instead. Note that there
  4. are a few differences: for IPv6 routes, we now get "ripng" and
  5. "ospf6" instead of the old behavior ("rip" and "ospf").
  6. (route_type_char) Remove obsolete function: ues new library function
  7. zebra_route_char() instead. Note that there is one difference:
  8. the old function returned 'S' for a ZEBRA_ROUTE_SYSTEM route,
  9. whereas the new one returns 'X'.
  10. (vty_show_ip_route_detail,vty_show_ipv6_route_detail) Replace
  11. route_type_str() with zebra_route_string().
  12. (vty_show_ip_route,vty_show_ipv6_route) Replace route_type_char()
  13. with zebra_route_char().
  14. 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  15. * rt_netlink.c: (netlink_request) Use memset to clear structure
  16. before calling sendto (eliminates a valgrind error message about
  17. uninitialized data).
  18. 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
  19. * zserv.c: Always provied distance for route add
  20. 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
  21. * connected.c: flag connected_up_ipv6() and connected_down_ipv6()
  22. usage with HAVE_IPV6
  23. 2005-09-24 Hasso Tepper <hasso at quagga.net>
  24. * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
  25. add is treated as implicit withdraw.
  26. 2005-09-21 David Young <dyoung@ojctech.com>
  27. * zebra_rib.c: Reduce the height of some staircases. Fix
  28. rib_delete_ipv6() to match routes in the RIB by their gateway as
  29. well as by destination.
  30. 2005-09-21 Paul Jakma <paul.jakma@sun.com>
  31. * zebra_rib.c: (static_uninstall_ipv{4,6}) Fix regression wrt
  32. removal of static routes with multiple-hops introduced with
  33. the workqueue conversion. We should free the relevant
  34. nexthop and then get rib_process to run, otherwise we just
  35. get same static route back again (with no way to unconfigure
  36. it, because its already deleted from configuration).
  37. 2005-09-12 Paul Jakma <paul.jakma@sun.com>
  38. * (general) RTM_CHANGE and implicit withdraw on RTM_NEWADDR
  39. support.
  40. * connected.c: (connected_withdraw) new function. withdraw a
  41. connected subnet address set from zebra, and pass information
  42. along to clients.
  43. (connected_announce) similar, but to announce a new connected
  44. subnet address set.
  45. (connected_check_ipv4) renamed to connected_check, as its
  46. AFI independent.
  47. (connected_add_ipv{4,6}) Remove the connected address announce
  48. stuff, use connected_announce instead.
  49. If connected_check indicates address is already present,
  50. treat it as an implicit withdraw of the existing address, ie
  51. remove the old address details and replace with the new
  52. details.
  53. (connected_delete_ipv{4,6}) Use connected_withdraw.
  54. (connected_check_ipv6) deleted in favour of connected_check.
  55. * connected.h: Rename connected_check_ipv4 to connected_check.
  56. delete connected_check_ipv6.
  57. * interface.c: Use connected_check rather than the AFI specific
  58. symbols.
  59. * kernel_socket.c: (rtm_read) RTM_CHANGE support. Create a
  60. rib delete event for the existing route, before adding route
  61. again.
  62. (kernel_read) we can handle RTM_CHANGE now.
  63. 2005-08-27 Hasso Tepper <hasso at quagga.net>
  64. * zebra_rib.c, rib.h: Add distance and metric arguments to the
  65. rib_add_ipv6() function so that IPv6 routes in RIB can have correct
  66. metric. No IPv6 routing daemon uses distance yet though.
  67. * zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
  68. rtread_proc.c,zserv.c: Pass metric and distance info to the
  69. rib_add_ipv6().
  70. 2005-07-29 Paul Jakma <paul.jakma@sun.com>
  71. * interface.c: (if_delete_update) should always be available, not
  72. just on RTM_IFANNOUNCE/NETLINK systems.
  73. * kernel_socket.c: (ifan_read) only call if_delete_update when
  74. interface departs, dont if_delete, because we wish to retain
  75. interface configuration state even when interfaces are removed.
  76. (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning
  77. to down state is only chance we have to clean up interface in case
  78. it is deleted (eg Solaris down -> unplumb -> plumb up).
  79. * redistribute.c: (zebra_interface_delete_update) should always be
  80. available, we /will/ call it now on all systems, via
  81. if_delete_update.
  82. * zserv.c: (zsend_interface_delete) ditto
  83. (zsend_interface_address) Update the call-flow diagramme, to
  84. reflect that if_delete_update /is/ now called on all systems,
  85. potentially.
  86. * zserv.h: (zsend_interface_delete) unconditionally exported, as
  87. above.
  88. 2005-06-28 Paul Jakma <paul.jakma@sun.com>
  89. * (global) Extern and static'ification, with related fixups
  90. of declarations, ensuring files include their own headers, etc.
  91. * if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
  92. list loop
  93. * kernel_socket.c: (RTA_{ADDR,ATTR}_GET) fix mistake, NULL check
  94. should be on DEST argument
  95. 2005-06-14 Paul Jakma <paul.jakma@sun.com>
  96. * kernel_socket.c: consolidate the IFAM{ADDR,MASK}GET and
  97. RTM{ADDR,MASK}GET macros into generic rta_addrs macros,
  98. RTA_{ADDR,ATTR}_GET.
  99. (af_check) could use 'inline' attribute
  100. (ifam_read_mesg) remove IFAM{ADDR,MASK}GET macro, change to
  101. generic macro.
  102. (rtm_read_mesg) similar
  103. 2005-06-12 Hasso Tepper <hasso at quagga.net>
  104. * rt_netlink.c: Remove netlink-addr socket declaration, it's not used.
  105. * rt_netlink.c (netlink_parse_info): Fix debug messages - nlmsg_pid is
  106. unsigned and one zlog call had swapped arguments.
  107. * rt_netlink.c (netlink_route_multipath): Fix compile with disabled
  108. IPv6 support.
  109. 2005-05-31 Paul Jakma <paul.jakma@sun.com>
  110. * zserv.c: (zsend_route_multipath) Fix bug if route is sent
  111. with no NEXTHOP_FLAG_FIB nexthops. As ZAPI_MESSAGE_IFINDEX
  112. and ZAPI_MESSAGE_NEXTHOP are always set, clients would try
  113. read non-existent nexthop information and hit stream assert.
  114. Zserv is still broken for multi-nexthop messages, but it always was.
  115. 2005-05-06 Paul Jakma <paul.jakma@sun.com>
  116. * zserv.h: Remove ZEBRA_PORT definition, its in lib/zebra.h now
  117. 2005-04-28 Paul Jakma <paul.jakma@sun.com>
  118. * rib.h: (struct rib) Add lock field for refcounting.
  119. * zserv.h: (struct zebra_t) Add a ribq workqueue to the zebra
  120. 'master' struct.
  121. * zserv.c: (zread_ipv4_add) XMALLOC then memset should be XCALLOC.
  122. * zebra_rib.c: Clean up refcounting of route_node, make struct rib
  123. refcounted and convert rib_process to work-queue. In general,
  124. rib's should be rib_addnode'd and delnode'd to route_nodes, and
  125. these symmetrical functions will manage the locking of referenced
  126. route_node and freeing of struct rib - rather than having users
  127. manage each seperately - with much scope for bugs..
  128. (newrib_free) removed and replaced with rib_lock
  129. (rib_lock) new function, check state of lock and increment.
  130. (rib_unlock) new function, check lock state and decrement. Free
  131. struct rib if refcount hits 0, freeing struct nexthop's, as
  132. newrib_free did.
  133. (rib_addnode) Add RIB to route_node, locking both.
  134. (rib_delnode) Delete RIB from route_node, unlocking each.
  135. (rib_process) Converted to a work-queue work function.
  136. Functional changes are minimal, just arguments, comments and
  137. whitespace.
  138. (rib_queue_add_qnode) Helper function to setup a ribq item.
  139. (rib_queue_add) Helper function, same arguments as old
  140. rib_process, to replace in callers of rib_process.
  141. (rib_queue_qnode_del) ribq deconstructor.
  142. (rib_queue_init) Create the ribq.
  143. (rib_init) call rib_queue_init.
  144. (remainder) Sanitise refcounting of route_node's. Convert to
  145. rib_queue_add, rib_addnode and rib_delnode. Change XMALLOC/memset
  146. to XCALLOC. Remove calls to nexthop_delete and nexthop_free.
  147. 2005-04-10 Paul Jakma <paul@dishone.st>
  148. * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
  149. in ALL_LIST_ELEMENTS_RO macro.
  150. 2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  151. * zserv.c (zebra_client_read): Fix bug: first read attempt should
  152. read ZEBRA_HEADER_SIZE minus the number of bytes already read.
  153. Improve efficiency by maintaining a calculation of the number
  154. of bytes read instead of calling stream_get_endp multiple times.
  155. If message length is too small, issue a warning message (not debug)
  156. before closing the connection. And also check that message length
  157. is not too big.
  158. 2005-04-09 Hasso Tepper <hasso at quagga.net>
  159. * rt_netlink.c: One tiny missing comma caused pointless debug messages
  160. about IPv6 nexthops.
  161. 2005-04-09 Hasso Tepper <hasso at quagga.net>
  162. * rt_netlink.c (netlink_parse_info): Fix warning. It's safe to cast
  163. status to unsigned here, because we already checked that it isn't
  164. negative or 0.
  165. * rt_netlink.c (netlink_interface_addr): Prefix length belongs to the
  166. address, not to the interface.
  167. * rt_netlink.c (netlink_route_multipath): Fix debug. No useless info
  168. is printed out now and IPv6 info is handeled.
  169. 2005-04-05 Paul Jakma <paul@dishone.st>
  170. * zserv.c: print more helpful errors when we fail to successfully
  171. bind and listen on zserv socket. Closes bugzilla #163.
  172. 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  173. * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len.
  174. * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to
  175. avoid overflow.
  176. * kernel_socket.c: (ifan_read) Use if_get_by_name_len.
  177. 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  178. * kernel_socket.c: (ifm_read) Use new if_lookup_by_name_len function
  179. to save a memcpy.
  180. * if_ioctl_solaris.c: (interface_list_ioctl) Fix subtle bug with new
  181. if_get_by_name_len function.
  182. 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  183. * interface.c: (if_new_intern_ifindex) Remove obsolete function.
  184. (if_delete_update) After distributing the interface deletion message,
  185. set ifp->ifindex to IFINDEX_INTERNAL.
  186. (if_dump_vty) Detect pseudo interface by checking if ifp->ifindex is
  187. IFINDEX_INTERNAL.
  188. (zebra_interface) Check return code from interface_cmd.func.
  189. Do not set internal ifindex values to if_new_intern_ifindex(),
  190. since we now use IFINDEX_INTERNAL for all pseudo interfaces.
  191. * kernel_socket.c: (ifm_read) Fix code and comments to reflect that
  192. all internal interfaces now have ifp->ifindex set to IFINDEX_INTERNAL.
  193. * rt_netlink.c: (set_ifindex) New function used to update ifp->ifindex.
  194. Detects interface rename events by checking if that ifindex is already
  195. being used. If it is, delete the old interface before assigning
  196. the ifindex to the new interface.
  197. (netlink_interface, netlink_link_change) Call set_ifindex to update
  198. the ifindex.
  199. 2005-03-31 Hasso Tepper <hasso at quagga.net>
  200. * rt_netlink.c (netlink_talk_filter): Show always warning message,
  201. it's not for debug.
  202. * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd
  203. although we do now actually.
  204. * rt_netlink.c (netlink_route, netlink_route_multipath): Always use
  205. netlink_cmd to send messages to the kernel.
  206. 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  207. * irdp.h: Add prototype for irdp_sock_init, and fix protos for
  208. other irdp_* functions.
  209. * irdp_interface.c: (irdp_if_start) If irdp_sock is negative,
  210. call irdp_sock_init to create the IRDP socket.
  211. (irdp_if_init) Rename to irdp_init().
  212. (get_iflist_ifp) Remove function that is a duplicate of
  213. if_lookup_by_index.
  214. (*) Make many functions static. And remove superfluous "\n" from
  215. several zlog messages.
  216. * irdp_main.c: (irdp_init) Remove function that used to call
  217. irdp_if_init() and irdp_sock_init(), since we will now create
  218. the socket only upon first use.
  219. (irdp_sock_init) Do not update global irdp_sock variable, just
  220. return the fd and assume that the caller will do so. If setsockopt
  221. calls fail, close the socket before returning -1.
  222. (*) Make many functions static.
  223. * irdp_packet.c: Initialize irdp_sock to -1.
  224. (irdp_read_raw) Call standard library function if_lookup_by_index
  225. instead of get_iflist_ifp.
  226. (irdp_recvmsg) Should be static, not global.
  227. 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  228. * rt_netlink.c: (netlink_link_change) If the status of an
  229. operative interface changes (e.g. MTU changes), the client
  230. daemons should be notified by calling zebra_interface_up_update.
  231. Previously, the information was being updated in zebra's
  232. interface structure, but the clients were not notified of
  233. changes to an operative interface.
  234. 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
  235. * interface.c, interface.h, rtadv.c, rtadv.h: modifications to
  236. IPv6 Neighbor Discovery according to RFC3775, section 7:
  237. o 1-bit Home Agent flag management in Router Advertisement (7.1).
  238. o 1-bit Router Address flag management in Prefix Information
  239. Option (7.2).
  240. o Advertisement Interval Option (7.3)
  241. o Home Agent Information Option (7.4)
  242. o Changes to Sending Router Advertisements more frequently (7.5)
  243. 2005-03-13 Hasso Tepper <hasso at quagga.net>
  244. * zebra/interaface.c: "show interface description" command
  245. implemented.
  246. 2005-03-12 Paul Jakma <paul@dishone.st>
  247. * rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
  248. No stock Linux kernel has ever supported it, and even if it had
  249. it's not generally a good idea.
  250. 2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
  251. * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.
  252. 2005-03-06 Hasso Tepper <hasso at quagga.net>
  253. * interface.c: Fix CRC and frame errors statistics in Linux.
  254. 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  255. * zserv.c: Must include network.h and buffer.h for non-blocking I/O.
  256. Remove global message_queue and t_write (need separate buffering for
  257. each client).
  258. (zebra_server_dequeue,zebra_server_enqueue) Remove functions
  259. related to old buggy buffering code.
  260. (zserv_delayed_close) New thread callback function to delete a client.
  261. (zserv_flush_data) New thread callback function to flush buffered
  262. data to client.
  263. (zebra_server_send_message) Rewritten to use buffer_write (so
  264. buffering of writes and non-blocking I/O work properly).
  265. (zsend_interface_add,zsend_interface_delete,zsend_interface_address,
  266. zsend_interface_update) Return 0 instead of -1 if !client->ifinfo
  267. (this is not really an error). Return value from
  268. zebra_server_send_message.
  269. (zsend_route_multipath,zsend_ipv4_nexthop_lookup,
  270. zsend_ipv4_import_lookup) Return value from zebra_server_send_message.
  271. (zsend_ipv6_nexthop_lookup) Fix scope to static, and return value
  272. from zebra_server_send_message.
  273. (zsend_router_id_update) Must use zebra_server_send_message instead
  274. of deprecated writen function. Return 0 instead of -1 if this client
  275. is not subscribed to router-id updates (since this is not really
  276. an error).
  277. (zread_interface_add) Change type to static int. If
  278. zsend_interface_add fails or zsend_interface_address fails, return -1
  279. immediately (since the client has had an I/O error).
  280. (zread_interface_delete,zread_ipv4_add,zread_ipv4_delete,
  281. zread_ipv6_add,zread_ipv6_delete,zread_router_id_delete) Return 0
  282. to indicate success.
  283. (zread_ipv4_nexthop_lookup) Return value from
  284. zsend_ipv4_nexthop_lookup.
  285. (zread_ipv4_import_lookup) Return value from zsend_ipv4_import_lookup.
  286. (zebra_read_ipv6) Remove unused function.
  287. (zread_ipv6_nexthop_lookup) Return value from
  288. zsend_ipv6_nexthop_lookup.
  289. (zread_router_id_add) Return value from zsend_router_id_update.
  290. (zebra_client_close) Call buffer_free(client->wb) and
  291. thread_cancel(client->t_suicide).
  292. (zebra_client_create) Allocate client->wb using buffer_new.
  293. (zebra_client_read) Support non-blocking I/O by using stream_read_try.
  294. Use ZEBRA_HEADER_SIZE instead of 3.
  295. (zebra_accept) Fix bug: reset accept thread at top. Make client
  296. socket non-blocking using the set_nonblocking function.
  297. (config_write_forwarding) Fix scope to static.
  298. (zebra_init) Remove initialization code for old buggy write buffering.
  299. * zserv.h: Add 2 new fields to struct zserv: struct buffer *wb
  300. (to enable buffered writes with non-blocking I/), and
  301. struct thread *t_suicide to support delayed close on I/O
  302. errors.
  303. * router-id.h: Remove prototypes for zread_router_id_add and
  304. zread_router_id_delete (their scope should be static to zserv.c).
  305. 2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  306. * redistribute.c: (zebra_check_addr,is_default,
  307. zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
  308. 2005-02-20 Hasso Tepper <hasso at quagga.net>
  309. * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
  310. if we are not debugging.
  311. 2005-02-19 Paul Jakma <paul@dishone.st>
  312. * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
  313. STREAM_READABLE.
  314. 2005-02-14 Paul Jakma <paul@dishone.st>
  315. * Not all Linux netlink systems have IFLA_WIRELESS
  316. 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  317. * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with
  318. zlog_err.
  319. * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with
  320. zlog_err.
  321. 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  322. * if_ioctl_solaris.c: (interface_list_ioctl) Save errno before calling
  323. zserv_privs.change.
  324. * ioctl{,_solaris}.c: (if_ioctl,if_ioctl_ipv6) Save errno before calling
  325. zserv_privs.change.
  326. * ipforward_solaris.c: (solaris_nd) Save errno before calling
  327. zserv_privs.change.
  328. * irdp_main.c: (irdp_sock_init) Save errno before calling
  329. zserv_privs.change.
  330. 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  331. * rt_netlink.c: (netlink_socket,netlink_request,netlink_parse_info,
  332. netlink_talk) Save errno before calling zserv_privs.change.
  333. 2005-01-24 Martin Pot <mpot at martybugs.net>
  334. * zebra/rt_netlink.c: ignore wireless newlink netlink messages.
  335. 2005-01-18 Hasso Tepper <hasso at quagga.net>
  336. * interface.c: Better statistics output in "show interface" command in
  337. case of /proc being used.
  338. 2005-01-17 Hasso Tepper <hasso at quagga.net>
  339. * main.c: With --nl-bufsize argument is required.
  340. 2005-01-05 Paul Jakma <paul@dishone.st>
  341. * zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
  342. for now, as we dont actually deal with with resending.... See
  343. bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
  344. * kernel_socket.c: (routing_socket) ditto.
  345. 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  346. * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
  347. instead of CMSG_FIRSTHDR.
  348. 2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  349. * connected.c: (connected_add_ipv4) Limit warning about /32 addresses
  350. with no peer specified to PtP interfaces only.
  351. 2004-12-18 Hasso Tepper <hasso at quagga.net>
  352. * zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it
  353. work for isis routes.
  354. 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
  355. * kernel_socket.c (rtmsg_debug): char * => const char *
  356. 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  357. * *.c: Change level of debug messages to LOG_DEBUG.
  358. 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  359. * main.c: (main) The 2nd argument to openzlog has been removed.
  360. So stdout logging will no longer be enabled by default.
  361. * irdp_main.c: (irdp_finish) Reduce severity of shutdown message
  362. from LOG_WARNING to LOG_INFO.
  363. 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  364. * main.c: (sigint) Use zlog_notice for termination message.
  365. (main) Add a startup announcement using zlog_notice.
  366. 2004-11-25 Hasso Tepper <hasso at quagga.net>
  367. * irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
  368. it confuses extract.pl.
  369. * main.c: Make group to run as configurable.
  370. 2004-10-28 Hasso Tepper <hasso at quagga.net>
  371. * interface.c: Remove dead "ip tunnel" command.
  372. 2004-10-22 Paul Jakma <paul@dishone.st>
  373. * irdp_main.c: change setsockopt_pktinfo to setsockopt_ifindex
  374. 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
  375. * rt_netlink.c: (netlink_interface_addr) For PtP interfaces, ignore
  376. tb[IFA_ADDRESS] if it's the same as tb[IFA_LOCAL].
  377. * interface.c: (ip_address_install) Use new ipv4_broadcast_addr
  378. function.
  379. * connected.c: (connected_up_ipv4) Use CONNECTED_POINTOPOINT_HOST
  380. macro.
  381. (connected_down_ipv4) ditto.
  382. (connected_add_ipv4) Validate destination address, print warnings
  383. if it does not make sense.
  384. 2004-10-19 Hasso Tepper <hasso at quagga.net>
  385. * zserv.c: Fix regression introduced with zserv cleanup.
  386. 2004-10-13 Hasso Tepper <hasso at quagga.net>
  387. * zebra_snmp.c: Remove defaults used to initialize smux connection to
  388. snmpd. Connection is initialized only if smux peer is configured.
  389. * zserv.c: Remove useless warnings "forwarding is already on".
  390. 2004-10-12 Hasso Tepper <hasso at quagga.net>
  391. * zebra_vty.c: Unbreak "show ip route" command help and make it work
  392. for isis routes.
  393. * interface.c(if_dump_vty): Show IPv6 addresses in "show interface"
  394. output. Fixes Bugzilla #119.
  395. * *.c: Make some strings const and some (unsigned) casts to fix
  396. compiler warnings.
  397. 2004-10-07 Hasso Tepper <hasso at quagga.net>
  398. * connected.c, main.c, rt_netlink.c, rtadv.c, zebra_rib.c, zserv.c:
  399. Fix warnings: make strings const, signed -> unsigned.
  400. 2004-10-05 Paul Jakma <paul@dishone.st>
  401. * irdp_packet.c: (parse_irdp_packet) style issues.
  402. Use sockopt_iphdrincl_swab_systoh.
  403. Try unbork the code. Checksum the ICMP data and actually
  404. compare it to received checksum. Check data length against
  405. claimed length in header.
  406. Always use ntoh.. when accessing addresses, even when the
  407. comparison happens to be endian-safe.
  408. (send_packet) minor style isues. Use
  409. sockopt_iphdrincl_swab_htosys.
  410. (irdp_iph_hton/ntoh) IP header to/from network/host order.
  411. 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com>
  412. * interface.c, interface.h: A new prefix tree of connected subnets is
  413. associated with each interface structure in zebra, in which each
  414. live (ie, non-synthetic) node holds a list of installed addresses
  415. that belong to that prefix. Remove secondary address logic from cli.
  416. See [quagga-dev 872] for detailed explanation.
  417. * connected.c: Use if_subnet_add() and if_subnet_delete().
  418. 2004-10-03 James R. Leu <jleu at mindspring.com>
  419. * router-id.c, router-id.h: New files. Router id selection process. If
  420. there is non 127.x.x.x address in loopack interface, lowest of them
  421. is chosen. If there isn't, lowest from other interfaces addresses
  422. are chosen. "router-id x.x.x.x" vty command to manual override.
  423. * Makefile.am: Compile new files.
  424. * main.c: Initialize router id.
  425. * redistribute.c: Add interface addresses into router id selection
  426. lists as they (dis)appear.
  427. * zserv.c, zserv.h: Sending router id related messages to daemons.
  428. 2004-09-26 Hasso Tepper <hasso at quagga.net>
  429. * irdp_interface.c, irdp_main.c, irdp_packet.c, rt_netlink.c,
  430. rtadv.c, zebra_vty.c: Fix compiler warnings.
  431. 2004-09-24 Paul Jakma <paul@dishone.st>
  432. * irdp_interface.c: (no_ip_irdp_address_preference_cmd)
  433. add missing listnode declaration.
  434. 2004-09-24 Paul Jakma <paul@dishone.st>
  435. * irdp_{interface,main}.c: lists typedef removal cleanup.
  436. update some list loops to LIST_LOOP. some miscellaneous style
  437. and indent fixups.
  438. (no_ip_irdp_address_preference_cmd) Fix delete of referenced node
  439. in loop.
  440. * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
  441. to pointer.
  442. * if_ioctl{,_solaris}.c: lists typedef removal cleanup.
  443. update some list loops to LIST_LOOP.
  444. 2004-09-23 Hasso Tepper <hasso at quagga.net>
  445. * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
  446. 2004-09-22 Paul Jakma <paul.jakma@sun.com>
  447. * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
  448. in_addr to sizeof(struct in6_addr), causing odd and hard to debug
  449. crash.
  450. 2004-08-31 Hasso Tepper <hasso at quagga.net>
  451. * main.c, rt_netlink.c: Added -s command line switch for tuning
  452. netlink receive buffer size in Linux to avoid buffer overruns.
  453. 2004-08-26 Miles Nordin <carton@Ivy.NET>
  454. * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
  455. sysctl(3), rather than int. (Needed on NetBSD/alpha to display
  456. forwarding status correctly.)
  457. 2004-08-23 Paul Jakma <paul@dishone.st>
  458. * zserv.c: (zebra_init) remove implicit ip forward enabling
  459. 2004-08-19 Paul Jakma <paul@dishone.st>
  460. * irdp_main.c: update to match sockopt renames.
  461. * irdp_packet.c: include sockopt.h and update to match sockopt
  462. renames.
  463. 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
  464. * rtadv.c (rtadv_send_packet): Allocate space for control messages
  465. more carefully; it was wrong on NetBSD/sparc where CMSG alignment
  466. is to 8 bytes instead of 4, and overwriting the address. Use the
  467. provided macros for determining lengths.
  468. 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
  469. * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
  470. * zserv.c: ditto
  471. * ioctl_solaris.c: ditto.
  472. * interface.c: cast for LLADDR
  473. * interface.h: Add guards, include redistribute.h and remove
  474. extraneous definitions of zebra_interface_{up,down}_update
  475. * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
  476. * redistribute.h: include dependent header, zserv.h
  477. * zserv.h: include dependent header, rib.h
  478. 2004-07-23 Paul Jakma <paul@dishone.st>
  479. * irdp_main.c: use setsockopt_pktinfo_ipv4
  480. * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
  481. getsockopt_pktinfo_ifindex()
  482. 2004-07-13 David Wiggins <dwiggins@bbn.com
  483. * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
  484. 2004-07-13 Hasso Tepper <hasso@estpak.ee>
  485. * irdp_main.c: Add privilege change.
  486. 2004-07-12 Hasso Tepper <hasso@estpak.ee>
  487. * irdp_interface.c: follow common style while naming vty command
  488. functions. Avoids confusion in extract.pl.
  489. 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
  490. * main.c: define thread_master variable so that linking with
  491. libzebra.so doesn't fail. Arguably zclient.o should be in a
  492. separate library, but this is far less disruptive.
  493. 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
  494. * Added IRDP support.
  495. 2004-05-18 Hasso Tepper <hasso@estpak.ee>
  496. * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
  497. prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
  498. "ipv6 nd prefix" command to allow various combinations of parameters
  499. and flags. No defaults in configuration. Replaced on-link and
  500. autoconfig with off-link and no-autoconfig flags in command syntax.
  501. Cosmetic fixes in all commands. Documentation to reflect all changes.
  502. 2004-05-11 Paul Jakma <paul@dishone.st>
  503. * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
  504. * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
  505. add privs.h header.
  506. * ioctl_solaris.c: ditto
  507. * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
  508. * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
  509. RHS in assignments :)
  510. * redistribute.c: (zebra_interface_delete_update) only used
  511. if RTM_IFANNOUNCE and NETLINK is available.
  512. 2004-05-09 Paul Jakma <paul@dishone.st>
  513. * zserv.c: (zsend_route_multipath) Set the nexthop_num
  514. field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
  515. Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
  516. (zsend_ipv4_add) cruft, deleted.
  517. (zsend_ipv4_delete) ditto.
  518. (zsend_ipv6_add) ditto.
  519. (zsend_ipv6_delete) ditto.
  520. * ioctl.c: (if_get_mtu) set mtu6 to mtu
  521. * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
  522. * rt_netlink.c: (netlink_interface) set mtu6 to mtu
  523. (netlink_link_change) ditto
  524. * ipforward_solaris.c: fix typo of ND variable.
  525. * if_ioctl_solaris.c: Add zprivs support.
  526. * ioctl_solaris.c: ditto.
  527. 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
  528. * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
  529. into single zsend_route_multipath function.
  530. (zsend_interface_{up,down}) collapsed into zsend_interface_update.
  531. (zsend_interface_address_{add,delete}) collapsed into
  532. zsend_interface_address.
  533. (zsend_interface_add) send mtu6.
  534. (zsend_interface_delete) ditto.
  535. (zebra_write) remove unused function.
  536. (various) Apply static qualifier. Add comments.
  537. * zserv.h: Definitions changed as per above.
  538. * redistribute.c: Changes as per zserv.c.
  539. * interface.c: (if_delete_update) only used with HAVE_NETLINK
  540. and RTM_IFANNOUNCE.
  541. (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
  542. (if_dump_vty) print mtu6 if not same as mtu
  543. * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
  544. * ioctl_solaris.c: New file, Common solaris ioctl methods.
  545. 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
  546. * rt_netlink.c: Do not ignore metric when reading kernel routing
  547. table on Linux with rt_netlink interface.
  548. 2004-03-18 Hasso Tepper <hasso@estpak.ee>
  549. * interface.c: Temporary fix for handling secondary addresses
  550. with label.
  551. 2004-02-12 Hasso Tepper <hasso@estpak.ee>
  552. * zserv.c: Added "ipv6 forwarding" command.
  553. 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
  554. * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
  555. for reading kernel messages to ensure enough space (necessary on
  556. Solaris due to sockaddr_dl being large). Thanks to Sowmini
  557. Varadhan for help with this change.
  558. 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
  559. * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
  560. 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
  561. * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
  562. to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
  563. to just the accomodation of broken kernels. Check sockaddr_dl
  564. carefully up front, and later assume any non-NULL sdl pointer is
  565. valid. Clean up types and variable declarations, and rename
  566. WRAPUP to SAROUNDUP to make the name fit the behavior.
  567. 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
  568. * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
  569. structure, because on Solaris sockaddr_dl is far larger than the
  570. base sockaddr structure. (The code had previously been failing to
  571. read all the data.)
  572. 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
  573. * kernel_socket.c (kernel_read): Look up interfaces by index
  574. first, so that state changes which do not include a sockaddr_dl
  575. now work. Add many sanity checks. In
  576. particular, do not assume that a sockaddr_dl follows a message
  577. without checking the ifm_addrs flags, and do not trust the length
  578. in a sockaddr_dl. Add/clarify many comments.
  579. 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
  580. * rtadv.c: reorder includes to avoid compiler warning (define
  581. structs before using them in prototypes)
  582. 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
  583. * zserv.c: Add "ip forwarding" command.
  584. 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
  585. * zebra_rib.c: Fix memory leaks for ifname nexthops
  586. 2003-04-19 Israel Keys <ikeys@agile.tv>
  587. * rt_netlink.c: BLOCK on netlink while initialising
  588. 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
  589. * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
  590. it exists.
  591. 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
  592. * zebra_rib.c (static_add_ipv4): Null0 static route is added.
  593. 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
  594. * rt_netlink.c: Add check for EAGAIN.
  595. * kernel_socket.c: Likewise
  596. 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
  597. * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
  598. message so that we get an ACK for successful netlink commands.
  599. Change the netlink socket to BLOCKING while we wait for a
  600. response; be it an ACK or an NLMSG_ERROR. Change
  601. netlink_parse_info to deal with ACK messages.
  602. 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  603. * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
  604. work for ICMPv6 socket.
  605. 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  606. * rib.c (rib_process): Select connected route any case.
  607. 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  608. * interface.c (no_ip_address_secondary): Add "no" to command.
  609. 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
  610. * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
  611. to infinity as the freebsd4.4 workaroud.
  612. 2001-08-26 mihail.balikov@interbgc.com
  613. * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
  614. A.B.C.255.
  615. 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
  616. * rtadv.c: Do not send RA to loopback interface.
  617. 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  618. * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
  619. route treatment.
  620. 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  621. * zebra-0.92a released.
  622. 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  623. * rib.c: Kernel route is treated as EGP routes in nexthop active
  624. check.
  625. 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  626. * zebra-0.92 released.
  627. 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
  628. * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
  629. show route commands.
  630. 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
  631. * zserv.c (zsend_ipv4_add_multipath): Add
  632. NEXTHOP_TYPE_IPV4_IFINDEX check.
  633. 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
  634. * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
  635. autonomous address-configuration flag patch.
  636. (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
  637. suppress-ra".
  638. 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
  639. * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
  640. command.
  641. 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  642. * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
  643. multicast FIB support both IPv4 and IPv6.
  644. 2001-07-24 Hal Snyder <hal@vailsys.com>
  645. * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
  646. full list of interfaces on some configurations of OpenBSD.
  647. 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
  648. * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
  649. send-ra" bug.
  650. (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
  651. availability.
  652. (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
  653. added.
  654. (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
  655. 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  656. * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
  657. * rt_ioctl.c: Likewise.
  658. 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  659. * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
  660. interface is not p2p.
  661. 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  662. * ioctl.c (if_prefix_add_ipv6): Fix argument type.
  663. 2001-04-06 Toshiaki Takada <takada@zebra.org>
  664. * zserv.c (zsend_interface_delete): Use client->obuf instead of
  665. allocating new stream.
  666. 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  667. * rt_netlink.c: Revert RTPROT_BOOT change.
  668. 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  669. * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
  670. (netlink_routing_table): Likewise.
  671. 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
  672. * zserv.c (zsend_ipv4_add_multipath): Send metric value to
  673. protocol daemons.
  674. 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  675. * rt_netlink.c (netlink_routing_table): Do not return
  676. tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
  677. <mokeefe@qualcomm.com>.
  678. 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  679. * if_ioctl.c (interface_list_ioctl): Call if_add_update().
  680. Suggested by: Chris Dunlop <chris@onthe.net.au>.
  681. 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  682. * rib.c (nexthop_active_ipv4): When nexthop type is
  683. NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
  684. * zserv.c: Initialize rtm_table_default with 0.
  685. * zebra-0.91 is released.
  686. 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
  687. * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
  688. Jun-ichiro itojun Hagino <itojun@iijlab.net>
  689. 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  690. * connected.c (connected_up_ipv6): When point-to-point destination
  691. address is ::, use local address for connected network.
  692. (connected_down_ipv6): Likewise.
  693. 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  694. * zserv.c (zebra_serv): Add missing close() call. Reported by:
  695. David Waitzman <djw@vineyard.net>.
  696. 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  697. * rib.c (rib_lookup_ipv4): New function for checking exact match
  698. IGP route.
  699. 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  700. * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
  701. route-type".
  702. 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  703. * interface.c (zebra_interface): Do not call
  704. zebra_interface_add_update for inactive interface.
  705. * zserv.c (zsend_interface_address_add): Send interface address
  706. flag.
  707. (zsend_interface_address_delete): Likewise.
  708. 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  709. * interface.c (if_addr_add): Add flags.
  710. * connected.c (ifa_add_ipv4): Add new function for interface
  711. address handling.
  712. (ifa_delete_ipv4): Likewise.
  713. 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  714. * rib.c (rib_update): Update IPv6 RIB.
  715. * kernel_socket.c (ifam_read): Call if_refresh() for update
  716. interface flag status. This is for implicit interface up on *BSD.
  717. * interface.c (if_refresh): Add interface flag refresh function.
  718. * kernel_socket.c (rtm_read): Fetch link-local address interface
  719. index.
  720. (ifan_read): We need to fetch interface information. Suggested
  721. by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
  722. * rib.c (static_ipv6_nexthop_same): Add check for
  723. NEXTHOP_TYPE_IPV6_IFNAME.
  724. 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  725. * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
  726. taken into place.
  727. 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  728. * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
  729. configuration.
  730. (rib_delete_ipv6): Handle same route conter for IPv6 connected
  731. route.
  732. (show_ipv6_route_protocol): New command.
  733. (show_ipv6_route_addr): Likewise.
  734. (show_ipv6_route_prefix): Likewise.
  735. (rib_update): Sweep kernel route when it is cleaned up.
  736. * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
  737. treatmenet.
  738. * rt_netlink.c (kernel_init): Likewise.
  739. * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
  740. * rib.c (rib_add_ipv4): Cope with same connected route on a
  741. interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
  742. (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
  743. * rib.h (struct new_rib): Add refcnt to keep track on the
  744. reference of same connected route.
  745. * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
  746. 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  747. * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
  748. (rtm_type_str): Add RTM_IFANNOUNCE check.
  749. (ifan_read): New function.
  750. (kernel_read): Add case for RTM_IFANNOUNCE.
  751. 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  752. * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
  753. * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
  754. treatment.
  755. * connected.c (connected_up_ipv6): Add dest value check.
  756. * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
  757. ifindex.
  758. (rib_add_ipv4): Import rib_add_ipv6() same route check code.
  759. (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
  760. checked by ifindex.
  761. * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
  762. * redistribute.c (redistribute_add): Use
  763. zsend_ipv6_add_multipath().
  764. (redistribute_delete_multipath): Use
  765. zsend_ipv6_delete_multipath().
  766. * interface.c (ip_address): Check current IP address to avoid
  767. duplicate.
  768. * rib.c (rib_delete_ipv4): When deleted route is connected route,
  769. check ifindex.
  770. (rib_add_ipv4): When connected route is added do not perform
  771. implicit withdraw.
  772. (rib_delete_ipv4): Check ifindex for connected route.
  773. * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
  774. ZEBRA_FLAG_STATIC for indicate as persistent route.
  775. (ifam_read): Unset interface index from link-local address when
  776. IPv6 stack is KAME.
  777. * rib.c (rib_update): Do not delete persistent kernel route.
  778. * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
  779. * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
  780. (kernel_delete_ipv6_multipath): Likewise.
  781. * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
  782. 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  783. * rib.c (rib_update): Revert Matthew Grant's patch
  784. zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
  785. interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
  786. that. Add support for address deletion situation.
  787. 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  788. * interface.c: Remove HAVE_IF_PSEUDO part.
  789. * rib.h: Likewise.
  790. * rt_netlink.c (netlink_link_change): Likewise.
  791. 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  792. * zserv.c: Remove OLD_RIB codes.
  793. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  794. * zebra-0.90 is released.
  795. 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
  796. * interface.c (if_new_intern_ifindex): Allocate a new internal
  797. interface index.
  798. (if_addr_refresh): Fix up ip addresses configured via zebra.
  799. (if_add_update): Handle an interface addition.
  800. (if_delete_update): Handle an interface delete event.
  801. * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
  802. interface goes down.
  803. 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  804. * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
  805. NetBSD also use this function. Suggested by Jasper Wallace
  806. <jasper@ivision.co.uk>.
  807. 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  808. * rib.c (nexthop_active_ipv4): Move back to set methodo to old
  809. one.
  810. 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  811. * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
  812. flag, so treat it.
  813. 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  814. * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
  815. sent from netlink_cmd, the same message comes from netlink. To
  816. avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
  817. instead of netlink_cmd.sock.
  818. 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  819. * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
  820. Change "/tmp/zserv" to "/tmp/.zserv".
  821. 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  822. * rt_netlink.c (struct nlsock): Divide kernel message into listen
  823. socket and command socket.
  824. (netlink_talk): Remove socket listen code. Use netlink_parse_info
  825. for read kernel response.
  826. 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  827. * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
  828. routes.
  829. 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  830. * rt_netlink.c (netlink_route_multipath): Metric value is
  831. reflected to kernel routing table.
  832. * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
  833. * kernel_socket.c (rtm_write): Likewise.
  834. * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
  835. nexthop lookup.
  836. * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
  837. new RIB implementation.
  838. 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  839. * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
  840. 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
  841. * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
  842. proper redistribution.
  843. 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  844. * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
  845. (show_ip_route_protocol): Support new RIB.
  846. * rt_netlink.c (netlink_route_change): Do not return when gate is
  847. NULL.
  848. 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  849. * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
  850. updated.
  851. (rib_add_ipv4): Free implicit withdraw route's RIB.
  852. 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  853. * rib.c (nexthop_active_ipv4): Check indirect nexthop.
  854. * redistribute.c (redistribute_add_multipath): Redistribution
  855. works with new rib code.
  856. 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  857. * rt_netlink.c (netlink_route_multipath): Check useful nexthop
  858. number.
  859. (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
  860. * rib.c (nexthop_active_update): Set flag for the rib's nexthop
  861. activity is changed.
  862. (nexthop_active_check): Before checking interface is up, make it
  863. sure the interface exist.
  864. 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  865. * rib.c (ip_route): New RIB prototype.
  866. 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
  867. * zserv.c (zsend_interface_add): Send hardware address when
  868. hw_addr_len is greater than 0.
  869. 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  870. * connected.c (connected_up_ipv4): Fix ptop bug. The destination
  871. network should be installed into routing table.
  872. (connected_down_ipv4): Likewise.
  873. (connected_add_ipv4): Change to use connected_up_ipv4.
  874. (connected_delete_ipv4): Likewise.
  875. 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  876. * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
  877. <laforge@gnumonks.org>'s ptop patch then back to original code to
  878. avoid duplicated connected route problem. Suggested by Frank van
  879. Maarseveen <F.vanMaarseveen@inter.NL.net>.
  880. * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
  881. DEBUG is defined. Reported by Jun-ichiro itojun Hagino
  882. <itojun@iijlab.net>.
  883. 2000-10-23 Jochen Friedrich <jochen@scram.de>
  884. * main.c (main): Call zebra_snmp_init() when it is enabled.
  885. 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  886. * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
  887. protocol.
  888. 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  889. * rib.c (rib_add_ipv4): Same check bug is fixed.
  890. 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  891. * rib.c (rib_if_down): Remove kernel route when the interface goes
  892. down.
  893. * debug.c: New command "debug zebra kernel" is added.
  894. 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  895. * zebra-0.89 is released.
  896. 2000-09-24 Harald Welte <laforge@gnumonks.org>
  897. * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
  898. treatment in netlink interface.
  899. 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
  900. * rib.c (rib_if_down): Pull static route only. Protocol daemon
  901. must withdraw routes when interface goes down.
  902. (rib_add_ipv4): Check nexthop when replace route.
  903. 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  904. * if_ioctl.c (if_getaddrs): New function for looking up
  905. interface's address by getifaddrs().
  906. 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  907. * connected.c (connected_delete_ipv4): Add check for connected
  908. address is found or not.
  909. (connected_add_ipv6): Reflect IPv6 connected address change to
  910. protocol daemons.
  911. (connected_delete_ipv6): Likewise.
  912. 2000-09-07 David Lipovkov <davidl@nbase.co.il>
  913. * rib.c (rib_delete_ipv4): Reverted the change from pseudo
  914. interface patch to original. Because ospfd deletes routes using
  915. zero ifindex.
  916. 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  917. * zebra-0.88 is released.
  918. 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
  919. * rib.c (show_ip_route_protocol): Help string correction.
  920. (show_ip_route_prefix): Check prefix mask.
  921. (show_ip_route_vty_detail): Display distance and metric.
  922. 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  923. * zserv.c (zsend_interface_add): Change ifindex store size from
  924. two octet to four.
  925. (zsend_interface_delete): Likewise.
  926. (zsend_interface_address_add): Likewise.
  927. (zsend_interface_address_delete): Likewise.
  928. (zsend_interface_up): Likewise.
  929. (zsend_interface_down): Likewise.
  930. 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  931. * rib.c (rib_add_ipv4): Do not install distance 255 route.
  932. 2000-08-10 Toshiaki Takada <takada@zebra.org>
  933. * interface.c (bandwidth_if), (no_bandwidth_if): Call
  934. zebra_interface_up_update () instead of using if_up() and if_down().
  935. 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
  936. * interface.c (bandwidth_if): Fix help string.
  937. 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
  938. * interface.c (if_dump_vty): Display bandwidth value.
  939. (bandwidth_if): New command "bandwidth <1-10000000>" is added.
  940. When interface is up, force protocol daemons to recalculate routes
  941. due to cost change.
  942. (no_bandwidth_if): Likewise.
  943. (if_config_write): Output bandwidth configuration.
  944. * zserv.c (zsend_interface_add): Send bandwidth value.
  945. (zsend_interface_up): Likewise.
  946. (zsend_interface_down): Likewise.
  947. 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
  948. * rib.c (show_ip_route_protocol): "show ip route
  949. (bgp|connected|kernel|ospf|rip|static)" is added.
  950. 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  951. * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
  952. nexthop is found.
  953. (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
  954. 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  955. * redistribute.c (redistribute_delete): Fix bug of default route
  956. redistribute treatment.
  957. 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  958. * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
  959. Change default distance value.
  960. Old New
  961. ------------------------------------------
  962. system 10 0
  963. kernel 20 0
  964. connected 30 0
  965. static 40 1
  966. rip 50 120
  967. ripng 50 120
  968. ospf 60 110
  969. ospf6 49 110
  970. bgp 70 200(iBGP) 20(eBGP)
  971. ------------------------------------------
  972. * zserv.c (client_lookup): Function removed.
  973. (zsend_interface_add): Use client's output buffer. Check ifinfo
  974. flag.
  975. (zsend_interface_delete): Likewise.
  976. Delete ipv4_static_radix and ipv6_static_radix.
  977. 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  978. * zserv.h (struct zebra_client): When client request interface
  979. information, ifinfo is set.
  980. * rib.c: Temporary Revert changes for pseudo interface.
  981. * rib.h: Likewise.
  982. * zserv.c: Likewise.
  983. * interface.c: Likewise.
  984. 2000-08-02 David Lipovkov <davidl@nbase.co.il>
  985. * interface.c (zebra_if_init): Install interface "pseudo"
  986. commands.
  987. * rib.c (rib_create): ifname argument is added.
  988. (rib_add_ipv4_pseudo): New function is added.
  989. (rib_delete_ipv4_pseudo): Likewise.
  990. * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
  991. pseudo interface functions.
  992. * rt_netlink.c (netlink_link_change): Check for pseudo interface.
  993. * zserv.c (ip_route): When destination is pseudo interface, call
  994. rib_add_ipv4_pseudo().
  995. * zserv.c (no_ip_route): Trim "unknown" argument.
  996. 2000-07-26 kunitake@dti.ad.jp
  997. * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
  998. to 6.
  999. * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
  1000. 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
  1001. * interface.c: Use install_default() for common VTY commands.
  1002. 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1003. * if_ioctl.c (interface_list_ioctl): A interface list size is
  1004. calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
  1005. * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
  1006. 2000-07-09 Chris Dunlop <chris@onthe.net.au>
  1007. * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
  1008. 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1009. * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
  1010. message handling.
  1011. 2000-07-02 David Lipovkov <davidl@nbase.co.il>
  1012. * zserv.c: "ip route A.B.C.D/M unknown" command is added.
  1013. 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
  1014. * rib.c: Remove old kernel route when new route comes in.
  1015. 2000-06-13 David Lipovkov <davidl@nbase.co.il>
  1016. * rib.c (rib_if_up): Add check for unknown interface.
  1017. 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1018. * rib.h: Define INTERFACE_UNKNOWN.
  1019. 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1020. * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
  1021. finished.
  1022. 2000-06-05 David Lipovkov <davidl@nbase.co.il>
  1023. * interface.c (if_zebra_delete_hook): Call rib_if_delete().
  1024. * redistribute.c (zebra_interface_delete_update): New function.
  1025. * redistribute.h (zebra_interface_delete_update): New function
  1026. prototype.
  1027. * rib.c (rib_if_delete): New function. Walk down all routes and
  1028. delete all on the interface.
  1029. * rib.h: New function prototype.
  1030. * rt_netlink.c (netlink_link_change): Call
  1031. zebra_interface_delete_update ().
  1032. 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1033. * if_ioctl.c (interface_info_ioctl): Check interface's flag before
  1034. checking interface's address.
  1035. 2000-04-26 Jochen Friedrich <jochen@nwe.de>
  1036. * GNOME-PRODUCT-ZEBRA-MIB: New file.
  1037. * GNOME-SMI: New file.
  1038. 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1039. * irdp.c: New file from 1997 development code.
  1040. * irdp.h: Likewise.
  1041. 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1042. * rtadv.c (rtadv_send_packet): Enclose router advertisement
  1043. logging with IS_ZEBRA_DEBUG_PACKET.
  1044. 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1045. * zserv.c (zebra_client_close): Remove client structure from
  1046. client_list when connection is terminated.
  1047. 2000-03-21 David Lipovkov <davidl@nbase.co.il>
  1048. * connected.c (connected_add_ipv4): Allows all necessary structure
  1049. updates for connected route, but doesn't insert it into rib if
  1050. it's interface is down.
  1051. 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
  1052. * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
  1053. 2.5.1.
  1054. 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  1055. * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
  1056. from str2prefix_ipv6().
  1057. 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1058. * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
  1059. IPv6 with /128 routes.
  1060. (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
  1061. should have mask for cloning.
  1062. 1999-12-26 Jochen.Friedrich@genorz.de
  1063. * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
  1064. 1999-12-23 Alex Zinin <zinin@amt.ru>
  1065. * interface.*: dynamic int up/down support
  1066. 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1067. * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
  1068. * rtread_proc.c (proc_route_read): Don't use dropline().
  1069. 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1070. * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
  1071. process's pid.
  1072. 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1073. * main.c (main): Change to default log output to ZLOG_STDOUT.
  1074. * zserv.c (zebra_serv): More detailed error print.
  1075. 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1076. * kernel_socket.c (rtm_read): Check old pid for static route
  1077. insertion check.
  1078. 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1079. * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
  1080. statistics counter.
  1081. * mtu_kvm.c: New file added.
  1082. 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
  1083. * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
  1084. route to the directly connected interface.
  1085. 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1086. * rt_socket.c: Delete USE_HOST_BIT definition.
  1087. 1999-11-21 Michael Handler <handler@sub-rosa.com>
  1088. * rtread_getmsg.c: Undef some definition to resolve conflict.
  1089. 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1090. * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
  1091. value for gateway specification.
  1092. 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1093. * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
  1094. 128 under IPv6, don't use RTF_HOST.
  1095. 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  1096. * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
  1097. 1999-11-21 Michael Handler <handler@sub-rosa.com>
  1098. * rtread_getmsg.c: Added for Solaris 2.6 support.
  1099. 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1100. * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
  1101. * rt_socket.c (kernel_read): Better BSD routing socket support.
  1102. 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1103. * client_main.c: Disable making obsolete zebra test `client'
  1104. command.
  1105. 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1106. * zebra.c: Renamed to zserv.c.
  1107. * zebra.h: Global definitions are moved to lib/zebra.h. Then
  1108. renamed to zserv.h.
  1109. 1999-10-15 Jordan Mendelson <jordy@wserv.com>
  1110. * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
  1111. interface. Remove ugly MAX_INTERFACE handling codes.
  1112. 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
  1113. * Fix serious bug of IPv6 route deletion.
  1114. 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1115. * ioctl.c (if_set_prefix): Properly set broadcast address.
  1116. 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1117. * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
  1118. can install connected route to kernel via zebra
  1119. 1999-08-24 VOP <vop@unity.net>
  1120. * rib.c: Include "sockunion.h"
  1121. 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  1122. * ipforward.h: New file.
  1123. * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
  1124. ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
  1125. 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1126. * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
  1127. ZEBRA_INTERFACE_{ADD,DELETE} added.
  1128. 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1129. * rib.c: show ip route A.B.C.D works.
  1130. * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
  1131. 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1132. * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
  1133. 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1134. * interface.h: New file.
  1135. * Makefile.am: Add interface.h
  1136. 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1137. * redistribute.c (zebra_redistribute): give ifindex to client.
  1138. 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1139. * main.c (longopts): -k, --keep_kernel option added.
  1140. 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1141. * rt_socket.c (rtm_write): forgot closing socket bug fixed.
  1142. 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1143. * rib.c (show_ipv6_cmd): if rib is link show interface name.
  1144. 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1145. * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
  1146. 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1147. * rt_socket.c (rtm_write): ipv6 route table bug fixed.
  1148. 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1149. * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
  1150. 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  1151. * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
  1152. 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1153. * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
  1154. data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
  1155. 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
  1156. * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
  1157. 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1158. * zebra.c (zebra_serv): Only accept loopback address connection.
  1159. 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1160. * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
  1161. 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1162. * ipforward_proc.c: ipforward_on () and ipforward_off () added.
  1163. 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1164. * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
  1165. using /proc file system is added.
  1166. 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  1167. * if_ioctl.c (if_get_index): Interface index set bug is fixed by
  1168. adding #else at the middle of function. Suggested by David Luyer
  1169. <luyer@ucs.uwa.edu.au>.
  1170. 1999-05-29 <kunihiro@zebra.org>
  1171. * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
  1172. 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  1173. * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
  1174. the sort of routes.
  1175. 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
  1176. * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
  1177. (netlink_parse_info): If errno is EWOULDBLOCK then continue to
  1178. parse the message.
  1179. (netlink_talk): Likewise
  1180. 1999-05-17 <kunihiro@zebra.org>
  1181. * redistribute.c (zebra_check_addr): Added for loopback address
  1182. check.
  1183. 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  1184. * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
  1185. change treatment.
  1186. * Makefile.am (noinst_HEADERS): redistribute.h added.
  1187. * redistribute.h: New file.
  1188. 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
  1189. * zebra.c (show_table): Show all table configuration DEFUN.
  1190. (config_table): Config table number DEFUN.
  1191. * rt_netlink.c: Add support for multiple routing table.
  1192. * rib.c (rib_weed_table): New function added for delete all
  1193. routes from specified routing table.
  1194. * main.c (signal_init): SIGTERM call sigint.
  1195. (sigint): Loggging more better message.
  1196. 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1197. * rt_netlink.c: Change log () to zlog ().
  1198. 1999-05-07 <kunihiro@zebra.org>
  1199. * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
  1200. 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  1201. * interface.c: Add `no ip address' command.
  1202. 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  1203. * rt_netlink.c (kernel_read): Function added for asynchronous
  1204. zebra between kernel communication.
  1205. 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1206. * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
  1207. Reported by Achim Patzner <ap@bnc.net>.
  1208. 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1209. * Makefile.am: Install configuration sample with 600 permission.
  1210. 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1211. * Makefile.am: Add -I.. to INCLUDES.
  1212. 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
  1213. * syslog support added
  1214. 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
  1215. * if_sysctl.c (interface_list): allocated memory free when unknown
  1216. ifm_type is returned.
  1217. * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
  1218. 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
  1219. * interface.c: Header include added.
  1220. 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1221. * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
  1222. 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1223. * if_ioctl.c (interface_list_ioctl): interface flag must be
  1224. checked before check addresses of the interface.
  1225. 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1226. * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
  1227. 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  1228. * ioctl.c: Linux version before 2.1.0 need interface route setup.
  1229. 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
  1230. * change HYDRANGEA to KAME
  1231. 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1232. * if_ioctl.c (if_addr_ioctl): set address family for getting
  1233. interface's address.
  1234. (if_get_index): silently return when can't get interface's index.
  1235. 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  1236. * main.c (main): batch mode option '-b' added.
  1237. 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  1238. * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
  1239. * interface.c (shutdown_if): add interface shutdown and no
  1240. shutdown command.
  1241. 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  1242. * rib.c (rib_add_ipv6): delete rib_add_in6.
  1243. 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  1244. * main.c: retain flag is added.
  1245. 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1246. * rtable.[ch]: merged with rib.[ch]
  1247. 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1248. * connected.h: renamed from ifa.h.
  1249. 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  1250. * rename if.c to interface.c
  1251. * rename ifa.c to connected.c
  1252. * Porting to Debian GNU/Linux 2.0 (hamm).
  1253. 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  1254. * rt_netlink.c: renamed from krt_netlink.c
  1255. * fib.c: deleted.
  1256. * rt_kvm.c: deleted.
  1257. * rtread_getmsg.c: deleted.
  1258. 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  1259. * if.c (multicast): add multicast flag [un]set fucntion.
  1260. 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  1261. * rt_socket.c: Modify for compile on Solaris, but dont't work it.
  1262. rt_socket.c have some undefined function, so add directive "IMPLEMENT"
  1263. 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  1264. * zebra.c: Modify for compile on Solaris.
  1265. 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1266. * main.c: change CONFDIR to SYSCONFDIR.
  1267. 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  1268. * .cvsignore: added.
  1269. 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1270. * client.c: moves to ../lib.
  1271. 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  1272. * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
  1273. structure assignment.
  1274. 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
  1275. * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
  1276. 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
  1277. * if.c (if_init): add config_exit_cmd and config_help_cmd.
  1278. 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  1279. * rt_ioctl.c (route_ioctl): EPERM treatment added.
  1280. 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1281. * rt_socket.c (kernel_read): communication port zebra between
  1282. kernel is now handled by kernel_read.
  1283. 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  1284. * main.c (main): zebra [-P port] can specify vty port number.
  1285. 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1286. * zebra.c: change select will be block.
  1287. 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1288. * add static route treatment.
  1289. 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1290. * rt_netlink.c: add netlink support over GNU/Linux system.
  1291. 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  1292. * all inet_addr is changed to inet_aton.
  1293. * zebra.c (ip_route): add ip route command for static routes.
  1294. 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  1295. * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
  1296. 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  1297. * if.c: add interface command.
  1298. 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1299. * ipforward_proc.c : Now works on Linux.
  1300. 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1301. * command.c : add completion feature.
  1302. 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  1303. * vty.c (vty_command): add vty interface.
  1304. 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  1305. * zebra.c: add verbose mode.
  1306. 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
  1307. * Hydrangea for FreeBSD supported
  1308. * in.h: add some prototype.
  1309. 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  1310. * rt_socket.c and rtread.c completely rewritten.
  1311. 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  1312. * rt_socket.c: rename kernel_sock to routing_socket
  1313. 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  1314. * if.c (if_new): interface structure change from linklist to vector.
  1315. 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  1316. * vector.c (vector_init): create vector related function
  1317. 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  1318. * Makefile.in: add tags target
  1319. * start IPv6 support for INRIA FreeBSD.