blob: 6dc1e7e01286ab77fa090388db4ecfba196e3ef2 [file] [log] [blame]
hasso68118452005-04-08 15:40:36 +000012005-04-08 Martin Ling <martin-quagga@earth.li>
2
3 * bgp_aspath.[ch], bgp_route.c, bgp_vty.c, bgpd.[ch]: Allow to enable
4 the length of confederation path segments to be included during the
5 as-path length check in the best path decision.
6
ajsd2fc8892005-04-02 18:38:43 +000072005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
8
9 * bgp_zebra.c: (bgp_interface_delete) After deleting, set ifp->ifindex
10 to IFINDEX_INTERNAL.
11
hasso6cf159b2005-03-21 10:28:14 +0000122005-03-21 Hasso Tepper <hasso at quagga.net>
13
14 * bgp_route.c: Don't crash while clearing route tables if there is
15 no particular afi/safi configured.
16
hasso338b3422005-02-23 14:27:24 +0000172005-02-23 Hasso Tepper <hasso at quagga.net>
18
19 * bgp_route.c: Make reannouncing prefixes with changed attributes
20 work again.
21
hasso6ffd2072005-02-02 14:50:11 +0000222005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
23
hassodd4c5932005-02-02 17:15:34 +000024 * bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
25 transparent-nexthop" commands.
26
272005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
28
hassoc1643bb2005-02-02 16:43:17 +000029 * bgp_routemap.c: New route-map command - "match ip route-source".
30
312005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
32
hassofee6e4e2005-02-02 16:29:31 +000033 * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
34 community-list cleanup.
35
362005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
37
hasso6ffd2072005-02-02 14:50:11 +000038 * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop"
39 -> "disable-connected-check".
40
412005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
hasso93406d82005-02-02 14:40:33 +000042
43 * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
44 bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
45 graceful-restart" commands added. Show numbers of individual
46 messages in "show ip bgp neighbor" command. Final pieces of graceful
47 restart.
48
hassof4184462005-02-01 20:13:16 +0000492005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
50
hassoc9502432005-02-01 22:01:48 +000051 * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
52 capability route-refresh" commands. Route refresh capability is sent
53 anyway now. Preserve dummy deprecated commands.
54
552005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
56
hasso3d515fd2005-02-01 21:30:04 +000057 * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
58 draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
59 version" command as deprecated.
60
612005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
62
hasso0a486e52005-02-01 20:57:17 +000063 * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
64 maximum-prefix limit" feature support.
65
662005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
67
hassof4184462005-02-01 20:13:16 +000068 * bgp_nexthop.c: Improve debug.
69 * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
70 function.
71 * bgp_packet.c: MP AFI_IP update and withdraw parsing.
72 * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
73 is better place to log about peer status change than bgp_event().
74 Log in bgp_connect_success().
75 * bgp_vty.c: Fix typo in comment.
76 * bgp_attr.c: Better log about unknown attribute.
77
ajs3b8b1852005-01-29 18:19:13 +0000782005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
79
80 * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
81 of buffer_getstr.
82 * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
83 returned by buffer_getstr.
84 (bgp_show_community) Must use XFREE instead of free on string
85 returned by buffer_getstr.
86 * bgp_routemap.c: (set_community) Must use XFREE instead of free
87 on string returned by buffer_getstr.
88 * bgp_vty.c: (neighbor_description) Use argv_concat instead of
89 buffer_getstr.
90
hasso6d694292005-01-24 09:29:42 +0000912005-01-24 Hasso Tepper <hasso at quagga.net>
92
93 * bgp_route.c: Fix showstopper bug. New route must be selected also
94 if old one is flaged as BGP_INFO_ATTR_CHANGED.
95
hassof1271652005-01-17 11:04:32 +0000962005-01-17 Hasso Tepper <hasso at quagga.net>
97
98 * bgp_route.c: Clear peer's routing table regardless whether it's
99 configured or not. Being not configured is even better reason to
100 do it.
101
paula24a7e12005-01-05 08:14:13 +00001022005-01-05 Paul Jakma <paul@dishone.st>
103
104 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
105 this should be generalised. See bugzilla #102. Fix supplied by
106 wawa@yandex-team.ru (Vladimir Ivanov).
107
ajsd2c1f162004-12-08 21:10:20 +00001082004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
109
110 * *.c: Change level of debug messages to LOG_DEBUG.
111
ajs274a4a42004-12-07 15:39:31 +00001122004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
113
114 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
115
ajs887c44a2004-12-03 16:36:46 +00001162004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
117
118 * bgp_main.c: (sigint) Use zlog_notice for termination message.
119 (main) Use zlog_notice for startup announcement.
120
hassoc0652302004-11-25 19:33:48 +00001212004-11-25 Hasso Tepper <hasso at quagga.net>
122
123 * bgp_main.c: Make group to run as configurable.
124
paul59320202004-11-09 01:54:03 +00001252004-11-09 Paul Jakma <paul@dishone.st>
126
127 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
128 and cache{1,2}.. into arrays of tables and hence collapse
129 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
130 a long time ago (and this change was hand-merged).
131
ajs5a646652004-11-05 01:25:55 +00001322004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
133
134 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
135 is deprecated because the output did not represent a single point
136 in time. All output needs to be generated inline and buffered
137 by the library code.
138 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
139 flap_route_vty_out) Remove code to count number of lines of output,
140 since this was only useful for VTY_CONTINUE behavior.
141 (bgp_show_callback,vty_calc_line) Removed.
142 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
143 As a result, there's a new output_arg argument to this function.
144 Make function static.
145 (bgp_show) Make function static and add a new output_arg argument.
146 Change all functions that call bgp_show or bgp_show_table to
147 pass the new output_arg argument (that used to be passed inside
148 vty->output_arg).
149 * bgp_mplsvpn.c: Remove declarations of functions defined in
150 bgp_route.c; these declarations belong in bgp_route.h.
151 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
152 and in bgp_mplsvpn.c.
153
paula2b1ecd2004-10-31 18:58:09 +00001542004-10-31 Paul Jakma <paul@dishone.st>
155
156 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
157
paul98f51632004-10-25 14:19:15 +00001582004-10-25 Paul Jakma <paul@dishone.st>
159
160 * Update with fix in debian bug id 222930.
161 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
162 bgp_network.c: (....) raise/lower privs around call to
163 SO_BINDTODEVICE sockopt.
164
hasso3fb9cd62004-10-19 19:44:43 +00001652004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
166
167 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
168 may be NULL.
169 (bgp_connected_delete) ditto.
170
hasso501ba492004-10-13 21:32:46 +00001712004-10-14 Hasso Tepper <hasso at quagga.net>
172
173 * bgp_dump.c: Make dump configuration appear in vtysh.
174
hassoc75105a2004-10-13 10:33:26 +00001752004-10-13 Hasso Tepper <hasso at quagga.net>
176
177 * bgp_snmp.c: Remove defaults used to initialize smux connection to
178 snmpd. Connection is initialized only if smux peer is configured.
hasso8b3126b2004-10-13 20:59:04 +0000179 * bgp_view.c: It's dead file. Reomved.
hassoc75105a2004-10-13 10:33:26 +0000180
paulfd79ac92004-10-13 05:06:08 +00001812004-10-13 Paul Jakma <paul@dishone.st>
182
183 * (global) more const'ification and fixups of types to clean up code.
184 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
185 should use something like the VTY_GET_INTEGER macro, but without
186 the vty_out bits..
187 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
188 (no_set_aggregator_as) ditto.
189 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
190 returned, add comments about troublesome return value.
191
hasso18a6dce2004-10-03 18:18:34 +00001922004-10-03 James R. Leu <jleu at mindspring.com>
193
194 * bgp_vty.c: Router id from zebra can be manually overriden.
195 * bgp_zebra.c: Read router id related messages from zebra daemon.
196 Remove own code related with router id selection.
197 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
198 from zebra daemon if it isn't manually overriden.
199
hassoc9e52be2004-09-26 16:09:34 +00002002004-09-26 Hasso Tepper <hasso at quagga.net>
201
202 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
203
hasso52dc7ee2004-09-23 19:18:23 +00002042004-09-23 Hasso Tepper <hasso at quagga.net>
205
206 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
207
paule01f9cb2004-07-09 17:48:53 +00002082004-07-09 Paul Jakma <paul@dishone.st>
209
210 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
211 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
212 attributes present before printing.
213 * bgp_dump.c: update bgp_dump_attr prototype.
214 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
215 of bgp_dump_attr. Log end-of-rib UPDATEs.
216
paulf5ba3872004-07-09 12:11:31 +00002172004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
218
219 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
220 if that is connection we're closing.
221 (bgp_read) invalid marker check applies to KEEPALIVE too.
222 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
223
paul5228ad22004-06-04 17:58:18 +00002242004-06-04 Paul Jakma <paul@dishone.st>
225
226 * type mismatch fixes
227
hasso538621f2004-05-21 09:31:30 +00002282004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
229
230 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
231 Graceful restart capability display.
232
hasso3950fda2004-05-20 10:22:49 +00002332005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
234
235 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
236
hasso4372df72004-05-20 10:20:02 +00002372004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
238
239 * bgp_ecommunity.c: Transit ecommunity support.
240 * bgp_ecommunity.c: Fix for unknown community crush.
241
hassoe0701b72004-05-20 09:19:34 +00002422005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
243
244 * *: Maximum prefix threshold support.
245 * *: Reset notification fixups.
246
paul0a589352004-05-08 11:48:26 +00002472004-05-08 Paul Jakma <paul@dishone.st>
248
249 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
250 (bgp_interface_address_delete) ditto.
251 (bgp_zebra_announce) ditto.
252 (bgp_zebra_withdraw) ditto.
253
paulc5317402004-05-03 13:25:06 +00002542004-05-03 Daniel Roesen <dr@cluenet.de>
255
256 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
257 Established so that it reflects true downtime (rather time
258 since last transition, eg Active->Idle)
259
paul35be31b2004-05-01 18:17:04 +00002602004-05-01 rivo nurges <rix@estpak.ee>
261
262 * bgp_route.c: fix UNH IOL BGP-4.1.12f
263
pauleb821182004-05-01 08:44:08 +00002642004-05-01 Paul Jakma <paul@dishone.st>
265
266 * Revert the attempted clean-up of the dummy peer hack, reverts
267 patchsets 435 (see 2004-02-17 below) and 456.
268
paul545acaf2004-04-20 15:13:15 +00002692004-04-16 rivo nurges <rix@estpak.ee>
270
hasso9b87e412004-04-20 16:54:49 +0000271 * bgpd.h, bgp_debug.c: update cease subcodes to
272 draft-ietf-idr-cease-subcode-05
paul545acaf2004-04-20 15:13:15 +0000273 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
274
paul6ad23f02004-02-17 19:45:10 +00002752004-02-17 Paul Jakma <paul@dishone.st>
276
277 * bgpd.h: (bgp_peer) add fd_local and fd_accept
278 file descriptor's, fd becomes a pointer to one of these.
279 * bgpd.c: (global) adjust for fact that fd is now a pointer.
280 (peer_create_accept) removed.
281 * bgp_route.c: (global) adjust for change of peer fd to pointer
282 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
283 "replace with other peer" hack.
284 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
285 Update peer->fd_accept instead.
286 (global) Adjust fd references - now a pointer.
287 * bgp_fsm.c: (global) adjust peer fd to pointer.
288 (bgp_connection_stop) new function, to stop connection.
289 (global) adjust everything which closed peer fd to use
290 bgp_connection_stop().
291
gdt10d60ad2003-12-23 17:34:39 +00002922003-12-23 Krzysztof Oledzki <oleq@ans.pl>
293
294 * bgp_network.c: drop privs on error cases
295
paul6ad23f02004-02-17 19:45:10 +00002962003-08-11 kunihiro <kunihiro@zebra.org>
paulac41b2a2003-08-12 05:32:27 +0000297
298 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
299 ability to specify 'peer-address' rather than IP.
300
paul9238b1e2003-06-11 08:03:08 +00003012003-06-09 Paul Jakma <paul@dishone.st>
302
303 * bgp_clist.c (community_list_delete): honour deny statements
304
paul445f1432003-05-16 19:00:31 +00003052003-04-19 Hasso Tepper <hasso@estpak.ee>
306
307 * rip_routemap.c: sync daemon's route-map commands to have same
308 syntax
309
3102003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
311
312 * bgp_routemap.c: Add match extcommunity command.
313
paul718e3742002-12-13 20:15:29 +00003142002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
315
316 * bgp_aspath.c (aspath_init): Extend hash size from default to
317 32767.
318 (aspath_key_make): Use unsigned shoft for making hash. Suggested
319 by: Marc Evans <Marc@SoftwareHackery.Com>
320
3212002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
322
323 * bgp_clist.c (community_entry_free): Fix memory leak of standard
324 extcommunity-list config string.
325
3262002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
327
328 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
329 when multiple instance is used.
330
3312002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
332
333 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
334 available in peer-group configuration.
335
3362002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
337
338 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
339 capability packet cause error or dont-capability-negotiate option
340 is specified.
341
3422002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
343
344 * zebra-0.93 released.
345
3462001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
347
348 * bgpd.c (bgp_vty_init): Translate update commands are removed.
349
3502001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
351
352 * bgp_route.c (bgp_static_set): Add workaround for BGP static
353 route announcement when there is no zebra running.
354
3552001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
356
357 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
358 unicast multicast" commands.
359
3602001-09-14 Akihiro Mizutani <mizutani@dml.com>
361
362 * bgp_open.c: When we receive capability route-refresh, we should
363 check we send the capability not we receive the capability.
364
365 * bgp_route.c (bgp_network_mask_natural_route_map): network
366 statement route-map is added.
367
3682001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
369
370 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
371 before looking up hash table.
372
3732001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
374
375 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
376 peer.
377
3782001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
379
380 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
381 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
382
3832001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
384
385 * bgp_table.c (bgp_node_create): Clearn memory before use it.
386
3872001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
388
389 * Change to use bgp_table.[ch].
390
3912001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
392
393 * bgpd.c (bgp_init): Add "transparent-as" and
394 "transparent-nexthop" for old version compatibility.
395
3962001-08-23 Akihiro Mizutani <mizutani@dml.com>
397
398 * bgpd.h (struct peer): default-originate route-map is added.
399
400 * bgp_route.c: When self originated route is advertised with
401 attrubute-unchanged, nexthop was not properly set. This bug is
402 fixed.
403
4042001-08-22 Akihiro Mizutani <mizutani@dml.com>
405
406 * bgpd.c (neighbor_attr_unchanged): transparent-as and
407 transparent-next-hop commands are restructured. Instead of
408 current transparent-* commands, attribute-unchanged command is
409 introduced.
410
411 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
412
413 (neighbor_default_originate): "default-originate" configuration
414 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
415
4162001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
417
418 * zebra-0.92a released.
419
4202001-08-19 Akihiro Mizutani <mizutani@dml.com>
421
422 * bgpd.c: AF specific soft-reconfiguration inbound commands are
423 added.
424
4252001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
426
427 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
428
429 * bgp_community.c (community_cmp): Add check for commnunity NULL
430 check.
431
432 * bgp_routemap.c (route_match_community): Do not check comunity is
433 NULL. It may match to community-list "^$".
434
435 * bgp_community.c (community_match): Add check for community is
436 NULL case.
437
4382001-08-17 Akihiro Mizutani <mizutani@dml.com>
439
440 * bgpd.c: AF specific route-reflector-client and
441 route-server-client configuration are added.
442
4432001-08-17 Rick Payne <rickp@ayrnetworks.com>
444
445 * bgp_clist.c (community_match_regexp): Check special ^$ case.
446
4472001-08-17 Akihiro Mizutani <mizutani@dml.com>
448
449 * bgp_clist.c (community_list_match): Fix bug of community list
450 permit and deny check.
451
4522001-08-16 Akihiro Mizutani <mizutani@dml.com>
453
454 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
455 command.
456
4572001-08-15 Akihiro Mizutani <mizutani@dml.com>
458
459 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
460 flag is introduced.
461
462 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
463
4642001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
465
466 * zebra-0.92 released.
467
4682001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
469
470 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
471 table properly.
472
4732001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
474
475 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
476 (bgp_config_write_network_vpnv4): VPNv4 static configuration
477 display.
478
4792001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
480
481 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
482 node filter commands.
483
4842001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
485
486 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
487 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
488 IPv6.
489
4902001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
491
492 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
493 multicast" is added.
494 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
495 added.
496
4972001-08-07 Akihiro Mizutani <mizutani@dml.com>
498
499 * bgp_route.c (bgp_process): Use flag instead of as_selected
500 memeber in struct bgp_info.
501
502 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
503 struct bgp_info.
504
5052001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
506
507 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
508 check code with #ifdef BGP_SEND_ASPATH_CHECK.
509
5102001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
511
512 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
513
514 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
515 information is alive or not.
516
517 * bgp_community.c: Use community_val_get() on all OS.
518
5192001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
520
521 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
522 check.
523
5242001-07-24 Akihiro Mizutani <mizutani@dml.com>
525
526 * bgp_route.c (bgp_announce_check): To route server clients, we
527 announce AS path, MED and nexthop transparently.
528
5292001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
530
531 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
532 XFREE. No memory is allocated in
533 route_set_atomic_aggregate_compile().
534
5352001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
536
537 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
538 are replaced by `address-family ipv4` and `address-family vpnvr'.
539
5402001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
541
542 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
543 Reported by Rick Payne <rickp@rossfell.co.uk>.
544
5452001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
546
547 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
548 empty, use socket's remote address for the nexthop.
549
5502001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
551
552 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
553 <Yosi_Yarchi@KereniX.com>
554
5552001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
556
557 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
558 <Yosi_Yarchi@KereniX.com>
559
5602001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
561
562 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
563 of ri->next.
564
565 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
566 when HAVE_IPV6 is not defined.
567
5682001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
569
570 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
571 than holdtime / 3.
572 (bgp_confederation_peers_unset): Only set peer->local_as when
573 confederation is enabled.
574 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
575
576 * bgp_route.c (bgp_announce_check): Set med of redistributed route
577 when it is announced to EBGP peer.
578
5792001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
580
581 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
582 all prefixes.
583
5842001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
585
586 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
587 erroneous attribute (type, length and value), it does include
588 attribute flags field.
589
5902001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
591
592 * bgp_route.c (bgp_announce_check): The route reflector is not
593 allowed to modify the attributes of the reflected IBGP routes.
594
5952001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
596
597 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
598 confederation peer is treated as same as IBGP peer.
599
6002001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
601
602 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
603 attr. Call aspath_unintern when return from this function.
604
6052001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
606
607 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
608 changed.
609
6102001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
611
612 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
613 do not refrect the value to current session.
614
6152001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
616
617 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
618 suppress route withdraw.
619
620 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
621
6222001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
623
624 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
625 AS_SET and AS_CONFED_SET.
626
6272001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
628
629 * bgp_route.c (bgp_process): Do not consider suppress route.
630
631 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
632 aspath->data is realloced.
633
6342001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
635
636 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
637 aggregate when using as-set.
638
6392001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
640
641 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
642 correctly.
643
644 * bgp_route.c (bgp_update): Just ignore AS path loop for
645 confederation peer.
646
6472001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
648
649 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
650 (bgp_aggregate_unset): Remove summary_only argument.
651 (aggregate_address_as_set): New commands.
652 "aggregate-address A.B.C.D/M as-set"
653 "no aggregate-address A.B.C.D/M as-set"
654
6552001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
656
657 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
658 route is passed by route reflector.
659
6602001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
661
662 * bgp_route.c: "no bgp dampening" with argument.
663 (bgp_announce_check): Do not modify nexthop when the route is
664 passed by route reflector.
665
6662001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
667
668 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
669 ASN passive" to "neighbor NEIGHBOR passive".
670 (bgp_announce_check): Check well-known community attribute even
671 when "no neighbor send-community" is set.
672
6732001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
674
675 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
676 time when keepalive timer is configured as zero.
677
6782001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
679
680 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
681 preference is well-known attribute.
682
6832001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
684
685 * zebra-0.91 is released.
686
687 * bgp_attr.h (struct attr): Comment out DPA value.
688 (struct attr): Change refcnt type from int to unsinged long.
689
690 * bgp_attr.c (attrhash_key_make): Likewise.
691 (attrhash_cmp): Likewise.
692 (bgp_attr_dpa): Likewise.
693
6942001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
695
696 * bgp_route.c (bgp_info_cmp): Make route selection completely same
697 as Cisco's.
698
6992001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
700
701 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
702 BGP_ATTR_FLAG_* to clarify meenings.
703
7042001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
705
706 * bgp_route.c (route_vty_out): Display argument to suppress same
707 prefix information display.
708 (route_vty_out_route): Don't display mask information for
709 classfull network.
710
7112001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
712
713 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
714
715 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
716 check.
717
7182001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
719
720 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
721 (bgp_attr_parse): Comment out well-known attribute check.
722
7232001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
724
725 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
726 used for network advertisement.
727 (nlri_parse): When link-local IPv6 address NLRI comes from
728 remote-peer, log the information then simply ignore it.
729
730 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
731 redistributed.
732
733 * bgp_route.c (bgp_update): Check IPv6 global nexthop
734 reachability.
735
7362001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * bgp_route.c (bgp_update): Check nexthop points local address or
739 not.
740 (bgp_static_update_vpnv4): Set valid flag.
741
742 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
743 (bgp_attr_parse): Well-known attribute check.
744
745 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
746
747 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
748
749 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
750 defined.
751
752 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
753
7542001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * bgpd.c (bgp_network_import_check): New command for IGP network
757 check.
758
7592001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
762 changed. Call bgp_process once for each node.
763
7642001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
765
766 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
767
7682001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
769
770 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
771
772 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
773 IBGP route.
774
7752001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
776
777 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
778 "show ip bgp A.B.C.D/M longer-prefixes"
779 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
780 "show ipv6 bgp X:X::X:X/M longer-prefixes"
781 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
782
7832001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
784
785 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
786 "show ip bgp cidr-only"
787 "show ip bgp ipv4 (unicast|multicast) cidr-only"
788
7892001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
790
791 * bgp_route.c (bgp_update): AS path lookup check is done in
792 bgp_update() not in attr_parse().
793
7942001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
797 before bgp_attr_unintern().
798
7992001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
800
801 * bgp_route.c (bgp_update): Now intern is performed very last part
802 of the BGP packet update procedure.
803
8042001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
805
806 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
807 existing bgp_info structure.
808
8092001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
812 address matching method.
813 (bgp_update):
814
815 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
816 check and IBGP nexthop route check.
817
8182001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
819
820 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
821 change.
822
8232001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
824
825 * bgp_route.h (struct bgp_info): Remove selected flag. Use
826 BGP_INFO_SELECTED for flags instead.
827 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
828 flags instead.
829 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
830 metric.
831 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
832 struct bgp_info.
833 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
834
835 * bgp_community.c (community_val_get): gcc-2.95 on
836 sparc-sun-solaris cause crush. This function is for avoid the
837 crush.
838
8392001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
842 clear bug is fixed.
843
8442001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
845
846 * bgp_packet.c (bgp_open_receive): Return notification with
847 supported version number.
848
8492001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
850
851 * bgpd.c (bgp_show_summary): Display AS path and community
852 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
853
854 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
855 read. When BGP packet read is partial, we must get size and type
856 from packet again.
857
8582001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
859
860 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
861 (bgp_update): When there is a history entry increment route count.
862 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
863
864 * bgp_damp.c (bgp_damp_withdraw): Set status to
865 BGP_DAMP_DISCONTINUE.
866
8672001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
868
869 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
870 IPv6 nexthop is not link-local addresss.
871
8722001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
873
874 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
875 configuration display.
876 (bgp_damp_info_print): Display elapsed time from flap started.
877
878 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
879
880 * bgpd.c (peer_create): Set last read time.
881 (bgp_show_peer): Display last read time.
882 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
883 configuration.
884
885 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
886 (struct peer): Add last read time member.
887 (BGP_VERSION_MP_4): Remove obsolete definition.
888
8892001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
890
891 * bgp_nexthop.c: Remove OLD_RIB codes.
892
893 * bgp_route.c (bgp_process): Likewise.
894
895 * zebra-0.90 is released.
896
897 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
898 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
899 (struct bgp_info): Remove invalid member from struct bgp_info.
900 Instead of that use BGP_INFO_HISTORY flag.
901
9022001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
903
904 * bgp_damp.c (bgp_damp_info_print): New function to display
905 dampening status.
906 (DEFAULT_HARF_LIFE): Define default value.
907 (DEFAULT_REUSE): Likewise.
908 (DEFAULT_SUPPRESS): Likewise.
909 (bgp_config_write_damp): When config value is same as default
910 value, simply display "bgp dampening" to configuration.
911
912 * bgp_damp.h (struct bgp_damp_info): Add flap member.
913
914 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
915 history status.
916
9172001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
920 address is properly handled.
921 (bgp_connected_delete): Likewise.
922
923 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
924 until it works fine.
925
9262001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
927
928 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
929
930 * bgp_route.c (bgp_update): When this is not damped route, clear
931 ri pointer.
932
9332001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
934
935 * bgp_main.c: Add "-n" no_kernel option to not install route to
936 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
937
9382001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
939
940 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
941 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
942
943 * bgp_damp.c (bgp_config_write_damp): Add configuration display
944 function.
945
946 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
947 information when BGP info structure is freed.
948 (bgp_info_cmp): Check damped flag.
949 (bgp_announce_check): Damped route is not announced.
950
9512001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
952
953 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
954 route-refresh" command to "neighbor capability route-refresh".
955 (clear_bgp_soft_in): Change soft-reconfig method.
956
957 clear ip bgp <neighbor> soft in
958 --------------------------------------
959 Try stored cache first then route-refresh
960
961 clear ip bgp <neighbor> in
962 ---------------------------------
963 Try route-refresh first then try to use stored cache
964
9652001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
968 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
969
9702001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
973 changed, refresh it.
974
9752001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
976
977 * bgp_route.h (struct bgp_info_tag): Add as_selected to
978 bgp_info_tag.
979
9802001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
981
982 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
983 member for BGP flap dampening.
984
985 * bgp_damp.c: New file is added.
986
987 * bgp_damp.h: Likewise.
988
9892001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
992
9932000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
994
995 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
996 socket for zebra communication.
997
9982000-12-29 Akihiro Mizutani <mizutani@dml.com>
999
1000 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
1001
10022000-12-27 Akihiro Mizutani <mizutani@dml.com>
1003
1004 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
1005
10062000-12-25 Akihiro Mizutani <mizutani@dml.com>
1007
1008 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
1009
10102000-12-18 Akihiro Mizutani <mizutani@dml.com>
1011
1012 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
1013 withdrawing best prefix perform router ID comparison.
1014
10152000-12-15 Akihiro Mizutani <mizutani@dml.com>
1016
1017 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
1018 routes comes from EBGP peer. When originator ID is same, take
1019 shorter cluster-list route. If cluster-list is same take smaller
1020 IP address neighbor's route.
1021
1022 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
1023 ignore" command. When this option is set, do not concider AS path
1024 length when route selection.
1025 (bgp_bestpath_compare_router_id): Add "bgp bestpath
1026 compare-routerid". When this option is set, compare router ID
1027 when the routes comes from EBGP peer.
1028
10292000-12-15 Akihiro Mizutani <mizutani@dml.com>
1030
1031 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
1032 available.
1033
10342000-12-14 Akihiro Mizutani <mizutani@dml.com>
1035
1036 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
1037 information.
1038
10392000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1040
1041 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
1042 it sure the memory is freed.
1043
1044 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
1045 HAVE_IPV6.
1046
10472000-12-08 Akihiro Mizutani <mizutani@dml.com>
1048
1049 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
1050 data part.
1051
1052 * bgp_network.c (bgp_accept): When BGP connection comes from
1053 unconfigured IP address, close socket immediately.
1054
1055 * bgpd.c: Fix some display format.
1056
10572000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1058
1059 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
1060 bgp_packet_set_size () call.
1061
10622000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * bgp_packet.c (bgp_read_packet): Remove debug codes.
1065
10662000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1067
1068 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
1069
1070 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
1071 status.
1072 (bgp_establish): Likewise.
1073
10742000-11-26 Akihiro Mizutani <mizutani@dml.com>
1075
1076 * bgp_open.c: Fix error messages.
1077
10782000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1079
1080 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
1081 established.
1082 (bgp_stop): Call BGP trap when the peer is dropped.
1083
10842000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1085
1086 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
1087
1088 * bgpd.h (struct peer): Add update_time for track last update
1089 received time.
1090
1091 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
1092 code in any case.
1093
1094 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
1095 peering IP address.
1096 (bgpPeerTable): Return actual BGP version number.
1097
10982000-11-22 Akihiro Mizutani <mizutani@dml.com>
1099
1100 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1101 is fixed.
1102
11032000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1106 zebra is enabled, use the method.
1107
11082000-11-16 Akihiro Mizutani <mizutani@dml.com>
1109
1110 * bgpd.c: Revise debug message output.
1111
11122000-11-15 Akihiro Mizutani <mizutani@dml.com>
1113
1114 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1115
11162000-11-14 Akihiro Mizutani <mizutani@dml.com>
1117
1118 * bgp_community.c (community_match): Fix bug of memcmp return
1119 value check.
1120
11212000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * bgp_clist.c (community_list_match_exact): Add check for
1124 entry->style is COMMUNITY_LIST.
1125 (community_match_regexp): Apply new com_nthval macro.
1126
11272000-11-07 Rick Payne <rickp@rossfell.co.uk>
1128
1129 * bgp_routemap.c (route_set_community_delete): "set
1130 community-delete COMMUNITY-LIST" is added.
1131
1132 * bgp_community.c (community_del_val): Delete one community.
1133 (community_delete): Delete all community included in list.
1134 (community_match): Fix bug of matching community value.
1135
1136 * bgp_clist.c (community_entry_free): Free community regular
1137 expression.
1138 (community_entry_make): Default style is COMMUNITY_LIST.
1139 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1140 (community_entry_regexp_lookup): New function for community
1141 regular expression lookup.
1142 (community_match_regexp): New function.
1143 (community_delete_regexp): New function.
1144 (community_list_delete_entries): New function.
1145 (community_list_match): Add COMMUNITY_REGEXP treatment.
1146 (community_list_match_exact): Likewise.
1147 (config_write_community): Write community list according to
1148 entry->style.
1149
11502000-11-07 Rick Payne <rickp@rossfell.co.uk>
1151
1152 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1153
1154 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1155 community_entry.
1156
11572000-11-06 Rick Payne <rickp@rossfell.co.uk>
1158
1159 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1160
1161 * bgpd.c (bgp_enforce_first_as): New command "bgp
1162 enforce-first-as".
1163
1164 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1165
11662000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1167
1168 * bgp_community.c (community_compare): Copy byte stream data to
1169 actual value instead of using type casting hack.
1170 (community_add_val): Likewise.
1171 (community_uniq_sort): Likewise.
1172 (community_print): Likewise.
1173 (community_print_vty): Likewise.
1174 (community_include): Use memcmp to compare community value.
1175
1176 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1177 return pointer.
1178
11792000-11-06 Akihiro Mizutani <mizutani@dml.com>
1180
1181 * bgpd.h (struct peer): Add established and dropped member for
1182 count peering up/down statistics.
1183
1184 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1185
1186 * bgp_fsm.c (bgp_establish): Increment established count.
1187 (bgp_stop): Increment dropped count.
1188
1189 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1190
11912000-11-1 Akihiro Mizutani <mizutani@dml.com>
1192
1193 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1194
11952000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1196
1197 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1198
11992000-10-24 Akihiro Mizutani <mizutani@dml.com>
1200
1201 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1202 format fix.
1203
12042000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1205
1206 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1207 (bgp_serv_sock_addrinfo): Check address family.
1208
12092000-10-23 Jochen Friedrich <jochen@scram.de>
1210
1211 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1212 is registered. So those variables must be static.
1213
12142000-10-23 Akihiro Mizutani <mizutani@dml.com>
1215
1216 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1217 next-hop" argument from IP address to access-list name.
1218 Remove zebra-0.88 compatibility commands.
1219 "match ip prefix-list WORD"
1220 "match ipv6 prefix-list WORD"
1221
12222000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1223
1224 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1225 passing the pointer to the pointer of struct in6_addr instead of
1226 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1227
1228 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1229 HAVE_IPV6.
1230
12312000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1232
1233 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1234 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1235
12362000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1237
1238 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1239 should be done by attr->nexthop.s_addr instead of strcmp.
1240
12412000-10-18 Akihiro Mizutani <mizutani@dml.com>
1242
1243 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1244 bgp_redistribute_add().
1245
1246 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1247 checking IPv4 multiaccess nexthop.
1248
1249 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1250 reachable on multiaccess media, do not change nexthop.
1251 (bgp_redistribute_add): Set nexthop when the value is passed.
1252
12532000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1254
1255 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1256 connect timer.
1257 (bgp_start): If the peer is passive mode, force to move to Active
1258 mode.
1259
12602000-10-17 Horms <horms@vergenet.net>
1261
1262 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1263
12642000-10-17 Akihiro Mizutani <mizutani@dml.com>
1265
1266 * bgp_route.c: "show ipv6 bgp" route display improvement.
1267
12682000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1269
1270 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1271 function.
1272 (bgp_show_neighbor_route): Remove static declaration for union
1273 sockunion.
1274
1275 * bgpd.c (peer_update_source_set): Clean previously allocated
1276 memory before allocate new one.
1277
12782000-10-03 Akihiro Mizutani <mizutani@dml.com>
1279
1280 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1281 command.
1282 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1283 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1284 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1285 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1286
12872000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1288
1289 * zebra-0.89 is released.
1290
12912000-10-02 Akihiro Mizutani <mizutani@dml.com>
1292
1293 * bgpd.c: "bgp deterministic-med" command is added.
1294
12952000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1296
1297 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1298 route addition and deletion.
1299
13002000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1303 when comparing leftmost AS number.
1304
13052000-09-29 Akihiro Mizutani <mizutani@dml.com>
1306
1307 * bgpd.c (peer_route_reflector): Route reflector can be set for
1308 IBGP peer.
1309 (bgp_distribute_set): Fix bug of string check for (in|out).
1310 (bgp_show_summary): Display total neighbor count.
1311
13122000-09-28 Akihiro Mizutani <mizutani@dml.com>
1313
1314 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1315 originator for clinet to client routes.
1316 (bgp_packet_attribute): Add new cluster_list to the beginning of
1317 existing cluster_list.
1318 (bgp_packet_attribute): Fix bug of originator is rewritten even
1319 when originator is already set.
1320
13212000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1322
1323 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1324 "no bgp client-to-client reflection"
1325 "bgp client-to-client reflection"
1326
1327 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1328
13292000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1330
1331 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1332 read.
1333 (bgp_read_packet): Likewise.
1334 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1335
1336 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1337
13382000-09-26 Akihiro Mizutani <mizutani@dml.com>
1339
1340 * bgp_routemap.c: Configuration of prefix-list match is shown as
1341 "match ip address prefix-list <WORD>". Old configuration "match
1342 ip prefix-list <WORD>" is left for compatibilitty.
1343
13442000-09-25 Akihiro Mizutani <mizutani@dml.com>
1345
1346 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1347 BGP_CONFIG_MISSING_AS_WORST.
1348
1349 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1350 Old "bgp bestpath missing-as-worst"
1351 New "bgp bestpath med missing-as-worst"
1352
13532000-09-24 Akihiro Mizutani <mizutani@dml.com>
1354
1355 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1356
13572000-09-21 steve@Watt.COM (Steve Watt)
1358
1359 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1360 term_bgp_debug_*.
1361
1362 * bgp_debug.c: Declare variables here.
1363
13642000-09-21 Akihiro Mizutani <mizutani@dml.com>
1365
1366 * bgpd.c: MBGP soft-reconfiguration command is added.
1367 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1368 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1369 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1370 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1371 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1372 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1373 clear ip bgp * ipv4 (unicast|multicast) in
1374 clear ip bgp * ipv4 (unicast|multicast) out
1375 clear ip bgp * ipv4 (unicast|multicast) soft
1376
1377 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1378 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1379
1380 "bgp bestpath med confed" command is added.
1381
1382 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1383
13842000-09-18 Rick Payne <rickp@rossfell.co.uk>
1385
1386 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1387
13882000-09-12 Akihiro Mizutani <mizutani@dml.com>
1389
1390 * bgpd.c (bgp_default_local_preference): Add "bgp default
1391 local-preference" command.
1392
1393 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1394 command.
1395
13962000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1397
1398 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1399 are passed to zebra like IBGP route.
1400
14012000-09-10 Akihiro Mizutani <mizutani@dml.com>
1402
1403 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1404 configuration.
1405
1406 * bgp_route.c: Community match command is added.
1407 "show ip bgp community <val>"
1408 "show ip bgp community <val> exact-match"
1409
14102000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1411
1412 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1413 treated as IBGP routes.
1414
14152000-09-08 Akihiro Mizutani <mizutani@dml.com>
1416
1417 * bgp_route.c (bgp_show_route): When local-AS community route is
1418 selected, display "not advertised outside local AS" to "show ip
1419 route A.B.C.D" output.
1420 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1421 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1422 "show ip bgp ipv4 (unicast|multicast) community"
1423 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1424 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1425
1426 * bgp_clist.c (community_list_match_exact): Community exact match
1427 function.
1428
14292000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1430
1431 * bgp_route.c (bgp_update): Add peer's ttl check.
1432
1433 * bgpd.h (struct peer): Structure member refresh is renamed to
1434 refresh_adv.
1435
1436 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1437 when soft reconfiguration is performed.
1438
1439 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1440 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1441
1442 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1443
14442000-08-25 Akihiro Mizutani <mizutani@dml.com>
1445
1446 * bgpd.c: Add AS base BGP soft reconfiguration.
1447
1448 * bgp_route.c: When no-advertise or no-export route is selected,
1449 "show ip bgp" display "not advertised to EBGP peer" or "not
1450 advertised to any peer" message.
1451
14522000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1453
1454 * zebra-0.88 is released.
1455
1456 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1457 bgp route-mrt" to support MRT specific dump format.
1458
1459 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1460 added.
1461
1462 * bgp_route.c (bgp_update): Currently nexthop check is only works
1463 for IPv4.
1464
14652000-08-17 Akihiro Mizutani <mizutani@dml.com>
1466
1467 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1468 both inbound and outbound soft reconfiguration.
1469
14702000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1473 outbound.
1474 (peer_new): Set route-refresh flag.
1475
14762000-08-16 Akihiro Mizutani <mizutani@dml.com>
1477
1478 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1479 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1480 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1481 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1482 bgp * in" alias is added.
1483
14842000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1487 is set do not install the route into Adj-RIBs-In.
1488 (bgp_update): Perform implicit withdraw before filtering of the
1489 route.
1490
1491 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1492 capability code and BGP message can be accepted.
1493
1494 * bgp_open.c (bgp_capability_parse): Likewise.
1495
1496 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1497 (bgp_refresh_rib): Likewise.
1498
1499 * bgpd.c (bgp_show_peer): Display route refresh status.
1500
1501 * bgp_route.c (bgp_aggregate_add): Add check for the route
1502 validness.
1503 (bgp_aggregate_delete): Likewise.
1504
15052000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1508 route become inaccessible.
1509
15102000-08-15 Akihiro Mizutani <mizutani@dml.com>
1511
1512 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1513 command is added.
1514
15152000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * bgp_zebra.c (bgp_interface_up): Register connected route.
1518 (bgp_interface_down): Unregister connected route.
1519
15202000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1521
1522 * bgp_route.h (struct bgp_info): Add distance to the structure.
1523
1524 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1525 match to smaller prefixlen route not match same prefixlen route.
1526 (bgp_aggregate_decrement): Likewise.
1527 (bgp_aggregate_add): Likewise.
1528 (bgp_aggregate_delete): Likewise.
1529 (bgp_network_backdoor): Add backdoor network configuration.
1530
1531 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1532 configuration distance value.
1533
1534 * bgp_route.c (bgp_update): Filter EBGP route which has non
1535 connected nexthop.
1536
1537 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1538 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1539 Set aggregator AS and address.
1540 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1541 filling aggregator_as.
1542
1543 * bgp_route.c (bgp_process): Delete suppress check for install
1544 suppressed route into local routing table.
1545 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1546 of bgp_attr_default_intern ().
1547 (bgp_aggregate_add): Likewise.
1548
1549 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1550 created. This is for avoid 0.0.0.0 router-id.
1551
15522000-08-13 Akihiro Mizutani <mizutani@dml.com>
1553
1554 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1555 route is valied. Display "aggregated" when the route is
1556 aggregated. "Advertisements suppressed by an aggregate" is
1557 displayed when the route is suppressed.
1558 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1559
15602000-08-10 Akihiro Mizutani <mizutani@dml.com>
1561
1562 * bgp_route.c (route_vty_out_detail): Display format change.
1563
15642000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1565
1566 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1567
1568 * bgpd.c (bgp_delete): Delete static route before delete peer
1569 configuration.
1570
15712000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1572
1573 * bgpd.c: Include bgpd/bgp_nexthop.h.
1574
15752000-07-31 Akihiro Mizutani <mizutani@dml.com>
1576
1577 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1578 identifier. And status is changed like below.
1579
1580 State/Pref -> State/PfxRcd
1581 Shutdown -> Idle (Admin)
1582 PrefixOvflw -> Idle (PfxCt)
1583
1584 * bgp_route.c (route_vty_out): Show internal route as "i".
1585
15862000-07-13 Jim Bowen <jimb@zereau.net>
1587
1588 * bgp_snmp.c: Add BGP peer MIB implementation.
1589
15902000-07-12 Akihiro Mizutani <mizutani@dml.com>
1591
1592 * bgpd.c (bgp_show_peer): Fix typo.
1593
15942000-07-11 Akihiro Mizutani <mizutani@dml.com>
1595
1596 * bgp_routemap.c: Add commands for deleting set without argument.
1597
15982000-07-03 Akihiro Mizutani <mizutani@dml.com>
1599
1600 * bgp_zebra.c: Fix redistribute help strings.
1601
16022000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1603
1604 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
1605 output to vty at once.
1606
16072000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
1610 tag WORD" command is added.
1611
1612 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
1613
16142000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
1617
1618 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
1619 negotiation result in "show ip bgp neighbors".
1620
16212000-06-12 Akihiro Mizutani <mizutani@dml.com>
1622
1623 * bgpd.c: Fix help strings.
1624
1625 * bgpd.h: Likewise.
1626
16272000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
1630 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
1631
1632 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
1633 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
1634
1635 * bgp_route.c (bgp_static_set): Set safi to p.safi.
1636
16372000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1638
1639 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
1640 (bgp_show_regexp): Change to use bgp_show().
1641 (show_adj_route): Change to display header.
1642
1643 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
1644 is cleared manually.
1645
1646 * bgp_route.c (bgp_show_route): New function which display
1647 specific BGP route. Divided from bgp_show().
1648 (bgp_static_delete): Delete all static route.
1649
16502000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
1651
1652 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
1653 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
1654 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
1655 mbgp" and "show ipv6 mbgp".
1656
16572000-06-07 Akihiro Mizutani <mizutani@dml.com>
1658
1659 * bgp_route.c: Fix help strings and command arguments.
1660
16612000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * bgp_ecommunity.c: Include prefix.h
1664
16652000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1666
1667 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
1668 value.
1669
1670 * bgp_route.c (bgp_adj_set): table NULL check is added.
1671 (bgp_adj_unset): Likewise.
1672 (bgp_adj_lookup): Likewise.
1673 (bgp_adj_clear): Likewise.
1674 (route_vty_out): Add SAFI check for nexthop display.
1675 (bgp_withdraw): Add SAFI check for withdraw route.
1676
1677 * Remove all #ifdef MPLS_VPN then include it as default.
1678
1679 * bgpd.c: Temporary disable peer-group command until the
1680 implementation is completed.
1681
1682 * bgp_routemap.c (bgp_route_map_init): Install
1683 route_metric_match_cmd.
1684 (route_match_metric_compile): MED value compile using strtoul.
1685
16862000-06-05 Akihiro Mizutani <mizutani@dml.com>
1687
1688 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
1689 NAME to WORD.
1690
1691 * Change command argument to more comprehensive.
1692
1693 METRIC -> <0-4294967295>
1694 WEIGHT -> <0-4294967295>
1695 LOCAL_PREF -> <0-4294967295>
1696 IP_ADDR -> A.B.C.D
1697 AS -> <1-65535>
1698 AS-PATH-NAME -> WORD
1699 ACCESS_LIST -> WORD
1700 PREFIX_LIST -> WORD
1701 COMMUNITY -> AA:NN
1702 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
1703 IPv6_ADDR -> X:X::X:X
1704
1705 * bgp_clist.c: Fix help strings.
1706
17072000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * bgpd.c (peer_active): Add new function for check the peer is
1710 active or not.
1711 (neighbor_activate): New command "neighbor PEER activate" and "no
1712 neighbor PEER activate" are added.
1713
1714 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
1715
17162000-06-02 Akihiro Mizutani <mizutani@dml.com>
1717
1718 * bgp_clist.c: Fix commuity-list help strings.
1719
1720 * bgp_routemap.c: Fix "set community" help strings. Add #define
1721 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
1722
17232000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1724
1725 * bgp_routemap.c (route_set_community_none_cmd): "set community
1726 none" command is added to route-map.
1727
17282000-06-01 Akihiro Mizutani <mizutani@dml.com>
1729
1730 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
1731 debugging" is not used in VIEW_NODE.
1732
17332000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
1736 fix unconditional BGP connection.
1737
1738 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
1739 peer_change_flag_with_reset().
1740
17412000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1742
1743 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
1744 ipv4-unicast" command.
1745
1746 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
1747
1748 * bgp_filter.c (as_list_delete): Free all AS filter.
1749
1750 * bgp_clist.c (community_list_delete): Free all community entry.
1751
1752 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
1753 access-list NAME".
1754
1755 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
1756 community-list NAME".
1757
17582000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1759
1760 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
1761 routes" to "show ip bgp PEER received-routes"
1762
17632000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1764
1765 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
1766 Communities attribute.
1767 * bgp_ecommunity.h: Likewise.
1768
17692000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * bgp_mplsvpn.h: New file for MPLS-VPN.
1772 * bgp_mplsvpn.c: Likewise.
1773
1774 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
1775
17762000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
1779 missing-as-worst".
1780
17812000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * bgp_routemap.c (match_community): Clarify help of "match
1784 community".
1785
17862000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
1789
17902000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1791
1792 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
1793 from same neighboring AS.
1794
1795 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
1796
1797 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
1798
17992000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * bgp_route.c (bgp_output_filter): When distribute-list's
1802 corresponding access-list does not exist, filter all routes.
1803 (bgp_input_filter): Likewise.
1804
18052000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
1808
1809 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
1810
18112000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * bgpd.c (bgp_distribute_update): Add struct access_list *
1814 argument.
1815
18162000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1817
1818 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
1819 check.
1820
1821 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
1822
1823 * bgp_route.c (bgp_show): Fix undeclared write variable.
1824
18252000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * bgp_routemap.c: Add "match ip address prefix-list".
1828
18292000-03-29 Rick Payne <rickp@rossfell.co.uk>
1830
1831 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
1832
18332000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
1836 the peer status is Connect.
1837
18382000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1839
1840 * Fix bug of rewritten originator-id.
1841
18422000-01-27 Rick Payne <rickp@rossfell.co.uk>
1843
1844 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
1845 directly referencing array, search proper AS path delimiter.
1846 (aspath_strip_confed): Strip the confederation stuff from the
1847 front of an AS path.
1848 (aspath_add_left_confed): New function for adding specified AS to
1849 the leftmost AS_CONFED_SEQUENCE.
1850
1851 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
1852 to Cisco compatible.
1853
1854 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
1855 (bgp_confederation_id_unset): Likewise.
1856 (bgp_confederation_peers_check): Likewise.
1857 (bgp_confederation_peers_add): Likewise.
1858 (bgp_confederation_peers_remove): Likewise.
1859 (bgp_confederation_peers_set): Likewise.
1860 (bgp_confederation_peers_unset): Likewise.
1861 (bgp_confederation_peers_print): Likewise.
1862
18632000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1864
1865 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
1866
18672000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1868
1869 * bgp_open.c (bgp_open_option_parse): When there is no common
1870 capability send Unsupported Capability error to the peer.
1871
18722000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
1875 IPv6 unicast.
1876
1877 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
1878
18792000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * bgpd.c (neighbor_strict_capability): Add
1882 "strict-capability-match" command.
1883
1884 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
1885 router-id.
1886
1887 * bgpd.c (peer_override_capability): Add "override-capability"
1888 command.
1889
18901999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1891
1892 * bgp_packet.c (bgp_write): Change status to Idle and set timer
1893 after write failed.
1894
18951999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1896
1897 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
1898
18991999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1900
1901 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
1902 nlri_parse().
1903
19041999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1905
1906 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
1907
1908 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
1909 the peer is cleared.
1910
1911 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
1912 link-local address. This is KAME specific problem.
1913
19141999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
1917 while. We don't completely detect the link is shared or not at
1918 this moment.
1919
1920 * bgp_packet.c (bgp_notify_send): Make shortcut call of
1921 bgp_write() and bgp_stop().
1922
1923 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
1924 global and link-local address.
1925
19261999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * bgpd.c (no_neighbor_port): New command added.
1929 (peer_new): Set send_community.
1930
19311999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1932
1933 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
1934 (show_ip_mbgp_summary): Likewise.
1935 (show_ipv6_bgp_summary): Likewise.
1936 (show_ipv6_mbgp_summary): Add new command.
1937 (peer_free): Free peer->host.
1938 (peer_lookup_by_su): Delete function.
1939 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
1940 (sockunion_vty_out): Function deleted.
1941 (vty_clear_bgp): Use afi instead of family.
1942 Delete old list bgp_list. Use struct newlist *bgplist.
1943 (peer_lookup_by_host): Function deleted.
1944
19451999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1946
1947 * bgpd.h (struct peer_group): New structure added.
1948 (struct peer_conf): New structure added.
1949 (struct peer): Change all prefix_count to unsigned long.
1950
1951 * bgpd.c: Reconstruct all of VTY commands reflect internal
1952 structure change.
1953 Use bgplist instead of bgp_list.
1954 Use peerlist intstead of peer_list.
1955
1956 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
1957 parsing then return immediately.
1958
1959 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
1960 -1.
1961 (nlri_process): Use pcount_v4_{unicast,multicast}.
1962 (nlri_delete): Likewise.
1963
19641999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
1965
1966 * bgp_routemap.c (route_match_nlri): `match nlri
1967 unicast|multicast' and `set nlri unicast|multicast' command are
1968 added.
1969
19701999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
1971
1972 * bgpd.c: Add translate-update support.
1973
1974 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
1975
19761999-11-19 Robert.Olsson@data.slu.se
1977
1978 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
1979
19801999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1981
1982 * bgp_open.c (bgp_capability_mp): Temporary comment out
1983 SAFI_UNICAST_MULTICAST handling until we know the meanings.
1984
19851999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1986
1987 * bgp_btoa.c: New file added.
1988
19891999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * bgpd.h (struct peer): Add dont_capability flag.
1992 (struct peer): Add override_capability flag.
1993
1994 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
1995 dont-capability-negotiation' added.
1996
19971999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1998
1999 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
2000 attribute from non-shared-network peers.
2001
20021999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * bgp_snmp.c: New file added.
2005
2006 * BGP4-MIB.txt: Updated to the latest Internet-Draft
2007 draft-ietf-idr-bgp4-mib-04.txt.
2008
20091999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2010
2011 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
2012
2013 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
2014 #ifdef HAVE_MBGPV4.
2015
20161999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2017
2018 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
2019 dump bgp commands.
2020 (config_write_bgp_dump): Write interval value to the
2021 configuration.
2022
20231999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2024
2025 * bgp_zebra.c: Redistribute route-map support is added.
2026
2027 * bgp_zebra.h: New file added.
2028
20291999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2030
2031 * bgp_dump.c: BGP packet dump routine compatible with MRT.
2032 * bgp_dump.h: BGP packet dump routine compatible with MRT.
2033
2034 * bgp_debug.c: Renamed from bgp_dump.c
2035 * bgp_debug.h: Renamed from bgp_dump.h
2036
20371999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2038
2039 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
2040
20411999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2042
2043 * bgp_route.c (bgp_announce): If we're not on a shared network
2044 with the peer and we don't have a link-local next hop, but the
2045 inbound next-hop has a link-local address, don't readvertise it to
2046 our peer.
2047
20481999-10-25 Marc Boucher <marc@mbsi.ca>
2049
2050 * bgp_zebra.c: Add redistribute kernel command.
2051
20521999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2053
2054 * bgp_route.c (bgp_reset): New function added.
2055
2056 * bgpd.conf.sample2: Add IPv6 configuration sample.
2057
20581999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2059
2060 * bgp_route.c (ipv6_aggregate_address): Function added.
2061
20621999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2063
2064 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
2065 list after parsing BGP update packet.
2066
2067 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
2068 (bgp_attr_community): Intern parsed community.
2069 (bgp_attr_cluster_list): Intern parsed cluster list.
2070
2071 * bgp_routemap.c: Add `set community-additive' command.
2072
20731999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
2074
2075 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
2076 attribute flag.
2077
20781999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2079
2080 * bgp_route.c (bgp_announce): Add check of IPv6 default route
2081 announcement.
2082
2083 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
2084
20851999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * `show ip[v6] bgp PREFIX' show uptime of the route.
2088
20891999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
2092 of that use AF_INET and AF_INET6 directly.
2093 (vty_clear_bgp): Add new function to support various clear ip bgp
2094 method.
2095
20961999-10-04 Lars Fenneberg <lf@elemental.net>
2097
2098 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
2099
21001999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2101
2102 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2103 prefix-list'.
2104
21051999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2106
2107 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2108 function.
2109
21101999-09-26 Blake Meike <bmeike@adero.com>
2111
2112 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2113 added.
2114
21151999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2116
2117 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2118 min() macro.
2119
21201999-08-19 Rick Payne <rickp@rossfell.co.uk>
2121
2122 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2123 keepalive timer configurable.
2124
21251999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2126
2127 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2128
21291999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2130
2131 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2132 the peer not all of them.
2133
21341999-08-11 Rick Payne <rickp@rossfell.co.uk>
2135
2136 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2137 will get overwritten by route-maps.
2138
21391999-08-08 Rick Payne <rickp@rossfell.co.uk>
2140
2141 * bgp_routemap.c: Multi protocol route-map modification.
2142
21431999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * bgp_route.c: Set network statement route's origin attribute as
2146 igp.
2147
2148 * bgp_zebra.c: Set redistribute route's origin attribute as
2149 incomplete.
2150
2151 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2152 origin attribute check, BGP peer type check.
2153
21541999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2155
2156 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2157
21581999-07-29 Rick Payne <rickp@rossfell.co.uk>
2159
2160 * Changed route-maps to behave in a more cisco-like fashion
2161
21621999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2163
2164 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2165 When multiple route to the same destination exist, bgpd try to
2166 announce the information to stopped peer. Then add orphan write
2167 thread is added. This cause many strange behavior of bgpd.
2168 Reported by Georg Hitsch <georg@atnet.at>.
2169
21701999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2171
2172 * bgpd.c: Change peer's A.B.C.D to PEER.
2173
21741999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2177
2178 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2179 local address.
2180
21811999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2182
2183 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2184 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2185
21861999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2187
2188 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2189 fsm_holdtime ().
2190
21911999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2192
2193 * bgp_routemap.c: Add `set atomic-aggregate' command.
2194
21951999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2196
2197 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2198 to "ip next-hop".
2199
22001999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2201
2202 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2203 added.
2204
22051999-07-01 Rick Payne <rickp@rossfell.co.uk>
2206
2207 * bgp_zebra.c (zebra_init): Install standard commands to
2208 ZEBRA_NODE.
2209
22101999-06-28 Rick Payne <rickp@rossfell.co.uk>
2211
2212 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2213
22141999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2215
2216 * bgpd.c: Add neighbor update-source command as ALIAS to
2217 neighbor_interface.
2218
22191999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2220
2221 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2222 send_community flag is set.
2223
2224 * bgpd.h (struct peer): Add send_community flag.
2225
22261999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2227
2228 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2229 <1-65535>.
2230
22311999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2232
2233 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2234
22351999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2236
2237 * bgp_community.c (community_merge): Function added.
2238
22391999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2240
2241 * bgp_clist.c: New file.
2242 * bgp_clist.h: New file.
2243
2244 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2245 compatibility.
2246 (COMMUNITY_NO_ADVERTISE): Fix typo.
2247
22481999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * bgp_routemap.c: Add `set weight WEIGHT' command.
2251
2252 * bgpd.c: Remove all_digit_check function. Instead of that use
2253 all_digit function in lib/prefix.c.
2254
2255 * bgp_routemap.c (bgp_route_map_init): Install
2256 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2257 element to the RMAP_NODE.
2258
22591999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2260
2261 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2262 inside aspath_make_str function.
2263 (aspath_prepend): New function is added for AS path prepend.
2264 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2265 count is set to the structure.
2266 (aspath_merge): New function.
2267
22681999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2269
2270 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2271 (no_redistribute_bgp): Likewise.
2272 (router_zebra): Semantics changed. Now 'router zebra' is default
2273 behavior of bgpd.
2274
22751999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2276
2277 * bgp_routemap.c: Add some commands to bgp route-map.
2278 match ip next-hop: New command.
2279 match metric: New command.
2280 set metric: Doc fix.
2281 set local-preference: Add DEFUN.
2282
22831999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2284
2285 * bgp_main.c (signal_init): SIGTERM call sigint.
2286 (sigint): Loggging more better message.
2287
22881999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2289
2290 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2291 length bit check is added.
2292
22931999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2294
2295 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2296 function with route_set_local_pref_cmd argument.
2297 (no_match_aspath): Function added.
2298 (route_set_metric): Set attribute flag bit.
2299
2300 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2301 packet.
2302
23031999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2304
2305 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2306 holdtime' command is added.
2307
2308 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2309
2310 * bgpd.c (bgp_prefix_list_set): New function added.
2311 (bgp_prefix_list_unset): Likewise.
2312 (bgp_prefix_list_update): Likewise.
2313 (show_ip_bgp_neighbors): prefix-list information display.
2314
23151999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2316
2317 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2318
23191999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2320
2321 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2322
2323 * bgpd.c (bgp_router_id): Even when address is malformed set the
2324 value to configuration bug fixed.
2325 (no_bgp_router_id): New function.
2326 (no_bgp_cluster_id): New function.
2327
23281999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2329
2330 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2331
23321999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2333
2334 * bgp_route.c (bgp_announce): Add route reflector check.
2335
23361999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2337
2338 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2339 (neighbor_route_reflector_client): Likewise.
2340 (no_neighbor_route_reflector_client): Likewise.
2341
2342 * bgpd.h (struct bgp ): Add cluster for route reflector.
2343
2344 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2345
23461999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2347
2348 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2349
2350 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2351 has same functionality.
2352
2353 * bgp_filter.h: New file.
2354
2355 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2356 aspath_unintern ()
2357 (aspath_free): New function.
2358
23591999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2360
2361 * bgp_aspath.c (aspath_aggregate): Function added.
2362
2363 * bgp_aspath.h (aspath_aggregate): Prototype added.
2364
2365 * bgp_aspath.c (aspath_empty_aspath): New argument
2366 gated_dont_eat_flag is added.
2367
23681999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2369
2370 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2371
23721999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2373
2374 * bgp_route.c (aggregate_address): Function added.
2375
2376 * bgp_zebra.c (zebra_read): Change log to zlog.
2377
23781999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2379
2380 * Makefile.am (noninst_HEADERS): Added for make dist.
2381
23821999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2383
2384 * aspath_regex.c: Removed from distribution.
2385
23861999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2387
2388 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2389 bug fixed.
2390
23911999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2392
2393 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2394 by kad@gibson.skif.net.
2395
2396 * bgp_regex.[ch]: New file added.
2397
2398
23991999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2400
2401 * bgp_filter.c: New file added.
2402
24031999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2404
2405 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2406 gated.
2407
24081999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2409
2410 * bgp_main.c (main): Default loggin method changed from syslog to
2411 stdout.
2412
24131999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2414
2415 * bgp_route.c: Delete obsolete default attribute DEFUN.
2416
24171999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2418
2419 * bgp_attr.c: Make attribute structure put into attribute hash.
2420
24211999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2422
2423 * bgp_view.c : Delete file.
2424
24251999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2426
2427 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2428
2429 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2430 replace bgp_route with this.
2431
2432 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2433 prefix value to access_list_apply().
2434
2435 * bgpd.conf.sample: Add route-map sample.
2436 Delete obsolete default-attr statements.
2437
2438 * bgp_packet.c: Use stream_fifo for packet queueing.
2439
24401999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2443
2444 * bgp_main.c: include unistd.h for daemon().
2445
2446 * bgp_route.c (nlri_process): add IPv6 table lookup.
2447
2448 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2449 (attr_make): Obsolete function attr_make deleted.
2450
24511999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2452
2453 * bgp_aspath.c (aspath_add_left): change function name from
2454 aspath_add_leftmost_as().
2455
24561999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2457
2458 * bgp_aspath.c: add aspath_add_leftmost_as ().
2459
24601999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2461
2462 * syslog support added
2463
24641999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2465
2466 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2467 DEFUN (neighbor_distribute_list): added.
2468
24691999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2470
2471 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2472
2473 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2474 bgpd.c
2475
2476 * bgp_network.c: New file.
2477 * bgp_network.h: New file.
2478
2479 * bgp_packet.h: New file.
2480
24811999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2482
2483 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2484 buffered.
2485
24861999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2487
2488 * bgp_packet.c: New file.
2489
24901998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2491
2492 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2493
2494 * `show ip bgp' bug fixed.
2495 * aspath_log (): Remove argument logfp.
2496
24971998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2498
2499 * bgp_fsm.h: New file.
2500
25011998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2502
2503 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2504 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2505 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2506 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2507
25081998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2509
2510 * bgpd.c (bgp_config_write): Delete vector v argument.
2511
25121998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2513
2514 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2515
25161998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2517
2518 * bgp_radix.[ch]: removed.
2519
25201998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2521
2522 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2523
25241998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2525
2526 * bgp_dump.c: delete nroute().
2527
25281998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2529
2530 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2531 * bgpd.h: Modify for compile on Solaris.
2532 * bgp_aspath.h: likewize
2533 * bgp_community.h: likewize
2534 * bgp_routemap.c: likewize
2535
25361998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2537
2538 * bgpd.h: Modify for compile on Solaris.
2539 * bgp_aspath.h: likewize
2540
25411998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2542
2543 * routemap.[ch]: move to ../lib directory.
2544
25451998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2546
2547 * routemap.c (route_map_apply): add function.
2548
25491998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2550
2551 * routemap.h: add file.
2552
2553 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2554
25551998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2556
2557 * Makefile.am: sysconfdir_DATA added.
2558
25591998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2560
2561 * bgp_dump.c: add `debug bgp fsm'
2562 add `no debug bgp fsm'
2563 add `show debug bgp'
2564 * bgp_open.c: File added.
2565
25661998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2567
2568 * .cvsignore: File added.
2569
25701998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2571
2572 * bgp_community.[ch]: File added.
2573
25741998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2575
2576 * bgpd now use lib/thread.[ch].
2577
25781998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2579
2580 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2581
2582 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2583
25841997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2585
2586 * bgp_vty.c: bgp_vty.c deleted.
2587
2588 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2589
25901997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2591
2592 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
2593
25941997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2595
2596 * bgp_vty.c: new file.
2597
2598 * bgp_attr.c: add new logging system.
2599
26001997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2601
2602 * Change all inet_addr call into inet_aton.
2603
26041997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2605
2606 * bgp_radix.c: change radix_peer_delete
2607
26081997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2609
2610 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
2611
26121997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2613
2614 * bgp_dump.c (bgp_log_route): add dump_attr function
2615
26161997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2617
2618 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
2619 * bgp_dump.c (bgp_log_route): change logfile format.
2620
26211997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2622
2623 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
2624 * bgp_attr.c (community_str2com): add community value generation
2625 * bgp_attr.h: add SAFI definition for BGP-4+
2626
26271997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2628
2629 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
2630 * Makefile.in: add bgp_open.o, delete bgp_loop.o
2631 * bgp_open.c: newfile which manages BGP Open message
2632 * bgp_loop.c: this file is merged with bgp_fsm.c
2633 * bgp_radix.c (radix_add): radix_add() now return route_t instead
2634 of int
2635 (bgp_sim): now we can read update & withdraw from file
2636 * bgp_route.c: add route_free() call into route_parse etc.
2637
26381997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2639
2640 * bgp_radix.c: Radix code is completely rewritten. It has better
2641 memory treatment than old one.
2642
26431997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2644
2645 * bgp_route.c: route_alloc for route struct allocation statistics.
2646 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
2647 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
2648 format.
2649
26501997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2651
2652 * bgp_term.c (term_parse): add command : show asstat, show ashash
2653 * bgp_aspath.c: aspath_cmp bug fix
2654 (aspath_print_all): add aspath_print_all ();
2655 * bgp_peer.h: delete rlist element from struct peer.
2656
26571997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2658
2659 * bgp_aspath.c: completely rewritten.
2660 * bgp_aspath.h: completely rewritten.
2661 add AsPath, AsSegment structure
2662 add AS_SET treatment
2663 change Hash codes
2664
26651997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2666
2667 * bgp_attr.h: add Attribute flags defines
2668 * bgp_route.c: delete rlist related functions
2669 * bgp_aspath.c (as_origin): add as_origin function
2670 (aspath_print): move from bgp_dump.c and add support of AS_SET
2671 change Hash related function names.
2672
26731997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2674
2675 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
2676
26771997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2678
2679 * bgp_aspath.c (as_sort): add function as_sort
2680 * bgp_aspath.h: add IBGP, EBGP
2681