blob: c867b9fd0e74b189183021269f2a1c2b5d46f34b [file] [log] [blame]
hasso93406d82005-02-02 14:40:33 +000012005-02-02 Akihiro Mizutani <mizutani@net-chef.net
2
3 * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
4 bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
5 graceful-restart" commands added. Show numbers of individual
6 messages in "show ip bgp neighbor" command. Final pieces of graceful
7 restart.
8
hassof4184462005-02-01 20:13:16 +000092005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
10
hassoc9502432005-02-01 22:01:48 +000011 * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
12 capability route-refresh" commands. Route refresh capability is sent
13 anyway now. Preserve dummy deprecated commands.
14
152005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
16
hasso3d515fd2005-02-01 21:30:04 +000017 * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
18 draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
19 version" command as deprecated.
20
212005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
22
hasso0a486e52005-02-01 20:57:17 +000023 * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
24 maximum-prefix limit" feature support.
25
262005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
27
hassof4184462005-02-01 20:13:16 +000028 * bgp_nexthop.c: Improve debug.
29 * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
30 function.
31 * bgp_packet.c: MP AFI_IP update and withdraw parsing.
32 * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
33 is better place to log about peer status change than bgp_event().
34 Log in bgp_connect_success().
35 * bgp_vty.c: Fix typo in comment.
36 * bgp_attr.c: Better log about unknown attribute.
37
ajs3b8b1852005-01-29 18:19:13 +0000382005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
39
40 * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
41 of buffer_getstr.
42 * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
43 returned by buffer_getstr.
44 (bgp_show_community) Must use XFREE instead of free on string
45 returned by buffer_getstr.
46 * bgp_routemap.c: (set_community) Must use XFREE instead of free
47 on string returned by buffer_getstr.
48 * bgp_vty.c: (neighbor_description) Use argv_concat instead of
49 buffer_getstr.
50
hasso6d694292005-01-24 09:29:42 +0000512005-01-24 Hasso Tepper <hasso at quagga.net>
52
53 * bgp_route.c: Fix showstopper bug. New route must be selected also
54 if old one is flaged as BGP_INFO_ATTR_CHANGED.
55
hassof1271652005-01-17 11:04:32 +0000562005-01-17 Hasso Tepper <hasso at quagga.net>
57
58 * bgp_route.c: Clear peer's routing table regardless whether it's
59 configured or not. Being not configured is even better reason to
60 do it.
61
paula24a7e12005-01-05 08:14:13 +0000622005-01-05 Paul Jakma <paul@dishone.st>
63
64 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
65 this should be generalised. See bugzilla #102. Fix supplied by
66 wawa@yandex-team.ru (Vladimir Ivanov).
67
ajsd2c1f162004-12-08 21:10:20 +0000682004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
69
70 * *.c: Change level of debug messages to LOG_DEBUG.
71
ajs274a4a42004-12-07 15:39:31 +0000722004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
73
74 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
75
ajs887c44a2004-12-03 16:36:46 +0000762004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
77
78 * bgp_main.c: (sigint) Use zlog_notice for termination message.
79 (main) Use zlog_notice for startup announcement.
80
hassoc0652302004-11-25 19:33:48 +0000812004-11-25 Hasso Tepper <hasso at quagga.net>
82
83 * bgp_main.c: Make group to run as configurable.
84
paul59320202004-11-09 01:54:03 +0000852004-11-09 Paul Jakma <paul@dishone.st>
86
87 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
88 and cache{1,2}.. into arrays of tables and hence collapse
89 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
90 a long time ago (and this change was hand-merged).
91
ajs5a646652004-11-05 01:25:55 +0000922004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
93
94 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
95 is deprecated because the output did not represent a single point
96 in time. All output needs to be generated inline and buffered
97 by the library code.
98 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
99 flap_route_vty_out) Remove code to count number of lines of output,
100 since this was only useful for VTY_CONTINUE behavior.
101 (bgp_show_callback,vty_calc_line) Removed.
102 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
103 As a result, there's a new output_arg argument to this function.
104 Make function static.
105 (bgp_show) Make function static and add a new output_arg argument.
106 Change all functions that call bgp_show or bgp_show_table to
107 pass the new output_arg argument (that used to be passed inside
108 vty->output_arg).
109 * bgp_mplsvpn.c: Remove declarations of functions defined in
110 bgp_route.c; these declarations belong in bgp_route.h.
111 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
112 and in bgp_mplsvpn.c.
113
paula2b1ecd2004-10-31 18:58:09 +00001142004-10-31 Paul Jakma <paul@dishone.st>
115
116 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
117
paul98f51632004-10-25 14:19:15 +00001182004-10-25 Paul Jakma <paul@dishone.st>
119
120 * Update with fix in debian bug id 222930.
121 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
122 bgp_network.c: (....) raise/lower privs around call to
123 SO_BINDTODEVICE sockopt.
124
hasso3fb9cd62004-10-19 19:44:43 +00001252004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
126
127 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
128 may be NULL.
129 (bgp_connected_delete) ditto.
130
hasso501ba492004-10-13 21:32:46 +00001312004-10-14 Hasso Tepper <hasso at quagga.net>
132
133 * bgp_dump.c: Make dump configuration appear in vtysh.
134
hassoc75105a2004-10-13 10:33:26 +00001352004-10-13 Hasso Tepper <hasso at quagga.net>
136
137 * bgp_snmp.c: Remove defaults used to initialize smux connection to
138 snmpd. Connection is initialized only if smux peer is configured.
hasso8b3126b2004-10-13 20:59:04 +0000139 * bgp_view.c: It's dead file. Reomved.
hassoc75105a2004-10-13 10:33:26 +0000140
paulfd79ac92004-10-13 05:06:08 +00001412004-10-13 Paul Jakma <paul@dishone.st>
142
143 * (global) more const'ification and fixups of types to clean up code.
144 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
145 should use something like the VTY_GET_INTEGER macro, but without
146 the vty_out bits..
147 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
148 (no_set_aggregator_as) ditto.
149 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
150 returned, add comments about troublesome return value.
151
hasso18a6dce2004-10-03 18:18:34 +00001522004-10-03 James R. Leu <jleu at mindspring.com>
153
154 * bgp_vty.c: Router id from zebra can be manually overriden.
155 * bgp_zebra.c: Read router id related messages from zebra daemon.
156 Remove own code related with router id selection.
157 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
158 from zebra daemon if it isn't manually overriden.
159
hassoc9e52be2004-09-26 16:09:34 +00001602004-09-26 Hasso Tepper <hasso at quagga.net>
161
162 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
163
hasso52dc7ee2004-09-23 19:18:23 +00001642004-09-23 Hasso Tepper <hasso at quagga.net>
165
166 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
167
paule01f9cb2004-07-09 17:48:53 +00001682004-07-09 Paul Jakma <paul@dishone.st>
169
170 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
171 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
172 attributes present before printing.
173 * bgp_dump.c: update bgp_dump_attr prototype.
174 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
175 of bgp_dump_attr. Log end-of-rib UPDATEs.
176
paulf5ba3872004-07-09 12:11:31 +00001772004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
178
179 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
180 if that is connection we're closing.
181 (bgp_read) invalid marker check applies to KEEPALIVE too.
182 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
183
paul5228ad22004-06-04 17:58:18 +00001842004-06-04 Paul Jakma <paul@dishone.st>
185
186 * type mismatch fixes
187
hasso538621f2004-05-21 09:31:30 +00001882004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
189
190 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
191 Graceful restart capability display.
192
hasso3950fda2004-05-20 10:22:49 +00001932005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
194
195 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
196
hasso4372df72004-05-20 10:20:02 +00001972004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
198
199 * bgp_ecommunity.c: Transit ecommunity support.
200 * bgp_ecommunity.c: Fix for unknown community crush.
201
hassoe0701b72004-05-20 09:19:34 +00002022005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
203
204 * *: Maximum prefix threshold support.
205 * *: Reset notification fixups.
206
paul0a589352004-05-08 11:48:26 +00002072004-05-08 Paul Jakma <paul@dishone.st>
208
209 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
210 (bgp_interface_address_delete) ditto.
211 (bgp_zebra_announce) ditto.
212 (bgp_zebra_withdraw) ditto.
213
paulc5317402004-05-03 13:25:06 +00002142004-05-03 Daniel Roesen <dr@cluenet.de>
215
216 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
217 Established so that it reflects true downtime (rather time
218 since last transition, eg Active->Idle)
219
paul35be31b2004-05-01 18:17:04 +00002202004-05-01 rivo nurges <rix@estpak.ee>
221
222 * bgp_route.c: fix UNH IOL BGP-4.1.12f
223
pauleb821182004-05-01 08:44:08 +00002242004-05-01 Paul Jakma <paul@dishone.st>
225
226 * Revert the attempted clean-up of the dummy peer hack, reverts
227 patchsets 435 (see 2004-02-17 below) and 456.
228
paul545acaf2004-04-20 15:13:15 +00002292004-04-16 rivo nurges <rix@estpak.ee>
230
hasso9b87e412004-04-20 16:54:49 +0000231 * bgpd.h, bgp_debug.c: update cease subcodes to
232 draft-ietf-idr-cease-subcode-05
paul545acaf2004-04-20 15:13:15 +0000233 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
234
paul6ad23f02004-02-17 19:45:10 +00002352004-02-17 Paul Jakma <paul@dishone.st>
236
237 * bgpd.h: (bgp_peer) add fd_local and fd_accept
238 file descriptor's, fd becomes a pointer to one of these.
239 * bgpd.c: (global) adjust for fact that fd is now a pointer.
240 (peer_create_accept) removed.
241 * bgp_route.c: (global) adjust for change of peer fd to pointer
242 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
243 "replace with other peer" hack.
244 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
245 Update peer->fd_accept instead.
246 (global) Adjust fd references - now a pointer.
247 * bgp_fsm.c: (global) adjust peer fd to pointer.
248 (bgp_connection_stop) new function, to stop connection.
249 (global) adjust everything which closed peer fd to use
250 bgp_connection_stop().
251
gdt10d60ad2003-12-23 17:34:39 +00002522003-12-23 Krzysztof Oledzki <oleq@ans.pl>
253
254 * bgp_network.c: drop privs on error cases
255
paul6ad23f02004-02-17 19:45:10 +00002562003-08-11 kunihiro <kunihiro@zebra.org>
paulac41b2a2003-08-12 05:32:27 +0000257
258 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
259 ability to specify 'peer-address' rather than IP.
260
paul9238b1e2003-06-11 08:03:08 +00002612003-06-09 Paul Jakma <paul@dishone.st>
262
263 * bgp_clist.c (community_list_delete): honour deny statements
264
paul445f1432003-05-16 19:00:31 +00002652003-04-19 Hasso Tepper <hasso@estpak.ee>
266
267 * rip_routemap.c: sync daemon's route-map commands to have same
268 syntax
269
2702003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
271
272 * bgp_routemap.c: Add match extcommunity command.
273
paul718e3742002-12-13 20:15:29 +00002742002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
275
276 * bgp_aspath.c (aspath_init): Extend hash size from default to
277 32767.
278 (aspath_key_make): Use unsigned shoft for making hash. Suggested
279 by: Marc Evans <Marc@SoftwareHackery.Com>
280
2812002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
282
283 * bgp_clist.c (community_entry_free): Fix memory leak of standard
284 extcommunity-list config string.
285
2862002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
287
288 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
289 when multiple instance is used.
290
2912002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
292
293 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
294 available in peer-group configuration.
295
2962002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
297
298 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
299 capability packet cause error or dont-capability-negotiate option
300 is specified.
301
3022002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
303
304 * zebra-0.93 released.
305
3062001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
307
308 * bgpd.c (bgp_vty_init): Translate update commands are removed.
309
3102001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
311
312 * bgp_route.c (bgp_static_set): Add workaround for BGP static
313 route announcement when there is no zebra running.
314
3152001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
316
317 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
318 unicast multicast" commands.
319
3202001-09-14 Akihiro Mizutani <mizutani@dml.com>
321
322 * bgp_open.c: When we receive capability route-refresh, we should
323 check we send the capability not we receive the capability.
324
325 * bgp_route.c (bgp_network_mask_natural_route_map): network
326 statement route-map is added.
327
3282001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
329
330 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
331 before looking up hash table.
332
3332001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
334
335 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
336 peer.
337
3382001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
339
340 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
341 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
342
3432001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
344
345 * bgp_table.c (bgp_node_create): Clearn memory before use it.
346
3472001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
348
349 * Change to use bgp_table.[ch].
350
3512001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
352
353 * bgpd.c (bgp_init): Add "transparent-as" and
354 "transparent-nexthop" for old version compatibility.
355
3562001-08-23 Akihiro Mizutani <mizutani@dml.com>
357
358 * bgpd.h (struct peer): default-originate route-map is added.
359
360 * bgp_route.c: When self originated route is advertised with
361 attrubute-unchanged, nexthop was not properly set. This bug is
362 fixed.
363
3642001-08-22 Akihiro Mizutani <mizutani@dml.com>
365
366 * bgpd.c (neighbor_attr_unchanged): transparent-as and
367 transparent-next-hop commands are restructured. Instead of
368 current transparent-* commands, attribute-unchanged command is
369 introduced.
370
371 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
372
373 (neighbor_default_originate): "default-originate" configuration
374 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
375
3762001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
377
378 * zebra-0.92a released.
379
3802001-08-19 Akihiro Mizutani <mizutani@dml.com>
381
382 * bgpd.c: AF specific soft-reconfiguration inbound commands are
383 added.
384
3852001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
386
387 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
388
389 * bgp_community.c (community_cmp): Add check for commnunity NULL
390 check.
391
392 * bgp_routemap.c (route_match_community): Do not check comunity is
393 NULL. It may match to community-list "^$".
394
395 * bgp_community.c (community_match): Add check for community is
396 NULL case.
397
3982001-08-17 Akihiro Mizutani <mizutani@dml.com>
399
400 * bgpd.c: AF specific route-reflector-client and
401 route-server-client configuration are added.
402
4032001-08-17 Rick Payne <rickp@ayrnetworks.com>
404
405 * bgp_clist.c (community_match_regexp): Check special ^$ case.
406
4072001-08-17 Akihiro Mizutani <mizutani@dml.com>
408
409 * bgp_clist.c (community_list_match): Fix bug of community list
410 permit and deny check.
411
4122001-08-16 Akihiro Mizutani <mizutani@dml.com>
413
414 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
415 command.
416
4172001-08-15 Akihiro Mizutani <mizutani@dml.com>
418
419 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
420 flag is introduced.
421
422 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
423
4242001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
425
426 * zebra-0.92 released.
427
4282001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
429
430 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
431 table properly.
432
4332001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
434
435 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
436 (bgp_config_write_network_vpnv4): VPNv4 static configuration
437 display.
438
4392001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
440
441 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
442 node filter commands.
443
4442001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
445
446 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
447 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
448 IPv6.
449
4502001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
451
452 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
453 multicast" is added.
454 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
455 added.
456
4572001-08-07 Akihiro Mizutani <mizutani@dml.com>
458
459 * bgp_route.c (bgp_process): Use flag instead of as_selected
460 memeber in struct bgp_info.
461
462 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
463 struct bgp_info.
464
4652001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
466
467 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
468 check code with #ifdef BGP_SEND_ASPATH_CHECK.
469
4702001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
471
472 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
473
474 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
475 information is alive or not.
476
477 * bgp_community.c: Use community_val_get() on all OS.
478
4792001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
480
481 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
482 check.
483
4842001-07-24 Akihiro Mizutani <mizutani@dml.com>
485
486 * bgp_route.c (bgp_announce_check): To route server clients, we
487 announce AS path, MED and nexthop transparently.
488
4892001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
490
491 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
492 XFREE. No memory is allocated in
493 route_set_atomic_aggregate_compile().
494
4952001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
496
497 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
498 are replaced by `address-family ipv4` and `address-family vpnvr'.
499
5002001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
501
502 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
503 Reported by Rick Payne <rickp@rossfell.co.uk>.
504
5052001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
506
507 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
508 empty, use socket's remote address for the nexthop.
509
5102001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
511
512 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
513 <Yosi_Yarchi@KereniX.com>
514
5152001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
516
517 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
518 <Yosi_Yarchi@KereniX.com>
519
5202001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
521
522 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
523 of ri->next.
524
525 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
526 when HAVE_IPV6 is not defined.
527
5282001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
529
530 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
531 than holdtime / 3.
532 (bgp_confederation_peers_unset): Only set peer->local_as when
533 confederation is enabled.
534 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
535
536 * bgp_route.c (bgp_announce_check): Set med of redistributed route
537 when it is announced to EBGP peer.
538
5392001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
540
541 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
542 all prefixes.
543
5442001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
545
546 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
547 erroneous attribute (type, length and value), it does include
548 attribute flags field.
549
5502001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
551
552 * bgp_route.c (bgp_announce_check): The route reflector is not
553 allowed to modify the attributes of the reflected IBGP routes.
554
5552001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
556
557 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
558 confederation peer is treated as same as IBGP peer.
559
5602001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
561
562 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
563 attr. Call aspath_unintern when return from this function.
564
5652001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
566
567 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
568 changed.
569
5702001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
571
572 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
573 do not refrect the value to current session.
574
5752001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
576
577 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
578 suppress route withdraw.
579
580 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
581
5822001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
583
584 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
585 AS_SET and AS_CONFED_SET.
586
5872001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
588
589 * bgp_route.c (bgp_process): Do not consider suppress route.
590
591 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
592 aspath->data is realloced.
593
5942001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
595
596 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
597 aggregate when using as-set.
598
5992001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
600
601 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
602 correctly.
603
604 * bgp_route.c (bgp_update): Just ignore AS path loop for
605 confederation peer.
606
6072001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
608
609 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
610 (bgp_aggregate_unset): Remove summary_only argument.
611 (aggregate_address_as_set): New commands.
612 "aggregate-address A.B.C.D/M as-set"
613 "no aggregate-address A.B.C.D/M as-set"
614
6152001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
616
617 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
618 route is passed by route reflector.
619
6202001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
621
622 * bgp_route.c: "no bgp dampening" with argument.
623 (bgp_announce_check): Do not modify nexthop when the route is
624 passed by route reflector.
625
6262001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
627
628 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
629 ASN passive" to "neighbor NEIGHBOR passive".
630 (bgp_announce_check): Check well-known community attribute even
631 when "no neighbor send-community" is set.
632
6332001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
634
635 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
636 time when keepalive timer is configured as zero.
637
6382001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
639
640 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
641 preference is well-known attribute.
642
6432001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
644
645 * zebra-0.91 is released.
646
647 * bgp_attr.h (struct attr): Comment out DPA value.
648 (struct attr): Change refcnt type from int to unsinged long.
649
650 * bgp_attr.c (attrhash_key_make): Likewise.
651 (attrhash_cmp): Likewise.
652 (bgp_attr_dpa): Likewise.
653
6542001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
655
656 * bgp_route.c (bgp_info_cmp): Make route selection completely same
657 as Cisco's.
658
6592001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
660
661 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
662 BGP_ATTR_FLAG_* to clarify meenings.
663
6642001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
665
666 * bgp_route.c (route_vty_out): Display argument to suppress same
667 prefix information display.
668 (route_vty_out_route): Don't display mask information for
669 classfull network.
670
6712001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
672
673 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
674
675 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
676 check.
677
6782001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
679
680 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
681 (bgp_attr_parse): Comment out well-known attribute check.
682
6832001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
684
685 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
686 used for network advertisement.
687 (nlri_parse): When link-local IPv6 address NLRI comes from
688 remote-peer, log the information then simply ignore it.
689
690 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
691 redistributed.
692
693 * bgp_route.c (bgp_update): Check IPv6 global nexthop
694 reachability.
695
6962001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
697
698 * bgp_route.c (bgp_update): Check nexthop points local address or
699 not.
700 (bgp_static_update_vpnv4): Set valid flag.
701
702 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
703 (bgp_attr_parse): Well-known attribute check.
704
705 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
706
707 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
708
709 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
710 defined.
711
712 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
713
7142001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
715
716 * bgpd.c (bgp_network_import_check): New command for IGP network
717 check.
718
7192001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
720
721 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
722 changed. Call bgp_process once for each node.
723
7242001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
725
726 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
727
7282001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
729
730 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
731
732 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
733 IBGP route.
734
7352001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
736
737 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
738 "show ip bgp A.B.C.D/M longer-prefixes"
739 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
740 "show ipv6 bgp X:X::X:X/M longer-prefixes"
741 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
742
7432001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
744
745 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
746 "show ip bgp cidr-only"
747 "show ip bgp ipv4 (unicast|multicast) cidr-only"
748
7492001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
750
751 * bgp_route.c (bgp_update): AS path lookup check is done in
752 bgp_update() not in attr_parse().
753
7542001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
757 before bgp_attr_unintern().
758
7592001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * bgp_route.c (bgp_update): Now intern is performed very last part
762 of the BGP packet update procedure.
763
7642001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
765
766 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
767 existing bgp_info structure.
768
7692001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
772 address matching method.
773 (bgp_update):
774
775 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
776 check and IBGP nexthop route check.
777
7782001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
779
780 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
781 change.
782
7832001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * bgp_route.h (struct bgp_info): Remove selected flag. Use
786 BGP_INFO_SELECTED for flags instead.
787 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
788 flags instead.
789 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
790 metric.
791 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
792 struct bgp_info.
793 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
794
795 * bgp_community.c (community_val_get): gcc-2.95 on
796 sparc-sun-solaris cause crush. This function is for avoid the
797 crush.
798
7992001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
800
801 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
802 clear bug is fixed.
803
8042001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
805
806 * bgp_packet.c (bgp_open_receive): Return notification with
807 supported version number.
808
8092001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * bgpd.c (bgp_show_summary): Display AS path and community
812 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
813
814 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
815 read. When BGP packet read is partial, we must get size and type
816 from packet again.
817
8182001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
819
820 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
821 (bgp_update): When there is a history entry increment route count.
822 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
823
824 * bgp_damp.c (bgp_damp_withdraw): Set status to
825 BGP_DAMP_DISCONTINUE.
826
8272001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
828
829 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
830 IPv6 nexthop is not link-local addresss.
831
8322001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
833
834 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
835 configuration display.
836 (bgp_damp_info_print): Display elapsed time from flap started.
837
838 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
839
840 * bgpd.c (peer_create): Set last read time.
841 (bgp_show_peer): Display last read time.
842 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
843 configuration.
844
845 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
846 (struct peer): Add last read time member.
847 (BGP_VERSION_MP_4): Remove obsolete definition.
848
8492001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
850
851 * bgp_nexthop.c: Remove OLD_RIB codes.
852
853 * bgp_route.c (bgp_process): Likewise.
854
855 * zebra-0.90 is released.
856
857 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
858 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
859 (struct bgp_info): Remove invalid member from struct bgp_info.
860 Instead of that use BGP_INFO_HISTORY flag.
861
8622001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
863
864 * bgp_damp.c (bgp_damp_info_print): New function to display
865 dampening status.
866 (DEFAULT_HARF_LIFE): Define default value.
867 (DEFAULT_REUSE): Likewise.
868 (DEFAULT_SUPPRESS): Likewise.
869 (bgp_config_write_damp): When config value is same as default
870 value, simply display "bgp dampening" to configuration.
871
872 * bgp_damp.h (struct bgp_damp_info): Add flap member.
873
874 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
875 history status.
876
8772001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
878
879 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
880 address is properly handled.
881 (bgp_connected_delete): Likewise.
882
883 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
884 until it works fine.
885
8862001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
889
890 * bgp_route.c (bgp_update): When this is not damped route, clear
891 ri pointer.
892
8932001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
894
895 * bgp_main.c: Add "-n" no_kernel option to not install route to
896 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
897
8982001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
899
900 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
901 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
902
903 * bgp_damp.c (bgp_config_write_damp): Add configuration display
904 function.
905
906 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
907 information when BGP info structure is freed.
908 (bgp_info_cmp): Check damped flag.
909 (bgp_announce_check): Damped route is not announced.
910
9112001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
912
913 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
914 route-refresh" command to "neighbor capability route-refresh".
915 (clear_bgp_soft_in): Change soft-reconfig method.
916
917 clear ip bgp <neighbor> soft in
918 --------------------------------------
919 Try stored cache first then route-refresh
920
921 clear ip bgp <neighbor> in
922 ---------------------------------
923 Try route-refresh first then try to use stored cache
924
9252001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
926
927 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
928 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
929
9302001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
933 changed, refresh it.
934
9352001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * bgp_route.h (struct bgp_info_tag): Add as_selected to
938 bgp_info_tag.
939
9402001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
943 member for BGP flap dampening.
944
945 * bgp_damp.c: New file is added.
946
947 * bgp_damp.h: Likewise.
948
9492001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
952
9532000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
954
955 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
956 socket for zebra communication.
957
9582000-12-29 Akihiro Mizutani <mizutani@dml.com>
959
960 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
961
9622000-12-27 Akihiro Mizutani <mizutani@dml.com>
963
964 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
965
9662000-12-25 Akihiro Mizutani <mizutani@dml.com>
967
968 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
969
9702000-12-18 Akihiro Mizutani <mizutani@dml.com>
971
972 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
973 withdrawing best prefix perform router ID comparison.
974
9752000-12-15 Akihiro Mizutani <mizutani@dml.com>
976
977 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
978 routes comes from EBGP peer. When originator ID is same, take
979 shorter cluster-list route. If cluster-list is same take smaller
980 IP address neighbor's route.
981
982 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
983 ignore" command. When this option is set, do not concider AS path
984 length when route selection.
985 (bgp_bestpath_compare_router_id): Add "bgp bestpath
986 compare-routerid". When this option is set, compare router ID
987 when the routes comes from EBGP peer.
988
9892000-12-15 Akihiro Mizutani <mizutani@dml.com>
990
991 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
992 available.
993
9942000-12-14 Akihiro Mizutani <mizutani@dml.com>
995
996 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
997 information.
998
9992000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1000
1001 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
1002 it sure the memory is freed.
1003
1004 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
1005 HAVE_IPV6.
1006
10072000-12-08 Akihiro Mizutani <mizutani@dml.com>
1008
1009 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
1010 data part.
1011
1012 * bgp_network.c (bgp_accept): When BGP connection comes from
1013 unconfigured IP address, close socket immediately.
1014
1015 * bgpd.c: Fix some display format.
1016
10172000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1018
1019 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
1020 bgp_packet_set_size () call.
1021
10222000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1023
1024 * bgp_packet.c (bgp_read_packet): Remove debug codes.
1025
10262000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1027
1028 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
1029
1030 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
1031 status.
1032 (bgp_establish): Likewise.
1033
10342000-11-26 Akihiro Mizutani <mizutani@dml.com>
1035
1036 * bgp_open.c: Fix error messages.
1037
10382000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1039
1040 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
1041 established.
1042 (bgp_stop): Call BGP trap when the peer is dropped.
1043
10442000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
1047
1048 * bgpd.h (struct peer): Add update_time for track last update
1049 received time.
1050
1051 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
1052 code in any case.
1053
1054 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
1055 peering IP address.
1056 (bgpPeerTable): Return actual BGP version number.
1057
10582000-11-22 Akihiro Mizutani <mizutani@dml.com>
1059
1060 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1061 is fixed.
1062
10632000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1064
1065 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1066 zebra is enabled, use the method.
1067
10682000-11-16 Akihiro Mizutani <mizutani@dml.com>
1069
1070 * bgpd.c: Revise debug message output.
1071
10722000-11-15 Akihiro Mizutani <mizutani@dml.com>
1073
1074 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1075
10762000-11-14 Akihiro Mizutani <mizutani@dml.com>
1077
1078 * bgp_community.c (community_match): Fix bug of memcmp return
1079 value check.
1080
10812000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1082
1083 * bgp_clist.c (community_list_match_exact): Add check for
1084 entry->style is COMMUNITY_LIST.
1085 (community_match_regexp): Apply new com_nthval macro.
1086
10872000-11-07 Rick Payne <rickp@rossfell.co.uk>
1088
1089 * bgp_routemap.c (route_set_community_delete): "set
1090 community-delete COMMUNITY-LIST" is added.
1091
1092 * bgp_community.c (community_del_val): Delete one community.
1093 (community_delete): Delete all community included in list.
1094 (community_match): Fix bug of matching community value.
1095
1096 * bgp_clist.c (community_entry_free): Free community regular
1097 expression.
1098 (community_entry_make): Default style is COMMUNITY_LIST.
1099 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1100 (community_entry_regexp_lookup): New function for community
1101 regular expression lookup.
1102 (community_match_regexp): New function.
1103 (community_delete_regexp): New function.
1104 (community_list_delete_entries): New function.
1105 (community_list_match): Add COMMUNITY_REGEXP treatment.
1106 (community_list_match_exact): Likewise.
1107 (config_write_community): Write community list according to
1108 entry->style.
1109
11102000-11-07 Rick Payne <rickp@rossfell.co.uk>
1111
1112 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1113
1114 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1115 community_entry.
1116
11172000-11-06 Rick Payne <rickp@rossfell.co.uk>
1118
1119 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1120
1121 * bgpd.c (bgp_enforce_first_as): New command "bgp
1122 enforce-first-as".
1123
1124 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1125
11262000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1127
1128 * bgp_community.c (community_compare): Copy byte stream data to
1129 actual value instead of using type casting hack.
1130 (community_add_val): Likewise.
1131 (community_uniq_sort): Likewise.
1132 (community_print): Likewise.
1133 (community_print_vty): Likewise.
1134 (community_include): Use memcmp to compare community value.
1135
1136 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1137 return pointer.
1138
11392000-11-06 Akihiro Mizutani <mizutani@dml.com>
1140
1141 * bgpd.h (struct peer): Add established and dropped member for
1142 count peering up/down statistics.
1143
1144 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1145
1146 * bgp_fsm.c (bgp_establish): Increment established count.
1147 (bgp_stop): Increment dropped count.
1148
1149 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1150
11512000-11-1 Akihiro Mizutani <mizutani@dml.com>
1152
1153 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1154
11552000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1156
1157 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1158
11592000-10-24 Akihiro Mizutani <mizutani@dml.com>
1160
1161 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1162 format fix.
1163
11642000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1165
1166 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1167 (bgp_serv_sock_addrinfo): Check address family.
1168
11692000-10-23 Jochen Friedrich <jochen@scram.de>
1170
1171 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1172 is registered. So those variables must be static.
1173
11742000-10-23 Akihiro Mizutani <mizutani@dml.com>
1175
1176 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1177 next-hop" argument from IP address to access-list name.
1178 Remove zebra-0.88 compatibility commands.
1179 "match ip prefix-list WORD"
1180 "match ipv6 prefix-list WORD"
1181
11822000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1183
1184 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1185 passing the pointer to the pointer of struct in6_addr instead of
1186 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1187
1188 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1189 HAVE_IPV6.
1190
11912000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1192
1193 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1194 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1195
11962000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1197
1198 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1199 should be done by attr->nexthop.s_addr instead of strcmp.
1200
12012000-10-18 Akihiro Mizutani <mizutani@dml.com>
1202
1203 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1204 bgp_redistribute_add().
1205
1206 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1207 checking IPv4 multiaccess nexthop.
1208
1209 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1210 reachable on multiaccess media, do not change nexthop.
1211 (bgp_redistribute_add): Set nexthop when the value is passed.
1212
12132000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1216 connect timer.
1217 (bgp_start): If the peer is passive mode, force to move to Active
1218 mode.
1219
12202000-10-17 Horms <horms@vergenet.net>
1221
1222 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1223
12242000-10-17 Akihiro Mizutani <mizutani@dml.com>
1225
1226 * bgp_route.c: "show ipv6 bgp" route display improvement.
1227
12282000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1231 function.
1232 (bgp_show_neighbor_route): Remove static declaration for union
1233 sockunion.
1234
1235 * bgpd.c (peer_update_source_set): Clean previously allocated
1236 memory before allocate new one.
1237
12382000-10-03 Akihiro Mizutani <mizutani@dml.com>
1239
1240 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1241 command.
1242 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1243 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1244 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1245 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1246
12472000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * zebra-0.89 is released.
1250
12512000-10-02 Akihiro Mizutani <mizutani@dml.com>
1252
1253 * bgpd.c: "bgp deterministic-med" command is added.
1254
12552000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1258 route addition and deletion.
1259
12602000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1261
1262 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1263 when comparing leftmost AS number.
1264
12652000-09-29 Akihiro Mizutani <mizutani@dml.com>
1266
1267 * bgpd.c (peer_route_reflector): Route reflector can be set for
1268 IBGP peer.
1269 (bgp_distribute_set): Fix bug of string check for (in|out).
1270 (bgp_show_summary): Display total neighbor count.
1271
12722000-09-28 Akihiro Mizutani <mizutani@dml.com>
1273
1274 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1275 originator for clinet to client routes.
1276 (bgp_packet_attribute): Add new cluster_list to the beginning of
1277 existing cluster_list.
1278 (bgp_packet_attribute): Fix bug of originator is rewritten even
1279 when originator is already set.
1280
12812000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1282
1283 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1284 "no bgp client-to-client reflection"
1285 "bgp client-to-client reflection"
1286
1287 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1288
12892000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1290
1291 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1292 read.
1293 (bgp_read_packet): Likewise.
1294 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1295
1296 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1297
12982000-09-26 Akihiro Mizutani <mizutani@dml.com>
1299
1300 * bgp_routemap.c: Configuration of prefix-list match is shown as
1301 "match ip address prefix-list <WORD>". Old configuration "match
1302 ip prefix-list <WORD>" is left for compatibilitty.
1303
13042000-09-25 Akihiro Mizutani <mizutani@dml.com>
1305
1306 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1307 BGP_CONFIG_MISSING_AS_WORST.
1308
1309 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1310 Old "bgp bestpath missing-as-worst"
1311 New "bgp bestpath med missing-as-worst"
1312
13132000-09-24 Akihiro Mizutani <mizutani@dml.com>
1314
1315 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1316
13172000-09-21 steve@Watt.COM (Steve Watt)
1318
1319 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1320 term_bgp_debug_*.
1321
1322 * bgp_debug.c: Declare variables here.
1323
13242000-09-21 Akihiro Mizutani <mizutani@dml.com>
1325
1326 * bgpd.c: MBGP soft-reconfiguration command is added.
1327 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1328 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1329 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1330 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1331 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1332 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1333 clear ip bgp * ipv4 (unicast|multicast) in
1334 clear ip bgp * ipv4 (unicast|multicast) out
1335 clear ip bgp * ipv4 (unicast|multicast) soft
1336
1337 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1338 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1339
1340 "bgp bestpath med confed" command is added.
1341
1342 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1343
13442000-09-18 Rick Payne <rickp@rossfell.co.uk>
1345
1346 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1347
13482000-09-12 Akihiro Mizutani <mizutani@dml.com>
1349
1350 * bgpd.c (bgp_default_local_preference): Add "bgp default
1351 local-preference" command.
1352
1353 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1354 command.
1355
13562000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1357
1358 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1359 are passed to zebra like IBGP route.
1360
13612000-09-10 Akihiro Mizutani <mizutani@dml.com>
1362
1363 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1364 configuration.
1365
1366 * bgp_route.c: Community match command is added.
1367 "show ip bgp community <val>"
1368 "show ip bgp community <val> exact-match"
1369
13702000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1371
1372 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1373 treated as IBGP routes.
1374
13752000-09-08 Akihiro Mizutani <mizutani@dml.com>
1376
1377 * bgp_route.c (bgp_show_route): When local-AS community route is
1378 selected, display "not advertised outside local AS" to "show ip
1379 route A.B.C.D" output.
1380 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1381 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1382 "show ip bgp ipv4 (unicast|multicast) community"
1383 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1384 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1385
1386 * bgp_clist.c (community_list_match_exact): Community exact match
1387 function.
1388
13892000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1390
1391 * bgp_route.c (bgp_update): Add peer's ttl check.
1392
1393 * bgpd.h (struct peer): Structure member refresh is renamed to
1394 refresh_adv.
1395
1396 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1397 when soft reconfiguration is performed.
1398
1399 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1400 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1401
1402 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1403
14042000-08-25 Akihiro Mizutani <mizutani@dml.com>
1405
1406 * bgpd.c: Add AS base BGP soft reconfiguration.
1407
1408 * bgp_route.c: When no-advertise or no-export route is selected,
1409 "show ip bgp" display "not advertised to EBGP peer" or "not
1410 advertised to any peer" message.
1411
14122000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * zebra-0.88 is released.
1415
1416 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1417 bgp route-mrt" to support MRT specific dump format.
1418
1419 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1420 added.
1421
1422 * bgp_route.c (bgp_update): Currently nexthop check is only works
1423 for IPv4.
1424
14252000-08-17 Akihiro Mizutani <mizutani@dml.com>
1426
1427 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1428 both inbound and outbound soft reconfiguration.
1429
14302000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1433 outbound.
1434 (peer_new): Set route-refresh flag.
1435
14362000-08-16 Akihiro Mizutani <mizutani@dml.com>
1437
1438 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1439 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1440 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1441 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1442 bgp * in" alias is added.
1443
14442000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1445
1446 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1447 is set do not install the route into Adj-RIBs-In.
1448 (bgp_update): Perform implicit withdraw before filtering of the
1449 route.
1450
1451 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1452 capability code and BGP message can be accepted.
1453
1454 * bgp_open.c (bgp_capability_parse): Likewise.
1455
1456 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1457 (bgp_refresh_rib): Likewise.
1458
1459 * bgpd.c (bgp_show_peer): Display route refresh status.
1460
1461 * bgp_route.c (bgp_aggregate_add): Add check for the route
1462 validness.
1463 (bgp_aggregate_delete): Likewise.
1464
14652000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1468 route become inaccessible.
1469
14702000-08-15 Akihiro Mizutani <mizutani@dml.com>
1471
1472 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1473 command is added.
1474
14752000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * bgp_zebra.c (bgp_interface_up): Register connected route.
1478 (bgp_interface_down): Unregister connected route.
1479
14802000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * bgp_route.h (struct bgp_info): Add distance to the structure.
1483
1484 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1485 match to smaller prefixlen route not match same prefixlen route.
1486 (bgp_aggregate_decrement): Likewise.
1487 (bgp_aggregate_add): Likewise.
1488 (bgp_aggregate_delete): Likewise.
1489 (bgp_network_backdoor): Add backdoor network configuration.
1490
1491 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1492 configuration distance value.
1493
1494 * bgp_route.c (bgp_update): Filter EBGP route which has non
1495 connected nexthop.
1496
1497 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1498 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1499 Set aggregator AS and address.
1500 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1501 filling aggregator_as.
1502
1503 * bgp_route.c (bgp_process): Delete suppress check for install
1504 suppressed route into local routing table.
1505 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1506 of bgp_attr_default_intern ().
1507 (bgp_aggregate_add): Likewise.
1508
1509 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1510 created. This is for avoid 0.0.0.0 router-id.
1511
15122000-08-13 Akihiro Mizutani <mizutani@dml.com>
1513
1514 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1515 route is valied. Display "aggregated" when the route is
1516 aggregated. "Advertisements suppressed by an aggregate" is
1517 displayed when the route is suppressed.
1518 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1519
15202000-08-10 Akihiro Mizutani <mizutani@dml.com>
1521
1522 * bgp_route.c (route_vty_out_detail): Display format change.
1523
15242000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1525
1526 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1527
1528 * bgpd.c (bgp_delete): Delete static route before delete peer
1529 configuration.
1530
15312000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * bgpd.c: Include bgpd/bgp_nexthop.h.
1534
15352000-07-31 Akihiro Mizutani <mizutani@dml.com>
1536
1537 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1538 identifier. And status is changed like below.
1539
1540 State/Pref -> State/PfxRcd
1541 Shutdown -> Idle (Admin)
1542 PrefixOvflw -> Idle (PfxCt)
1543
1544 * bgp_route.c (route_vty_out): Show internal route as "i".
1545
15462000-07-13 Jim Bowen <jimb@zereau.net>
1547
1548 * bgp_snmp.c: Add BGP peer MIB implementation.
1549
15502000-07-12 Akihiro Mizutani <mizutani@dml.com>
1551
1552 * bgpd.c (bgp_show_peer): Fix typo.
1553
15542000-07-11 Akihiro Mizutani <mizutani@dml.com>
1555
1556 * bgp_routemap.c: Add commands for deleting set without argument.
1557
15582000-07-03 Akihiro Mizutani <mizutani@dml.com>
1559
1560 * bgp_zebra.c: Fix redistribute help strings.
1561
15622000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
1565 output to vty at once.
1566
15672000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1568
1569 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
1570 tag WORD" command is added.
1571
1572 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
1573
15742000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1575
1576 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
1577
1578 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
1579 negotiation result in "show ip bgp neighbors".
1580
15812000-06-12 Akihiro Mizutani <mizutani@dml.com>
1582
1583 * bgpd.c: Fix help strings.
1584
1585 * bgpd.h: Likewise.
1586
15872000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
1590 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
1591
1592 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
1593 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
1594
1595 * bgp_route.c (bgp_static_set): Set safi to p.safi.
1596
15972000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
1600 (bgp_show_regexp): Change to use bgp_show().
1601 (show_adj_route): Change to display header.
1602
1603 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
1604 is cleared manually.
1605
1606 * bgp_route.c (bgp_show_route): New function which display
1607 specific BGP route. Divided from bgp_show().
1608 (bgp_static_delete): Delete all static route.
1609
16102000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
1611
1612 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
1613 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
1614 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
1615 mbgp" and "show ipv6 mbgp".
1616
16172000-06-07 Akihiro Mizutani <mizutani@dml.com>
1618
1619 * bgp_route.c: Fix help strings and command arguments.
1620
16212000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1622
1623 * bgp_ecommunity.c: Include prefix.h
1624
16252000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1626
1627 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
1628 value.
1629
1630 * bgp_route.c (bgp_adj_set): table NULL check is added.
1631 (bgp_adj_unset): Likewise.
1632 (bgp_adj_lookup): Likewise.
1633 (bgp_adj_clear): Likewise.
1634 (route_vty_out): Add SAFI check for nexthop display.
1635 (bgp_withdraw): Add SAFI check for withdraw route.
1636
1637 * Remove all #ifdef MPLS_VPN then include it as default.
1638
1639 * bgpd.c: Temporary disable peer-group command until the
1640 implementation is completed.
1641
1642 * bgp_routemap.c (bgp_route_map_init): Install
1643 route_metric_match_cmd.
1644 (route_match_metric_compile): MED value compile using strtoul.
1645
16462000-06-05 Akihiro Mizutani <mizutani@dml.com>
1647
1648 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
1649 NAME to WORD.
1650
1651 * Change command argument to more comprehensive.
1652
1653 METRIC -> <0-4294967295>
1654 WEIGHT -> <0-4294967295>
1655 LOCAL_PREF -> <0-4294967295>
1656 IP_ADDR -> A.B.C.D
1657 AS -> <1-65535>
1658 AS-PATH-NAME -> WORD
1659 ACCESS_LIST -> WORD
1660 PREFIX_LIST -> WORD
1661 COMMUNITY -> AA:NN
1662 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
1663 IPv6_ADDR -> X:X::X:X
1664
1665 * bgp_clist.c: Fix help strings.
1666
16672000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1668
1669 * bgpd.c (peer_active): Add new function for check the peer is
1670 active or not.
1671 (neighbor_activate): New command "neighbor PEER activate" and "no
1672 neighbor PEER activate" are added.
1673
1674 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
1675
16762000-06-02 Akihiro Mizutani <mizutani@dml.com>
1677
1678 * bgp_clist.c: Fix commuity-list help strings.
1679
1680 * bgp_routemap.c: Fix "set community" help strings. Add #define
1681 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
1682
16832000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1684
1685 * bgp_routemap.c (route_set_community_none_cmd): "set community
1686 none" command is added to route-map.
1687
16882000-06-01 Akihiro Mizutani <mizutani@dml.com>
1689
1690 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
1691 debugging" is not used in VIEW_NODE.
1692
16932000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
1696 fix unconditional BGP connection.
1697
1698 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
1699 peer_change_flag_with_reset().
1700
17012000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
1704 ipv4-unicast" command.
1705
1706 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
1707
1708 * bgp_filter.c (as_list_delete): Free all AS filter.
1709
1710 * bgp_clist.c (community_list_delete): Free all community entry.
1711
1712 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
1713 access-list NAME".
1714
1715 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
1716 community-list NAME".
1717
17182000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1719
1720 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
1721 routes" to "show ip bgp PEER received-routes"
1722
17232000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1724
1725 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
1726 Communities attribute.
1727 * bgp_ecommunity.h: Likewise.
1728
17292000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * bgp_mplsvpn.h: New file for MPLS-VPN.
1732 * bgp_mplsvpn.c: Likewise.
1733
1734 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
1735
17362000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
1739 missing-as-worst".
1740
17412000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1742
1743 * bgp_routemap.c (match_community): Clarify help of "match
1744 community".
1745
17462000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1747
1748 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
1749
17502000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1751
1752 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
1753 from same neighboring AS.
1754
1755 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
1756
1757 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
1758
17592000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1760
1761 * bgp_route.c (bgp_output_filter): When distribute-list's
1762 corresponding access-list does not exist, filter all routes.
1763 (bgp_input_filter): Likewise.
1764
17652000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
1768
1769 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
1770
17712000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * bgpd.c (bgp_distribute_update): Add struct access_list *
1774 argument.
1775
17762000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1777
1778 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
1779 check.
1780
1781 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
1782
1783 * bgp_route.c (bgp_show): Fix undeclared write variable.
1784
17852000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1786
1787 * bgp_routemap.c: Add "match ip address prefix-list".
1788
17892000-03-29 Rick Payne <rickp@rossfell.co.uk>
1790
1791 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
1792
17932000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1794
1795 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
1796 the peer status is Connect.
1797
17982000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1799
1800 * Fix bug of rewritten originator-id.
1801
18022000-01-27 Rick Payne <rickp@rossfell.co.uk>
1803
1804 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
1805 directly referencing array, search proper AS path delimiter.
1806 (aspath_strip_confed): Strip the confederation stuff from the
1807 front of an AS path.
1808 (aspath_add_left_confed): New function for adding specified AS to
1809 the leftmost AS_CONFED_SEQUENCE.
1810
1811 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
1812 to Cisco compatible.
1813
1814 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
1815 (bgp_confederation_id_unset): Likewise.
1816 (bgp_confederation_peers_check): Likewise.
1817 (bgp_confederation_peers_add): Likewise.
1818 (bgp_confederation_peers_remove): Likewise.
1819 (bgp_confederation_peers_set): Likewise.
1820 (bgp_confederation_peers_unset): Likewise.
1821 (bgp_confederation_peers_print): Likewise.
1822
18232000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
1826
18272000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1828
1829 * bgp_open.c (bgp_open_option_parse): When there is no common
1830 capability send Unsupported Capability error to the peer.
1831
18322000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1833
1834 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
1835 IPv6 unicast.
1836
1837 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
1838
18392000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1840
1841 * bgpd.c (neighbor_strict_capability): Add
1842 "strict-capability-match" command.
1843
1844 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
1845 router-id.
1846
1847 * bgpd.c (peer_override_capability): Add "override-capability"
1848 command.
1849
18501999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1851
1852 * bgp_packet.c (bgp_write): Change status to Idle and set timer
1853 after write failed.
1854
18551999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1856
1857 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
1858
18591999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1860
1861 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
1862 nlri_parse().
1863
18641999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
1867
1868 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
1869 the peer is cleared.
1870
1871 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
1872 link-local address. This is KAME specific problem.
1873
18741999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1875
1876 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
1877 while. We don't completely detect the link is shared or not at
1878 this moment.
1879
1880 * bgp_packet.c (bgp_notify_send): Make shortcut call of
1881 bgp_write() and bgp_stop().
1882
1883 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
1884 global and link-local address.
1885
18861999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1887
1888 * bgpd.c (no_neighbor_port): New command added.
1889 (peer_new): Set send_community.
1890
18911999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1892
1893 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
1894 (show_ip_mbgp_summary): Likewise.
1895 (show_ipv6_bgp_summary): Likewise.
1896 (show_ipv6_mbgp_summary): Add new command.
1897 (peer_free): Free peer->host.
1898 (peer_lookup_by_su): Delete function.
1899 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
1900 (sockunion_vty_out): Function deleted.
1901 (vty_clear_bgp): Use afi instead of family.
1902 Delete old list bgp_list. Use struct newlist *bgplist.
1903 (peer_lookup_by_host): Function deleted.
1904
19051999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * bgpd.h (struct peer_group): New structure added.
1908 (struct peer_conf): New structure added.
1909 (struct peer): Change all prefix_count to unsigned long.
1910
1911 * bgpd.c: Reconstruct all of VTY commands reflect internal
1912 structure change.
1913 Use bgplist instead of bgp_list.
1914 Use peerlist intstead of peer_list.
1915
1916 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
1917 parsing then return immediately.
1918
1919 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
1920 -1.
1921 (nlri_process): Use pcount_v4_{unicast,multicast}.
1922 (nlri_delete): Likewise.
1923
19241999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
1925
1926 * bgp_routemap.c (route_match_nlri): `match nlri
1927 unicast|multicast' and `set nlri unicast|multicast' command are
1928 added.
1929
19301999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
1931
1932 * bgpd.c: Add translate-update support.
1933
1934 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
1935
19361999-11-19 Robert.Olsson@data.slu.se
1937
1938 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
1939
19401999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1941
1942 * bgp_open.c (bgp_capability_mp): Temporary comment out
1943 SAFI_UNICAST_MULTICAST handling until we know the meanings.
1944
19451999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1946
1947 * bgp_btoa.c: New file added.
1948
19491999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1950
1951 * bgpd.h (struct peer): Add dont_capability flag.
1952 (struct peer): Add override_capability flag.
1953
1954 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
1955 dont-capability-negotiation' added.
1956
19571999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1958
1959 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
1960 attribute from non-shared-network peers.
1961
19621999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1963
1964 * bgp_snmp.c: New file added.
1965
1966 * BGP4-MIB.txt: Updated to the latest Internet-Draft
1967 draft-ietf-idr-bgp4-mib-04.txt.
1968
19691999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
1972
1973 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
1974 #ifdef HAVE_MBGPV4.
1975
19761999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1977
1978 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
1979 dump bgp commands.
1980 (config_write_bgp_dump): Write interval value to the
1981 configuration.
1982
19831999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1984
1985 * bgp_zebra.c: Redistribute route-map support is added.
1986
1987 * bgp_zebra.h: New file added.
1988
19891999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * bgp_dump.c: BGP packet dump routine compatible with MRT.
1992 * bgp_dump.h: BGP packet dump routine compatible with MRT.
1993
1994 * bgp_debug.c: Renamed from bgp_dump.c
1995 * bgp_debug.h: Renamed from bgp_dump.h
1996
19971999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
2000
20011999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2002
2003 * bgp_route.c (bgp_announce): If we're not on a shared network
2004 with the peer and we don't have a link-local next hop, but the
2005 inbound next-hop has a link-local address, don't readvertise it to
2006 our peer.
2007
20081999-10-25 Marc Boucher <marc@mbsi.ca>
2009
2010 * bgp_zebra.c: Add redistribute kernel command.
2011
20121999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2013
2014 * bgp_route.c (bgp_reset): New function added.
2015
2016 * bgpd.conf.sample2: Add IPv6 configuration sample.
2017
20181999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2019
2020 * bgp_route.c (ipv6_aggregate_address): Function added.
2021
20221999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
2025 list after parsing BGP update packet.
2026
2027 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
2028 (bgp_attr_community): Intern parsed community.
2029 (bgp_attr_cluster_list): Intern parsed cluster list.
2030
2031 * bgp_routemap.c: Add `set community-additive' command.
2032
20331999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
2034
2035 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
2036 attribute flag.
2037
20381999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2039
2040 * bgp_route.c (bgp_announce): Add check of IPv6 default route
2041 announcement.
2042
2043 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
2044
20451999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2046
2047 * `show ip[v6] bgp PREFIX' show uptime of the route.
2048
20491999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2050
2051 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
2052 of that use AF_INET and AF_INET6 directly.
2053 (vty_clear_bgp): Add new function to support various clear ip bgp
2054 method.
2055
20561999-10-04 Lars Fenneberg <lf@elemental.net>
2057
2058 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
2059
20601999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2061
2062 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2063 prefix-list'.
2064
20651999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2066
2067 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2068 function.
2069
20701999-09-26 Blake Meike <bmeike@adero.com>
2071
2072 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2073 added.
2074
20751999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2076
2077 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2078 min() macro.
2079
20801999-08-19 Rick Payne <rickp@rossfell.co.uk>
2081
2082 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2083 keepalive timer configurable.
2084
20851999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2088
20891999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2092 the peer not all of them.
2093
20941999-08-11 Rick Payne <rickp@rossfell.co.uk>
2095
2096 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2097 will get overwritten by route-maps.
2098
20991999-08-08 Rick Payne <rickp@rossfell.co.uk>
2100
2101 * bgp_routemap.c: Multi protocol route-map modification.
2102
21031999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2104
2105 * bgp_route.c: Set network statement route's origin attribute as
2106 igp.
2107
2108 * bgp_zebra.c: Set redistribute route's origin attribute as
2109 incomplete.
2110
2111 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2112 origin attribute check, BGP peer type check.
2113
21141999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2115
2116 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2117
21181999-07-29 Rick Payne <rickp@rossfell.co.uk>
2119
2120 * Changed route-maps to behave in a more cisco-like fashion
2121
21221999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2123
2124 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2125 When multiple route to the same destination exist, bgpd try to
2126 announce the information to stopped peer. Then add orphan write
2127 thread is added. This cause many strange behavior of bgpd.
2128 Reported by Georg Hitsch <georg@atnet.at>.
2129
21301999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2131
2132 * bgpd.c: Change peer's A.B.C.D to PEER.
2133
21341999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2135
2136 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2137
2138 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2139 local address.
2140
21411999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2142
2143 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2144 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2145
21461999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2147
2148 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2149 fsm_holdtime ().
2150
21511999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2152
2153 * bgp_routemap.c: Add `set atomic-aggregate' command.
2154
21551999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2156
2157 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2158 to "ip next-hop".
2159
21601999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2161
2162 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2163 added.
2164
21651999-07-01 Rick Payne <rickp@rossfell.co.uk>
2166
2167 * bgp_zebra.c (zebra_init): Install standard commands to
2168 ZEBRA_NODE.
2169
21701999-06-28 Rick Payne <rickp@rossfell.co.uk>
2171
2172 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2173
21741999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * bgpd.c: Add neighbor update-source command as ALIAS to
2177 neighbor_interface.
2178
21791999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2180
2181 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2182 send_community flag is set.
2183
2184 * bgpd.h (struct peer): Add send_community flag.
2185
21861999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2187
2188 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2189 <1-65535>.
2190
21911999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2192
2193 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2194
21951999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2196
2197 * bgp_community.c (community_merge): Function added.
2198
21991999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2200
2201 * bgp_clist.c: New file.
2202 * bgp_clist.h: New file.
2203
2204 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2205 compatibility.
2206 (COMMUNITY_NO_ADVERTISE): Fix typo.
2207
22081999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2209
2210 * bgp_routemap.c: Add `set weight WEIGHT' command.
2211
2212 * bgpd.c: Remove all_digit_check function. Instead of that use
2213 all_digit function in lib/prefix.c.
2214
2215 * bgp_routemap.c (bgp_route_map_init): Install
2216 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2217 element to the RMAP_NODE.
2218
22191999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2220
2221 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2222 inside aspath_make_str function.
2223 (aspath_prepend): New function is added for AS path prepend.
2224 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2225 count is set to the structure.
2226 (aspath_merge): New function.
2227
22281999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2229
2230 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2231 (no_redistribute_bgp): Likewise.
2232 (router_zebra): Semantics changed. Now 'router zebra' is default
2233 behavior of bgpd.
2234
22351999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2236
2237 * bgp_routemap.c: Add some commands to bgp route-map.
2238 match ip next-hop: New command.
2239 match metric: New command.
2240 set metric: Doc fix.
2241 set local-preference: Add DEFUN.
2242
22431999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2244
2245 * bgp_main.c (signal_init): SIGTERM call sigint.
2246 (sigint): Loggging more better message.
2247
22481999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2251 length bit check is added.
2252
22531999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2254
2255 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2256 function with route_set_local_pref_cmd argument.
2257 (no_match_aspath): Function added.
2258 (route_set_metric): Set attribute flag bit.
2259
2260 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2261 packet.
2262
22631999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2264
2265 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2266 holdtime' command is added.
2267
2268 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2269
2270 * bgpd.c (bgp_prefix_list_set): New function added.
2271 (bgp_prefix_list_unset): Likewise.
2272 (bgp_prefix_list_update): Likewise.
2273 (show_ip_bgp_neighbors): prefix-list information display.
2274
22751999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2276
2277 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2278
22791999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2280
2281 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2282
2283 * bgpd.c (bgp_router_id): Even when address is malformed set the
2284 value to configuration bug fixed.
2285 (no_bgp_router_id): New function.
2286 (no_bgp_cluster_id): New function.
2287
22881999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2289
2290 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2291
22921999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2293
2294 * bgp_route.c (bgp_announce): Add route reflector check.
2295
22961999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2297
2298 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2299 (neighbor_route_reflector_client): Likewise.
2300 (no_neighbor_route_reflector_client): Likewise.
2301
2302 * bgpd.h (struct bgp ): Add cluster for route reflector.
2303
2304 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2305
23061999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2307
2308 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2309
2310 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2311 has same functionality.
2312
2313 * bgp_filter.h: New file.
2314
2315 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2316 aspath_unintern ()
2317 (aspath_free): New function.
2318
23191999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2320
2321 * bgp_aspath.c (aspath_aggregate): Function added.
2322
2323 * bgp_aspath.h (aspath_aggregate): Prototype added.
2324
2325 * bgp_aspath.c (aspath_empty_aspath): New argument
2326 gated_dont_eat_flag is added.
2327
23281999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2329
2330 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2331
23321999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2333
2334 * bgp_route.c (aggregate_address): Function added.
2335
2336 * bgp_zebra.c (zebra_read): Change log to zlog.
2337
23381999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2339
2340 * Makefile.am (noninst_HEADERS): Added for make dist.
2341
23421999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2343
2344 * aspath_regex.c: Removed from distribution.
2345
23461999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2347
2348 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2349 bug fixed.
2350
23511999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2352
2353 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2354 by kad@gibson.skif.net.
2355
2356 * bgp_regex.[ch]: New file added.
2357
2358
23591999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2360
2361 * bgp_filter.c: New file added.
2362
23631999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2364
2365 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2366 gated.
2367
23681999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2369
2370 * bgp_main.c (main): Default loggin method changed from syslog to
2371 stdout.
2372
23731999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2374
2375 * bgp_route.c: Delete obsolete default attribute DEFUN.
2376
23771999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2378
2379 * bgp_attr.c: Make attribute structure put into attribute hash.
2380
23811999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2382
2383 * bgp_view.c : Delete file.
2384
23851999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2386
2387 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2388
2389 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2390 replace bgp_route with this.
2391
2392 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2393 prefix value to access_list_apply().
2394
2395 * bgpd.conf.sample: Add route-map sample.
2396 Delete obsolete default-attr statements.
2397
2398 * bgp_packet.c: Use stream_fifo for packet queueing.
2399
24001999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2401
2402 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2403
2404 * bgp_main.c: include unistd.h for daemon().
2405
2406 * bgp_route.c (nlri_process): add IPv6 table lookup.
2407
2408 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2409 (attr_make): Obsolete function attr_make deleted.
2410
24111999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2412
2413 * bgp_aspath.c (aspath_add_left): change function name from
2414 aspath_add_leftmost_as().
2415
24161999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2417
2418 * bgp_aspath.c: add aspath_add_leftmost_as ().
2419
24201999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2421
2422 * syslog support added
2423
24241999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2425
2426 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2427 DEFUN (neighbor_distribute_list): added.
2428
24291999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2430
2431 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2432
2433 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2434 bgpd.c
2435
2436 * bgp_network.c: New file.
2437 * bgp_network.h: New file.
2438
2439 * bgp_packet.h: New file.
2440
24411999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2442
2443 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2444 buffered.
2445
24461999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2447
2448 * bgp_packet.c: New file.
2449
24501998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2451
2452 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2453
2454 * `show ip bgp' bug fixed.
2455 * aspath_log (): Remove argument logfp.
2456
24571998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2458
2459 * bgp_fsm.h: New file.
2460
24611998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2462
2463 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2464 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2465 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2466 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2467
24681998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2469
2470 * bgpd.c (bgp_config_write): Delete vector v argument.
2471
24721998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2473
2474 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2475
24761998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2477
2478 * bgp_radix.[ch]: removed.
2479
24801998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2481
2482 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2483
24841998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2485
2486 * bgp_dump.c: delete nroute().
2487
24881998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2489
2490 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2491 * bgpd.h: Modify for compile on Solaris.
2492 * bgp_aspath.h: likewize
2493 * bgp_community.h: likewize
2494 * bgp_routemap.c: likewize
2495
24961998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2497
2498 * bgpd.h: Modify for compile on Solaris.
2499 * bgp_aspath.h: likewize
2500
25011998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2502
2503 * routemap.[ch]: move to ../lib directory.
2504
25051998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2506
2507 * routemap.c (route_map_apply): add function.
2508
25091998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2510
2511 * routemap.h: add file.
2512
2513 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2514
25151998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2516
2517 * Makefile.am: sysconfdir_DATA added.
2518
25191998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2520
2521 * bgp_dump.c: add `debug bgp fsm'
2522 add `no debug bgp fsm'
2523 add `show debug bgp'
2524 * bgp_open.c: File added.
2525
25261998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2527
2528 * .cvsignore: File added.
2529
25301998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2531
2532 * bgp_community.[ch]: File added.
2533
25341998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2535
2536 * bgpd now use lib/thread.[ch].
2537
25381998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2539
2540 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2541
2542 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2543
25441997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2545
2546 * bgp_vty.c: bgp_vty.c deleted.
2547
2548 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2549
25501997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2551
2552 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
2553
25541997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2555
2556 * bgp_vty.c: new file.
2557
2558 * bgp_attr.c: add new logging system.
2559
25601997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2561
2562 * Change all inet_addr call into inet_aton.
2563
25641997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2565
2566 * bgp_radix.c: change radix_peer_delete
2567
25681997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2569
2570 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
2571
25721997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2573
2574 * bgp_dump.c (bgp_log_route): add dump_attr function
2575
25761997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2577
2578 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
2579 * bgp_dump.c (bgp_log_route): change logfile format.
2580
25811997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2582
2583 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
2584 * bgp_attr.c (community_str2com): add community value generation
2585 * bgp_attr.h: add SAFI definition for BGP-4+
2586
25871997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2588
2589 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
2590 * Makefile.in: add bgp_open.o, delete bgp_loop.o
2591 * bgp_open.c: newfile which manages BGP Open message
2592 * bgp_loop.c: this file is merged with bgp_fsm.c
2593 * bgp_radix.c (radix_add): radix_add() now return route_t instead
2594 of int
2595 (bgp_sim): now we can read update & withdraw from file
2596 * bgp_route.c: add route_free() call into route_parse etc.
2597
25981997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2599
2600 * bgp_radix.c: Radix code is completely rewritten. It has better
2601 memory treatment than old one.
2602
26031997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2604
2605 * bgp_route.c: route_alloc for route struct allocation statistics.
2606 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
2607 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
2608 format.
2609
26101997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2611
2612 * bgp_term.c (term_parse): add command : show asstat, show ashash
2613 * bgp_aspath.c: aspath_cmp bug fix
2614 (aspath_print_all): add aspath_print_all ();
2615 * bgp_peer.h: delete rlist element from struct peer.
2616
26171997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2618
2619 * bgp_aspath.c: completely rewritten.
2620 * bgp_aspath.h: completely rewritten.
2621 add AsPath, AsSegment structure
2622 add AS_SET treatment
2623 change Hash codes
2624
26251997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2626
2627 * bgp_attr.h: add Attribute flags defines
2628 * bgp_route.c: delete rlist related functions
2629 * bgp_aspath.c (as_origin): add as_origin function
2630 (aspath_print): move from bgp_dump.c and add support of AS_SET
2631 change Hash related function names.
2632
26331997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2634
2635 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
2636
26371997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2638
2639 * bgp_aspath.c (as_sort): add function as_sort
2640 * bgp_aspath.h: add IBGP, EBGP
2641