ChangeLog 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. 2005-10-26 Paul Jakma <paul.jakma@sun.com>
  2. * (general) static/extern functions and definitions.
  3. * rip_interface.h: new file, export the public functions from
  4. rip_interface.c
  5. 2005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
  6. * ripd.c: rip_create_socket() for each packet, it does not bind to the
  7. proper interfaces because we forget to use the from address when
  8. it is specified.
  9. 2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
  10. * rip_interface.c: Now the command "no ip rip split-horizon
  11. poisoned-reverse" just inhibates the poisoned-reverse effects
  12. but keep spli-horizon activ.
  13. 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  14. * rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
  15. table str[]. Replace str[] with calls to new library function
  16. zebra_route_string().
  17. * ripd.c: Remove local hard-coded table route_info[].
  18. (show_ip_rip) Replace uses of str[] with calls to new library
  19. functions zebra_route_char and zebra_route_string.
  20. 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
  21. * rip_snmp.c: rip2IfConfReceive() sends values in conformance
  22. with RFC. Also PeerDomain is now set to a STRING type.
  23. * ripd.h: rip_redistribute_add() API includes metric and distance
  24. added field external_metric in routes.
  25. * ripd.c: rip_redistribute_add() API i.e. stores metric and distance
  26. Now allows a RIP-route to overcome a redistributed route coming
  27. from a protocol with worse (higher) administrative distance
  28. Metrics from redistribution are shown in show ip rip
  29. * rip_zebra.c: adapt to the rip_redistribute_add() API, i.e.
  30. provide distance and metric
  31. * rip_interface.c: adapt to the rip_redistribute_add() API
  32. * rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage
  33. rather a CMD_WARNING, because set metric ius shared with other
  34. protocols using larger values (such as OSPF)
  35. The match metric action takes first external metric if present
  36. (from redistribution) then RIP metric.
  37. 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
  38. * ripd.c: use new md5 API
  39. 2005-08-16 Paul Jakma <paul.jakma@sun.com>
  40. * ripd.c: (general) Fix previous commit, broke multicast bind and
  41. hence setting of source port, which broke communication with
  42. non-borken ripd. Fix removes more stuff from rip_interface.c
  43. than it adds to ripd.c ;)
  44. (rip_create_socket) the to argument really is a from argument,
  45. rename it. Set the source port to RIP port unconditionally, it's
  46. required.
  47. (rip_send_packet) Set from address correctly for multicast.
  48. (rip_output_process) trivial: num can be BSS specified, rather
  49. than in body.
  50. * rip_interface.c: (rip_interface_multicast_set) strip out
  51. redundant stuff related to bind, which rip_create_socket does.
  52. Just make it set the multicast socket option, as per the
  53. interface concerned, no more.
  54. 2005-06-03 Paul Jakma <paul.jakma@sun.com>
  55. * ripd.c: (rip_create_socket) move it up so rip_send_packet
  56. can use it too. Make it static. Remove the getservbyname stuff,
  57. as RFC2453 3.9.2 says non-RIP port messages should be discarded,
  58. quagga doesnt accept them, no need to lookup port.
  59. Take a 'to' argument, if socket should be bound to something else.
  60. setsockopt_so_recvbuf might need privs, move it to the raised
  61. privileges section.
  62. dont forget to close the socket if bind fails.
  63. (rip_send_packet) use strncpy, just in case (address is under
  64. our control anyway, but still).
  65. dont duplicate rip_create_socket - just use it.
  66. (rip_create) rip_create_socket takes an argument now, modify.
  67. 2005-06-01 Paul Jakma <paul.jakma@sun.com>
  68. * rip_interface.c: Fix authentication, no-auth impossible to specify
  69. (rip_interface_new) default to RIP_NO_AUTH
  70. (rip_interface_reset) ditto
  71. (rip_interface_config_write) write out config for simple
  72. 2005-05-29 Paul Jakma <paul@dishone.st>
  73. * ripd.c: (rip_output_process) fix error which crept in my
  74. previous rip auth untanglement commit - it had become impossible
  75. to not have authentication (even for v1).
  76. 2005-05-28 Hasso Tepper <hasso at quagga.net>
  77. * rip_routemap.c: Fix set_metric_addsub_cmd help, it's not about BGP
  78. metric.
  79. 2005-05-26 Hasso Tepper <hasso at quagga.net>
  80. * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use sender
  81. address as nexthop in routemap.
  82. 2005-05-26 Hasso Tepper <hasso at quagga.net>
  83. * rip_routemap.c: Make "match interface" routemap command match both -
  84. in and out interfaces.
  85. 2005-05-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  86. * rip_interface.c (rip_interface_add): Need to call
  87. rip_passive_interface_apply (was already calling it in
  88. rip_interface_up).
  89. 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  90. * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
  91. rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
  92. from zclient->sock to zclient.
  93. 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  94. * rip_interface.c: (rip_interface_delete) After deleting, set
  95. ifp->ifindex to IFINDEX_INTERNAL.
  96. 2005-02-04 Paul Jakma <paul@dishone.st>
  97. * ripd.c: Untangle the construction of RIP auth data.
  98. (rip_auth_prepare_str_send) new helper function, prepare
  99. correct key string.
  100. (rip_auth_simple_write) new helper, write out the
  101. rip simple password auth psuedo-RTE.
  102. (rip_auth_md5_ah_write) new helper, write out the
  103. MD5 auth-header psuedo-RTE.
  104. (rip_auth_header_write) new helper, write out correct
  105. auth header data / psuedo-RTE.
  106. (rip_auth_md5_set) rip out the memmove and writing of the
  107. auth header psuedo-RTE. So that all that is left is to
  108. write the trailing auth digest, and update digest offset
  109. field in the original header.
  110. (rip_write_rte) rip out writing of RIP header, writing of
  111. simple auth data psuedo-RTE. Make it do what its name suggests,
  112. write out actual RTEs.
  113. (rip_output_process) remove the incorrect additional decrements
  114. of rtemax. Prepare the auth_str, which simple or MD5 auth will
  115. need. Move write out of RIP header and auth data to inside the
  116. loop. Adjust paramaters as required.
  117. 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  118. * ripd.c: (rip_create_socket) Replace perror with zlog_err.
  119. 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  120. * ripd.c: (rip_create_socket) Save errno before calling
  121. ripd_privs.change.
  122. 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  123. * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
  124. 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  125. * ripd.c: (rip_read) Improve 2 error messages to show the source of
  126. the packet when the lookup fails.
  127. 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  128. * *.c: Change level of debug messages to LOG_DEBUG.
  129. 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  130. * rip_main.c: (main) The 2nd argument to openzlog has been removed.
  131. 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
  132. * rip_main.c: (sigint) Use zlog_notice for termination message.
  133. (main) Add a startup announcement using zlog_notice.
  134. 2004-11-25 Hasso Tepper <hasso at quagga.net>
  135. * rip_main.c: Make group to run as configurable.
  136. 2004-10-22 Paul Jakma <paul@dishone.st>
  137. * ripd.c: Collapse redundant passing of various address structs,
  138. struct interface and struct connected as arguments to functions
  139. down to two key arguments, namely struct connected and, possibly,
  140. address of source/destination. Testing for RIPv1 would be useful.
  141. (rip_read) lookup struct connected for the received packet, pass
  142. it on.
  143. * rip_interface.c: With previous changes, we no longer have to tread
  144. carefully with struct connected, as it will always be there and
  145. valid.
  146. 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
  147. * ripd.c: (rip_update_interface) if connected->destination is NULL,
  148. get the broadcast address with ipv4_broadcast_addr()
  149. * rip_interface.c: (rip_interface_multicast_set)
  150. connected->destination may be NULL. Improve message if
  151. setsockopt_multicast_ipv4 fails. Improve message if bind fails.
  152. (rip_request_interface_send) If connected->destination is NULL,
  153. get the broadcast address with ipv4_broadcast_addr().
  154. (if_valid_neighbor) Handle PtP subnet addressing properly.
  155. Speed up code by using prefix_match properly.
  156. 2004-10-13 Hasso Tepper <hasso at quagga.net>
  157. * ripd_snmp.c: Remove defaults used to initialize smux connection to
  158. snmpd. Connection is initialized only if smux peer is configured.
  159. 2004-10-11 Hasso Tepper <hasso at quagga.net>
  160. * *.c: Make more strings const.
  161. 2004-10-08 Hasso Tepper <hasso at quagga.net>
  162. * *.c: Fix compiler warnings: make strings const, signed -> unsigned
  163. etc.
  164. 2004-09-26 Hasso Tepper <hasso at quagga.net>
  165. * ripd.c: Fix compiler warning.
  166. 2004-09-23 Hasso Tepper <hasso at quagga.net>
  167. * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
  168. 2004-09-17 Paul Jakma <paul@dishone.st>
  169. * ripd.c: set receive buffer to a decent size, some systems have low
  170. defaults. Problem noted and fix suggested by Stephan Schweizer
  171. in [zebra 20967].
  172. 2004-08-19 Paul Jakma <paul@dishone.st>
  173. * rip_interface.c: (rip_interface_multicast_set) get rid
  174. of extraneous if_pointopoint arg. ifp is accessible via connected.
  175. pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
  176. * ripd.c: (rip_send_packet) update call to
  177. rip_interface_multicast_set
  178. * ripd.h: update rip_interface_multicast_set prototype
  179. 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
  180. * ripd.c: (rip_distribute_update_all) distribute list hook
  181. function pointer prototype requires struct prefix_list * arg.
  182. (rip_distribute_update_all_wrapper) update to pass required arg,
  183. NULL.
  184. 2004-06-06 Paul Jakma <paul.jakma@sun.com>
  185. * ripd.h: Add define for the RIPv2 Authentication Data family
  186. Move the auth type defines up to where other defines live.
  187. Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible
  188. md5->auth_len size. Add md5_auth_len field to struct
  189. rip_interface: (rip_interface_new) Init md5_auth_len to compatible
  190. size.
  191. (ip_rip_authentication_mode_cmd) Extended to handle setting
  192. md5 auth-length. Appropriate aliases added.
  193. (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to
  194. compatible size.
  195. (rip_interface_config_write) Teach it about md5_auth_len.
  196. _always_ write out the auth-length, so that everyone will get
  197. the setting in their config file, and hence allow for a future
  198. change of default for md5_auth_len to be less painful - every md5
  199. user will have this setting in their config file.
  200. ripd.c: (rip_packet_dump) Change nasty hard coded constants to
  201. symbolic defines. Change various tests of 'ntoh.(variable) ==
  202. constant' to test 'variable == ntoh.(constant)'. Clean up
  203. indentation on some long lines.
  204. (rip_auth_simple_password) ditto.
  205. (rip_auth_md5) ditto, also add length argument and sanity check
  206. md5 data offset field. Sanity check md5 auth length, accept RFC
  207. or old-ripd/cisco lengths.
  208. (rip_auth_md5_set) as per (rip_packet_dump), also write out
  209. the configured md5 auth length for the interface (old-ripd or rfc)
  210. (rip_read) as per (rip_packet_dump)
  211. (rip_write_rte) ditto
  212. (rip_response_process) ditto
  213. (rip_write_rte) ditto
  214. 2004-06-04 JJ Ludman <jacques.ludman@sun.com>
  215. * ripd.c: Interoperability fix. Correct value for MD5 auth length
  216. is 16. Accept packets with this set to >= 16, and set to 16
  217. ourselves.
  218. 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
  219. * ripd.c: Fixup compile warnings
  220. * rip_routemap.c: Ditto
  221. 2004-05-08 Paul Jakma <paul@dishone.st>
  222. * rip_zebra.c: sync with zclient changes.
  223. * rip_interface.c: ditto.
  224. 2004-05-05 Anthony.Golia@morganstanley.com
  225. * ripd.c: (rip_update_jitter) Bound jitter to a more sensible
  226. value, eg 1/4 of update time.
  227. 2004-05-03 Paul Jakma <paul@dishone.st>
  228. * ripd.c: (rip_rte_process) fix typo in merge of previous patch
  229. and run function through indent.
  230. 2004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>
  231. * ripd.c: (rip_rte_process) make ripd also check on
  232. administrative distance of his own links to update routes.
  233. 2004-03-18 sowmini.varadhan@sun.com
  234. * ripd.c: rip_send_packet can get null connected address when
  235. called in response to a unicast rip-request. Handle correctly.
  236. 2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
  237. * ripd.c: fix "show ip rip" and per interface rip version selection.
  238. 2004-01-23 sowmini.varadhan@sun.com
  239. * rip_interface.c: obsolete unbind code in
  240. rip_interface_multicast_set, and instead do the more portable
  241. (though slower) method of creating a socket for each outgoing packet
  242. and binding the source address on the new socket.
  243. * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
  244. source address is determined by the caller of rip_request_send for
  245. ripv1 packets and non-multicast interfaces (rip_request_send loops
  246. over all connected address in all other cases).
  247. * rip_send_packet: don't send packets with source set to
  248. ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
  249. 2003-06-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
  250. * Allow ripd to receive RIPv1
  251. * add default as valid param to passive-interface command
  252. 2003-05-25 Vincent Jardin <vjardin@wanadoo.fr>
  253. * 6Wind patch merge.
  254. 2003-04-19 Hasso Tepper <hasso@estpak.ee>
  255. * rip_routemap.c: sync daemon's route-map commands to have same
  256. syntax
  257. 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  258. * zebra-0.93 released.
  259. 2002-06-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  260. * ripd.c (rip_output_process): When outgoing interface is same as
  261. next hop interface, announce RIPv2 next hop otherwise set next hop
  262. to 0. Revert previous change then take 6WIND way.
  263. 2001-09-14 Akihiro Mizutani <mizutani@dml.com>
  264. * ripd.c: RIP enabled interface's route is advertised by default.
  265. 2001-08-28 NOGUCHI Kay <kay@v6.access.co.jp>
  266. * rip_snmp.c (rip_ifaddr_delete): Add route_node_lookup() return
  267. value check.
  268. * rip_interface.c (rip_multicast_leave): Fix bug of multiple IP
  269. address on one interface multicast join/leave bug.
  270. 2001-08-26 NOGUCHI Kay <kay@v6.access.co.jp>
  271. * rip_interface.c (no_rip_passive_interface): Add NO_STR.
  272. 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  273. * zebra-0.92a released.
  274. 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
  275. * zebra-0.92 released.
  276. 2001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  277. * rip_routemap.c (route_match_ip_address_prefix_list): Add match
  278. ip next-hop prefix-list WORD.
  279. 2001-02-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  280. * rip_interface.c (rip_passive_interface_clean): Call
  281. rip_passive_interface_apply_all.
  282. 2001-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
  283. * ripd.c (rip_response_process): Multicast address nexthop check
  284. is moved from rip_nexthop_check.
  285. 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
  286. * rip_interface.c (ipv4_multicast_join): Use
  287. setsockopt_multicast_ipv4.
  288. (ipv4_multicast_leave): Likewise.
  289. (rip_if_ipv4_address_check): Interface which has IPv4 address can
  290. be enabled.
  291. 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  292. * rip_interface.c (rip_interface_delete): To support pseudo
  293. interface do not free interface structure.
  294. * ripd.c (rip_output_process): If output interface is in simple
  295. password authentication mode, we need space for authentication
  296. data.
  297. 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  298. * ripd.c (rip_nexthop_check): Fix multicast address nexthop check.
  299. * zebra-0.91 is released.
  300. 2001-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  301. * ripd.c (show_ip_rip): Show metric infinity route's timeout.
  302. (rip_rte_process): If current route is metric infinity, route is
  303. replaced with received rte.
  304. (rip_redistribute_delete): When redistribute route is deleted,
  305. perform poisoned reverse.
  306. (rip_redistribute_withdraw): Likewise.
  307. 2001-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  308. * ripd.c (rip_response_process): RIPv2 routing table entry with
  309. non directly reachable nexthop was dropped. The code is changed
  310. to treat it as 0.0.0.0 nexthop.
  311. (rip_destination_check): Check net 0 address destination.
  312. (rip_nexthop_check): New function for checking nexthop address
  313. validity.
  314. 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  315. * ripd.c (rip_request_process): Triggered update only send changed
  316. route.
  317. * rip_interface.c: Delete RIP_API part until new implementation
  318. comes out.
  319. * rip_snmp.: Likewise.
  320. * rip_zebra.c: Likewise.
  321. * ripd.c: Likewise.
  322. 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
  323. * rip_interface.c (rip_if_init): Remove HAVE_IF_PSEUDO part.
  324. 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  325. * zebra-0.90 is released.
  326. 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  327. * ripd.h (RIP_VTYSH_PATH): Change "/tmp/ripd" to "/tmp/.ripd".
  328. 2000-12-25 David Lipovkov <davidl@nbase.co.il>
  329. * ripd.c (rip_rte_process): When a route is in garbage collection
  330. process (invalid with metric 16) and a router receives the same
  331. route with valid metric then route was not installed into zebra
  332. rib, but only into ripd rib. Moreover , it will never get into
  333. zebra rib, because ripd wrongly assumes it's already there.
  334. (rip_redistribute_add): When doing redistribute into rip other
  335. route (e.g. connected) and the same route exists in ripd rib we
  336. changed it in place - bug. Now we don't forget to remove old route
  337. from zebra.
  338. (rip_timeout): When removing routes from zebra I made sure that we
  339. remove route with the metric we have in zebra and not the new
  340. one. It doesn't make a difference now,but could be significant
  341. when multipath support is done.
  342. 2000-12-25 David Lipovkov <davidl@nbase.co.il>
  343. * rip_zebra.c (rip_metric_unset): Fix bug of metric value unset.
  344. 2000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  345. * ripd.c (rip_request_process): Check passive flag of the
  346. interface.
  347. 2000-11-23 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  348. * rip_interface.c (rip_multicast_join): When IP_ADD_MEMBERSHIP
  349. failed do not set runnning flag to the interface.
  350. 2000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  351. * ripd.c (rip_output_process): Memory leak related classfull
  352. network generation is fixed.
  353. 2000-11-16 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  354. * rip_interface.c (if_check_address): Obsolete pointopoint address
  355. check is removed.
  356. 2000-11-02 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
  357. * rip_interface.c (if_check_address): Add pointopoint address
  358. check.
  359. (rip_interface_up): Add check for passive interface when interface
  360. goes up.
  361. 2000-10-23 Jochen Friedrich <jochen@scram.de>
  362. * rip_snmp.c: rip_oid and ripd_oid are used in smux_open after it
  363. is registered. So those variables must be static.
  364. 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
  365. * rip_interface.c: Change to "no ip rip (send|receive)" command
  366. accept version number argument.
  367. 2000-10-17 Akihiro Mizutani <mizutani@dml.com>
  368. * rip_routemap.c (route_set_ip_nexthop_compile): Change "match ip
  369. next-hop" from IP address to access-list name.
  370. 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  371. * rip_peer.c: Change ot use linklist.c instaed of newlist.c.
  372. 2000-10-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  373. * rip_offset.c: Change to use linklist.c instead of newlist.c.
  374. 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  375. * zebra-0.89 is released.
  376. 2000-09-26 Akihiro Mizutani <mizutani@dml.com>
  377. * rip_routemap.c (match_ip_nexthop): Add next-hop format check.
  378. 2000-09-18 David Lipovkov <dlipovkov@OpticalAccess.com>
  379. * rip_interface.c (ripd_api_get_if_rx_version): Corrects rip SNMP
  380. and rip API functions dealing with rip version.
  381. * rip_snmp.c (Status_Valid): SNMPv2-TC TEXTUAL-CONVENTION.
  382. 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  383. * rip_snmp.c (rip2IfLookup): Use rip_ifaddr_lookup_next() instead
  384. of rip_if_lookup_next().
  385. * rip_interface.c (rip_enable_network_lookup): Interface enable
  386. check by interface's address with /32 prefix.
  387. * ripd.c (rip_read): When RIP is configured with authentication
  388. and no authentication in incoming packet, drop the packet.
  389. * rip_interface.c (rip_interface_reset): RIP_AUTH_SIMPLE_PASSWORD
  390. is default mode of authentication.
  391. (rip_interface_new): Likewise.
  392. (no_ip_rip_authentication_mode): Likewise.
  393. * ripd.c (rip_read): Likewise.
  394. 2000-09-10 David Lipovkov <davidl@nbase.co.il>
  395. * rip_snmp.c: Set ASN_INTEGER v->type where it is needed.
  396. 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
  397. * ripd.c (rip_auth_simple_password): Simple password
  398. authentication using key-chain.
  399. (rip_write_rte): Likewise.
  400. * rip_interface.c (ip_rip_authentication_key_chain): Add check for
  401. authentication string configuration.
  402. 2000-09-08 Akihiro Mizutani <mizutani@dml.com>
  403. * ripd.c (rip_write_rte): Add check for ri->auth_str.
  404. 2000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  405. * ripd_api.h: New file is added.
  406. 2000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
  407. * ripd.c (rip_rte_process): rip_route_process() is renamed to
  408. rip_rte_process() to clarify meanings of the function.
  409. rip_route_process() is newly added to process RIP route selection.
  410. 2000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
  411. * ripd.c (rip_incoming_filter): Extract incoming filter code to
  412. function from rip_route_process(). Add check for all interface
  413. filter.
  414. (rip_outgoing_filter): Extract incoming filter code to function
  415. from rip_output_process(). Add check for all interface filter.
  416. * rip_zebra.c (rip_redistribute_clean): Reset redistribute status
  417. when "no router rip" is performed.
  418. * rip_interface.c (rip_interface_clean): Reset interface's RIP
  419. enable status.
  420. 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  421. * ripd.c (rip_route_process): When metric infinity is received the
  422. route is removed from service immediately.
  423. (rip_timeout): Likewise.
  424. (rip_garbage_collect): Do not delete route in garbage collection.
  425. (rip_output_process): Check metric_out exceed metric infinity.
  426. * zebra-0.88 is released.
  427. 2000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  428. * ripd.c (rip_distance_apply): Unlock node when there is matched
  429. node.
  430. 2000-08-13 Akihiro Mizutani <mizutani@dml.com>
  431. * rip_routemap.c (match_ip_nexthop): Add check for IP address
  432. validness.
  433. (no_set_metric): Add new ALIAS.
  434. 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  435. * ripd.h (struct rip ): Add distance.
  436. 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  437. * rip_zebra.c (rip_zebra_ipv4_add): Use new Zebra api to register
  438. routes. Pass RIP metric value to zebra.
  439. 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  440. * rip_main.c (main): Make struct thread thread from global
  441. variable to local variable in main.
  442. 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  443. * ripd.c (rip_packet_dump): Add MD5 authentication dump function.
  444. (rip_auth_md5): RIP MD5 authentication packet receive works.
  445. 2000-08-02 David Lipovkov <davidl@nbase.co.il>
  446. * rip_interface.c (rip_if_init): Install interface "pseudo"
  447. commands.
  448. (rip_interface_delete): Do not call if_delete() when interface is
  449. pseudo interface.
  450. 2000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
  451. * rip_interface.c (ip_rip_authentication_mode): "ip rip
  452. authentication mode (md5|text)" is added.
  453. (ip_rip_authentication_key_chain): "ip rip authentication
  454. key-chain KEY-CHAIN" is added.
  455. (rip_interface_clean): Clean all interface configuration.
  456. (rip_interface_reset): Reset all interface configuration.
  457. (rip_clean_network): Clean rip_enable_network.
  458. * ripd.h (struct rip_interface): Add key_chain member.
  459. * ripd.c: Include md5-gnu.h.
  460. 2000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  461. * ripd.h (RIP_NO_AUTH): Change RIP_NO_AUTH value from 1 to 0.
  462. * ripd.c (rip_authentication): Use RIP_AUTH_SIMPLE_PASSWORD
  463. instead of raw value 2.
  464. (rip_write_rte): Likewise.
  465. (rip_write_rte): Check ri->auth_type instead of ri->auth_str.
  466. 2000-07-30 David Lipovkov <davidl@nbase.co.il>
  467. * rip_interface.c (rip_if_down): Do not delete ZEBRA_ROUTE_KERNEL
  468. route.
  469. 2000-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
  470. * ripd.c (rip_update_process): Add "passive-interface" command.
  471. * ripd.h (struct rip_interface): Add passive member to struct
  472. rip_interface.
  473. 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  474. * rip_interface.c (rip_if_init): Multiple RIP routes for one
  475. prefix change. The codes are enclosed by #ifdef NEW_RIP_TABLE.
  476. 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
  477. * rip_interface.c (rip_if_init): Use install_default() for
  478. INTERFACE_NODE.
  479. 2000-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  480. * ripd.c: First update timer will be invoked in two seconds.
  481. 2000-07-09 Jochen Friedrich <jochen@scram.de>
  482. * rip_snmp.c: Local function definitions to static. Add INTEGER
  483. ASN_INTEGER and TIMETICKS ASN_TIMETICKS definition.
  484. (rip2PeerLookup): Peer with domain lookup implemented.
  485. (rip2PeerTable): Temporary disable RIP2PEERLASTUPDATE value
  486. support due to unknown SNMP agent startup time.
  487. 2000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  488. * ripd.h: Sweep obsolete definitions.
  489. * rip_interface.c (rip_split_horizon): Add "ip split-horizon"
  490. command.
  491. * ripd.c (rip_output_process): Remove split_horizon argument.
  492. (rip_update_process): Likewise.
  493. * ripd.h (struct rip_interface): Add split_horizon flag to struct
  494. rip_interface.
  495. 2000-07-04 Akihiro Mizutani <mizutani@dml.com>
  496. * ripd.c (rip_version): Change VERSION to <1-2>.
  497. Add "no version" command.
  498. 2000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  499. * rip_zebra.c (rip_redistribute_type_metric): "redistribute TYPE
  500. metric <0-16>" command is added.
  501. * rip_routemap.c (route_set_metric): Set metric_set when metric is
  502. modified.
  503. * ripd.h (struct rip_info): To check route-map set metric or not,
  504. new member metric_set is added to struct rip_info.
  505. * ripd.c (rip_route_process): Move metric handling code from
  506. rip_response_process() to rip_route_process().
  507. (rip_output_process): Set output offset-list metric.
  508. 2000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  509. * rip_offset.c (rip_offset_list): New file for offset-list.
  510. 2000-07-02 Akihiro Mizutani <mizutani@dml.com>
  511. * ripd.h (struct rip ): Add default_metric.
  512. * ripd.c (rip_default_metric): "default-metric <1-16>" command is
  513. added.
  514. (config_write_rip): Change configuration order.
  515. * rip_zebra.c: Fix help strings.
  516. 2000-07-02 David Lipovkov <davidl@nbase.co.il>
  517. * rip_interface.c (rip_if_init): Add IF_DELETE_HOOK.
  518. 2000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  519. * ripd.c (rip_output_process): If specified route-map does not
  520. exist, it treated as deny all.
  521. 2000-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
  522. * rip_routemap.c (rip_route_map_init): Call rip_route_map_update
  523. when route-map is deleted.
  524. 2000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  525. * rip_routemap.c (set_metric): For consistency with bgpd's set
  526. metric, value range is set to <0-4294967295>.
  527. 2000-06-28 David Lipovkov <davidl@nbase.co.il>
  528. * rip_routemap.c (rip_route_map_update): Add check for rip is
  529. enabled or not for avoid core dump.
  530. * rip_debug.c (debug_rip_packet_direct): Fix bug of setting
  531. rip_debug_packet flag.
  532. 2000-06-13 David Lipovkov <davidl@nbase.co.il>
  533. * rip_interface.c (rip_interface_delete): All work is done in
  534. rip_if_down().
  535. 2000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  536. * ripd.c (rip_redistribute_delete): Fix bug of missing
  537. route_unlock_node() when redistribute route is not found.
  538. 2000-06-05 Akihirof Mizutani <mizutani@dml.com>
  539. * rip_debug.c (rip_debug_init): Disable show debugging in
  540. VIEW_NODE like other protocol daemon.
  541. * rip_routemap.c: Change command argument to more comprehensive.
  542. METRIC -> <0-16>
  543. IFNAME -> WORD
  544. IP_ADDR -> A.B.C.D
  545. ACCSESS_LIST -> WORD
  546. 2000-06-05 David Lipovkov <davidl@nbase.co.il>
  547. * rip_interface.c (rip_interface_delete): Delete all routes
  548. include static and kernel through the interface , because even if
  549. the interface is added again there is no guarantee that it will
  550. get the same ifindex as before.
  551. 2000-05-31 Akihirof Mizutani <mizutani@dml.com>
  552. * rip_debug.c: Fix rip debug help string.
  553. 2000-04-27 Mirko Karanovic <mkaranov@torsel.alcatel.com>
  554. * rip_interface.c (rip_interface_down): Remove interface from
  555. multicast group when interface goes down.
  556. 2000-04-03 David Lipovkov <davidl@nbase.co.il>
  557. * rip_interface.c (rip_interface_down): Implemented rip functions
  558. for interface up/down events: rip_interface_up() and
  559. rip_interface_down()
  560. 2000-03-16 David Lipovkov <davidl@nbase.co.il>
  561. * rip_zebra.c (rip_zclient_init): Added rip functions for
  562. interface up/down events.
  563. 2000-02-15 Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
  564. * ripd.c (rip_write_rte): "set metic" in route-map has no effect
  565. for RIPv1 in ripd. It worked fine for RIPv2.
  566. 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
  567. * ripd.c (show_ip_protocols_rip): Fix bug of "show ip protocls"
  568. mis-display RIP version.
  569. * ripd.h (struct rip_peer): Add timeout thread to rip_peer
  570. structure.
  571. 2000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  572. * rip_peer.c: Add new file for supporting RIP peer.
  573. 1999-12-26 David Lipovkov <davidl@nbase.co.il>
  574. * ripd.c (rip_authentication): RIP authantication string is 16
  575. bytes long.
  576. 1999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  577. * ripd.c (rip_read): Add check for minimum packet length.
  578. Authentication check is moved from rip_process_response() to
  579. rip_read(). Patch from David Lipovkov <davidl@nbase.co.il> is
  580. applied then add rte number check by Kunihiro Ishiguro
  581. <kunihiro@zebra.org>.
  582. 1999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  583. * ripd.c (rip_response_process): In case of packet is RIPv2 and
  584. network is non zero and netmask is zero, apply netmask rule as
  585. same as RIPv1.
  586. 1999-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
  587. * ripd.c (rip_timers): Fix bug of timers basic argument format.
  588. 1999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  589. * rip_snmp.c (rip2IfConfAddress): Forgot to include
  590. RIP2IFCONFDOMAIN.
  591. 1999-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
  592. * ripd.h (struct rip_peer): New structure added.
  593. 1999-10-26 Kunihiro Ishiguro <kunihiro@zebra.org>
  594. * rip_zebra.c (rip_zebra_ipv4_add): Increment
  595. rip_global_route_changes when route change occur.
  596. (rip_zebra_ipv4_delete): Likewise.
  597. * ripd.c (rip_request_process): Increment rip_global_queries when
  598. reply to the query is sent.
  599. 1999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  600. * rip_debug.c (rip_debug_reset): Reset function added.
  601. * ripd.c (rip_update_process): Logging bug is fixed.
  602. 1999-10-10 Marc Boucher <marc@mbsi.ca>
  603. * ripd.c (config_write_rip): Add config_write_distribute() call.
  604. 1999-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  605. * ripd.c (rip_distribute_update): Fix bug of access-list
  606. prefix-list updates.
  607. 1999-09-10 VOP <vop@unity.net>
  608. * rip_zebra.c: Add redistribute route-map feature.
  609. 1999-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  610. * ripd.c (rip_response_process): Add check for given prefix is
  611. given mask applied one.
  612. 1999-09-03 VOP <vop@unity.net>
  613. * rip_interface.c (rip_interface_multicast_set): Bug fix about
  614. setting multicast interface.
  615. 1999-09-02 VOP <vop@unity.net>
  616. * rip_routemap.c: New file added.
  617. 1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
  618. * ripd.c (show_ip_protocols_rip): Show next update time.
  619. (show_ip_protocols_rip): Show redistribute information.
  620. 1999-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
  621. * RIPv2-MIB.txt: New file added.
  622. * rip_snmp.c: New file added.
  623. 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
  624. * rip_interface.c (ip_rip_authentication_string): RIPv2
  625. authentication command is added.
  626. 1999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
  627. * rip_interface.c (rip_interface_multicast_set): Process of
  628. setting IP_MULTICAST_IF on specific interface.
  629. * ripd.c (rip_read): Add packet size check.
  630. 1999-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
  631. * ripd.c (rip_request_process): Fill in RIP_METRIC_INFINITY with
  632. network byte order using htonl ().
  633. (rip_response_process): Pass host byte order address to IN_CLASSC
  634. and IN_CLASSB macro.
  635. 1999-08-08 davidm@nbase.co.il (David Mozes)
  636. * rip_zebra.c (rip_zebra_read_ipv4): Fix split horizon problem.
  637. 1999-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  638. * ripd.c (rip_timer_set): Function added.
  639. 1999-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  640. * rip_debug.c: New file added.
  641. rip_debug.h: New file added.
  642. 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
  643. * rip_zebra.c (zebra_init): Install standard commands to
  644. ZEBRA_NODE.
  645. 1999-06-01 David Luyer <luyer@ucs.uwa.edu.au>
  646. * ripd.c (rip_process_route): Add support for RIP version 1.
  647. 1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
  648. * rip_zebra.c: Change to use lib/zclient.[ch].
  649. 1999-05-20 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
  650. * ripd.c (rip_add_route): Change the existance route's metric check
  651. to the condition specified by RFC2453.
  652. 1999-05-17 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
  653. * ripd.c (rip_process_route): Add the if metric to the route metric.
  654. * ripd.c (rip_add_route): Deleted add if metric to the route.
  655. 1999-05-16 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
  656. * rip_interface.c (if_valid_neighbor): New function.
  657. * ripd.c (rip_process_route): Added check whether the datagram
  658. is from a valid neighbor.
  659. 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
  660. * ripd.c (rip_process_route): Set interface pointer to rinfo.
  661. 1999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
  662. * ripd.c (rip_check_address): Unicast and not net 0 or 127 check
  663. added.
  664. 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
  665. * rip_main.c (signal_init): SIGTERM call sigint.
  666. (sigint): Loggging more better message.
  667. 1999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
  668. * ripd.c (rip_add_route): Fix previous route_unlock_node() chenge.
  669. * rip_main.c (main): Change default zlog output to ZLOG_STDOUT for
  670. debugging.
  671. 1999-05-09 Patrick Koppen <koppen@rhrk.uni-kl.de>
  672. * rip_interface.c (rip_request): Fix old semantics for fetching
  673. connected address.
  674. * ripd.c (rip_add_route): Update timer when the route is updated.
  675. 1999-05-09 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
  676. * rip_zebra.c (struct zebra): Add ridist_static, ridist_connect,
  677. redist_rip, redist_ripng.
  678. * rip_zebra.c (zebra_create): Updated for current zebra method.
  679. * ripd.c (rip_add_route): Add missing route_unlock_node().
  680. 1999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  681. * ripd.c (rip_add_route): Add metric check. Reported by Carlos
  682. Alberto Barcenilla <barce@frlp.utn.edu.ar>.
  683. 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
  684. * syslog support added
  685. 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
  686. * ripd.c (rip_announce_func): Apply new lib functions.
  687. 1998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
  688. * ripd.c (config_write_rip): Delete vector v argument.
  689. * rip_zebra.c (config_write_zebra): Likewise.
  690. * rip_interface.c (interface_config_write): Likewise.
  691. 1998-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  692. * rip_announce.c (rip_rib_close): When ripd terminates delete all
  693. added route.
  694. 1998-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  695. * rip_interface.c: return read packet size.
  696. 1998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
  697. * ripd.h: Modify for compile on Solaris.
  698. 1998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
  699. * ripd.c: DEFUN function return CMD_SUCCESS.
  700. change xmalloc to XMALLOC macro.
  701. 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
  702. * rip_main.c: change CONFDIR to SYSCONFDIR.
  703. 1998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
  704. * .cvsignore: added.
  705. 1998-02-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  706. * rip_interface.c (config_write_interface): correct ADVERTISE spell.
  707. * rip_main.c (main): add usage() and make cleanup.
  708. 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
  709. * ripd.c (rip_version): add rip version command.
  710. 1998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
  711. * rip_interface.c (zebra_get_interface): added to get
  712. interface's information.
  713. * ChangeLog: create.