ChangeLog 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391
  1. 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
  2. * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
  3. * zserv.c: ditto
  4. * ioctl_solaris.c: ditto.
  5. * interface.c: cast for LLADDR
  6. * interface.h: Add guards, include redistribute.h and remove
  7. extraneous definitions of zebra_interface_{up,down}_update
  8. * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
  9. * redistribute.h: include dependent header, zserv.h
  10. * zserv.h: include dependent header, rib.h
  11. 2004-07-23 Paul Jakma <paul@dishone.st>
  12. * irdp_main.c: use setsockopt_pktinfo_ipv4
  13. * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
  14. getsockopt_pktinfo_ifindex()
  15. 2004-07-13 David Wiggins <dwiggins@bbn.com
  16. * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.
  17. 2004-07-13 Hasso Tepper <hasso@estpak.ee>
  18. * irdp_main.c: Add privilege change.
  19. 2004-07-12 Hasso Tepper <hasso@estpak.ee>
  20. * irdp_interface.c: follow common style while naming vty command
  21. functions. Avoids confusion in extract.pl.
  22. 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
  23. * main.c: define thread_master variable so that linking with
  24. libzebra.so doesn't fail. Arguably zclient.o should be in a
  25. separate library, but this is far less disruptive.
  26. 2004-06-12 Robert Olsson <Robert.Olsson at data.slu.se>
  27. * Added IRDP support.
  28. 2004-05-18 Hasso Tepper <hasso@estpak.ee>
  29. * rtadv.c: Removed "[no] ipv6 nd send-ra" command. Replaced "ipv6 nd
  30. prefix-advertisement" with "ipv6 nd prefix". Rewrite syntax of
  31. "ipv6 nd prefix" command to allow various combinations of parameters
  32. and flags. No defaults in configuration. Replaced on-link and
  33. autoconfig with off-link and no-autoconfig flags in command syntax.
  34. Cosmetic fixes in all commands. Documentation to reflect all changes.
  35. 2004-05-11 Paul Jakma <paul@dishone.st>
  36. * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
  37. * if_ioctl_solaris.c: Fixup some erroneous privilege changes and
  38. add privs.h header.
  39. * ioctl_solaris.c: ditto
  40. * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6
  41. * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while
  42. RHS in assignments :)
  43. * redistribute.c: (zebra_interface_delete_update) only used
  44. if RTM_IFANNOUNCE and NETLINK is available.
  45. 2004-05-09 Paul Jakma <paul@dishone.st>
  46. * zserv.c: (zsend_route_multipath) Set the nexthop_num
  47. field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6.
  48. Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds.
  49. (zsend_ipv4_add) cruft, deleted.
  50. (zsend_ipv4_delete) ditto.
  51. (zsend_ipv6_add) ditto.
  52. (zsend_ipv6_delete) ditto.
  53. * ioctl.c: (if_get_mtu) set mtu6 to mtu
  54. * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
  55. * rt_netlink.c: (netlink_interface) set mtu6 to mtu
  56. (netlink_link_change) ditto
  57. * ipforward_solaris.c: fix typo of ND variable.
  58. * if_ioctl_solaris.c: Add zprivs support.
  59. * ioctl_solaris.c: ditto.
  60. 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
  61. * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
  62. into single zsend_route_multipath function.
  63. (zsend_interface_{up,down}) collapsed into zsend_interface_update.
  64. (zsend_interface_address_{add,delete}) collapsed into
  65. zsend_interface_address.
  66. (zsend_interface_add) send mtu6.
  67. (zsend_interface_delete) ditto.
  68. (zebra_write) remove unused function.
  69. (various) Apply static qualifier. Add comments.
  70. * zserv.h: Definitions changed as per above.
  71. * redistribute.c: Changes as per zserv.c.
  72. * interface.c: (if_delete_update) only used with HAVE_NETLINK
  73. and RTM_IFANNOUNCE.
  74. (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
  75. (if_dump_vty) print mtu6 if not same as mtu
  76. * if_ioctl_solaris.c: New file, Solaris interface ioctl methods.
  77. * ioctl_solaris.c: New file, Common solaris ioctl methods.
  78. 2004-04-06 Krzysztof Oledzki <oleq@ans.pl>
  79. * rt_netlink.c: Do not ignore metric when reading kernel routing
  80. table on Linux with rt_netlink interface.
  81. 2004-03-18 Hasso Tepper <hasso@estpak.ee>
  82. * interface.c: Temporary fix for handling secondary addresses
  83. with label.
  84. 2004-02-12 Hasso Tepper <hasso@estpak.ee>
  85. * zserv.c: Added "ipv6 forwarding" command.
  86. 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
  87. * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
  88. for reading kernel messages to ensure enough space (necessary on
  89. Solaris due to sockaddr_dl being large). Thanks to Sowmini
  90. Varadhan for help with this change.
  91. 2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
  92. * rtadv.c (rtadv_send_packet): Change perror to zlog_err.
  93. 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
  94. * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
  95. to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
  96. to just the accomodation of broken kernels. Check sockaddr_dl
  97. carefully up front, and later assume any non-NULL sdl pointer is
  98. valid. Clean up types and variable declarations, and rename
  99. WRAPUP to SAROUNDUP to make the name fit the behavior.
  100. 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
  101. * kernel_socket.c (kernel_read): Add a sockaddr_dl to the ifmsg
  102. structure, because on Solaris sockaddr_dl is far larger than the
  103. base sockaddr structure. (The code had previously been failing to
  104. read all the data.)
  105. 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
  106. * kernel_socket.c (kernel_read): Look up interfaces by index
  107. first, so that state changes which do not include a sockaddr_dl
  108. now work. Add many sanity checks. In
  109. particular, do not assume that a sockaddr_dl follows a message
  110. without checking the ifm_addrs flags, and do not trust the length
  111. in a sockaddr_dl. Add/clarify many comments.
  112. 2003-12-03 Greg Troxel <gdt@poblano.ir.bbn.com>
  113. * rtadv.c: reorder includes to avoid compiler warning (define
  114. structs before using them in prototypes)
  115. 2003-05-25 Jim Crumpler <Jim.Crumpler@edion.com>
  116. * zserv.c: Add "ip forwarding" command.
  117. 2003-05-16 Gilad Arnold <gilad.arnold@terayon.com>
  118. * zebra_rib.c: Fix memory leaks for ifname nexthops
  119. 2003-04-19 Israel Keys <ikeys@agile.tv>
  120. * rt_netlink.c: BLOCK on netlink while initialising
  121. 2003-02-06 Francois Deppierraz <francois@ctrlaltdel.ch>
  122. * rt_netlink.c (netlink_route_multipath): Set RTM_F_EQUALIZE when
  123. it exists.
  124. 2002-09-28 Akihiro Mizutani <mizutani@net-chef.net>
  125. * zebra_rib.c (static_add_ipv4): Null0 static route is added.
  126. 2002-09-10 Jochen Friedrich <chris+zebra@scram.de>
  127. * rt_netlink.c: Add check for EAGAIN.
  128. * kernel_socket.c: Likewise
  129. 2002-06-12 Israel Keys <ikeys@oz.agile.tv>
  130. * rt_netlink.c: Setting the NLM_F_ACK flag on the netlink command
  131. message so that we get an ACK for successful netlink commands.
  132. Change the netlink socket to BLOCKING while we wait for a
  133. response; be it an ACK or an NLMSG_ERROR. Change
  134. netlink_parse_info to deal with ACK messages.
  135. 2001-11-01 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  136. * rtadv.c (rtadv_make_socket): setsockopt(IPV6_CHECKSUM) does not
  137. work for ICMPv6 socket.
  138. 2001-10-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  139. * rib.c (rib_process): Select connected route any case.
  140. 2001-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  141. * interface.c (no_ip_address_secondary): Add "no" to command.
  142. 2001-10-18 NOGUCHI Kay <kay@v6.access.co.jp>
  143. * ioctl.c (if_prefix_add_ipv6): Set the prefered and valid lifetime
  144. to infinity as the freebsd4.4 workaroud.
  145. 2001-08-26 mihail.balikov@interbgc.com
  146. * zebra_snmp.c: Fix snmpwalk problem such as IPv4 address
  147. A.B.C.255.
  148. 2001-08-22 NOGUCHI Kay <kay@v6.access.co.jp>
  149. * rtadv.c: Do not send RA to loopback interface.
  150. 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  151. * ioctl.c (if_set_prefix): Remove Linux 2.0 specific connected
  152. route treatment.
  153. 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  154. * zebra-0.92a released.
  155. 2001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  156. * rib.c: Kernel route is treated as EGP routes in nexthop active
  157. check.
  158. 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  159. * zebra-0.92 released.
  160. 2001-08-08 "Akihiro Mizutani" <mizutani@dml.com>
  161. * rib.c (show_ip_route_prefix_longer): Add longer-prefix option to
  162. show route commands.
  163. 2001-07-29 Yon Uriarte <havanna_moon@gmx.net>
  164. * zserv.c (zsend_ipv4_add_multipath): Add
  165. NEXTHOP_TYPE_IPV4_IFINDEX check.
  166. 2001-07-29 NOGUCHI Kay <kay@v6.access.co.jp>
  167. * rtadv.c: Apply valid lifetime, preferred lifetime, onilnk flag,
  168. autonomous address-configuration flag patch.
  169. (no_ipv6_nd_suppress_ra): Change "ipv6 nd send-ra" to "no ipv6 nd
  170. suppress-ra".
  171. 2001-07-24 NOGUCHI Kay <kay@v6.access.co.jp>
  172. * rtadv.c (ipv6_nd_ra_interval): Add "ipv6 nd ra-interval SECONDS"
  173. command.
  174. 2001-07-24 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  175. * rt_socket.c (kernel_rtm_ipv4): Add KAME/NetBSD151 equal cost
  176. multicast FIB support both IPv4 and IPv6.
  177. 2001-07-24 Hal Snyder <hal@vailsys.com>
  178. * if_ioctl.c (interface_list_ioctl): Fix bug of failing to get the
  179. full list of interfaces on some configurations of OpenBSD.
  180. 2001-07-23 NOGUCHI Kay <kay@v6.access.co.jp>
  181. * rtadv.c (ipv6_nd_send_ra): Apply [zebra 9320] to fix "ipv6 nd
  182. send-ra" bug.
  183. (ipv6_nd_ra_lifetime): "ipv6 nd ra-lifetime 0" for default router
  184. availability.
  185. (ipv6_nd_managed_config_flag): "ipv6 nd managed-config-flag" is
  186. added.
  187. (ipv6_nd_other_config_flag): "ipv6 nd other-config-flag" is added.
  188. 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  189. * ioctl.c (if_ioctl): Change ioctl argument from int to u_long.
  190. * rt_ioctl.c: Likewise.
  191. 2001-07-23 Jun-ichiro itojun Hagino <itojun@iijlab.net>
  192. * kernel_socket.c (rtm_write): Only set RTF_CLONING when the
  193. interface is not p2p.
  194. 2001-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  195. * ioctl.c (if_prefix_add_ipv6): Fix argument type.
  196. 2001-04-06 Toshiaki Takada <takada@zebra.org>
  197. * zserv.c (zsend_interface_delete): Use client->obuf instead of
  198. allocating new stream.
  199. 2001-03-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  200. * rt_netlink.c: Revert RTPROT_BOOT change.
  201. 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  202. * rt_netlink.c (netlink_route_change): Skip RTPROT_BOOT route.
  203. (netlink_routing_table): Likewise.
  204. 2001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
  205. * zserv.c (zsend_ipv4_add_multipath): Send metric value to
  206. protocol daemons.
  207. 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  208. * rt_netlink.c (netlink_routing_table): Do not return
  209. tb[RTA_GATEWAY] is NULL. Reported by: "Michael O'Keefe"
  210. <mokeefe@qualcomm.com>.
  211. 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  212. * if_ioctl.c (interface_list_ioctl): Call if_add_update().
  213. Suggested by: Chris Dunlop <chris@onthe.net.au>.
  214. 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  215. * rib.c (nexthop_active_ipv4): When nexthop type is
  216. NEXTHOP_TYPE_IPV4_IFINDEX, propery set the ifindex to rifindex.
  217. * zserv.c: Initialize rtm_table_default with 0.
  218. * zebra-0.91 is released.
  219. 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
  220. * kernel_socket.c (rtm_read): Filter cloned route. Suggested by:
  221. Jun-ichiro itojun Hagino <itojun@iijlab.net>
  222. 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  223. * connected.c (connected_up_ipv6): When point-to-point destination
  224. address is ::, use local address for connected network.
  225. (connected_down_ipv6): Likewise.
  226. 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  227. * zserv.c (zebra_serv): Add missing close() call. Reported by:
  228. David Waitzman <djw@vineyard.net>.
  229. 2001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  230. * rib.c (rib_lookup_ipv4): New function for checking exact match
  231. IGP route.
  232. 2001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  233. * rib.c (show_ipv6_route_protocol): Fix bug of "show ip route
  234. route-type".
  235. 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  236. * interface.c (zebra_interface): Do not call
  237. zebra_interface_add_update for inactive interface.
  238. * zserv.c (zsend_interface_address_add): Send interface address
  239. flag.
  240. (zsend_interface_address_delete): Likewise.
  241. 2001-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  242. * interface.c (if_addr_add): Add flags.
  243. * connected.c (ifa_add_ipv4): Add new function for interface
  244. address handling.
  245. (ifa_delete_ipv4): Likewise.
  246. 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  247. * rib.c (rib_update): Update IPv6 RIB.
  248. * kernel_socket.c (ifam_read): Call if_refresh() for update
  249. interface flag status. This is for implicit interface up on *BSD.
  250. * interface.c (if_refresh): Add interface flag refresh function.
  251. * kernel_socket.c (rtm_read): Fetch link-local address interface
  252. index.
  253. (ifan_read): We need to fetch interface information. Suggested
  254. by: Yasuhiro Ohara <yasu@sfc.wide.ad.jp>.
  255. * rib.c (static_ipv6_nexthop_same): Add check for
  256. NEXTHOP_TYPE_IPV6_IFNAME.
  257. 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  258. * rib.h (NEW_RIB): Turn on NEW_RIB flag. IPv6 new RIB code are
  259. taken into place.
  260. 2001-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  261. * rib.c (static_ipv6_write): Display STATIC_IPV6_GATEWAY_IFNAME
  262. configuration.
  263. (rib_delete_ipv6): Handle same route conter for IPv6 connected
  264. route.
  265. (show_ipv6_route_protocol): New command.
  266. (show_ipv6_route_addr): Likewise.
  267. (show_ipv6_route_prefix): Likewise.
  268. (rib_update): Sweep kernel route when it is cleaned up.
  269. * rt_socket.c (kernel_add_ipv6): Add NEXTHOP_IPV6_IFNAME
  270. treatmenet.
  271. * rt_netlink.c (kernel_init): Likewise.
  272. * rt_ioctl.c (kernel_ioctl_ipv6_multipath): Likewise.
  273. * rib.c (rib_add_ipv4): Cope with same connected route on a
  274. interface. Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
  275. (nexthop_ipv6_ifname_add): Add NEXTHOP_IPV6_IFNAME treatmenet.
  276. * rib.h (struct new_rib): Add refcnt to keep track on the
  277. reference of same connected route.
  278. * ioctl.c (if_set_prefix): Add check for GNU_LINUX.
  279. 2001-01-13 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  280. * kernel_socket.c (ifan_read, rtm_type_str): Add RTM_OIFINFO check.
  281. (rtm_type_str): Add RTM_IFANNOUNCE check.
  282. (ifan_read): New function.
  283. (kernel_read): Add case for RTM_IFANNOUNCE.
  284. 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  285. * rt_ioctl.c (kernel_ioctl_ipv6_multipath): New function.
  286. * rt_netlink.c (netlink_route_multipath): IPv6 address ifindex
  287. treatment.
  288. * connected.c (connected_up_ipv6): Add dest value check.
  289. * rib.c (nexthop_active_ipv6): Do not touch IPv6 nexthop's
  290. ifindex.
  291. (rib_add_ipv4): Import rib_add_ipv6() same route check code.
  292. (nexthop_active_check): NEXTHOP_TYPE_IPV6_IFINDEX activity is only
  293. checked by ifindex.
  294. * rt_socket.c (kernel_rtm_ipv6_multipath): New function.
  295. * redistribute.c (redistribute_add): Use
  296. zsend_ipv6_add_multipath().
  297. (redistribute_delete_multipath): Use
  298. zsend_ipv6_delete_multipath().
  299. * interface.c (ip_address): Check current IP address to avoid
  300. duplicate.
  301. * rib.c (rib_delete_ipv4): When deleted route is connected route,
  302. check ifindex.
  303. (rib_add_ipv4): When connected route is added do not perform
  304. implicit withdraw.
  305. (rib_delete_ipv4): Check ifindex for connected route.
  306. * kernel_socket.c (rtm_read): When route has RTF_STATIC, set
  307. ZEBRA_FLAG_STATIC for indicate as persistent route.
  308. (ifam_read): Unset interface index from link-local address when
  309. IPv6 stack is KAME.
  310. * rib.c (rib_update): Do not delete persistent kernel route.
  311. * rib.h (struct new_rib): Integrate RIB_FLAG_* to ZEBRA_FLAG_*.
  312. * rt_socket.c (kernel_add_ipv6_multipath): Add placeholder.
  313. (kernel_delete_ipv6_multipath): Likewise.
  314. * rt_netlink.c (netlink_talk): Give struct nlsock to netlink_talk.
  315. 2001-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  316. * rib.c (rib_update): Revert Matthew Grant's patch
  317. zebra_cvs_newribfix.patch. Use struct rib->ifindex for kernel
  318. interface index. Introduce NEXTHOP_TYPE_IPV4_IFINDEX to support
  319. that. Add support for address deletion situation.
  320. 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  321. * interface.c: Remove HAVE_IF_PSEUDO part.
  322. * rib.h: Likewise.
  323. * rt_netlink.c (netlink_link_change): Likewise.
  324. 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  325. * zserv.c: Remove OLD_RIB codes.
  326. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  327. * zebra-0.90 is released.
  328. 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
  329. * interface.c (if_new_intern_ifindex): Allocate a new internal
  330. interface index.
  331. (if_addr_refresh): Fix up ip addresses configured via zebra.
  332. (if_add_update): Handle an interface addition.
  333. (if_delete_update): Handle an interface delete event.
  334. * rib.c (nexthop_ipv4_add): Add kernel route deletion process when
  335. interface goes down.
  336. 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  337. * interface.c (if_dump_vty): When HAVE_NET_RT_IFLIST is defined,
  338. NetBSD also use this function. Suggested by Jasper Wallace
  339. <jasper@ivision.co.uk>.
  340. 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  341. * rib.c (nexthop_active_ipv4): Move back to set methodo to old
  342. one.
  343. 2001-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  344. * rib.c (rib_add_ipv4): EBGP multihop set ZEBRA_FLAG_INTERNAL
  345. flag, so treat it.
  346. 2001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  347. * rt_netlink.c (netlink_talk_ipv6): When IPv6 route message is
  348. sent from netlink_cmd, the same message comes from netlink. To
  349. avoid confusion, temporary netlink_talk_ipv6 use netlink.sock
  350. instead of netlink_cmd.sock.
  351. 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  352. * zserv.h (ZEBRA_SERV_PATH): Change "/tmp/zebra" to "/tmp/.zebra".
  353. Change "/tmp/zserv" to "/tmp/.zserv".
  354. 2000-12-29 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  355. * rt_netlink.c (struct nlsock): Divide kernel message into listen
  356. socket and command socket.
  357. (netlink_talk): Remove socket listen code. Use netlink_parse_info
  358. for read kernel response.
  359. 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  360. * rib.c (vty_show_ip_route): Show uptime of the RIP,OSPF,BGP
  361. routes.
  362. 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  363. * rt_netlink.c (netlink_route_multipath): Metric value is
  364. reflected to kernel routing table.
  365. * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Likewise.
  366. * kernel_socket.c (rtm_write): Likewise.
  367. * rib.c (nexthop_active_ipv4): Only iBGP route perform recursive
  368. nexthop lookup.
  369. * rt_ioctl.c (kernel_ioctl_ipv4_multipath): Add ioctl version of
  370. new RIB implementation.
  371. 2000-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  372. * rib.h: Remove MULTIPATH_NUM. It is defined by configure script.
  373. 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
  374. * rib.c (rib_if_up): Call rib_fib_set instead of RIB_FIB_SET for
  375. proper redistribution.
  376. 2000-12-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  377. * rib.c (nexthop_active_ipv4): Add self lookup nexthop check.
  378. (show_ip_route_protocol): Support new RIB.
  379. * rt_netlink.c (netlink_route_change): Do not return when gate is
  380. NULL.
  381. 2000-12-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  382. * rib.c (rib_lookup_ipv4_nexthop): IBGP nexthop check function is
  383. updated.
  384. (rib_add_ipv4): Free implicit withdraw route's RIB.
  385. 2000-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  386. * rib.c (nexthop_active_ipv4): Check indirect nexthop.
  387. * redistribute.c (redistribute_add_multipath): Redistribution
  388. works with new rib code.
  389. 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  390. * rt_netlink.c (netlink_route_multipath): Check useful nexthop
  391. number.
  392. (netlink_route_multipath): Clear rtnh_flags and rtnh_hops.
  393. * rib.c (nexthop_active_update): Set flag for the rib's nexthop
  394. activity is changed.
  395. (nexthop_active_check): Before checking interface is up, make it
  396. sure the interface exist.
  397. 2000-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  398. * rib.c (ip_route): New RIB prototype.
  399. 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
  400. * zserv.c (zsend_interface_add): Send hardware address when
  401. hw_addr_len is greater than 0.
  402. 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  403. * connected.c (connected_up_ipv4): Fix ptop bug. The destination
  404. network should be installed into routing table.
  405. (connected_down_ipv4): Likewise.
  406. (connected_add_ipv4): Change to use connected_up_ipv4.
  407. (connected_delete_ipv4): Likewise.
  408. 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  409. * rt_netlink.c (netlink_interface_addr): Revert Harald Welte
  410. <laforge@gnumonks.org>'s ptop patch then back to original code to
  411. avoid duplicated connected route problem. Suggested by Frank van
  412. Maarseveen <F.vanMaarseveen@inter.NL.net>.
  413. * kernel_socket.c (rtm_read): Make behavior consistent even #ifdef
  414. DEBUG is defined. Reported by Jun-ichiro itojun Hagino
  415. <itojun@iijlab.net>.
  416. 2000-10-23 Jochen Friedrich <jochen@scram.de>
  417. * main.c (main): Call zebra_snmp_init() when it is enabled.
  418. 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  419. * zserv.c (zebra_serv_un): UNIX domain socket server of zebra
  420. protocol.
  421. 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  422. * rib.c (rib_add_ipv4): Same check bug is fixed.
  423. 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  424. * rib.c (rib_if_down): Remove kernel route when the interface goes
  425. down.
  426. * debug.c: New command "debug zebra kernel" is added.
  427. 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  428. * zebra-0.89 is released.
  429. 2000-09-24 Harald Welte <laforge@gnumonks.org>
  430. * rt_netlink.c (netlink_interface_addr): Fix point-to-point address
  431. treatment in netlink interface.
  432. 2000-09-21 David Lipovkov <dlipovkov@OpticalAccess.com>
  433. * rib.c (rib_if_down): Pull static route only. Protocol daemon
  434. must withdraw routes when interface goes down.
  435. (rib_add_ipv4): Check nexthop when replace route.
  436. 2000-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  437. * if_ioctl.c (if_getaddrs): New function for looking up
  438. interface's address by getifaddrs().
  439. 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  440. * connected.c (connected_delete_ipv4): Add check for connected
  441. address is found or not.
  442. (connected_add_ipv6): Reflect IPv6 connected address change to
  443. protocol daemons.
  444. (connected_delete_ipv6): Likewise.
  445. 2000-09-07 David Lipovkov <davidl@nbase.co.il>
  446. * rib.c (rib_delete_ipv4): Reverted the change from pseudo
  447. interface patch to original. Because ospfd deletes routes using
  448. zero ifindex.
  449. 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  450. * zebra-0.88 is released.
  451. 2000-08-15 "Akihiro Mizutani" <mizutani@dml.com>
  452. * rib.c (show_ip_route_protocol): Help string correction.
  453. (show_ip_route_prefix): Check prefix mask.
  454. (show_ip_route_vty_detail): Display distance and metric.
  455. 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  456. * zserv.c (zsend_interface_add): Change ifindex store size from
  457. two octet to four.
  458. (zsend_interface_delete): Likewise.
  459. (zsend_interface_address_add): Likewise.
  460. (zsend_interface_address_delete): Likewise.
  461. (zsend_interface_up): Likewise.
  462. (zsend_interface_down): Likewise.
  463. 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  464. * rib.c (rib_add_ipv4): Do not install distance 255 route.
  465. 2000-08-10 Toshiaki Takada <takada@zebra.org>
  466. * interface.c (bandwidth_if), (no_bandwidth_if): Call
  467. zebra_interface_up_update () instead of using if_up() and if_down().
  468. 2000-08-07 "Akihiro Mizutani" <mizutani@dml.com>
  469. * interface.c (bandwidth_if): Fix help string.
  470. 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
  471. * interface.c (if_dump_vty): Display bandwidth value.
  472. (bandwidth_if): New command "bandwidth <1-10000000>" is added.
  473. When interface is up, force protocol daemons to recalculate routes
  474. due to cost change.
  475. (no_bandwidth_if): Likewise.
  476. (if_config_write): Output bandwidth configuration.
  477. * zserv.c (zsend_interface_add): Send bandwidth value.
  478. (zsend_interface_up): Likewise.
  479. (zsend_interface_down): Likewise.
  480. 2000-08-07 Michael Rozhavsky <mike@nbase.co.il>
  481. * rib.c (show_ip_route_protocol): "show ip route
  482. (bgp|connected|kernel|ospf|rip|static)" is added.
  483. 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  484. * rib.c (rib_lookup_ipv4_nexthop): Check parent node until IGP
  485. nexthop is found.
  486. (rib_add_ipv4_internal): Set fib ifindex to rib ifindex.
  487. 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  488. * redistribute.c (redistribute_delete): Fix bug of default route
  489. redistribute treatment.
  490. 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  491. * rib.c (rib_init): Install ip_node in rib.c instead of zserv.c.
  492. Change default distance value.
  493. Old New
  494. ------------------------------------------
  495. system 10 0
  496. kernel 20 0
  497. connected 30 0
  498. static 40 1
  499. rip 50 120
  500. ripng 50 120
  501. ospf 60 110
  502. ospf6 49 110
  503. bgp 70 200(iBGP) 20(eBGP)
  504. ------------------------------------------
  505. * zserv.c (client_lookup): Function removed.
  506. (zsend_interface_add): Use client's output buffer. Check ifinfo
  507. flag.
  508. (zsend_interface_delete): Likewise.
  509. Delete ipv4_static_radix and ipv6_static_radix.
  510. 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  511. * zserv.h (struct zebra_client): When client request interface
  512. information, ifinfo is set.
  513. * rib.c: Temporary Revert changes for pseudo interface.
  514. * rib.h: Likewise.
  515. * zserv.c: Likewise.
  516. * interface.c: Likewise.
  517. 2000-08-02 David Lipovkov <davidl@nbase.co.il>
  518. * interface.c (zebra_if_init): Install interface "pseudo"
  519. commands.
  520. * rib.c (rib_create): ifname argument is added.
  521. (rib_add_ipv4_pseudo): New function is added.
  522. (rib_delete_ipv4_pseudo): Likewise.
  523. * rib.h : Delete INTERFACE_UNKNOWN definition. Add prototype for
  524. pseudo interface functions.
  525. * rt_netlink.c (netlink_link_change): Check for pseudo interface.
  526. * zserv.c (ip_route): When destination is pseudo interface, call
  527. rib_add_ipv4_pseudo().
  528. * zserv.c (no_ip_route): Trim "unknown" argument.
  529. 2000-07-26 kunitake@dti.ad.jp
  530. * if_ioctl.c (if_get_hwaddr): Fix hardware address length from 8
  531. to 6.
  532. * rtadv.c (rtadv_send_packet): Fix shift bug for hardware address.
  533. 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
  534. * interface.c: Use install_default() for common VTY commands.
  535. 2000-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  536. * if_ioctl.c (interface_list_ioctl): A interface list size is
  537. calculated from ifreq->if_addr.sa_len. This is for OpenBSD.
  538. * ioctl.c (if_get_mtu): Remove codes for SIOCGIFDATA.
  539. 2000-07-09 Chris Dunlop <chris@onthe.net.au>
  540. * if_ioctl.c (if_get_index): Add check for HAVE_BROKEN_ALIASES.
  541. 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  542. * zserv.c (zebra_client_read): Add ZEBRA_REDISTRIBUTE_{ADD,DELETE}
  543. message handling.
  544. 2000-07-02 David Lipovkov <davidl@nbase.co.il>
  545. * zserv.c: "ip route A.B.C.D/M unknown" command is added.
  546. 2000-06-28 Michael Rozhavsky <mike@nbase.co.il>
  547. * rib.c: Remove old kernel route when new route comes in.
  548. 2000-06-13 David Lipovkov <davidl@nbase.co.il>
  549. * rib.c (rib_if_up): Add check for unknown interface.
  550. 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  551. * rib.h: Define INTERFACE_UNKNOWN.
  552. 2000-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  553. * Makefile.am (EXTRA_DIST): Move irdp.c until implementation is
  554. finished.
  555. 2000-06-05 David Lipovkov <davidl@nbase.co.il>
  556. * interface.c (if_zebra_delete_hook): Call rib_if_delete().
  557. * redistribute.c (zebra_interface_delete_update): New function.
  558. * redistribute.h (zebra_interface_delete_update): New function
  559. prototype.
  560. * rib.c (rib_if_delete): New function. Walk down all routes and
  561. delete all on the interface.
  562. * rib.h: New function prototype.
  563. * rt_netlink.c (netlink_link_change): Call
  564. zebra_interface_delete_update ().
  565. 2000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  566. * if_ioctl.c (interface_info_ioctl): Check interface's flag before
  567. checking interface's address.
  568. 2000-04-26 Jochen Friedrich <jochen@nwe.de>
  569. * GNOME-PRODUCT-ZEBRA-MIB: New file.
  570. * GNOME-SMI: New file.
  571. 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  572. * irdp.c: New file from 1997 development code.
  573. * irdp.h: Likewise.
  574. 2000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  575. * rtadv.c (rtadv_send_packet): Enclose router advertisement
  576. logging with IS_ZEBRA_DEBUG_PACKET.
  577. 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  578. * zserv.c (zebra_client_close): Remove client structure from
  579. client_list when connection is terminated.
  580. 2000-03-21 David Lipovkov <davidl@nbase.co.il>
  581. * connected.c (connected_add_ipv4): Allows all necessary structure
  582. updates for connected route, but doesn't insert it into rib if
  583. it's interface is down.
  584. 2000-01-21 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
  585. * rtread_getmsg.c: Set some definition for Solaris 2.5 and Solaris
  586. 2.5.1.
  587. 2000-01-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  588. * rib.c (no_ipv6_route_ifname): Fix buf of cheking return value
  589. from str2prefix_ipv6().
  590. 2000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  591. * rt_socket.c: Revert to use RTF_HOST for IPv4 with /32 route and
  592. IPv6 with /128 routes.
  593. (kernel_rtm_ipv4): In case of /32 route's gateway is interface. It
  594. should have mask for cloning.
  595. 1999-12-26 Jochen.Friedrich@genorz.de
  596. * interface.c (if_dump_vty): Fix a bug of missing VTY_NEWLINE.
  597. 1999-12-23 Alex Zinin <zinin@amt.ru>
  598. * interface.*: dynamic int up/down support
  599. 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  600. * ipforward_proc.c (dropline): Move dropline() from lib/dropline.c
  601. * rtread_proc.c (proc_route_read): Don't use dropline().
  602. 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  603. * kernel_socket.c (rtm_read): When message is RTM_GET, it has own
  604. process's pid.
  605. 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  606. * main.c (main): Change to default log output to ZLOG_STDOUT.
  607. * zserv.c (zebra_serv): More detailed error print.
  608. 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  609. * kernel_socket.c (rtm_read): Check old pid for static route
  610. insertion check.
  611. 1999-11-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  612. * interface.c (if_dump_vty): BSDI/OS uses 64bit for interface
  613. statistics counter.
  614. * mtu_kvm.c: New file added.
  615. 1999-11-27 Vladimir B. Grebenschikov <vova@express.ru>
  616. * kernel_socket.c (rtm_write): Set RTF_CLONING flag for
  617. route to the directly connected interface.
  618. 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  619. * rt_socket.c: Delete USE_HOST_BIT definition.
  620. 1999-11-21 Michael Handler <handler@sub-rosa.com>
  621. * rtread_getmsg.c: Undef some definition to resolve conflict.
  622. 1999-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  623. * kernel_socket.c (rtm_write): Change to use pre stored struct_dl
  624. value for gateway specification.
  625. 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  626. * rt_socket.c (kernel_rtm_ipv4): Even mask is 32 under IPv4 or
  627. 128 under IPv6, don't use RTF_HOST.
  628. 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
  629. * Makefile.am (EXTRA_DIST): Add rtread_getmsg.c.
  630. 1999-11-21 Michael Handler <handler@sub-rosa.com>
  631. * rtread_getmsg.c: Added for Solaris 2.6 support.
  632. 1999-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  633. * rtread_sysctl.c (rtm_read_route): RTM_DELETE handling added.
  634. * rt_socket.c (kernel_read): Better BSD routing socket support.
  635. 1999-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  636. * client_main.c: Disable making obsolete zebra test `client'
  637. command.
  638. 1999-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  639. * zebra.c: Renamed to zserv.c.
  640. * zebra.h: Global definitions are moved to lib/zebra.h. Then
  641. renamed to zserv.h.
  642. 1999-10-15 Jordan Mendelson <jordy@wserv.com>
  643. * if_ioctl.c: Add Linux 2.2.X's alias support and dynamic
  644. interface. Remove ugly MAX_INTERFACE handling codes.
  645. 1999-09-17 Satosi KOBAYASI <kobayasi@north.ad.jp>
  646. * Fix serious bug of IPv6 route deletion.
  647. 1999-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  648. * ioctl.c (if_set_prefix): Properly set broadcast address.
  649. 1999-09-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  650. * rib.c (rib_add_ipv6, rib_delete_ipv6): now protocol daemons
  651. can install connected route to kernel via zebra
  652. 1999-08-24 VOP <vop@unity.net>
  653. * rib.c: Include "sockunion.h"
  654. 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  655. * ipforward.h: New file.
  656. * zebra.h: Obsolete message ZEBRA_GET_ALL_INTERFACE,
  657. ZEBRA_GET_ONE_INTERFACE, ZEBRA_GET_HOSTINFO are deleted.
  658. 1999-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  659. * zebra.h (ZEBRA_INTERFACE_ADDRESS_ADD):
  660. ZEBRA_INTERFACE_{ADD,DELETE} added.
  661. 1999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  662. * rib.c: show ip route A.B.C.D works.
  663. * zebra.c (zebra_read_ipv4): Add ifindex to zebra messages.
  664. 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  665. * zebra.h: New Zebra message ZEBRA_INTERFACE_{ADD,DELETE} added.
  666. 1999-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  667. * interface.h: New file.
  668. * Makefile.am: Add interface.h
  669. 1999-08-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  670. * redistribute.c (zebra_redistribute): give ifindex to client.
  671. 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  672. * main.c (longopts): -k, --keep_kernel option added.
  673. 1999-07-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  674. * rt_socket.c (rtm_write): forgot closing socket bug fixed.
  675. 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  676. * rib.c (show_ipv6_cmd): if rib is link show interface name.
  677. 1999-07-17 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  678. * rt_socket.c (rtm_write): use sockaddr_dl when null gateway.
  679. 1999-07-16 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  680. * rt_socket.c (rtm_write): ipv6 route table bug fixed.
  681. 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  682. * zebra.c (zebra_read_ipv6): read link prefix from ospf6 support
  683. 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
  684. * rt_socket.c (kernel_rtm_ipv6): gate treatment bug fixed.
  685. 1999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  686. * if_sysctl.c (ifm_read): Clear sockunion argument before fetching
  687. data. Suggested by "Chris P. Ross" <cross@eng.us.uu.net>
  688. 1999-07-08 HEO SeonMeyong <seirios@Matrix.IRI.Co.Jp>
  689. * interface.c (if_tun_add): Add KAME's gif tunnel setting codes.
  690. 1999-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  691. * zebra.c (zebra_serv): Only accept loopback address connection.
  692. 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  693. * zebra.h (ZEBRA_ROUTE_EXTERNAL): Add zebra messages flags
  694. 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  695. * ipforward_proc.c: ipforward_on () and ipforward_off () added.
  696. 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  697. * ipforward_proc.c (ipforward_ipv6): Check for IPv6 forwarding
  698. using /proc file system is added.
  699. 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  700. * if_ioctl.c (if_get_index): Interface index set bug is fixed by
  701. adding #else at the middle of function. Suggested by David Luyer
  702. <luyer@ucs.uwa.edu.au>.
  703. 1999-05-29 <kunihiro@zebra.org>
  704. * rt_ioctl.c: Comment out #include <linux/ipv6_route.h>.
  705. 1999-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  706. * zebra.h (ZEBRA_ROUTE_MAX): Add new define for the max value of
  707. the sort of routes.
  708. 1999-05-25 Patrick Koppen <koppen@rhrk.uni-kl.de>
  709. * rt_netlink.c (netlink_socket): Make netlink socket non-blocking.
  710. (netlink_parse_info): If errno is EWOULDBLOCK then continue to
  711. parse the message.
  712. (netlink_talk): Likewise
  713. 1999-05-17 <kunihiro@zebra.org>
  714. * redistribute.c (zebra_check_addr): Added for loopback address
  715. check.
  716. 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  717. * rt_netlink.c (netlink_route_change): Tempolary bypass ipv6 route
  718. change treatment.
  719. * Makefile.am (noinst_HEADERS): redistribute.h added.
  720. * redistribute.h: New file.
  721. 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
  722. * zebra.c (show_table): Show all table configuration DEFUN.
  723. (config_table): Config table number DEFUN.
  724. * rt_netlink.c: Add support for multiple routing table.
  725. * rib.c (rib_weed_table): New function added for delete all
  726. routes from specified routing table.
  727. * main.c (signal_init): SIGTERM call sigint.
  728. (sigint): Loggging more better message.
  729. 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  730. * rt_netlink.c: Change log () to zlog ().
  731. 1999-05-07 <kunihiro@zebra.org>
  732. * zebra.h (ZEBRA_ROUTE_OSPF6): Added for ospf6d route.
  733. 1999-04-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  734. * interface.c: Add `no ip address' command.
  735. 1999-04-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  736. * rt_netlink.c (kernel_read): Function added for asynchronous
  737. zebra between kernel communication.
  738. 1999-03-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  739. * rtread_sysctl.c (rtm_read): Fix address memcopy overrun bug.
  740. Reported by Achim Patzner <ap@bnc.net>.
  741. 1999-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  742. * Makefile.am: Install configuration sample with 600 permission.
  743. 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  744. * Makefile.am: Add -I.. to INCLUDES.
  745. 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
  746. * syslog support added
  747. 1999-02-17 Peter Galbavy <Peter.Galbavy@knowledge.com>
  748. * if_sysctl.c (interface_list): allocated memory free when unknown
  749. ifm_type is returned.
  750. * ioctl.c (if_get_mtu): added SIOCGIFDATA treatment.
  751. 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
  752. * interface.c: Header include added.
  753. 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  754. * rt.h (kernel_delete_ipv6): change int index to unsigned int index.
  755. 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  756. * if_ioctl.c (interface_list_ioctl): interface flag must be
  757. checked before check addresses of the interface.
  758. 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  759. * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6.
  760. 1998-10-14 Kunihiro Ishiguro <kunihiro@zebra.org>
  761. * ioctl.c: Linux version before 2.1.0 need interface route setup.
  762. 1998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
  763. * change HYDRANGEA to KAME
  764. 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  765. * if_ioctl.c (if_addr_ioctl): set address family for getting
  766. interface's address.
  767. (if_get_index): silently return when can't get interface's index.
  768. 1998-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  769. * main.c (main): batch mode option '-b' added.
  770. 1998-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  771. * ioctl.c (if_set_prefix): add `ip address IPV4ADDR' command.
  772. * interface.c (shutdown_if): add interface shutdown and no
  773. shutdown command.
  774. 1998-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  775. * rib.c (rib_add_ipv6): delete rib_add_in6.
  776. 1998-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  777. * main.c: retain flag is added.
  778. 1998-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  779. * rtable.[ch]: merged with rib.[ch]
  780. 1998-07-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  781. * connected.h: renamed from ifa.h.
  782. 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  783. * rename if.c to interface.c
  784. * rename ifa.c to connected.c
  785. * Porting to Debian GNU/Linux 2.0 (hamm).
  786. 1998-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  787. * rt_netlink.c: renamed from krt_netlink.c
  788. * fib.c: deleted.
  789. * rt_kvm.c: deleted.
  790. * rtread_getmsg.c: deleted.
  791. 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  792. * if.c (multicast): add multicast flag [un]set fucntion.
  793. 1998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  794. * rt_socket.c: Modify for compile on Solaris, but dont't work it.
  795. rt_socket.c have some undefined function, so add directive "IMPLEMENT"
  796. 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  797. * zebra.c: Modify for compile on Solaris.
  798. 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  799. * main.c: change CONFDIR to SYSCONFDIR.
  800. 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  801. * .cvsignore: added.
  802. 1998-04-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  803. * client.c: moves to ../lib.
  804. 1998-03-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  805. * if_ioctl.c (if_get_addr): Change address copy from memcopy() to
  806. structure assignment.
  807. 1998-03-30 URA Hiroshi <ura@yamato.ibm.co.jp>
  808. * if_sysctl.c (ifm_interface_add): sdl->sdl_data copy bug fixed.
  809. 1998-02-23 "Hannes R. Boehm" <hannes@boehm.org>
  810. * if.c (if_init): add config_exit_cmd and config_help_cmd.
  811. 1998-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  812. * rt_ioctl.c (route_ioctl): EPERM treatment added.
  813. 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  814. * rt_socket.c (kernel_read): communication port zebra between
  815. kernel is now handled by kernel_read.
  816. 1998-01-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  817. * main.c (main): zebra [-P port] can specify vty port number.
  818. 1997-12-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  819. * zebra.c: change select will be block.
  820. 1997-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  821. * add static route treatment.
  822. 1997-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  823. * rt_netlink.c: add netlink support over GNU/Linux system.
  824. 1997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  825. * all inet_addr is changed to inet_aton.
  826. * zebra.c (ip_route): add ip route command for static routes.
  827. 1997-11-20 Kunihiro Ishiguro <kunihiro@zebra.org>
  828. * if.c (if_flag_dump): Linux port of if_flag_dump and _vty.
  829. 1997-11-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  830. * if.c: add interface command.
  831. 1997-11-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  832. * ipforward_proc.c : Now works on Linux.
  833. 1997-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  834. * command.c : add completion feature.
  835. 1997-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  836. * vty.c (vty_command): add vty interface.
  837. 1997-10-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  838. * zebra.c: add verbose mode.
  839. 1997-10-12 SonMyong Ho <s-ho@Matrix.IRI.Co.Jp>
  840. * Hydrangea for FreeBSD supported
  841. * in.h: add some prototype.
  842. 1997-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  843. * rt_socket.c and rtread.c completely rewritten.
  844. 1997-10-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  845. * rt_socket.c: rename kernel_sock to routing_socket
  846. 1997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  847. * if.c (if_new): interface structure change from linklist to vector.
  848. 1997-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  849. * vector.c (vector_init): create vector related function
  850. 1997-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  851. * Makefile.in: add tags target
  852. * start IPv6 support for INRIA FreeBSD.