blob: 79414defb81ddf2ee44f8a73ff32e1124baa682a [file] [log] [blame]
paula24a7e12005-01-05 08:14:13 +000012005-01-05 Paul Jakma <paul@dishone.st>
2
3 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
4 this should be generalised. See bugzilla #102. Fix supplied by
5 wawa@yandex-team.ru (Vladimir Ivanov).
6
ajsd2c1f162004-12-08 21:10:20 +000072004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
8
9 * *.c: Change level of debug messages to LOG_DEBUG.
10
ajs274a4a42004-12-07 15:39:31 +0000112004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
12
13 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
14
ajs887c44a2004-12-03 16:36:46 +0000152004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
16
17 * bgp_main.c: (sigint) Use zlog_notice for termination message.
18 (main) Use zlog_notice for startup announcement.
19
hassoc0652302004-11-25 19:33:48 +0000202004-11-25 Hasso Tepper <hasso at quagga.net>
21
22 * bgp_main.c: Make group to run as configurable.
23
paul59320202004-11-09 01:54:03 +0000242004-11-09 Paul Jakma <paul@dishone.st>
25
26 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
27 and cache{1,2}.. into arrays of tables and hence collapse
28 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
29 a long time ago (and this change was hand-merged).
30
ajs5a646652004-11-05 01:25:55 +0000312004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
32
33 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
34 is deprecated because the output did not represent a single point
35 in time. All output needs to be generated inline and buffered
36 by the library code.
37 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
38 flap_route_vty_out) Remove code to count number of lines of output,
39 since this was only useful for VTY_CONTINUE behavior.
40 (bgp_show_callback,vty_calc_line) Removed.
41 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
42 As a result, there's a new output_arg argument to this function.
43 Make function static.
44 (bgp_show) Make function static and add a new output_arg argument.
45 Change all functions that call bgp_show or bgp_show_table to
46 pass the new output_arg argument (that used to be passed inside
47 vty->output_arg).
48 * bgp_mplsvpn.c: Remove declarations of functions defined in
49 bgp_route.c; these declarations belong in bgp_route.h.
50 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
51 and in bgp_mplsvpn.c.
52
paula2b1ecd2004-10-31 18:58:09 +0000532004-10-31 Paul Jakma <paul@dishone.st>
54
55 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
56
paul98f51632004-10-25 14:19:15 +0000572004-10-25 Paul Jakma <paul@dishone.st>
58
59 * Update with fix in debian bug id 222930.
60 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
61 bgp_network.c: (....) raise/lower privs around call to
62 SO_BINDTODEVICE sockopt.
63
hasso3fb9cd62004-10-19 19:44:43 +0000642004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
65
66 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
67 may be NULL.
68 (bgp_connected_delete) ditto.
69
hasso501ba492004-10-13 21:32:46 +0000702004-10-14 Hasso Tepper <hasso at quagga.net>
71
72 * bgp_dump.c: Make dump configuration appear in vtysh.
73
hassoc75105a2004-10-13 10:33:26 +0000742004-10-13 Hasso Tepper <hasso at quagga.net>
75
76 * bgp_snmp.c: Remove defaults used to initialize smux connection to
77 snmpd. Connection is initialized only if smux peer is configured.
hasso8b3126b2004-10-13 20:59:04 +000078 * bgp_view.c: It's dead file. Reomved.
hassoc75105a2004-10-13 10:33:26 +000079
paulfd79ac92004-10-13 05:06:08 +0000802004-10-13 Paul Jakma <paul@dishone.st>
81
82 * (global) more const'ification and fixups of types to clean up code.
83 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
84 should use something like the VTY_GET_INTEGER macro, but without
85 the vty_out bits..
86 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
87 (no_set_aggregator_as) ditto.
88 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
89 returned, add comments about troublesome return value.
90
hasso18a6dce2004-10-03 18:18:34 +0000912004-10-03 James R. Leu <jleu at mindspring.com>
92
93 * bgp_vty.c: Router id from zebra can be manually overriden.
94 * bgp_zebra.c: Read router id related messages from zebra daemon.
95 Remove own code related with router id selection.
96 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
97 from zebra daemon if it isn't manually overriden.
98
hassoc9e52be2004-09-26 16:09:34 +0000992004-09-26 Hasso Tepper <hasso at quagga.net>
100
101 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
102
hasso52dc7ee2004-09-23 19:18:23 +00001032004-09-23 Hasso Tepper <hasso at quagga.net>
104
105 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
106
paule01f9cb2004-07-09 17:48:53 +00001072004-07-09 Paul Jakma <paul@dishone.st>
108
109 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
110 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
111 attributes present before printing.
112 * bgp_dump.c: update bgp_dump_attr prototype.
113 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
114 of bgp_dump_attr. Log end-of-rib UPDATEs.
115
paulf5ba3872004-07-09 12:11:31 +00001162004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
117
118 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
119 if that is connection we're closing.
120 (bgp_read) invalid marker check applies to KEEPALIVE too.
121 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
122
paul5228ad22004-06-04 17:58:18 +00001232004-06-04 Paul Jakma <paul@dishone.st>
124
125 * type mismatch fixes
126
hasso538621f2004-05-21 09:31:30 +00001272004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
128
129 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
130 Graceful restart capability display.
131
hasso3950fda2004-05-20 10:22:49 +00001322005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
133
134 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
135
hasso4372df72004-05-20 10:20:02 +00001362004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
137
138 * bgp_ecommunity.c: Transit ecommunity support.
139 * bgp_ecommunity.c: Fix for unknown community crush.
140
hassoe0701b72004-05-20 09:19:34 +00001412005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
142
143 * *: Maximum prefix threshold support.
144 * *: Reset notification fixups.
145
paul0a589352004-05-08 11:48:26 +00001462004-05-08 Paul Jakma <paul@dishone.st>
147
148 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
149 (bgp_interface_address_delete) ditto.
150 (bgp_zebra_announce) ditto.
151 (bgp_zebra_withdraw) ditto.
152
paulc5317402004-05-03 13:25:06 +00001532004-05-03 Daniel Roesen <dr@cluenet.de>
154
155 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
156 Established so that it reflects true downtime (rather time
157 since last transition, eg Active->Idle)
158
paul35be31b2004-05-01 18:17:04 +00001592004-05-01 rivo nurges <rix@estpak.ee>
160
161 * bgp_route.c: fix UNH IOL BGP-4.1.12f
162
pauleb821182004-05-01 08:44:08 +00001632004-05-01 Paul Jakma <paul@dishone.st>
164
165 * Revert the attempted clean-up of the dummy peer hack, reverts
166 patchsets 435 (see 2004-02-17 below) and 456.
167
paul545acaf2004-04-20 15:13:15 +00001682004-04-16 rivo nurges <rix@estpak.ee>
169
hasso9b87e412004-04-20 16:54:49 +0000170 * bgpd.h, bgp_debug.c: update cease subcodes to
171 draft-ietf-idr-cease-subcode-05
paul545acaf2004-04-20 15:13:15 +0000172 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
173
paul6ad23f02004-02-17 19:45:10 +00001742004-02-17 Paul Jakma <paul@dishone.st>
175
176 * bgpd.h: (bgp_peer) add fd_local and fd_accept
177 file descriptor's, fd becomes a pointer to one of these.
178 * bgpd.c: (global) adjust for fact that fd is now a pointer.
179 (peer_create_accept) removed.
180 * bgp_route.c: (global) adjust for change of peer fd to pointer
181 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
182 "replace with other peer" hack.
183 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
184 Update peer->fd_accept instead.
185 (global) Adjust fd references - now a pointer.
186 * bgp_fsm.c: (global) adjust peer fd to pointer.
187 (bgp_connection_stop) new function, to stop connection.
188 (global) adjust everything which closed peer fd to use
189 bgp_connection_stop().
190
gdt10d60ad2003-12-23 17:34:39 +00001912003-12-23 Krzysztof Oledzki <oleq@ans.pl>
192
193 * bgp_network.c: drop privs on error cases
194
paul6ad23f02004-02-17 19:45:10 +00001952003-08-11 kunihiro <kunihiro@zebra.org>
paulac41b2a2003-08-12 05:32:27 +0000196
197 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
198 ability to specify 'peer-address' rather than IP.
199
paul9238b1e2003-06-11 08:03:08 +00002002003-06-09 Paul Jakma <paul@dishone.st>
201
202 * bgp_clist.c (community_list_delete): honour deny statements
203
paul445f1432003-05-16 19:00:31 +00002042003-04-19 Hasso Tepper <hasso@estpak.ee>
205
206 * rip_routemap.c: sync daemon's route-map commands to have same
207 syntax
208
2092003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
210
211 * bgp_routemap.c: Add match extcommunity command.
212
paul718e3742002-12-13 20:15:29 +00002132002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
214
215 * bgp_aspath.c (aspath_init): Extend hash size from default to
216 32767.
217 (aspath_key_make): Use unsigned shoft for making hash. Suggested
218 by: Marc Evans <Marc@SoftwareHackery.Com>
219
2202002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
221
222 * bgp_clist.c (community_entry_free): Fix memory leak of standard
223 extcommunity-list config string.
224
2252002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
226
227 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
228 when multiple instance is used.
229
2302002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
231
232 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
233 available in peer-group configuration.
234
2352002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
236
237 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
238 capability packet cause error or dont-capability-negotiate option
239 is specified.
240
2412002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
242
243 * zebra-0.93 released.
244
2452001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
246
247 * bgpd.c (bgp_vty_init): Translate update commands are removed.
248
2492001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
250
251 * bgp_route.c (bgp_static_set): Add workaround for BGP static
252 route announcement when there is no zebra running.
253
2542001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
255
256 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
257 unicast multicast" commands.
258
2592001-09-14 Akihiro Mizutani <mizutani@dml.com>
260
261 * bgp_open.c: When we receive capability route-refresh, we should
262 check we send the capability not we receive the capability.
263
264 * bgp_route.c (bgp_network_mask_natural_route_map): network
265 statement route-map is added.
266
2672001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
268
269 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
270 before looking up hash table.
271
2722001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
273
274 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
275 peer.
276
2772001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
278
279 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
280 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
281
2822001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
283
284 * bgp_table.c (bgp_node_create): Clearn memory before use it.
285
2862001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
287
288 * Change to use bgp_table.[ch].
289
2902001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
291
292 * bgpd.c (bgp_init): Add "transparent-as" and
293 "transparent-nexthop" for old version compatibility.
294
2952001-08-23 Akihiro Mizutani <mizutani@dml.com>
296
297 * bgpd.h (struct peer): default-originate route-map is added.
298
299 * bgp_route.c: When self originated route is advertised with
300 attrubute-unchanged, nexthop was not properly set. This bug is
301 fixed.
302
3032001-08-22 Akihiro Mizutani <mizutani@dml.com>
304
305 * bgpd.c (neighbor_attr_unchanged): transparent-as and
306 transparent-next-hop commands are restructured. Instead of
307 current transparent-* commands, attribute-unchanged command is
308 introduced.
309
310 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
311
312 (neighbor_default_originate): "default-originate" configuration
313 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
314
3152001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
316
317 * zebra-0.92a released.
318
3192001-08-19 Akihiro Mizutani <mizutani@dml.com>
320
321 * bgpd.c: AF specific soft-reconfiguration inbound commands are
322 added.
323
3242001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
325
326 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
327
328 * bgp_community.c (community_cmp): Add check for commnunity NULL
329 check.
330
331 * bgp_routemap.c (route_match_community): Do not check comunity is
332 NULL. It may match to community-list "^$".
333
334 * bgp_community.c (community_match): Add check for community is
335 NULL case.
336
3372001-08-17 Akihiro Mizutani <mizutani@dml.com>
338
339 * bgpd.c: AF specific route-reflector-client and
340 route-server-client configuration are added.
341
3422001-08-17 Rick Payne <rickp@ayrnetworks.com>
343
344 * bgp_clist.c (community_match_regexp): Check special ^$ case.
345
3462001-08-17 Akihiro Mizutani <mizutani@dml.com>
347
348 * bgp_clist.c (community_list_match): Fix bug of community list
349 permit and deny check.
350
3512001-08-16 Akihiro Mizutani <mizutani@dml.com>
352
353 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
354 command.
355
3562001-08-15 Akihiro Mizutani <mizutani@dml.com>
357
358 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
359 flag is introduced.
360
361 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
362
3632001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
364
365 * zebra-0.92 released.
366
3672001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
368
369 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
370 table properly.
371
3722001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
373
374 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
375 (bgp_config_write_network_vpnv4): VPNv4 static configuration
376 display.
377
3782001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
379
380 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
381 node filter commands.
382
3832001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
384
385 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
386 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
387 IPv6.
388
3892001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
390
391 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
392 multicast" is added.
393 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
394 added.
395
3962001-08-07 Akihiro Mizutani <mizutani@dml.com>
397
398 * bgp_route.c (bgp_process): Use flag instead of as_selected
399 memeber in struct bgp_info.
400
401 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
402 struct bgp_info.
403
4042001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
405
406 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
407 check code with #ifdef BGP_SEND_ASPATH_CHECK.
408
4092001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
410
411 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
412
413 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
414 information is alive or not.
415
416 * bgp_community.c: Use community_val_get() on all OS.
417
4182001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
419
420 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
421 check.
422
4232001-07-24 Akihiro Mizutani <mizutani@dml.com>
424
425 * bgp_route.c (bgp_announce_check): To route server clients, we
426 announce AS path, MED and nexthop transparently.
427
4282001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
429
430 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
431 XFREE. No memory is allocated in
432 route_set_atomic_aggregate_compile().
433
4342001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
435
436 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
437 are replaced by `address-family ipv4` and `address-family vpnvr'.
438
4392001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
440
441 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
442 Reported by Rick Payne <rickp@rossfell.co.uk>.
443
4442001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
445
446 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
447 empty, use socket's remote address for the nexthop.
448
4492001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
450
451 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
452 <Yosi_Yarchi@KereniX.com>
453
4542001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
455
456 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
457 <Yosi_Yarchi@KereniX.com>
458
4592001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
460
461 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
462 of ri->next.
463
464 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
465 when HAVE_IPV6 is not defined.
466
4672001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
468
469 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
470 than holdtime / 3.
471 (bgp_confederation_peers_unset): Only set peer->local_as when
472 confederation is enabled.
473 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
474
475 * bgp_route.c (bgp_announce_check): Set med of redistributed route
476 when it is announced to EBGP peer.
477
4782001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
479
480 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
481 all prefixes.
482
4832001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
484
485 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
486 erroneous attribute (type, length and value), it does include
487 attribute flags field.
488
4892001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
490
491 * bgp_route.c (bgp_announce_check): The route reflector is not
492 allowed to modify the attributes of the reflected IBGP routes.
493
4942001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
495
496 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
497 confederation peer is treated as same as IBGP peer.
498
4992001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
500
501 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
502 attr. Call aspath_unintern when return from this function.
503
5042001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
505
506 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
507 changed.
508
5092001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
510
511 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
512 do not refrect the value to current session.
513
5142001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
515
516 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
517 suppress route withdraw.
518
519 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
520
5212001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
522
523 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
524 AS_SET and AS_CONFED_SET.
525
5262001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
527
528 * bgp_route.c (bgp_process): Do not consider suppress route.
529
530 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
531 aspath->data is realloced.
532
5332001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
534
535 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
536 aggregate when using as-set.
537
5382001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
539
540 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
541 correctly.
542
543 * bgp_route.c (bgp_update): Just ignore AS path loop for
544 confederation peer.
545
5462001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
547
548 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
549 (bgp_aggregate_unset): Remove summary_only argument.
550 (aggregate_address_as_set): New commands.
551 "aggregate-address A.B.C.D/M as-set"
552 "no aggregate-address A.B.C.D/M as-set"
553
5542001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
555
556 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
557 route is passed by route reflector.
558
5592001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
560
561 * bgp_route.c: "no bgp dampening" with argument.
562 (bgp_announce_check): Do not modify nexthop when the route is
563 passed by route reflector.
564
5652001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
566
567 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
568 ASN passive" to "neighbor NEIGHBOR passive".
569 (bgp_announce_check): Check well-known community attribute even
570 when "no neighbor send-community" is set.
571
5722001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
573
574 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
575 time when keepalive timer is configured as zero.
576
5772001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
578
579 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
580 preference is well-known attribute.
581
5822001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
583
584 * zebra-0.91 is released.
585
586 * bgp_attr.h (struct attr): Comment out DPA value.
587 (struct attr): Change refcnt type from int to unsinged long.
588
589 * bgp_attr.c (attrhash_key_make): Likewise.
590 (attrhash_cmp): Likewise.
591 (bgp_attr_dpa): Likewise.
592
5932001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
594
595 * bgp_route.c (bgp_info_cmp): Make route selection completely same
596 as Cisco's.
597
5982001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
599
600 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
601 BGP_ATTR_FLAG_* to clarify meenings.
602
6032001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
604
605 * bgp_route.c (route_vty_out): Display argument to suppress same
606 prefix information display.
607 (route_vty_out_route): Don't display mask information for
608 classfull network.
609
6102001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
611
612 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
613
614 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
615 check.
616
6172001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
618
619 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
620 (bgp_attr_parse): Comment out well-known attribute check.
621
6222001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
623
624 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
625 used for network advertisement.
626 (nlri_parse): When link-local IPv6 address NLRI comes from
627 remote-peer, log the information then simply ignore it.
628
629 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
630 redistributed.
631
632 * bgp_route.c (bgp_update): Check IPv6 global nexthop
633 reachability.
634
6352001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
636
637 * bgp_route.c (bgp_update): Check nexthop points local address or
638 not.
639 (bgp_static_update_vpnv4): Set valid flag.
640
641 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
642 (bgp_attr_parse): Well-known attribute check.
643
644 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
645
646 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
647
648 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
649 defined.
650
651 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
652
6532001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
654
655 * bgpd.c (bgp_network_import_check): New command for IGP network
656 check.
657
6582001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
659
660 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
661 changed. Call bgp_process once for each node.
662
6632001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
664
665 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
666
6672001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
670
671 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
672 IBGP route.
673
6742001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
675
676 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
677 "show ip bgp A.B.C.D/M longer-prefixes"
678 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
679 "show ipv6 bgp X:X::X:X/M longer-prefixes"
680 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
681
6822001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
683
684 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
685 "show ip bgp cidr-only"
686 "show ip bgp ipv4 (unicast|multicast) cidr-only"
687
6882001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
689
690 * bgp_route.c (bgp_update): AS path lookup check is done in
691 bgp_update() not in attr_parse().
692
6932001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
694
695 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
696 before bgp_attr_unintern().
697
6982001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
699
700 * bgp_route.c (bgp_update): Now intern is performed very last part
701 of the BGP packet update procedure.
702
7032001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
704
705 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
706 existing bgp_info structure.
707
7082001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
709
710 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
711 address matching method.
712 (bgp_update):
713
714 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
715 check and IBGP nexthop route check.
716
7172001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
718
719 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
720 change.
721
7222001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * bgp_route.h (struct bgp_info): Remove selected flag. Use
725 BGP_INFO_SELECTED for flags instead.
726 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
727 flags instead.
728 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
729 metric.
730 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
731 struct bgp_info.
732 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
733
734 * bgp_community.c (community_val_get): gcc-2.95 on
735 sparc-sun-solaris cause crush. This function is for avoid the
736 crush.
737
7382001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
739
740 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
741 clear bug is fixed.
742
7432001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
744
745 * bgp_packet.c (bgp_open_receive): Return notification with
746 supported version number.
747
7482001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
749
750 * bgpd.c (bgp_show_summary): Display AS path and community
751 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
752
753 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
754 read. When BGP packet read is partial, we must get size and type
755 from packet again.
756
7572001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
758
759 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
760 (bgp_update): When there is a history entry increment route count.
761 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
762
763 * bgp_damp.c (bgp_damp_withdraw): Set status to
764 BGP_DAMP_DISCONTINUE.
765
7662001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
767
768 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
769 IPv6 nexthop is not link-local addresss.
770
7712001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
772
773 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
774 configuration display.
775 (bgp_damp_info_print): Display elapsed time from flap started.
776
777 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
778
779 * bgpd.c (peer_create): Set last read time.
780 (bgp_show_peer): Display last read time.
781 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
782 configuration.
783
784 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
785 (struct peer): Add last read time member.
786 (BGP_VERSION_MP_4): Remove obsolete definition.
787
7882001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
789
790 * bgp_nexthop.c: Remove OLD_RIB codes.
791
792 * bgp_route.c (bgp_process): Likewise.
793
794 * zebra-0.90 is released.
795
796 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
797 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
798 (struct bgp_info): Remove invalid member from struct bgp_info.
799 Instead of that use BGP_INFO_HISTORY flag.
800
8012001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
802
803 * bgp_damp.c (bgp_damp_info_print): New function to display
804 dampening status.
805 (DEFAULT_HARF_LIFE): Define default value.
806 (DEFAULT_REUSE): Likewise.
807 (DEFAULT_SUPPRESS): Likewise.
808 (bgp_config_write_damp): When config value is same as default
809 value, simply display "bgp dampening" to configuration.
810
811 * bgp_damp.h (struct bgp_damp_info): Add flap member.
812
813 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
814 history status.
815
8162001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
817
818 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
819 address is properly handled.
820 (bgp_connected_delete): Likewise.
821
822 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
823 until it works fine.
824
8252001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
826
827 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
828
829 * bgp_route.c (bgp_update): When this is not damped route, clear
830 ri pointer.
831
8322001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
833
834 * bgp_main.c: Add "-n" no_kernel option to not install route to
835 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
836
8372001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
838
839 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
840 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
841
842 * bgp_damp.c (bgp_config_write_damp): Add configuration display
843 function.
844
845 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
846 information when BGP info structure is freed.
847 (bgp_info_cmp): Check damped flag.
848 (bgp_announce_check): Damped route is not announced.
849
8502001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
851
852 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
853 route-refresh" command to "neighbor capability route-refresh".
854 (clear_bgp_soft_in): Change soft-reconfig method.
855
856 clear ip bgp <neighbor> soft in
857 --------------------------------------
858 Try stored cache first then route-refresh
859
860 clear ip bgp <neighbor> in
861 ---------------------------------
862 Try route-refresh first then try to use stored cache
863
8642001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
865
866 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
867 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
868
8692001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
870
871 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
872 changed, refresh it.
873
8742001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
875
876 * bgp_route.h (struct bgp_info_tag): Add as_selected to
877 bgp_info_tag.
878
8792001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
880
881 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
882 member for BGP flap dampening.
883
884 * bgp_damp.c: New file is added.
885
886 * bgp_damp.h: Likewise.
887
8882001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
889
890 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
891
8922000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
893
894 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
895 socket for zebra communication.
896
8972000-12-29 Akihiro Mizutani <mizutani@dml.com>
898
899 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
900
9012000-12-27 Akihiro Mizutani <mizutani@dml.com>
902
903 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
904
9052000-12-25 Akihiro Mizutani <mizutani@dml.com>
906
907 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
908
9092000-12-18 Akihiro Mizutani <mizutani@dml.com>
910
911 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
912 withdrawing best prefix perform router ID comparison.
913
9142000-12-15 Akihiro Mizutani <mizutani@dml.com>
915
916 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
917 routes comes from EBGP peer. When originator ID is same, take
918 shorter cluster-list route. If cluster-list is same take smaller
919 IP address neighbor's route.
920
921 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
922 ignore" command. When this option is set, do not concider AS path
923 length when route selection.
924 (bgp_bestpath_compare_router_id): Add "bgp bestpath
925 compare-routerid". When this option is set, compare router ID
926 when the routes comes from EBGP peer.
927
9282000-12-15 Akihiro Mizutani <mizutani@dml.com>
929
930 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
931 available.
932
9332000-12-14 Akihiro Mizutani <mizutani@dml.com>
934
935 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
936 information.
937
9382000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
939
940 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
941 it sure the memory is freed.
942
943 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
944 HAVE_IPV6.
945
9462000-12-08 Akihiro Mizutani <mizutani@dml.com>
947
948 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
949 data part.
950
951 * bgp_network.c (bgp_accept): When BGP connection comes from
952 unconfigured IP address, close socket immediately.
953
954 * bgpd.c: Fix some display format.
955
9562000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
959 bgp_packet_set_size () call.
960
9612000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
962
963 * bgp_packet.c (bgp_read_packet): Remove debug codes.
964
9652000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
968
969 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
970 status.
971 (bgp_establish): Likewise.
972
9732000-11-26 Akihiro Mizutani <mizutani@dml.com>
974
975 * bgp_open.c: Fix error messages.
976
9772000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
978
979 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
980 established.
981 (bgp_stop): Call BGP trap when the peer is dropped.
982
9832000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
984
985 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
986
987 * bgpd.h (struct peer): Add update_time for track last update
988 received time.
989
990 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
991 code in any case.
992
993 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
994 peering IP address.
995 (bgpPeerTable): Return actual BGP version number.
996
9972000-11-22 Akihiro Mizutani <mizutani@dml.com>
998
999 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1000 is fixed.
1001
10022000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1003
1004 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1005 zebra is enabled, use the method.
1006
10072000-11-16 Akihiro Mizutani <mizutani@dml.com>
1008
1009 * bgpd.c: Revise debug message output.
1010
10112000-11-15 Akihiro Mizutani <mizutani@dml.com>
1012
1013 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1014
10152000-11-14 Akihiro Mizutani <mizutani@dml.com>
1016
1017 * bgp_community.c (community_match): Fix bug of memcmp return
1018 value check.
1019
10202000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * bgp_clist.c (community_list_match_exact): Add check for
1023 entry->style is COMMUNITY_LIST.
1024 (community_match_regexp): Apply new com_nthval macro.
1025
10262000-11-07 Rick Payne <rickp@rossfell.co.uk>
1027
1028 * bgp_routemap.c (route_set_community_delete): "set
1029 community-delete COMMUNITY-LIST" is added.
1030
1031 * bgp_community.c (community_del_val): Delete one community.
1032 (community_delete): Delete all community included in list.
1033 (community_match): Fix bug of matching community value.
1034
1035 * bgp_clist.c (community_entry_free): Free community regular
1036 expression.
1037 (community_entry_make): Default style is COMMUNITY_LIST.
1038 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1039 (community_entry_regexp_lookup): New function for community
1040 regular expression lookup.
1041 (community_match_regexp): New function.
1042 (community_delete_regexp): New function.
1043 (community_list_delete_entries): New function.
1044 (community_list_match): Add COMMUNITY_REGEXP treatment.
1045 (community_list_match_exact): Likewise.
1046 (config_write_community): Write community list according to
1047 entry->style.
1048
10492000-11-07 Rick Payne <rickp@rossfell.co.uk>
1050
1051 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1052
1053 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1054 community_entry.
1055
10562000-11-06 Rick Payne <rickp@rossfell.co.uk>
1057
1058 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1059
1060 * bgpd.c (bgp_enforce_first_as): New command "bgp
1061 enforce-first-as".
1062
1063 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1064
10652000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * bgp_community.c (community_compare): Copy byte stream data to
1068 actual value instead of using type casting hack.
1069 (community_add_val): Likewise.
1070 (community_uniq_sort): Likewise.
1071 (community_print): Likewise.
1072 (community_print_vty): Likewise.
1073 (community_include): Use memcmp to compare community value.
1074
1075 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1076 return pointer.
1077
10782000-11-06 Akihiro Mizutani <mizutani@dml.com>
1079
1080 * bgpd.h (struct peer): Add established and dropped member for
1081 count peering up/down statistics.
1082
1083 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1084
1085 * bgp_fsm.c (bgp_establish): Increment established count.
1086 (bgp_stop): Increment dropped count.
1087
1088 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1089
10902000-11-1 Akihiro Mizutani <mizutani@dml.com>
1091
1092 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1093
10942000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1095
1096 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1097
10982000-10-24 Akihiro Mizutani <mizutani@dml.com>
1099
1100 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1101 format fix.
1102
11032000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1104
1105 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1106 (bgp_serv_sock_addrinfo): Check address family.
1107
11082000-10-23 Jochen Friedrich <jochen@scram.de>
1109
1110 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1111 is registered. So those variables must be static.
1112
11132000-10-23 Akihiro Mizutani <mizutani@dml.com>
1114
1115 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1116 next-hop" argument from IP address to access-list name.
1117 Remove zebra-0.88 compatibility commands.
1118 "match ip prefix-list WORD"
1119 "match ipv6 prefix-list WORD"
1120
11212000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1124 passing the pointer to the pointer of struct in6_addr instead of
1125 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1126
1127 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1128 HAVE_IPV6.
1129
11302000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1131
1132 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1133 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1134
11352000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1138 should be done by attr->nexthop.s_addr instead of strcmp.
1139
11402000-10-18 Akihiro Mizutani <mizutani@dml.com>
1141
1142 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1143 bgp_redistribute_add().
1144
1145 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1146 checking IPv4 multiaccess nexthop.
1147
1148 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1149 reachable on multiaccess media, do not change nexthop.
1150 (bgp_redistribute_add): Set nexthop when the value is passed.
1151
11522000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1153
1154 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1155 connect timer.
1156 (bgp_start): If the peer is passive mode, force to move to Active
1157 mode.
1158
11592000-10-17 Horms <horms@vergenet.net>
1160
1161 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1162
11632000-10-17 Akihiro Mizutani <mizutani@dml.com>
1164
1165 * bgp_route.c: "show ipv6 bgp" route display improvement.
1166
11672000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1170 function.
1171 (bgp_show_neighbor_route): Remove static declaration for union
1172 sockunion.
1173
1174 * bgpd.c (peer_update_source_set): Clean previously allocated
1175 memory before allocate new one.
1176
11772000-10-03 Akihiro Mizutani <mizutani@dml.com>
1178
1179 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1180 command.
1181 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1182 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1183 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1184 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1185
11862000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * zebra-0.89 is released.
1189
11902000-10-02 Akihiro Mizutani <mizutani@dml.com>
1191
1192 * bgpd.c: "bgp deterministic-med" command is added.
1193
11942000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1197 route addition and deletion.
1198
11992000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1200
1201 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1202 when comparing leftmost AS number.
1203
12042000-09-29 Akihiro Mizutani <mizutani@dml.com>
1205
1206 * bgpd.c (peer_route_reflector): Route reflector can be set for
1207 IBGP peer.
1208 (bgp_distribute_set): Fix bug of string check for (in|out).
1209 (bgp_show_summary): Display total neighbor count.
1210
12112000-09-28 Akihiro Mizutani <mizutani@dml.com>
1212
1213 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1214 originator for clinet to client routes.
1215 (bgp_packet_attribute): Add new cluster_list to the beginning of
1216 existing cluster_list.
1217 (bgp_packet_attribute): Fix bug of originator is rewritten even
1218 when originator is already set.
1219
12202000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1221
1222 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1223 "no bgp client-to-client reflection"
1224 "bgp client-to-client reflection"
1225
1226 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1227
12282000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1231 read.
1232 (bgp_read_packet): Likewise.
1233 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1234
1235 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1236
12372000-09-26 Akihiro Mizutani <mizutani@dml.com>
1238
1239 * bgp_routemap.c: Configuration of prefix-list match is shown as
1240 "match ip address prefix-list <WORD>". Old configuration "match
1241 ip prefix-list <WORD>" is left for compatibilitty.
1242
12432000-09-25 Akihiro Mizutani <mizutani@dml.com>
1244
1245 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1246 BGP_CONFIG_MISSING_AS_WORST.
1247
1248 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1249 Old "bgp bestpath missing-as-worst"
1250 New "bgp bestpath med missing-as-worst"
1251
12522000-09-24 Akihiro Mizutani <mizutani@dml.com>
1253
1254 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1255
12562000-09-21 steve@Watt.COM (Steve Watt)
1257
1258 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1259 term_bgp_debug_*.
1260
1261 * bgp_debug.c: Declare variables here.
1262
12632000-09-21 Akihiro Mizutani <mizutani@dml.com>
1264
1265 * bgpd.c: MBGP soft-reconfiguration command is added.
1266 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1267 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1268 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1269 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1270 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1271 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1272 clear ip bgp * ipv4 (unicast|multicast) in
1273 clear ip bgp * ipv4 (unicast|multicast) out
1274 clear ip bgp * ipv4 (unicast|multicast) soft
1275
1276 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1277 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1278
1279 "bgp bestpath med confed" command is added.
1280
1281 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1282
12832000-09-18 Rick Payne <rickp@rossfell.co.uk>
1284
1285 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1286
12872000-09-12 Akihiro Mizutani <mizutani@dml.com>
1288
1289 * bgpd.c (bgp_default_local_preference): Add "bgp default
1290 local-preference" command.
1291
1292 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1293 command.
1294
12952000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1296
1297 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1298 are passed to zebra like IBGP route.
1299
13002000-09-10 Akihiro Mizutani <mizutani@dml.com>
1301
1302 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1303 configuration.
1304
1305 * bgp_route.c: Community match command is added.
1306 "show ip bgp community <val>"
1307 "show ip bgp community <val> exact-match"
1308
13092000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1310
1311 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1312 treated as IBGP routes.
1313
13142000-09-08 Akihiro Mizutani <mizutani@dml.com>
1315
1316 * bgp_route.c (bgp_show_route): When local-AS community route is
1317 selected, display "not advertised outside local AS" to "show ip
1318 route A.B.C.D" output.
1319 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1320 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1321 "show ip bgp ipv4 (unicast|multicast) community"
1322 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1323 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1324
1325 * bgp_clist.c (community_list_match_exact): Community exact match
1326 function.
1327
13282000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1329
1330 * bgp_route.c (bgp_update): Add peer's ttl check.
1331
1332 * bgpd.h (struct peer): Structure member refresh is renamed to
1333 refresh_adv.
1334
1335 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1336 when soft reconfiguration is performed.
1337
1338 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1339 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1340
1341 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1342
13432000-08-25 Akihiro Mizutani <mizutani@dml.com>
1344
1345 * bgpd.c: Add AS base BGP soft reconfiguration.
1346
1347 * bgp_route.c: When no-advertise or no-export route is selected,
1348 "show ip bgp" display "not advertised to EBGP peer" or "not
1349 advertised to any peer" message.
1350
13512000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1352
1353 * zebra-0.88 is released.
1354
1355 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1356 bgp route-mrt" to support MRT specific dump format.
1357
1358 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1359 added.
1360
1361 * bgp_route.c (bgp_update): Currently nexthop check is only works
1362 for IPv4.
1363
13642000-08-17 Akihiro Mizutani <mizutani@dml.com>
1365
1366 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1367 both inbound and outbound soft reconfiguration.
1368
13692000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1370
1371 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1372 outbound.
1373 (peer_new): Set route-refresh flag.
1374
13752000-08-16 Akihiro Mizutani <mizutani@dml.com>
1376
1377 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1378 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1379 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1380 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1381 bgp * in" alias is added.
1382
13832000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1384
1385 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1386 is set do not install the route into Adj-RIBs-In.
1387 (bgp_update): Perform implicit withdraw before filtering of the
1388 route.
1389
1390 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1391 capability code and BGP message can be accepted.
1392
1393 * bgp_open.c (bgp_capability_parse): Likewise.
1394
1395 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1396 (bgp_refresh_rib): Likewise.
1397
1398 * bgpd.c (bgp_show_peer): Display route refresh status.
1399
1400 * bgp_route.c (bgp_aggregate_add): Add check for the route
1401 validness.
1402 (bgp_aggregate_delete): Likewise.
1403
14042000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1405
1406 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1407 route become inaccessible.
1408
14092000-08-15 Akihiro Mizutani <mizutani@dml.com>
1410
1411 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1412 command is added.
1413
14142000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1415
1416 * bgp_zebra.c (bgp_interface_up): Register connected route.
1417 (bgp_interface_down): Unregister connected route.
1418
14192000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1420
1421 * bgp_route.h (struct bgp_info): Add distance to the structure.
1422
1423 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1424 match to smaller prefixlen route not match same prefixlen route.
1425 (bgp_aggregate_decrement): Likewise.
1426 (bgp_aggregate_add): Likewise.
1427 (bgp_aggregate_delete): Likewise.
1428 (bgp_network_backdoor): Add backdoor network configuration.
1429
1430 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1431 configuration distance value.
1432
1433 * bgp_route.c (bgp_update): Filter EBGP route which has non
1434 connected nexthop.
1435
1436 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1437 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1438 Set aggregator AS and address.
1439 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1440 filling aggregator_as.
1441
1442 * bgp_route.c (bgp_process): Delete suppress check for install
1443 suppressed route into local routing table.
1444 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1445 of bgp_attr_default_intern ().
1446 (bgp_aggregate_add): Likewise.
1447
1448 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1449 created. This is for avoid 0.0.0.0 router-id.
1450
14512000-08-13 Akihiro Mizutani <mizutani@dml.com>
1452
1453 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1454 route is valied. Display "aggregated" when the route is
1455 aggregated. "Advertisements suppressed by an aggregate" is
1456 displayed when the route is suppressed.
1457 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1458
14592000-08-10 Akihiro Mizutani <mizutani@dml.com>
1460
1461 * bgp_route.c (route_vty_out_detail): Display format change.
1462
14632000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1464
1465 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1466
1467 * bgpd.c (bgp_delete): Delete static route before delete peer
1468 configuration.
1469
14702000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * bgpd.c: Include bgpd/bgp_nexthop.h.
1473
14742000-07-31 Akihiro Mizutani <mizutani@dml.com>
1475
1476 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1477 identifier. And status is changed like below.
1478
1479 State/Pref -> State/PfxRcd
1480 Shutdown -> Idle (Admin)
1481 PrefixOvflw -> Idle (PfxCt)
1482
1483 * bgp_route.c (route_vty_out): Show internal route as "i".
1484
14852000-07-13 Jim Bowen <jimb@zereau.net>
1486
1487 * bgp_snmp.c: Add BGP peer MIB implementation.
1488
14892000-07-12 Akihiro Mizutani <mizutani@dml.com>
1490
1491 * bgpd.c (bgp_show_peer): Fix typo.
1492
14932000-07-11 Akihiro Mizutani <mizutani@dml.com>
1494
1495 * bgp_routemap.c: Add commands for deleting set without argument.
1496
14972000-07-03 Akihiro Mizutani <mizutani@dml.com>
1498
1499 * bgp_zebra.c: Fix redistribute help strings.
1500
15012000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
1504 output to vty at once.
1505
15062000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
1509 tag WORD" command is added.
1510
1511 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
1512
15132000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1514
1515 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
1516
1517 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
1518 negotiation result in "show ip bgp neighbors".
1519
15202000-06-12 Akihiro Mizutani <mizutani@dml.com>
1521
1522 * bgpd.c: Fix help strings.
1523
1524 * bgpd.h: Likewise.
1525
15262000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
1529 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
1530
1531 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
1532 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
1533
1534 * bgp_route.c (bgp_static_set): Set safi to p.safi.
1535
15362000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1537
1538 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
1539 (bgp_show_regexp): Change to use bgp_show().
1540 (show_adj_route): Change to display header.
1541
1542 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
1543 is cleared manually.
1544
1545 * bgp_route.c (bgp_show_route): New function which display
1546 specific BGP route. Divided from bgp_show().
1547 (bgp_static_delete): Delete all static route.
1548
15492000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
1550
1551 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
1552 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
1553 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
1554 mbgp" and "show ipv6 mbgp".
1555
15562000-06-07 Akihiro Mizutani <mizutani@dml.com>
1557
1558 * bgp_route.c: Fix help strings and command arguments.
1559
15602000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * bgp_ecommunity.c: Include prefix.h
1563
15642000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1565
1566 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
1567 value.
1568
1569 * bgp_route.c (bgp_adj_set): table NULL check is added.
1570 (bgp_adj_unset): Likewise.
1571 (bgp_adj_lookup): Likewise.
1572 (bgp_adj_clear): Likewise.
1573 (route_vty_out): Add SAFI check for nexthop display.
1574 (bgp_withdraw): Add SAFI check for withdraw route.
1575
1576 * Remove all #ifdef MPLS_VPN then include it as default.
1577
1578 * bgpd.c: Temporary disable peer-group command until the
1579 implementation is completed.
1580
1581 * bgp_routemap.c (bgp_route_map_init): Install
1582 route_metric_match_cmd.
1583 (route_match_metric_compile): MED value compile using strtoul.
1584
15852000-06-05 Akihiro Mizutani <mizutani@dml.com>
1586
1587 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
1588 NAME to WORD.
1589
1590 * Change command argument to more comprehensive.
1591
1592 METRIC -> <0-4294967295>
1593 WEIGHT -> <0-4294967295>
1594 LOCAL_PREF -> <0-4294967295>
1595 IP_ADDR -> A.B.C.D
1596 AS -> <1-65535>
1597 AS-PATH-NAME -> WORD
1598 ACCESS_LIST -> WORD
1599 PREFIX_LIST -> WORD
1600 COMMUNITY -> AA:NN
1601 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
1602 IPv6_ADDR -> X:X::X:X
1603
1604 * bgp_clist.c: Fix help strings.
1605
16062000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * bgpd.c (peer_active): Add new function for check the peer is
1609 active or not.
1610 (neighbor_activate): New command "neighbor PEER activate" and "no
1611 neighbor PEER activate" are added.
1612
1613 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
1614
16152000-06-02 Akihiro Mizutani <mizutani@dml.com>
1616
1617 * bgp_clist.c: Fix commuity-list help strings.
1618
1619 * bgp_routemap.c: Fix "set community" help strings. Add #define
1620 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
1621
16222000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1623
1624 * bgp_routemap.c (route_set_community_none_cmd): "set community
1625 none" command is added to route-map.
1626
16272000-06-01 Akihiro Mizutani <mizutani@dml.com>
1628
1629 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
1630 debugging" is not used in VIEW_NODE.
1631
16322000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
1635 fix unconditional BGP connection.
1636
1637 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
1638 peer_change_flag_with_reset().
1639
16402000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
1643 ipv4-unicast" command.
1644
1645 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
1646
1647 * bgp_filter.c (as_list_delete): Free all AS filter.
1648
1649 * bgp_clist.c (community_list_delete): Free all community entry.
1650
1651 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
1652 access-list NAME".
1653
1654 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
1655 community-list NAME".
1656
16572000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
1660 routes" to "show ip bgp PEER received-routes"
1661
16622000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
1665 Communities attribute.
1666 * bgp_ecommunity.h: Likewise.
1667
16682000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1669
1670 * bgp_mplsvpn.h: New file for MPLS-VPN.
1671 * bgp_mplsvpn.c: Likewise.
1672
1673 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
1674
16752000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1676
1677 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
1678 missing-as-worst".
1679
16802000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1681
1682 * bgp_routemap.c (match_community): Clarify help of "match
1683 community".
1684
16852000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1686
1687 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
1688
16892000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
1692 from same neighboring AS.
1693
1694 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
1695
1696 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
1697
16982000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1699
1700 * bgp_route.c (bgp_output_filter): When distribute-list's
1701 corresponding access-list does not exist, filter all routes.
1702 (bgp_input_filter): Likewise.
1703
17042000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1705
1706 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
1707
1708 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
1709
17102000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1711
1712 * bgpd.c (bgp_distribute_update): Add struct access_list *
1713 argument.
1714
17152000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
1718 check.
1719
1720 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
1721
1722 * bgp_route.c (bgp_show): Fix undeclared write variable.
1723
17242000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1725
1726 * bgp_routemap.c: Add "match ip address prefix-list".
1727
17282000-03-29 Rick Payne <rickp@rossfell.co.uk>
1729
1730 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
1731
17322000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1733
1734 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
1735 the peer status is Connect.
1736
17372000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1738
1739 * Fix bug of rewritten originator-id.
1740
17412000-01-27 Rick Payne <rickp@rossfell.co.uk>
1742
1743 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
1744 directly referencing array, search proper AS path delimiter.
1745 (aspath_strip_confed): Strip the confederation stuff from the
1746 front of an AS path.
1747 (aspath_add_left_confed): New function for adding specified AS to
1748 the leftmost AS_CONFED_SEQUENCE.
1749
1750 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
1751 to Cisco compatible.
1752
1753 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
1754 (bgp_confederation_id_unset): Likewise.
1755 (bgp_confederation_peers_check): Likewise.
1756 (bgp_confederation_peers_add): Likewise.
1757 (bgp_confederation_peers_remove): Likewise.
1758 (bgp_confederation_peers_set): Likewise.
1759 (bgp_confederation_peers_unset): Likewise.
1760 (bgp_confederation_peers_print): Likewise.
1761
17622000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
1765
17662000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * bgp_open.c (bgp_open_option_parse): When there is no common
1769 capability send Unsupported Capability error to the peer.
1770
17712000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
1774 IPv6 unicast.
1775
1776 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
1777
17782000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1779
1780 * bgpd.c (neighbor_strict_capability): Add
1781 "strict-capability-match" command.
1782
1783 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
1784 router-id.
1785
1786 * bgpd.c (peer_override_capability): Add "override-capability"
1787 command.
1788
17891999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1790
1791 * bgp_packet.c (bgp_write): Change status to Idle and set timer
1792 after write failed.
1793
17941999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
1797
17981999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1799
1800 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
1801 nlri_parse().
1802
18031999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
1806
1807 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
1808 the peer is cleared.
1809
1810 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
1811 link-local address. This is KAME specific problem.
1812
18131999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1814
1815 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
1816 while. We don't completely detect the link is shared or not at
1817 this moment.
1818
1819 * bgp_packet.c (bgp_notify_send): Make shortcut call of
1820 bgp_write() and bgp_stop().
1821
1822 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
1823 global and link-local address.
1824
18251999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1826
1827 * bgpd.c (no_neighbor_port): New command added.
1828 (peer_new): Set send_community.
1829
18301999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1831
1832 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
1833 (show_ip_mbgp_summary): Likewise.
1834 (show_ipv6_bgp_summary): Likewise.
1835 (show_ipv6_mbgp_summary): Add new command.
1836 (peer_free): Free peer->host.
1837 (peer_lookup_by_su): Delete function.
1838 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
1839 (sockunion_vty_out): Function deleted.
1840 (vty_clear_bgp): Use afi instead of family.
1841 Delete old list bgp_list. Use struct newlist *bgplist.
1842 (peer_lookup_by_host): Function deleted.
1843
18441999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * bgpd.h (struct peer_group): New structure added.
1847 (struct peer_conf): New structure added.
1848 (struct peer): Change all prefix_count to unsigned long.
1849
1850 * bgpd.c: Reconstruct all of VTY commands reflect internal
1851 structure change.
1852 Use bgplist instead of bgp_list.
1853 Use peerlist intstead of peer_list.
1854
1855 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
1856 parsing then return immediately.
1857
1858 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
1859 -1.
1860 (nlri_process): Use pcount_v4_{unicast,multicast}.
1861 (nlri_delete): Likewise.
1862
18631999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
1864
1865 * bgp_routemap.c (route_match_nlri): `match nlri
1866 unicast|multicast' and `set nlri unicast|multicast' command are
1867 added.
1868
18691999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
1870
1871 * bgpd.c: Add translate-update support.
1872
1873 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
1874
18751999-11-19 Robert.Olsson@data.slu.se
1876
1877 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
1878
18791999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1880
1881 * bgp_open.c (bgp_capability_mp): Temporary comment out
1882 SAFI_UNICAST_MULTICAST handling until we know the meanings.
1883
18841999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * bgp_btoa.c: New file added.
1887
18881999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * bgpd.h (struct peer): Add dont_capability flag.
1891 (struct peer): Add override_capability flag.
1892
1893 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
1894 dont-capability-negotiation' added.
1895
18961999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1897
1898 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
1899 attribute from non-shared-network peers.
1900
19011999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1902
1903 * bgp_snmp.c: New file added.
1904
1905 * BGP4-MIB.txt: Updated to the latest Internet-Draft
1906 draft-ietf-idr-bgp4-mib-04.txt.
1907
19081999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1909
1910 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
1911
1912 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
1913 #ifdef HAVE_MBGPV4.
1914
19151999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1916
1917 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
1918 dump bgp commands.
1919 (config_write_bgp_dump): Write interval value to the
1920 configuration.
1921
19221999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1923
1924 * bgp_zebra.c: Redistribute route-map support is added.
1925
1926 * bgp_zebra.h: New file added.
1927
19281999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1929
1930 * bgp_dump.c: BGP packet dump routine compatible with MRT.
1931 * bgp_dump.h: BGP packet dump routine compatible with MRT.
1932
1933 * bgp_debug.c: Renamed from bgp_dump.c
1934 * bgp_debug.h: Renamed from bgp_dump.h
1935
19361999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1937
1938 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
1939
19401999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1941
1942 * bgp_route.c (bgp_announce): If we're not on a shared network
1943 with the peer and we don't have a link-local next hop, but the
1944 inbound next-hop has a link-local address, don't readvertise it to
1945 our peer.
1946
19471999-10-25 Marc Boucher <marc@mbsi.ca>
1948
1949 * bgp_zebra.c: Add redistribute kernel command.
1950
19511999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1952
1953 * bgp_route.c (bgp_reset): New function added.
1954
1955 * bgpd.conf.sample2: Add IPv6 configuration sample.
1956
19571999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1958
1959 * bgp_route.c (ipv6_aggregate_address): Function added.
1960
19611999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1962
1963 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
1964 list after parsing BGP update packet.
1965
1966 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
1967 (bgp_attr_community): Intern parsed community.
1968 (bgp_attr_cluster_list): Intern parsed cluster list.
1969
1970 * bgp_routemap.c: Add `set community-additive' command.
1971
19721999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
1973
1974 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
1975 attribute flag.
1976
19771999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1978
1979 * bgp_route.c (bgp_announce): Add check of IPv6 default route
1980 announcement.
1981
1982 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
1983
19841999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1985
1986 * `show ip[v6] bgp PREFIX' show uptime of the route.
1987
19881999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1989
1990 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
1991 of that use AF_INET and AF_INET6 directly.
1992 (vty_clear_bgp): Add new function to support various clear ip bgp
1993 method.
1994
19951999-10-04 Lars Fenneberg <lf@elemental.net>
1996
1997 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
1998
19991999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2002 prefix-list'.
2003
20041999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2005
2006 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2007 function.
2008
20091999-09-26 Blake Meike <bmeike@adero.com>
2010
2011 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2012 added.
2013
20141999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2015
2016 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2017 min() macro.
2018
20191999-08-19 Rick Payne <rickp@rossfell.co.uk>
2020
2021 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2022 keepalive timer configurable.
2023
20241999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2025
2026 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2027
20281999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2029
2030 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2031 the peer not all of them.
2032
20331999-08-11 Rick Payne <rickp@rossfell.co.uk>
2034
2035 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2036 will get overwritten by route-maps.
2037
20381999-08-08 Rick Payne <rickp@rossfell.co.uk>
2039
2040 * bgp_routemap.c: Multi protocol route-map modification.
2041
20421999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2043
2044 * bgp_route.c: Set network statement route's origin attribute as
2045 igp.
2046
2047 * bgp_zebra.c: Set redistribute route's origin attribute as
2048 incomplete.
2049
2050 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2051 origin attribute check, BGP peer type check.
2052
20531999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2054
2055 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2056
20571999-07-29 Rick Payne <rickp@rossfell.co.uk>
2058
2059 * Changed route-maps to behave in a more cisco-like fashion
2060
20611999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2062
2063 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2064 When multiple route to the same destination exist, bgpd try to
2065 announce the information to stopped peer. Then add orphan write
2066 thread is added. This cause many strange behavior of bgpd.
2067 Reported by Georg Hitsch <georg@atnet.at>.
2068
20691999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2070
2071 * bgpd.c: Change peer's A.B.C.D to PEER.
2072
20731999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2074
2075 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2076
2077 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2078 local address.
2079
20801999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2081
2082 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2083 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2084
20851999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2088 fsm_holdtime ().
2089
20901999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2091
2092 * bgp_routemap.c: Add `set atomic-aggregate' command.
2093
20941999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2095
2096 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2097 to "ip next-hop".
2098
20991999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2100
2101 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2102 added.
2103
21041999-07-01 Rick Payne <rickp@rossfell.co.uk>
2105
2106 * bgp_zebra.c (zebra_init): Install standard commands to
2107 ZEBRA_NODE.
2108
21091999-06-28 Rick Payne <rickp@rossfell.co.uk>
2110
2111 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2112
21131999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2114
2115 * bgpd.c: Add neighbor update-source command as ALIAS to
2116 neighbor_interface.
2117
21181999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2119
2120 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2121 send_community flag is set.
2122
2123 * bgpd.h (struct peer): Add send_community flag.
2124
21251999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2126
2127 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2128 <1-65535>.
2129
21301999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2131
2132 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2133
21341999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2135
2136 * bgp_community.c (community_merge): Function added.
2137
21381999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2139
2140 * bgp_clist.c: New file.
2141 * bgp_clist.h: New file.
2142
2143 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2144 compatibility.
2145 (COMMUNITY_NO_ADVERTISE): Fix typo.
2146
21471999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2148
2149 * bgp_routemap.c: Add `set weight WEIGHT' command.
2150
2151 * bgpd.c: Remove all_digit_check function. Instead of that use
2152 all_digit function in lib/prefix.c.
2153
2154 * bgp_routemap.c (bgp_route_map_init): Install
2155 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2156 element to the RMAP_NODE.
2157
21581999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2159
2160 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2161 inside aspath_make_str function.
2162 (aspath_prepend): New function is added for AS path prepend.
2163 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2164 count is set to the structure.
2165 (aspath_merge): New function.
2166
21671999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2168
2169 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2170 (no_redistribute_bgp): Likewise.
2171 (router_zebra): Semantics changed. Now 'router zebra' is default
2172 behavior of bgpd.
2173
21741999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * bgp_routemap.c: Add some commands to bgp route-map.
2177 match ip next-hop: New command.
2178 match metric: New command.
2179 set metric: Doc fix.
2180 set local-preference: Add DEFUN.
2181
21821999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2183
2184 * bgp_main.c (signal_init): SIGTERM call sigint.
2185 (sigint): Loggging more better message.
2186
21871999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2188
2189 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2190 length bit check is added.
2191
21921999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2193
2194 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2195 function with route_set_local_pref_cmd argument.
2196 (no_match_aspath): Function added.
2197 (route_set_metric): Set attribute flag bit.
2198
2199 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2200 packet.
2201
22021999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2203
2204 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2205 holdtime' command is added.
2206
2207 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2208
2209 * bgpd.c (bgp_prefix_list_set): New function added.
2210 (bgp_prefix_list_unset): Likewise.
2211 (bgp_prefix_list_update): Likewise.
2212 (show_ip_bgp_neighbors): prefix-list information display.
2213
22141999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2215
2216 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2217
22181999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2219
2220 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2221
2222 * bgpd.c (bgp_router_id): Even when address is malformed set the
2223 value to configuration bug fixed.
2224 (no_bgp_router_id): New function.
2225 (no_bgp_cluster_id): New function.
2226
22271999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2228
2229 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2230
22311999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2232
2233 * bgp_route.c (bgp_announce): Add route reflector check.
2234
22351999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2236
2237 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2238 (neighbor_route_reflector_client): Likewise.
2239 (no_neighbor_route_reflector_client): Likewise.
2240
2241 * bgpd.h (struct bgp ): Add cluster for route reflector.
2242
2243 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2244
22451999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2246
2247 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2248
2249 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2250 has same functionality.
2251
2252 * bgp_filter.h: New file.
2253
2254 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2255 aspath_unintern ()
2256 (aspath_free): New function.
2257
22581999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2259
2260 * bgp_aspath.c (aspath_aggregate): Function added.
2261
2262 * bgp_aspath.h (aspath_aggregate): Prototype added.
2263
2264 * bgp_aspath.c (aspath_empty_aspath): New argument
2265 gated_dont_eat_flag is added.
2266
22671999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2268
2269 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2270
22711999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2272
2273 * bgp_route.c (aggregate_address): Function added.
2274
2275 * bgp_zebra.c (zebra_read): Change log to zlog.
2276
22771999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2278
2279 * Makefile.am (noninst_HEADERS): Added for make dist.
2280
22811999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2282
2283 * aspath_regex.c: Removed from distribution.
2284
22851999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2286
2287 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2288 bug fixed.
2289
22901999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2291
2292 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2293 by kad@gibson.skif.net.
2294
2295 * bgp_regex.[ch]: New file added.
2296
2297
22981999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2299
2300 * bgp_filter.c: New file added.
2301
23021999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2303
2304 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2305 gated.
2306
23071999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2308
2309 * bgp_main.c (main): Default loggin method changed from syslog to
2310 stdout.
2311
23121999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2313
2314 * bgp_route.c: Delete obsolete default attribute DEFUN.
2315
23161999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2317
2318 * bgp_attr.c: Make attribute structure put into attribute hash.
2319
23201999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2321
2322 * bgp_view.c : Delete file.
2323
23241999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2325
2326 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2327
2328 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2329 replace bgp_route with this.
2330
2331 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2332 prefix value to access_list_apply().
2333
2334 * bgpd.conf.sample: Add route-map sample.
2335 Delete obsolete default-attr statements.
2336
2337 * bgp_packet.c: Use stream_fifo for packet queueing.
2338
23391999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2340
2341 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2342
2343 * bgp_main.c: include unistd.h for daemon().
2344
2345 * bgp_route.c (nlri_process): add IPv6 table lookup.
2346
2347 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2348 (attr_make): Obsolete function attr_make deleted.
2349
23501999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2351
2352 * bgp_aspath.c (aspath_add_left): change function name from
2353 aspath_add_leftmost_as().
2354
23551999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2356
2357 * bgp_aspath.c: add aspath_add_leftmost_as ().
2358
23591999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2360
2361 * syslog support added
2362
23631999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2364
2365 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2366 DEFUN (neighbor_distribute_list): added.
2367
23681999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2369
2370 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2371
2372 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2373 bgpd.c
2374
2375 * bgp_network.c: New file.
2376 * bgp_network.h: New file.
2377
2378 * bgp_packet.h: New file.
2379
23801999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2381
2382 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2383 buffered.
2384
23851999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2386
2387 * bgp_packet.c: New file.
2388
23891998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2390
2391 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2392
2393 * `show ip bgp' bug fixed.
2394 * aspath_log (): Remove argument logfp.
2395
23961998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2397
2398 * bgp_fsm.h: New file.
2399
24001998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2401
2402 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2403 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2404 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2405 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2406
24071998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2408
2409 * bgpd.c (bgp_config_write): Delete vector v argument.
2410
24111998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2412
2413 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2414
24151998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2416
2417 * bgp_radix.[ch]: removed.
2418
24191998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2420
2421 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2422
24231998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2424
2425 * bgp_dump.c: delete nroute().
2426
24271998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2428
2429 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2430 * bgpd.h: Modify for compile on Solaris.
2431 * bgp_aspath.h: likewize
2432 * bgp_community.h: likewize
2433 * bgp_routemap.c: likewize
2434
24351998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2436
2437 * bgpd.h: Modify for compile on Solaris.
2438 * bgp_aspath.h: likewize
2439
24401998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * routemap.[ch]: move to ../lib directory.
2443
24441998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2445
2446 * routemap.c (route_map_apply): add function.
2447
24481998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2449
2450 * routemap.h: add file.
2451
2452 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2453
24541998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2455
2456 * Makefile.am: sysconfdir_DATA added.
2457
24581998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2459
2460 * bgp_dump.c: add `debug bgp fsm'
2461 add `no debug bgp fsm'
2462 add `show debug bgp'
2463 * bgp_open.c: File added.
2464
24651998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2466
2467 * .cvsignore: File added.
2468
24691998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2470
2471 * bgp_community.[ch]: File added.
2472
24731998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2474
2475 * bgpd now use lib/thread.[ch].
2476
24771998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2478
2479 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2480
2481 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2482
24831997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2484
2485 * bgp_vty.c: bgp_vty.c deleted.
2486
2487 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2488
24891997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2490
2491 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
2492
24931997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2494
2495 * bgp_vty.c: new file.
2496
2497 * bgp_attr.c: add new logging system.
2498
24991997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2500
2501 * Change all inet_addr call into inet_aton.
2502
25031997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2504
2505 * bgp_radix.c: change radix_peer_delete
2506
25071997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2508
2509 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
2510
25111997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2512
2513 * bgp_dump.c (bgp_log_route): add dump_attr function
2514
25151997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2516
2517 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
2518 * bgp_dump.c (bgp_log_route): change logfile format.
2519
25201997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2521
2522 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
2523 * bgp_attr.c (community_str2com): add community value generation
2524 * bgp_attr.h: add SAFI definition for BGP-4+
2525
25261997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2527
2528 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
2529 * Makefile.in: add bgp_open.o, delete bgp_loop.o
2530 * bgp_open.c: newfile which manages BGP Open message
2531 * bgp_loop.c: this file is merged with bgp_fsm.c
2532 * bgp_radix.c (radix_add): radix_add() now return route_t instead
2533 of int
2534 (bgp_sim): now we can read update & withdraw from file
2535 * bgp_route.c: add route_free() call into route_parse etc.
2536
25371997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2538
2539 * bgp_radix.c: Radix code is completely rewritten. It has better
2540 memory treatment than old one.
2541
25421997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2543
2544 * bgp_route.c: route_alloc for route struct allocation statistics.
2545 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
2546 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
2547 format.
2548
25491997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2550
2551 * bgp_term.c (term_parse): add command : show asstat, show ashash
2552 * bgp_aspath.c: aspath_cmp bug fix
2553 (aspath_print_all): add aspath_print_all ();
2554 * bgp_peer.h: delete rlist element from struct peer.
2555
25561997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2557
2558 * bgp_aspath.c: completely rewritten.
2559 * bgp_aspath.h: completely rewritten.
2560 add AsPath, AsSegment structure
2561 add AS_SET treatment
2562 change Hash codes
2563
25641997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2565
2566 * bgp_attr.h: add Attribute flags defines
2567 * bgp_route.c: delete rlist related functions
2568 * bgp_aspath.c (as_origin): add as_origin function
2569 (aspath_print): move from bgp_dump.c and add support of AS_SET
2570 change Hash related function names.
2571
25721997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2573
2574 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
2575
25761997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2577
2578 * bgp_aspath.c (as_sort): add function as_sort
2579 * bgp_aspath.h: add IBGP, EBGP
2580