blob: d107fa6eb34ecdc09640a954d085b709d5e1c4ab [file] [log] [blame]
hasso6cf159b2005-03-21 10:28:14 +000012005-03-21 Hasso Tepper <hasso at quagga.net>
2
3 * bgp_route.c: Don't crash while clearing route tables if there is
4 no particular afi/safi configured.
5
hasso338b3422005-02-23 14:27:24 +000062005-02-23 Hasso Tepper <hasso at quagga.net>
7
8 * bgp_route.c: Make reannouncing prefixes with changed attributes
9 work again.
10
hasso6ffd2072005-02-02 14:50:11 +0000112005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
12
hassodd4c5932005-02-02 17:15:34 +000013 * bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
14 transparent-nexthop" commands.
15
162005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
17
hassoc1643bb2005-02-02 16:43:17 +000018 * bgp_routemap.c: New route-map command - "match ip route-source".
19
202005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
21
hassofee6e4e2005-02-02 16:29:31 +000022 * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
23 community-list cleanup.
24
252005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
26
hasso6ffd2072005-02-02 14:50:11 +000027 * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop"
28 -> "disable-connected-check".
29
302005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
hasso93406d82005-02-02 14:40:33 +000031
32 * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
33 bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
34 graceful-restart" commands added. Show numbers of individual
35 messages in "show ip bgp neighbor" command. Final pieces of graceful
36 restart.
37
hassof4184462005-02-01 20:13:16 +0000382005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
39
hassoc9502432005-02-01 22:01:48 +000040 * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
41 capability route-refresh" commands. Route refresh capability is sent
42 anyway now. Preserve dummy deprecated commands.
43
442005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
45
hasso3d515fd2005-02-01 21:30:04 +000046 * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
47 draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
48 version" command as deprecated.
49
502005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
51
hasso0a486e52005-02-01 20:57:17 +000052 * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
53 maximum-prefix limit" feature support.
54
552005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
56
hassof4184462005-02-01 20:13:16 +000057 * bgp_nexthop.c: Improve debug.
58 * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
59 function.
60 * bgp_packet.c: MP AFI_IP update and withdraw parsing.
61 * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
62 is better place to log about peer status change than bgp_event().
63 Log in bgp_connect_success().
64 * bgp_vty.c: Fix typo in comment.
65 * bgp_attr.c: Better log about unknown attribute.
66
ajs3b8b1852005-01-29 18:19:13 +0000672005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
68
69 * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
70 of buffer_getstr.
71 * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
72 returned by buffer_getstr.
73 (bgp_show_community) Must use XFREE instead of free on string
74 returned by buffer_getstr.
75 * bgp_routemap.c: (set_community) Must use XFREE instead of free
76 on string returned by buffer_getstr.
77 * bgp_vty.c: (neighbor_description) Use argv_concat instead of
78 buffer_getstr.
79
hasso6d694292005-01-24 09:29:42 +0000802005-01-24 Hasso Tepper <hasso at quagga.net>
81
82 * bgp_route.c: Fix showstopper bug. New route must be selected also
83 if old one is flaged as BGP_INFO_ATTR_CHANGED.
84
hassof1271652005-01-17 11:04:32 +0000852005-01-17 Hasso Tepper <hasso at quagga.net>
86
87 * bgp_route.c: Clear peer's routing table regardless whether it's
88 configured or not. Being not configured is even better reason to
89 do it.
90
paula24a7e12005-01-05 08:14:13 +0000912005-01-05 Paul Jakma <paul@dishone.st>
92
93 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
94 this should be generalised. See bugzilla #102. Fix supplied by
95 wawa@yandex-team.ru (Vladimir Ivanov).
96
ajsd2c1f162004-12-08 21:10:20 +0000972004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
98
99 * *.c: Change level of debug messages to LOG_DEBUG.
100
ajs274a4a42004-12-07 15:39:31 +00001012004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
102
103 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
104
ajs887c44a2004-12-03 16:36:46 +00001052004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
106
107 * bgp_main.c: (sigint) Use zlog_notice for termination message.
108 (main) Use zlog_notice for startup announcement.
109
hassoc0652302004-11-25 19:33:48 +00001102004-11-25 Hasso Tepper <hasso at quagga.net>
111
112 * bgp_main.c: Make group to run as configurable.
113
paul59320202004-11-09 01:54:03 +00001142004-11-09 Paul Jakma <paul@dishone.st>
115
116 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
117 and cache{1,2}.. into arrays of tables and hence collapse
118 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
119 a long time ago (and this change was hand-merged).
120
ajs5a646652004-11-05 01:25:55 +00001212004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
122
123 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
124 is deprecated because the output did not represent a single point
125 in time. All output needs to be generated inline and buffered
126 by the library code.
127 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
128 flap_route_vty_out) Remove code to count number of lines of output,
129 since this was only useful for VTY_CONTINUE behavior.
130 (bgp_show_callback,vty_calc_line) Removed.
131 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
132 As a result, there's a new output_arg argument to this function.
133 Make function static.
134 (bgp_show) Make function static and add a new output_arg argument.
135 Change all functions that call bgp_show or bgp_show_table to
136 pass the new output_arg argument (that used to be passed inside
137 vty->output_arg).
138 * bgp_mplsvpn.c: Remove declarations of functions defined in
139 bgp_route.c; these declarations belong in bgp_route.h.
140 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
141 and in bgp_mplsvpn.c.
142
paula2b1ecd2004-10-31 18:58:09 +00001432004-10-31 Paul Jakma <paul@dishone.st>
144
145 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
146
paul98f51632004-10-25 14:19:15 +00001472004-10-25 Paul Jakma <paul@dishone.st>
148
149 * Update with fix in debian bug id 222930.
150 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
151 bgp_network.c: (....) raise/lower privs around call to
152 SO_BINDTODEVICE sockopt.
153
hasso3fb9cd62004-10-19 19:44:43 +00001542004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
155
156 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
157 may be NULL.
158 (bgp_connected_delete) ditto.
159
hasso501ba492004-10-13 21:32:46 +00001602004-10-14 Hasso Tepper <hasso at quagga.net>
161
162 * bgp_dump.c: Make dump configuration appear in vtysh.
163
hassoc75105a2004-10-13 10:33:26 +00001642004-10-13 Hasso Tepper <hasso at quagga.net>
165
166 * bgp_snmp.c: Remove defaults used to initialize smux connection to
167 snmpd. Connection is initialized only if smux peer is configured.
hasso8b3126b2004-10-13 20:59:04 +0000168 * bgp_view.c: It's dead file. Reomved.
hassoc75105a2004-10-13 10:33:26 +0000169
paulfd79ac92004-10-13 05:06:08 +00001702004-10-13 Paul Jakma <paul@dishone.st>
171
172 * (global) more const'ification and fixups of types to clean up code.
173 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
174 should use something like the VTY_GET_INTEGER macro, but without
175 the vty_out bits..
176 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
177 (no_set_aggregator_as) ditto.
178 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
179 returned, add comments about troublesome return value.
180
hasso18a6dce2004-10-03 18:18:34 +00001812004-10-03 James R. Leu <jleu at mindspring.com>
182
183 * bgp_vty.c: Router id from zebra can be manually overriden.
184 * bgp_zebra.c: Read router id related messages from zebra daemon.
185 Remove own code related with router id selection.
186 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
187 from zebra daemon if it isn't manually overriden.
188
hassoc9e52be2004-09-26 16:09:34 +00001892004-09-26 Hasso Tepper <hasso at quagga.net>
190
191 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
192
hasso52dc7ee2004-09-23 19:18:23 +00001932004-09-23 Hasso Tepper <hasso at quagga.net>
194
195 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
196
paule01f9cb2004-07-09 17:48:53 +00001972004-07-09 Paul Jakma <paul@dishone.st>
198
199 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
200 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
201 attributes present before printing.
202 * bgp_dump.c: update bgp_dump_attr prototype.
203 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
204 of bgp_dump_attr. Log end-of-rib UPDATEs.
205
paulf5ba3872004-07-09 12:11:31 +00002062004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
207
208 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
209 if that is connection we're closing.
210 (bgp_read) invalid marker check applies to KEEPALIVE too.
211 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
212
paul5228ad22004-06-04 17:58:18 +00002132004-06-04 Paul Jakma <paul@dishone.st>
214
215 * type mismatch fixes
216
hasso538621f2004-05-21 09:31:30 +00002172004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
218
219 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
220 Graceful restart capability display.
221
hasso3950fda2004-05-20 10:22:49 +00002222005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
223
224 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
225
hasso4372df72004-05-20 10:20:02 +00002262004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
227
228 * bgp_ecommunity.c: Transit ecommunity support.
229 * bgp_ecommunity.c: Fix for unknown community crush.
230
hassoe0701b72004-05-20 09:19:34 +00002312005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
232
233 * *: Maximum prefix threshold support.
234 * *: Reset notification fixups.
235
paul0a589352004-05-08 11:48:26 +00002362004-05-08 Paul Jakma <paul@dishone.st>
237
238 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
239 (bgp_interface_address_delete) ditto.
240 (bgp_zebra_announce) ditto.
241 (bgp_zebra_withdraw) ditto.
242
paulc5317402004-05-03 13:25:06 +00002432004-05-03 Daniel Roesen <dr@cluenet.de>
244
245 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
246 Established so that it reflects true downtime (rather time
247 since last transition, eg Active->Idle)
248
paul35be31b2004-05-01 18:17:04 +00002492004-05-01 rivo nurges <rix@estpak.ee>
250
251 * bgp_route.c: fix UNH IOL BGP-4.1.12f
252
pauleb821182004-05-01 08:44:08 +00002532004-05-01 Paul Jakma <paul@dishone.st>
254
255 * Revert the attempted clean-up of the dummy peer hack, reverts
256 patchsets 435 (see 2004-02-17 below) and 456.
257
paul545acaf2004-04-20 15:13:15 +00002582004-04-16 rivo nurges <rix@estpak.ee>
259
hasso9b87e412004-04-20 16:54:49 +0000260 * bgpd.h, bgp_debug.c: update cease subcodes to
261 draft-ietf-idr-cease-subcode-05
paul545acaf2004-04-20 15:13:15 +0000262 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
263
paul6ad23f02004-02-17 19:45:10 +00002642004-02-17 Paul Jakma <paul@dishone.st>
265
266 * bgpd.h: (bgp_peer) add fd_local and fd_accept
267 file descriptor's, fd becomes a pointer to one of these.
268 * bgpd.c: (global) adjust for fact that fd is now a pointer.
269 (peer_create_accept) removed.
270 * bgp_route.c: (global) adjust for change of peer fd to pointer
271 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
272 "replace with other peer" hack.
273 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
274 Update peer->fd_accept instead.
275 (global) Adjust fd references - now a pointer.
276 * bgp_fsm.c: (global) adjust peer fd to pointer.
277 (bgp_connection_stop) new function, to stop connection.
278 (global) adjust everything which closed peer fd to use
279 bgp_connection_stop().
280
gdt10d60ad2003-12-23 17:34:39 +00002812003-12-23 Krzysztof Oledzki <oleq@ans.pl>
282
283 * bgp_network.c: drop privs on error cases
284
paul6ad23f02004-02-17 19:45:10 +00002852003-08-11 kunihiro <kunihiro@zebra.org>
paulac41b2a2003-08-12 05:32:27 +0000286
287 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
288 ability to specify 'peer-address' rather than IP.
289
paul9238b1e2003-06-11 08:03:08 +00002902003-06-09 Paul Jakma <paul@dishone.st>
291
292 * bgp_clist.c (community_list_delete): honour deny statements
293
paul445f1432003-05-16 19:00:31 +00002942003-04-19 Hasso Tepper <hasso@estpak.ee>
295
296 * rip_routemap.c: sync daemon's route-map commands to have same
297 syntax
298
2992003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
300
301 * bgp_routemap.c: Add match extcommunity command.
302
paul718e3742002-12-13 20:15:29 +00003032002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
304
305 * bgp_aspath.c (aspath_init): Extend hash size from default to
306 32767.
307 (aspath_key_make): Use unsigned shoft for making hash. Suggested
308 by: Marc Evans <Marc@SoftwareHackery.Com>
309
3102002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
311
312 * bgp_clist.c (community_entry_free): Fix memory leak of standard
313 extcommunity-list config string.
314
3152002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
316
317 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
318 when multiple instance is used.
319
3202002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
321
322 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
323 available in peer-group configuration.
324
3252002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
326
327 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
328 capability packet cause error or dont-capability-negotiate option
329 is specified.
330
3312002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
332
333 * zebra-0.93 released.
334
3352001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
336
337 * bgpd.c (bgp_vty_init): Translate update commands are removed.
338
3392001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
340
341 * bgp_route.c (bgp_static_set): Add workaround for BGP static
342 route announcement when there is no zebra running.
343
3442001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
345
346 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
347 unicast multicast" commands.
348
3492001-09-14 Akihiro Mizutani <mizutani@dml.com>
350
351 * bgp_open.c: When we receive capability route-refresh, we should
352 check we send the capability not we receive the capability.
353
354 * bgp_route.c (bgp_network_mask_natural_route_map): network
355 statement route-map is added.
356
3572001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
358
359 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
360 before looking up hash table.
361
3622001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
363
364 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
365 peer.
366
3672001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
368
369 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
370 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
371
3722001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
373
374 * bgp_table.c (bgp_node_create): Clearn memory before use it.
375
3762001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
377
378 * Change to use bgp_table.[ch].
379
3802001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
381
382 * bgpd.c (bgp_init): Add "transparent-as" and
383 "transparent-nexthop" for old version compatibility.
384
3852001-08-23 Akihiro Mizutani <mizutani@dml.com>
386
387 * bgpd.h (struct peer): default-originate route-map is added.
388
389 * bgp_route.c: When self originated route is advertised with
390 attrubute-unchanged, nexthop was not properly set. This bug is
391 fixed.
392
3932001-08-22 Akihiro Mizutani <mizutani@dml.com>
394
395 * bgpd.c (neighbor_attr_unchanged): transparent-as and
396 transparent-next-hop commands are restructured. Instead of
397 current transparent-* commands, attribute-unchanged command is
398 introduced.
399
400 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
401
402 (neighbor_default_originate): "default-originate" configuration
403 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
404
4052001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
406
407 * zebra-0.92a released.
408
4092001-08-19 Akihiro Mizutani <mizutani@dml.com>
410
411 * bgpd.c: AF specific soft-reconfiguration inbound commands are
412 added.
413
4142001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
415
416 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
417
418 * bgp_community.c (community_cmp): Add check for commnunity NULL
419 check.
420
421 * bgp_routemap.c (route_match_community): Do not check comunity is
422 NULL. It may match to community-list "^$".
423
424 * bgp_community.c (community_match): Add check for community is
425 NULL case.
426
4272001-08-17 Akihiro Mizutani <mizutani@dml.com>
428
429 * bgpd.c: AF specific route-reflector-client and
430 route-server-client configuration are added.
431
4322001-08-17 Rick Payne <rickp@ayrnetworks.com>
433
434 * bgp_clist.c (community_match_regexp): Check special ^$ case.
435
4362001-08-17 Akihiro Mizutani <mizutani@dml.com>
437
438 * bgp_clist.c (community_list_match): Fix bug of community list
439 permit and deny check.
440
4412001-08-16 Akihiro Mizutani <mizutani@dml.com>
442
443 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
444 command.
445
4462001-08-15 Akihiro Mizutani <mizutani@dml.com>
447
448 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
449 flag is introduced.
450
451 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
452
4532001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
454
455 * zebra-0.92 released.
456
4572001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
458
459 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
460 table properly.
461
4622001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
463
464 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
465 (bgp_config_write_network_vpnv4): VPNv4 static configuration
466 display.
467
4682001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
469
470 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
471 node filter commands.
472
4732001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
474
475 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
476 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
477 IPv6.
478
4792001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
480
481 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
482 multicast" is added.
483 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
484 added.
485
4862001-08-07 Akihiro Mizutani <mizutani@dml.com>
487
488 * bgp_route.c (bgp_process): Use flag instead of as_selected
489 memeber in struct bgp_info.
490
491 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
492 struct bgp_info.
493
4942001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
495
496 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
497 check code with #ifdef BGP_SEND_ASPATH_CHECK.
498
4992001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
500
501 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
502
503 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
504 information is alive or not.
505
506 * bgp_community.c: Use community_val_get() on all OS.
507
5082001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
509
510 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
511 check.
512
5132001-07-24 Akihiro Mizutani <mizutani@dml.com>
514
515 * bgp_route.c (bgp_announce_check): To route server clients, we
516 announce AS path, MED and nexthop transparently.
517
5182001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
519
520 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
521 XFREE. No memory is allocated in
522 route_set_atomic_aggregate_compile().
523
5242001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
525
526 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
527 are replaced by `address-family ipv4` and `address-family vpnvr'.
528
5292001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
530
531 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
532 Reported by Rick Payne <rickp@rossfell.co.uk>.
533
5342001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
535
536 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
537 empty, use socket's remote address for the nexthop.
538
5392001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
540
541 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
542 <Yosi_Yarchi@KereniX.com>
543
5442001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
545
546 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
547 <Yosi_Yarchi@KereniX.com>
548
5492001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
550
551 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
552 of ri->next.
553
554 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
555 when HAVE_IPV6 is not defined.
556
5572001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
558
559 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
560 than holdtime / 3.
561 (bgp_confederation_peers_unset): Only set peer->local_as when
562 confederation is enabled.
563 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
564
565 * bgp_route.c (bgp_announce_check): Set med of redistributed route
566 when it is announced to EBGP peer.
567
5682001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
569
570 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
571 all prefixes.
572
5732001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
574
575 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
576 erroneous attribute (type, length and value), it does include
577 attribute flags field.
578
5792001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
580
581 * bgp_route.c (bgp_announce_check): The route reflector is not
582 allowed to modify the attributes of the reflected IBGP routes.
583
5842001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
585
586 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
587 confederation peer is treated as same as IBGP peer.
588
5892001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
590
591 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
592 attr. Call aspath_unintern when return from this function.
593
5942001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
595
596 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
597 changed.
598
5992001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
600
601 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
602 do not refrect the value to current session.
603
6042001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
605
606 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
607 suppress route withdraw.
608
609 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
610
6112001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
612
613 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
614 AS_SET and AS_CONFED_SET.
615
6162001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
617
618 * bgp_route.c (bgp_process): Do not consider suppress route.
619
620 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
621 aspath->data is realloced.
622
6232001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
624
625 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
626 aggregate when using as-set.
627
6282001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
629
630 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
631 correctly.
632
633 * bgp_route.c (bgp_update): Just ignore AS path loop for
634 confederation peer.
635
6362001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
637
638 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
639 (bgp_aggregate_unset): Remove summary_only argument.
640 (aggregate_address_as_set): New commands.
641 "aggregate-address A.B.C.D/M as-set"
642 "no aggregate-address A.B.C.D/M as-set"
643
6442001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
645
646 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
647 route is passed by route reflector.
648
6492001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * bgp_route.c: "no bgp dampening" with argument.
652 (bgp_announce_check): Do not modify nexthop when the route is
653 passed by route reflector.
654
6552001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
656
657 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
658 ASN passive" to "neighbor NEIGHBOR passive".
659 (bgp_announce_check): Check well-known community attribute even
660 when "no neighbor send-community" is set.
661
6622001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
663
664 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
665 time when keepalive timer is configured as zero.
666
6672001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
670 preference is well-known attribute.
671
6722001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
673
674 * zebra-0.91 is released.
675
676 * bgp_attr.h (struct attr): Comment out DPA value.
677 (struct attr): Change refcnt type from int to unsinged long.
678
679 * bgp_attr.c (attrhash_key_make): Likewise.
680 (attrhash_cmp): Likewise.
681 (bgp_attr_dpa): Likewise.
682
6832001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
684
685 * bgp_route.c (bgp_info_cmp): Make route selection completely same
686 as Cisco's.
687
6882001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
689
690 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
691 BGP_ATTR_FLAG_* to clarify meenings.
692
6932001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
694
695 * bgp_route.c (route_vty_out): Display argument to suppress same
696 prefix information display.
697 (route_vty_out_route): Don't display mask information for
698 classfull network.
699
7002001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
701
702 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
703
704 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
705 check.
706
7072001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
708
709 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
710 (bgp_attr_parse): Comment out well-known attribute check.
711
7122001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
713
714 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
715 used for network advertisement.
716 (nlri_parse): When link-local IPv6 address NLRI comes from
717 remote-peer, log the information then simply ignore it.
718
719 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
720 redistributed.
721
722 * bgp_route.c (bgp_update): Check IPv6 global nexthop
723 reachability.
724
7252001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
726
727 * bgp_route.c (bgp_update): Check nexthop points local address or
728 not.
729 (bgp_static_update_vpnv4): Set valid flag.
730
731 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
732 (bgp_attr_parse): Well-known attribute check.
733
734 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
735
736 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
737
738 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
739 defined.
740
741 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
742
7432001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
744
745 * bgpd.c (bgp_network_import_check): New command for IGP network
746 check.
747
7482001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
749
750 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
751 changed. Call bgp_process once for each node.
752
7532001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
754
755 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
756
7572001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
758
759 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
760
761 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
762 IBGP route.
763
7642001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
765
766 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
767 "show ip bgp A.B.C.D/M longer-prefixes"
768 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
769 "show ipv6 bgp X:X::X:X/M longer-prefixes"
770 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
771
7722001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
773
774 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
775 "show ip bgp cidr-only"
776 "show ip bgp ipv4 (unicast|multicast) cidr-only"
777
7782001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
779
780 * bgp_route.c (bgp_update): AS path lookup check is done in
781 bgp_update() not in attr_parse().
782
7832001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
786 before bgp_attr_unintern().
787
7882001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
789
790 * bgp_route.c (bgp_update): Now intern is performed very last part
791 of the BGP packet update procedure.
792
7932001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
794
795 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
796 existing bgp_info structure.
797
7982001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
799
800 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
801 address matching method.
802 (bgp_update):
803
804 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
805 check and IBGP nexthop route check.
806
8072001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
808
809 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
810 change.
811
8122001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
813
814 * bgp_route.h (struct bgp_info): Remove selected flag. Use
815 BGP_INFO_SELECTED for flags instead.
816 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
817 flags instead.
818 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
819 metric.
820 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
821 struct bgp_info.
822 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
823
824 * bgp_community.c (community_val_get): gcc-2.95 on
825 sparc-sun-solaris cause crush. This function is for avoid the
826 crush.
827
8282001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
829
830 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
831 clear bug is fixed.
832
8332001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
834
835 * bgp_packet.c (bgp_open_receive): Return notification with
836 supported version number.
837
8382001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
839
840 * bgpd.c (bgp_show_summary): Display AS path and community
841 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
842
843 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
844 read. When BGP packet read is partial, we must get size and type
845 from packet again.
846
8472001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
848
849 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
850 (bgp_update): When there is a history entry increment route count.
851 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
852
853 * bgp_damp.c (bgp_damp_withdraw): Set status to
854 BGP_DAMP_DISCONTINUE.
855
8562001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
857
858 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
859 IPv6 nexthop is not link-local addresss.
860
8612001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
862
863 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
864 configuration display.
865 (bgp_damp_info_print): Display elapsed time from flap started.
866
867 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
868
869 * bgpd.c (peer_create): Set last read time.
870 (bgp_show_peer): Display last read time.
871 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
872 configuration.
873
874 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
875 (struct peer): Add last read time member.
876 (BGP_VERSION_MP_4): Remove obsolete definition.
877
8782001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * bgp_nexthop.c: Remove OLD_RIB codes.
881
882 * bgp_route.c (bgp_process): Likewise.
883
884 * zebra-0.90 is released.
885
886 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
887 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
888 (struct bgp_info): Remove invalid member from struct bgp_info.
889 Instead of that use BGP_INFO_HISTORY flag.
890
8912001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
892
893 * bgp_damp.c (bgp_damp_info_print): New function to display
894 dampening status.
895 (DEFAULT_HARF_LIFE): Define default value.
896 (DEFAULT_REUSE): Likewise.
897 (DEFAULT_SUPPRESS): Likewise.
898 (bgp_config_write_damp): When config value is same as default
899 value, simply display "bgp dampening" to configuration.
900
901 * bgp_damp.h (struct bgp_damp_info): Add flap member.
902
903 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
904 history status.
905
9062001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
907
908 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
909 address is properly handled.
910 (bgp_connected_delete): Likewise.
911
912 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
913 until it works fine.
914
9152001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
916
917 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
918
919 * bgp_route.c (bgp_update): When this is not damped route, clear
920 ri pointer.
921
9222001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
923
924 * bgp_main.c: Add "-n" no_kernel option to not install route to
925 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
926
9272001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
928
929 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
930 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
931
932 * bgp_damp.c (bgp_config_write_damp): Add configuration display
933 function.
934
935 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
936 information when BGP info structure is freed.
937 (bgp_info_cmp): Check damped flag.
938 (bgp_announce_check): Damped route is not announced.
939
9402001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
941
942 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
943 route-refresh" command to "neighbor capability route-refresh".
944 (clear_bgp_soft_in): Change soft-reconfig method.
945
946 clear ip bgp <neighbor> soft in
947 --------------------------------------
948 Try stored cache first then route-refresh
949
950 clear ip bgp <neighbor> in
951 ---------------------------------
952 Try route-refresh first then try to use stored cache
953
9542001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
955
956 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
957 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
958
9592001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
962 changed, refresh it.
963
9642001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * bgp_route.h (struct bgp_info_tag): Add as_selected to
967 bgp_info_tag.
968
9692001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
970
971 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
972 member for BGP flap dampening.
973
974 * bgp_damp.c: New file is added.
975
976 * bgp_damp.h: Likewise.
977
9782001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
979
980 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
981
9822000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
985 socket for zebra communication.
986
9872000-12-29 Akihiro Mizutani <mizutani@dml.com>
988
989 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
990
9912000-12-27 Akihiro Mizutani <mizutani@dml.com>
992
993 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
994
9952000-12-25 Akihiro Mizutani <mizutani@dml.com>
996
997 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
998
9992000-12-18 Akihiro Mizutani <mizutani@dml.com>
1000
1001 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
1002 withdrawing best prefix perform router ID comparison.
1003
10042000-12-15 Akihiro Mizutani <mizutani@dml.com>
1005
1006 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
1007 routes comes from EBGP peer. When originator ID is same, take
1008 shorter cluster-list route. If cluster-list is same take smaller
1009 IP address neighbor's route.
1010
1011 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
1012 ignore" command. When this option is set, do not concider AS path
1013 length when route selection.
1014 (bgp_bestpath_compare_router_id): Add "bgp bestpath
1015 compare-routerid". When this option is set, compare router ID
1016 when the routes comes from EBGP peer.
1017
10182000-12-15 Akihiro Mizutani <mizutani@dml.com>
1019
1020 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
1021 available.
1022
10232000-12-14 Akihiro Mizutani <mizutani@dml.com>
1024
1025 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
1026 information.
1027
10282000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
1031 it sure the memory is freed.
1032
1033 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
1034 HAVE_IPV6.
1035
10362000-12-08 Akihiro Mizutani <mizutani@dml.com>
1037
1038 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
1039 data part.
1040
1041 * bgp_network.c (bgp_accept): When BGP connection comes from
1042 unconfigured IP address, close socket immediately.
1043
1044 * bgpd.c: Fix some display format.
1045
10462000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
1049 bgp_packet_set_size () call.
1050
10512000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1052
1053 * bgp_packet.c (bgp_read_packet): Remove debug codes.
1054
10552000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
1058
1059 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
1060 status.
1061 (bgp_establish): Likewise.
1062
10632000-11-26 Akihiro Mizutani <mizutani@dml.com>
1064
1065 * bgp_open.c: Fix error messages.
1066
10672000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1068
1069 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
1070 established.
1071 (bgp_stop): Call BGP trap when the peer is dropped.
1072
10732000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
1076
1077 * bgpd.h (struct peer): Add update_time for track last update
1078 received time.
1079
1080 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
1081 code in any case.
1082
1083 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
1084 peering IP address.
1085 (bgpPeerTable): Return actual BGP version number.
1086
10872000-11-22 Akihiro Mizutani <mizutani@dml.com>
1088
1089 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1090 is fixed.
1091
10922000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1095 zebra is enabled, use the method.
1096
10972000-11-16 Akihiro Mizutani <mizutani@dml.com>
1098
1099 * bgpd.c: Revise debug message output.
1100
11012000-11-15 Akihiro Mizutani <mizutani@dml.com>
1102
1103 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1104
11052000-11-14 Akihiro Mizutani <mizutani@dml.com>
1106
1107 * bgp_community.c (community_match): Fix bug of memcmp return
1108 value check.
1109
11102000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1111
1112 * bgp_clist.c (community_list_match_exact): Add check for
1113 entry->style is COMMUNITY_LIST.
1114 (community_match_regexp): Apply new com_nthval macro.
1115
11162000-11-07 Rick Payne <rickp@rossfell.co.uk>
1117
1118 * bgp_routemap.c (route_set_community_delete): "set
1119 community-delete COMMUNITY-LIST" is added.
1120
1121 * bgp_community.c (community_del_val): Delete one community.
1122 (community_delete): Delete all community included in list.
1123 (community_match): Fix bug of matching community value.
1124
1125 * bgp_clist.c (community_entry_free): Free community regular
1126 expression.
1127 (community_entry_make): Default style is COMMUNITY_LIST.
1128 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1129 (community_entry_regexp_lookup): New function for community
1130 regular expression lookup.
1131 (community_match_regexp): New function.
1132 (community_delete_regexp): New function.
1133 (community_list_delete_entries): New function.
1134 (community_list_match): Add COMMUNITY_REGEXP treatment.
1135 (community_list_match_exact): Likewise.
1136 (config_write_community): Write community list according to
1137 entry->style.
1138
11392000-11-07 Rick Payne <rickp@rossfell.co.uk>
1140
1141 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1142
1143 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1144 community_entry.
1145
11462000-11-06 Rick Payne <rickp@rossfell.co.uk>
1147
1148 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1149
1150 * bgpd.c (bgp_enforce_first_as): New command "bgp
1151 enforce-first-as".
1152
1153 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1154
11552000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1156
1157 * bgp_community.c (community_compare): Copy byte stream data to
1158 actual value instead of using type casting hack.
1159 (community_add_val): Likewise.
1160 (community_uniq_sort): Likewise.
1161 (community_print): Likewise.
1162 (community_print_vty): Likewise.
1163 (community_include): Use memcmp to compare community value.
1164
1165 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1166 return pointer.
1167
11682000-11-06 Akihiro Mizutani <mizutani@dml.com>
1169
1170 * bgpd.h (struct peer): Add established and dropped member for
1171 count peering up/down statistics.
1172
1173 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1174
1175 * bgp_fsm.c (bgp_establish): Increment established count.
1176 (bgp_stop): Increment dropped count.
1177
1178 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1179
11802000-11-1 Akihiro Mizutani <mizutani@dml.com>
1181
1182 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1183
11842000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1185
1186 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1187
11882000-10-24 Akihiro Mizutani <mizutani@dml.com>
1189
1190 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1191 format fix.
1192
11932000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1194
1195 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1196 (bgp_serv_sock_addrinfo): Check address family.
1197
11982000-10-23 Jochen Friedrich <jochen@scram.de>
1199
1200 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1201 is registered. So those variables must be static.
1202
12032000-10-23 Akihiro Mizutani <mizutani@dml.com>
1204
1205 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1206 next-hop" argument from IP address to access-list name.
1207 Remove zebra-0.88 compatibility commands.
1208 "match ip prefix-list WORD"
1209 "match ipv6 prefix-list WORD"
1210
12112000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1212
1213 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1214 passing the pointer to the pointer of struct in6_addr instead of
1215 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1216
1217 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1218 HAVE_IPV6.
1219
12202000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1221
1222 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1223 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1224
12252000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1226
1227 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1228 should be done by attr->nexthop.s_addr instead of strcmp.
1229
12302000-10-18 Akihiro Mizutani <mizutani@dml.com>
1231
1232 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1233 bgp_redistribute_add().
1234
1235 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1236 checking IPv4 multiaccess nexthop.
1237
1238 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1239 reachable on multiaccess media, do not change nexthop.
1240 (bgp_redistribute_add): Set nexthop when the value is passed.
1241
12422000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1243
1244 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1245 connect timer.
1246 (bgp_start): If the peer is passive mode, force to move to Active
1247 mode.
1248
12492000-10-17 Horms <horms@vergenet.net>
1250
1251 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1252
12532000-10-17 Akihiro Mizutani <mizutani@dml.com>
1254
1255 * bgp_route.c: "show ipv6 bgp" route display improvement.
1256
12572000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1258
1259 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1260 function.
1261 (bgp_show_neighbor_route): Remove static declaration for union
1262 sockunion.
1263
1264 * bgpd.c (peer_update_source_set): Clean previously allocated
1265 memory before allocate new one.
1266
12672000-10-03 Akihiro Mizutani <mizutani@dml.com>
1268
1269 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1270 command.
1271 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1272 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1273 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1274 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1275
12762000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1277
1278 * zebra-0.89 is released.
1279
12802000-10-02 Akihiro Mizutani <mizutani@dml.com>
1281
1282 * bgpd.c: "bgp deterministic-med" command is added.
1283
12842000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1285
1286 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1287 route addition and deletion.
1288
12892000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1290
1291 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1292 when comparing leftmost AS number.
1293
12942000-09-29 Akihiro Mizutani <mizutani@dml.com>
1295
1296 * bgpd.c (peer_route_reflector): Route reflector can be set for
1297 IBGP peer.
1298 (bgp_distribute_set): Fix bug of string check for (in|out).
1299 (bgp_show_summary): Display total neighbor count.
1300
13012000-09-28 Akihiro Mizutani <mizutani@dml.com>
1302
1303 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1304 originator for clinet to client routes.
1305 (bgp_packet_attribute): Add new cluster_list to the beginning of
1306 existing cluster_list.
1307 (bgp_packet_attribute): Fix bug of originator is rewritten even
1308 when originator is already set.
1309
13102000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1311
1312 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1313 "no bgp client-to-client reflection"
1314 "bgp client-to-client reflection"
1315
1316 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1317
13182000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1319
1320 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1321 read.
1322 (bgp_read_packet): Likewise.
1323 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1324
1325 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1326
13272000-09-26 Akihiro Mizutani <mizutani@dml.com>
1328
1329 * bgp_routemap.c: Configuration of prefix-list match is shown as
1330 "match ip address prefix-list <WORD>". Old configuration "match
1331 ip prefix-list <WORD>" is left for compatibilitty.
1332
13332000-09-25 Akihiro Mizutani <mizutani@dml.com>
1334
1335 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1336 BGP_CONFIG_MISSING_AS_WORST.
1337
1338 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1339 Old "bgp bestpath missing-as-worst"
1340 New "bgp bestpath med missing-as-worst"
1341
13422000-09-24 Akihiro Mizutani <mizutani@dml.com>
1343
1344 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1345
13462000-09-21 steve@Watt.COM (Steve Watt)
1347
1348 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1349 term_bgp_debug_*.
1350
1351 * bgp_debug.c: Declare variables here.
1352
13532000-09-21 Akihiro Mizutani <mizutani@dml.com>
1354
1355 * bgpd.c: MBGP soft-reconfiguration command is added.
1356 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1357 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1358 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1359 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1360 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1361 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1362 clear ip bgp * ipv4 (unicast|multicast) in
1363 clear ip bgp * ipv4 (unicast|multicast) out
1364 clear ip bgp * ipv4 (unicast|multicast) soft
1365
1366 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1367 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1368
1369 "bgp bestpath med confed" command is added.
1370
1371 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1372
13732000-09-18 Rick Payne <rickp@rossfell.co.uk>
1374
1375 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1376
13772000-09-12 Akihiro Mizutani <mizutani@dml.com>
1378
1379 * bgpd.c (bgp_default_local_preference): Add "bgp default
1380 local-preference" command.
1381
1382 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1383 command.
1384
13852000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1386
1387 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1388 are passed to zebra like IBGP route.
1389
13902000-09-10 Akihiro Mizutani <mizutani@dml.com>
1391
1392 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1393 configuration.
1394
1395 * bgp_route.c: Community match command is added.
1396 "show ip bgp community <val>"
1397 "show ip bgp community <val> exact-match"
1398
13992000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1400
1401 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1402 treated as IBGP routes.
1403
14042000-09-08 Akihiro Mizutani <mizutani@dml.com>
1405
1406 * bgp_route.c (bgp_show_route): When local-AS community route is
1407 selected, display "not advertised outside local AS" to "show ip
1408 route A.B.C.D" output.
1409 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1410 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1411 "show ip bgp ipv4 (unicast|multicast) community"
1412 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1413 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1414
1415 * bgp_clist.c (community_list_match_exact): Community exact match
1416 function.
1417
14182000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1419
1420 * bgp_route.c (bgp_update): Add peer's ttl check.
1421
1422 * bgpd.h (struct peer): Structure member refresh is renamed to
1423 refresh_adv.
1424
1425 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1426 when soft reconfiguration is performed.
1427
1428 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1429 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1430
1431 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1432
14332000-08-25 Akihiro Mizutani <mizutani@dml.com>
1434
1435 * bgpd.c: Add AS base BGP soft reconfiguration.
1436
1437 * bgp_route.c: When no-advertise or no-export route is selected,
1438 "show ip bgp" display "not advertised to EBGP peer" or "not
1439 advertised to any peer" message.
1440
14412000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * zebra-0.88 is released.
1444
1445 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1446 bgp route-mrt" to support MRT specific dump format.
1447
1448 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1449 added.
1450
1451 * bgp_route.c (bgp_update): Currently nexthop check is only works
1452 for IPv4.
1453
14542000-08-17 Akihiro Mizutani <mizutani@dml.com>
1455
1456 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1457 both inbound and outbound soft reconfiguration.
1458
14592000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1462 outbound.
1463 (peer_new): Set route-refresh flag.
1464
14652000-08-16 Akihiro Mizutani <mizutani@dml.com>
1466
1467 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1468 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1469 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1470 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1471 bgp * in" alias is added.
1472
14732000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1474
1475 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1476 is set do not install the route into Adj-RIBs-In.
1477 (bgp_update): Perform implicit withdraw before filtering of the
1478 route.
1479
1480 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1481 capability code and BGP message can be accepted.
1482
1483 * bgp_open.c (bgp_capability_parse): Likewise.
1484
1485 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1486 (bgp_refresh_rib): Likewise.
1487
1488 * bgpd.c (bgp_show_peer): Display route refresh status.
1489
1490 * bgp_route.c (bgp_aggregate_add): Add check for the route
1491 validness.
1492 (bgp_aggregate_delete): Likewise.
1493
14942000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1495
1496 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1497 route become inaccessible.
1498
14992000-08-15 Akihiro Mizutani <mizutani@dml.com>
1500
1501 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1502 command is added.
1503
15042000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1505
1506 * bgp_zebra.c (bgp_interface_up): Register connected route.
1507 (bgp_interface_down): Unregister connected route.
1508
15092000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1510
1511 * bgp_route.h (struct bgp_info): Add distance to the structure.
1512
1513 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1514 match to smaller prefixlen route not match same prefixlen route.
1515 (bgp_aggregate_decrement): Likewise.
1516 (bgp_aggregate_add): Likewise.
1517 (bgp_aggregate_delete): Likewise.
1518 (bgp_network_backdoor): Add backdoor network configuration.
1519
1520 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1521 configuration distance value.
1522
1523 * bgp_route.c (bgp_update): Filter EBGP route which has non
1524 connected nexthop.
1525
1526 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1527 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1528 Set aggregator AS and address.
1529 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1530 filling aggregator_as.
1531
1532 * bgp_route.c (bgp_process): Delete suppress check for install
1533 suppressed route into local routing table.
1534 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1535 of bgp_attr_default_intern ().
1536 (bgp_aggregate_add): Likewise.
1537
1538 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1539 created. This is for avoid 0.0.0.0 router-id.
1540
15412000-08-13 Akihiro Mizutani <mizutani@dml.com>
1542
1543 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1544 route is valied. Display "aggregated" when the route is
1545 aggregated. "Advertisements suppressed by an aggregate" is
1546 displayed when the route is suppressed.
1547 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1548
15492000-08-10 Akihiro Mizutani <mizutani@dml.com>
1550
1551 * bgp_route.c (route_vty_out_detail): Display format change.
1552
15532000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1554
1555 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1556
1557 * bgpd.c (bgp_delete): Delete static route before delete peer
1558 configuration.
1559
15602000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * bgpd.c: Include bgpd/bgp_nexthop.h.
1563
15642000-07-31 Akihiro Mizutani <mizutani@dml.com>
1565
1566 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1567 identifier. And status is changed like below.
1568
1569 State/Pref -> State/PfxRcd
1570 Shutdown -> Idle (Admin)
1571 PrefixOvflw -> Idle (PfxCt)
1572
1573 * bgp_route.c (route_vty_out): Show internal route as "i".
1574
15752000-07-13 Jim Bowen <jimb@zereau.net>
1576
1577 * bgp_snmp.c: Add BGP peer MIB implementation.
1578
15792000-07-12 Akihiro Mizutani <mizutani@dml.com>
1580
1581 * bgpd.c (bgp_show_peer): Fix typo.
1582
15832000-07-11 Akihiro Mizutani <mizutani@dml.com>
1584
1585 * bgp_routemap.c: Add commands for deleting set without argument.
1586
15872000-07-03 Akihiro Mizutani <mizutani@dml.com>
1588
1589 * bgp_zebra.c: Fix redistribute help strings.
1590
15912000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
1594 output to vty at once.
1595
15962000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1597
1598 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
1599 tag WORD" command is added.
1600
1601 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
1602
16032000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
1606
1607 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
1608 negotiation result in "show ip bgp neighbors".
1609
16102000-06-12 Akihiro Mizutani <mizutani@dml.com>
1611
1612 * bgpd.c: Fix help strings.
1613
1614 * bgpd.h: Likewise.
1615
16162000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1617
1618 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
1619 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
1620
1621 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
1622 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
1623
1624 * bgp_route.c (bgp_static_set): Set safi to p.safi.
1625
16262000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1627
1628 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
1629 (bgp_show_regexp): Change to use bgp_show().
1630 (show_adj_route): Change to display header.
1631
1632 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
1633 is cleared manually.
1634
1635 * bgp_route.c (bgp_show_route): New function which display
1636 specific BGP route. Divided from bgp_show().
1637 (bgp_static_delete): Delete all static route.
1638
16392000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
1640
1641 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
1642 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
1643 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
1644 mbgp" and "show ipv6 mbgp".
1645
16462000-06-07 Akihiro Mizutani <mizutani@dml.com>
1647
1648 * bgp_route.c: Fix help strings and command arguments.
1649
16502000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1651
1652 * bgp_ecommunity.c: Include prefix.h
1653
16542000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1655
1656 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
1657 value.
1658
1659 * bgp_route.c (bgp_adj_set): table NULL check is added.
1660 (bgp_adj_unset): Likewise.
1661 (bgp_adj_lookup): Likewise.
1662 (bgp_adj_clear): Likewise.
1663 (route_vty_out): Add SAFI check for nexthop display.
1664 (bgp_withdraw): Add SAFI check for withdraw route.
1665
1666 * Remove all #ifdef MPLS_VPN then include it as default.
1667
1668 * bgpd.c: Temporary disable peer-group command until the
1669 implementation is completed.
1670
1671 * bgp_routemap.c (bgp_route_map_init): Install
1672 route_metric_match_cmd.
1673 (route_match_metric_compile): MED value compile using strtoul.
1674
16752000-06-05 Akihiro Mizutani <mizutani@dml.com>
1676
1677 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
1678 NAME to WORD.
1679
1680 * Change command argument to more comprehensive.
1681
1682 METRIC -> <0-4294967295>
1683 WEIGHT -> <0-4294967295>
1684 LOCAL_PREF -> <0-4294967295>
1685 IP_ADDR -> A.B.C.D
1686 AS -> <1-65535>
1687 AS-PATH-NAME -> WORD
1688 ACCESS_LIST -> WORD
1689 PREFIX_LIST -> WORD
1690 COMMUNITY -> AA:NN
1691 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
1692 IPv6_ADDR -> X:X::X:X
1693
1694 * bgp_clist.c: Fix help strings.
1695
16962000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1697
1698 * bgpd.c (peer_active): Add new function for check the peer is
1699 active or not.
1700 (neighbor_activate): New command "neighbor PEER activate" and "no
1701 neighbor PEER activate" are added.
1702
1703 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
1704
17052000-06-02 Akihiro Mizutani <mizutani@dml.com>
1706
1707 * bgp_clist.c: Fix commuity-list help strings.
1708
1709 * bgp_routemap.c: Fix "set community" help strings. Add #define
1710 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
1711
17122000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * bgp_routemap.c (route_set_community_none_cmd): "set community
1715 none" command is added to route-map.
1716
17172000-06-01 Akihiro Mizutani <mizutani@dml.com>
1718
1719 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
1720 debugging" is not used in VIEW_NODE.
1721
17222000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1723
1724 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
1725 fix unconditional BGP connection.
1726
1727 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
1728 peer_change_flag_with_reset().
1729
17302000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1731
1732 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
1733 ipv4-unicast" command.
1734
1735 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
1736
1737 * bgp_filter.c (as_list_delete): Free all AS filter.
1738
1739 * bgp_clist.c (community_list_delete): Free all community entry.
1740
1741 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
1742 access-list NAME".
1743
1744 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
1745 community-list NAME".
1746
17472000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
1750 routes" to "show ip bgp PEER received-routes"
1751
17522000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1753
1754 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
1755 Communities attribute.
1756 * bgp_ecommunity.h: Likewise.
1757
17582000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1759
1760 * bgp_mplsvpn.h: New file for MPLS-VPN.
1761 * bgp_mplsvpn.c: Likewise.
1762
1763 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
1764
17652000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
1768 missing-as-worst".
1769
17702000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1771
1772 * bgp_routemap.c (match_community): Clarify help of "match
1773 community".
1774
17752000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1776
1777 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
1778
17792000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1780
1781 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
1782 from same neighboring AS.
1783
1784 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
1785
1786 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
1787
17882000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1789
1790 * bgp_route.c (bgp_output_filter): When distribute-list's
1791 corresponding access-list does not exist, filter all routes.
1792 (bgp_input_filter): Likewise.
1793
17942000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
1797
1798 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
1799
18002000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1801
1802 * bgpd.c (bgp_distribute_update): Add struct access_list *
1803 argument.
1804
18052000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
1808 check.
1809
1810 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
1811
1812 * bgp_route.c (bgp_show): Fix undeclared write variable.
1813
18142000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1815
1816 * bgp_routemap.c: Add "match ip address prefix-list".
1817
18182000-03-29 Rick Payne <rickp@rossfell.co.uk>
1819
1820 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
1821
18222000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1823
1824 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
1825 the peer status is Connect.
1826
18272000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1828
1829 * Fix bug of rewritten originator-id.
1830
18312000-01-27 Rick Payne <rickp@rossfell.co.uk>
1832
1833 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
1834 directly referencing array, search proper AS path delimiter.
1835 (aspath_strip_confed): Strip the confederation stuff from the
1836 front of an AS path.
1837 (aspath_add_left_confed): New function for adding specified AS to
1838 the leftmost AS_CONFED_SEQUENCE.
1839
1840 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
1841 to Cisco compatible.
1842
1843 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
1844 (bgp_confederation_id_unset): Likewise.
1845 (bgp_confederation_peers_check): Likewise.
1846 (bgp_confederation_peers_add): Likewise.
1847 (bgp_confederation_peers_remove): Likewise.
1848 (bgp_confederation_peers_set): Likewise.
1849 (bgp_confederation_peers_unset): Likewise.
1850 (bgp_confederation_peers_print): Likewise.
1851
18522000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
1855
18562000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1857
1858 * bgp_open.c (bgp_open_option_parse): When there is no common
1859 capability send Unsupported Capability error to the peer.
1860
18612000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1862
1863 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
1864 IPv6 unicast.
1865
1866 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
1867
18682000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * bgpd.c (neighbor_strict_capability): Add
1871 "strict-capability-match" command.
1872
1873 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
1874 router-id.
1875
1876 * bgpd.c (peer_override_capability): Add "override-capability"
1877 command.
1878
18791999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * bgp_packet.c (bgp_write): Change status to Idle and set timer
1882 after write failed.
1883
18841999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
1887
18881999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
1891 nlri_parse().
1892
18931999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1894
1895 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
1896
1897 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
1898 the peer is cleared.
1899
1900 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
1901 link-local address. This is KAME specific problem.
1902
19031999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1904
1905 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
1906 while. We don't completely detect the link is shared or not at
1907 this moment.
1908
1909 * bgp_packet.c (bgp_notify_send): Make shortcut call of
1910 bgp_write() and bgp_stop().
1911
1912 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
1913 global and link-local address.
1914
19151999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1916
1917 * bgpd.c (no_neighbor_port): New command added.
1918 (peer_new): Set send_community.
1919
19201999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1921
1922 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
1923 (show_ip_mbgp_summary): Likewise.
1924 (show_ipv6_bgp_summary): Likewise.
1925 (show_ipv6_mbgp_summary): Add new command.
1926 (peer_free): Free peer->host.
1927 (peer_lookup_by_su): Delete function.
1928 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
1929 (sockunion_vty_out): Function deleted.
1930 (vty_clear_bgp): Use afi instead of family.
1931 Delete old list bgp_list. Use struct newlist *bgplist.
1932 (peer_lookup_by_host): Function deleted.
1933
19341999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * bgpd.h (struct peer_group): New structure added.
1937 (struct peer_conf): New structure added.
1938 (struct peer): Change all prefix_count to unsigned long.
1939
1940 * bgpd.c: Reconstruct all of VTY commands reflect internal
1941 structure change.
1942 Use bgplist instead of bgp_list.
1943 Use peerlist intstead of peer_list.
1944
1945 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
1946 parsing then return immediately.
1947
1948 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
1949 -1.
1950 (nlri_process): Use pcount_v4_{unicast,multicast}.
1951 (nlri_delete): Likewise.
1952
19531999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
1954
1955 * bgp_routemap.c (route_match_nlri): `match nlri
1956 unicast|multicast' and `set nlri unicast|multicast' command are
1957 added.
1958
19591999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
1960
1961 * bgpd.c: Add translate-update support.
1962
1963 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
1964
19651999-11-19 Robert.Olsson@data.slu.se
1966
1967 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
1968
19691999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * bgp_open.c (bgp_capability_mp): Temporary comment out
1972 SAFI_UNICAST_MULTICAST handling until we know the meanings.
1973
19741999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1975
1976 * bgp_btoa.c: New file added.
1977
19781999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1979
1980 * bgpd.h (struct peer): Add dont_capability flag.
1981 (struct peer): Add override_capability flag.
1982
1983 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
1984 dont-capability-negotiation' added.
1985
19861999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1987
1988 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
1989 attribute from non-shared-network peers.
1990
19911999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1992
1993 * bgp_snmp.c: New file added.
1994
1995 * BGP4-MIB.txt: Updated to the latest Internet-Draft
1996 draft-ietf-idr-bgp4-mib-04.txt.
1997
19981999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1999
2000 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
2001
2002 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
2003 #ifdef HAVE_MBGPV4.
2004
20051999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2006
2007 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
2008 dump bgp commands.
2009 (config_write_bgp_dump): Write interval value to the
2010 configuration.
2011
20121999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2013
2014 * bgp_zebra.c: Redistribute route-map support is added.
2015
2016 * bgp_zebra.h: New file added.
2017
20181999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2019
2020 * bgp_dump.c: BGP packet dump routine compatible with MRT.
2021 * bgp_dump.h: BGP packet dump routine compatible with MRT.
2022
2023 * bgp_debug.c: Renamed from bgp_dump.c
2024 * bgp_debug.h: Renamed from bgp_dump.h
2025
20261999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2027
2028 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
2029
20301999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2031
2032 * bgp_route.c (bgp_announce): If we're not on a shared network
2033 with the peer and we don't have a link-local next hop, but the
2034 inbound next-hop has a link-local address, don't readvertise it to
2035 our peer.
2036
20371999-10-25 Marc Boucher <marc@mbsi.ca>
2038
2039 * bgp_zebra.c: Add redistribute kernel command.
2040
20411999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2042
2043 * bgp_route.c (bgp_reset): New function added.
2044
2045 * bgpd.conf.sample2: Add IPv6 configuration sample.
2046
20471999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2048
2049 * bgp_route.c (ipv6_aggregate_address): Function added.
2050
20511999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2052
2053 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
2054 list after parsing BGP update packet.
2055
2056 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
2057 (bgp_attr_community): Intern parsed community.
2058 (bgp_attr_cluster_list): Intern parsed cluster list.
2059
2060 * bgp_routemap.c: Add `set community-additive' command.
2061
20621999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
2063
2064 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
2065 attribute flag.
2066
20671999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2068
2069 * bgp_route.c (bgp_announce): Add check of IPv6 default route
2070 announcement.
2071
2072 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
2073
20741999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2075
2076 * `show ip[v6] bgp PREFIX' show uptime of the route.
2077
20781999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2079
2080 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
2081 of that use AF_INET and AF_INET6 directly.
2082 (vty_clear_bgp): Add new function to support various clear ip bgp
2083 method.
2084
20851999-10-04 Lars Fenneberg <lf@elemental.net>
2086
2087 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
2088
20891999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2092 prefix-list'.
2093
20941999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2095
2096 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2097 function.
2098
20991999-09-26 Blake Meike <bmeike@adero.com>
2100
2101 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2102 added.
2103
21041999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2105
2106 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2107 min() macro.
2108
21091999-08-19 Rick Payne <rickp@rossfell.co.uk>
2110
2111 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2112 keepalive timer configurable.
2113
21141999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2115
2116 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2117
21181999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2119
2120 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2121 the peer not all of them.
2122
21231999-08-11 Rick Payne <rickp@rossfell.co.uk>
2124
2125 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2126 will get overwritten by route-maps.
2127
21281999-08-08 Rick Payne <rickp@rossfell.co.uk>
2129
2130 * bgp_routemap.c: Multi protocol route-map modification.
2131
21321999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2133
2134 * bgp_route.c: Set network statement route's origin attribute as
2135 igp.
2136
2137 * bgp_zebra.c: Set redistribute route's origin attribute as
2138 incomplete.
2139
2140 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2141 origin attribute check, BGP peer type check.
2142
21431999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2146
21471999-07-29 Rick Payne <rickp@rossfell.co.uk>
2148
2149 * Changed route-maps to behave in a more cisco-like fashion
2150
21511999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2152
2153 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2154 When multiple route to the same destination exist, bgpd try to
2155 announce the information to stopped peer. Then add orphan write
2156 thread is added. This cause many strange behavior of bgpd.
2157 Reported by Georg Hitsch <georg@atnet.at>.
2158
21591999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2160
2161 * bgpd.c: Change peer's A.B.C.D to PEER.
2162
21631999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2164
2165 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2166
2167 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2168 local address.
2169
21701999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2171
2172 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2173 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2174
21751999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2176
2177 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2178 fsm_holdtime ().
2179
21801999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2181
2182 * bgp_routemap.c: Add `set atomic-aggregate' command.
2183
21841999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2187 to "ip next-hop".
2188
21891999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2192 added.
2193
21941999-07-01 Rick Payne <rickp@rossfell.co.uk>
2195
2196 * bgp_zebra.c (zebra_init): Install standard commands to
2197 ZEBRA_NODE.
2198
21991999-06-28 Rick Payne <rickp@rossfell.co.uk>
2200
2201 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2202
22031999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2204
2205 * bgpd.c: Add neighbor update-source command as ALIAS to
2206 neighbor_interface.
2207
22081999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2209
2210 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2211 send_community flag is set.
2212
2213 * bgpd.h (struct peer): Add send_community flag.
2214
22151999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2216
2217 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2218 <1-65535>.
2219
22201999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2221
2222 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2223
22241999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2225
2226 * bgp_community.c (community_merge): Function added.
2227
22281999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2229
2230 * bgp_clist.c: New file.
2231 * bgp_clist.h: New file.
2232
2233 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2234 compatibility.
2235 (COMMUNITY_NO_ADVERTISE): Fix typo.
2236
22371999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2238
2239 * bgp_routemap.c: Add `set weight WEIGHT' command.
2240
2241 * bgpd.c: Remove all_digit_check function. Instead of that use
2242 all_digit function in lib/prefix.c.
2243
2244 * bgp_routemap.c (bgp_route_map_init): Install
2245 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2246 element to the RMAP_NODE.
2247
22481999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2251 inside aspath_make_str function.
2252 (aspath_prepend): New function is added for AS path prepend.
2253 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2254 count is set to the structure.
2255 (aspath_merge): New function.
2256
22571999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2258
2259 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2260 (no_redistribute_bgp): Likewise.
2261 (router_zebra): Semantics changed. Now 'router zebra' is default
2262 behavior of bgpd.
2263
22641999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2265
2266 * bgp_routemap.c: Add some commands to bgp route-map.
2267 match ip next-hop: New command.
2268 match metric: New command.
2269 set metric: Doc fix.
2270 set local-preference: Add DEFUN.
2271
22721999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2273
2274 * bgp_main.c (signal_init): SIGTERM call sigint.
2275 (sigint): Loggging more better message.
2276
22771999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2278
2279 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2280 length bit check is added.
2281
22821999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2283
2284 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2285 function with route_set_local_pref_cmd argument.
2286 (no_match_aspath): Function added.
2287 (route_set_metric): Set attribute flag bit.
2288
2289 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2290 packet.
2291
22921999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2293
2294 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2295 holdtime' command is added.
2296
2297 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2298
2299 * bgpd.c (bgp_prefix_list_set): New function added.
2300 (bgp_prefix_list_unset): Likewise.
2301 (bgp_prefix_list_update): Likewise.
2302 (show_ip_bgp_neighbors): prefix-list information display.
2303
23041999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2305
2306 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2307
23081999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2309
2310 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2311
2312 * bgpd.c (bgp_router_id): Even when address is malformed set the
2313 value to configuration bug fixed.
2314 (no_bgp_router_id): New function.
2315 (no_bgp_cluster_id): New function.
2316
23171999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2318
2319 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2320
23211999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2322
2323 * bgp_route.c (bgp_announce): Add route reflector check.
2324
23251999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2326
2327 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2328 (neighbor_route_reflector_client): Likewise.
2329 (no_neighbor_route_reflector_client): Likewise.
2330
2331 * bgpd.h (struct bgp ): Add cluster for route reflector.
2332
2333 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2334
23351999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2336
2337 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2338
2339 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2340 has same functionality.
2341
2342 * bgp_filter.h: New file.
2343
2344 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2345 aspath_unintern ()
2346 (aspath_free): New function.
2347
23481999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2349
2350 * bgp_aspath.c (aspath_aggregate): Function added.
2351
2352 * bgp_aspath.h (aspath_aggregate): Prototype added.
2353
2354 * bgp_aspath.c (aspath_empty_aspath): New argument
2355 gated_dont_eat_flag is added.
2356
23571999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2358
2359 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2360
23611999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2362
2363 * bgp_route.c (aggregate_address): Function added.
2364
2365 * bgp_zebra.c (zebra_read): Change log to zlog.
2366
23671999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2368
2369 * Makefile.am (noninst_HEADERS): Added for make dist.
2370
23711999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2372
2373 * aspath_regex.c: Removed from distribution.
2374
23751999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2376
2377 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2378 bug fixed.
2379
23801999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2381
2382 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2383 by kad@gibson.skif.net.
2384
2385 * bgp_regex.[ch]: New file added.
2386
2387
23881999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2389
2390 * bgp_filter.c: New file added.
2391
23921999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2393
2394 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2395 gated.
2396
23971999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2398
2399 * bgp_main.c (main): Default loggin method changed from syslog to
2400 stdout.
2401
24021999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2403
2404 * bgp_route.c: Delete obsolete default attribute DEFUN.
2405
24061999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2407
2408 * bgp_attr.c: Make attribute structure put into attribute hash.
2409
24101999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2411
2412 * bgp_view.c : Delete file.
2413
24141999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2415
2416 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2417
2418 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2419 replace bgp_route with this.
2420
2421 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2422 prefix value to access_list_apply().
2423
2424 * bgpd.conf.sample: Add route-map sample.
2425 Delete obsolete default-attr statements.
2426
2427 * bgp_packet.c: Use stream_fifo for packet queueing.
2428
24291999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2430
2431 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2432
2433 * bgp_main.c: include unistd.h for daemon().
2434
2435 * bgp_route.c (nlri_process): add IPv6 table lookup.
2436
2437 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2438 (attr_make): Obsolete function attr_make deleted.
2439
24401999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * bgp_aspath.c (aspath_add_left): change function name from
2443 aspath_add_leftmost_as().
2444
24451999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2446
2447 * bgp_aspath.c: add aspath_add_leftmost_as ().
2448
24491999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2450
2451 * syslog support added
2452
24531999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2454
2455 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2456 DEFUN (neighbor_distribute_list): added.
2457
24581999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2459
2460 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2461
2462 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2463 bgpd.c
2464
2465 * bgp_network.c: New file.
2466 * bgp_network.h: New file.
2467
2468 * bgp_packet.h: New file.
2469
24701999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2471
2472 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2473 buffered.
2474
24751999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2476
2477 * bgp_packet.c: New file.
2478
24791998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2480
2481 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2482
2483 * `show ip bgp' bug fixed.
2484 * aspath_log (): Remove argument logfp.
2485
24861998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2487
2488 * bgp_fsm.h: New file.
2489
24901998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2491
2492 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2493 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2494 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2495 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2496
24971998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2498
2499 * bgpd.c (bgp_config_write): Delete vector v argument.
2500
25011998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2502
2503 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2504
25051998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2506
2507 * bgp_radix.[ch]: removed.
2508
25091998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2510
2511 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2512
25131998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2514
2515 * bgp_dump.c: delete nroute().
2516
25171998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2518
2519 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2520 * bgpd.h: Modify for compile on Solaris.
2521 * bgp_aspath.h: likewize
2522 * bgp_community.h: likewize
2523 * bgp_routemap.c: likewize
2524
25251998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2526
2527 * bgpd.h: Modify for compile on Solaris.
2528 * bgp_aspath.h: likewize
2529
25301998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2531
2532 * routemap.[ch]: move to ../lib directory.
2533
25341998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2535
2536 * routemap.c (route_map_apply): add function.
2537
25381998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2539
2540 * routemap.h: add file.
2541
2542 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2543
25441998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2545
2546 * Makefile.am: sysconfdir_DATA added.
2547
25481998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2549
2550 * bgp_dump.c: add `debug bgp fsm'
2551 add `no debug bgp fsm'
2552 add `show debug bgp'
2553 * bgp_open.c: File added.
2554
25551998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2556
2557 * .cvsignore: File added.
2558
25591998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2560
2561 * bgp_community.[ch]: File added.
2562
25631998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2564
2565 * bgpd now use lib/thread.[ch].
2566
25671998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2568
2569 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2570
2571 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2572
25731997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2574
2575 * bgp_vty.c: bgp_vty.c deleted.
2576
2577 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2578
25791997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2580
2581 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
2582
25831997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2584
2585 * bgp_vty.c: new file.
2586
2587 * bgp_attr.c: add new logging system.
2588
25891997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2590
2591 * Change all inet_addr call into inet_aton.
2592
25931997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2594
2595 * bgp_radix.c: change radix_peer_delete
2596
25971997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2598
2599 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
2600
26011997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2602
2603 * bgp_dump.c (bgp_log_route): add dump_attr function
2604
26051997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2606
2607 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
2608 * bgp_dump.c (bgp_log_route): change logfile format.
2609
26101997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2611
2612 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
2613 * bgp_attr.c (community_str2com): add community value generation
2614 * bgp_attr.h: add SAFI definition for BGP-4+
2615
26161997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2617
2618 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
2619 * Makefile.in: add bgp_open.o, delete bgp_loop.o
2620 * bgp_open.c: newfile which manages BGP Open message
2621 * bgp_loop.c: this file is merged with bgp_fsm.c
2622 * bgp_radix.c (radix_add): radix_add() now return route_t instead
2623 of int
2624 (bgp_sim): now we can read update & withdraw from file
2625 * bgp_route.c: add route_free() call into route_parse etc.
2626
26271997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2628
2629 * bgp_radix.c: Radix code is completely rewritten. It has better
2630 memory treatment than old one.
2631
26321997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2633
2634 * bgp_route.c: route_alloc for route struct allocation statistics.
2635 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
2636 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
2637 format.
2638
26391997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2640
2641 * bgp_term.c (term_parse): add command : show asstat, show ashash
2642 * bgp_aspath.c: aspath_cmp bug fix
2643 (aspath_print_all): add aspath_print_all ();
2644 * bgp_peer.h: delete rlist element from struct peer.
2645
26461997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2647
2648 * bgp_aspath.c: completely rewritten.
2649 * bgp_aspath.h: completely rewritten.
2650 add AsPath, AsSegment structure
2651 add AS_SET treatment
2652 change Hash codes
2653
26541997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2655
2656 * bgp_attr.h: add Attribute flags defines
2657 * bgp_route.c: delete rlist related functions
2658 * bgp_aspath.c (as_origin): add as_origin function
2659 (aspath_print): move from bgp_dump.c and add support of AS_SET
2660 change Hash related function names.
2661
26621997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2663
2664 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
2665
26661997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2667
2668 * bgp_aspath.c (as_sort): add function as_sort
2669 * bgp_aspath.h: add IBGP, EBGP
2670