]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/ChangeLog
* bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
[mirror_frr.git] / bgpd / ChangeLog
CommitLineData
fee6e4e4 12005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
2
3 * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
4 community-list cleanup.
5
6ffd2079 62005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
7
8 * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop"
9 -> "disable-connected-check".
10
112005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
93406d87 12
13 * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
14 bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
15 graceful-restart" commands added. Show numbers of individual
16 messages in "show ip bgp neighbor" command. Final pieces of graceful
17 restart.
18
c9502438 192005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
20
21 * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
22 capability route-refresh" commands. Route refresh capability is sent
23 anyway now. Preserve dummy deprecated commands.
24
3d515fd9 252005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
26
27 * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
28 draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
29 version" command as deprecated.
30
0a486e5f 312005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
32
33 * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
34 maximum-prefix limit" feature support.
35
f418446b 362005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
37
38 * bgp_nexthop.c: Improve debug.
39 * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
40 function.
41 * bgp_packet.c: MP AFI_IP update and withdraw parsing.
42 * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
43 is better place to log about peer status change than bgp_event().
44 Log in bgp_connect_success().
45 * bgp_vty.c: Fix typo in comment.
46 * bgp_attr.c: Better log about unknown attribute.
47
3b8b1855 482005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
49
50 * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
51 of buffer_getstr.
52 * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
53 returned by buffer_getstr.
54 (bgp_show_community) Must use XFREE instead of free on string
55 returned by buffer_getstr.
56 * bgp_routemap.c: (set_community) Must use XFREE instead of free
57 on string returned by buffer_getstr.
58 * bgp_vty.c: (neighbor_description) Use argv_concat instead of
59 buffer_getstr.
60
6d69429c 612005-01-24 Hasso Tepper <hasso at quagga.net>
62
63 * bgp_route.c: Fix showstopper bug. New route must be selected also
64 if old one is flaged as BGP_INFO_ATTR_CHANGED.
65
f127165d 662005-01-17 Hasso Tepper <hasso at quagga.net>
67
68 * bgp_route.c: Clear peer's routing table regardless whether it's
69 configured or not. Being not configured is even better reason to
70 do it.
71
a24a7e1b 722005-01-05 Paul Jakma <paul@dishone.st>
73
74 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
75 this should be generalised. See bugzilla #102. Fix supplied by
76 wawa@yandex-team.ru (Vladimir Ivanov).
77
d2c1f16b 782004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
79
80 * *.c: Change level of debug messages to LOG_DEBUG.
81
274a4a44 822004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
83
84 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
85
887c44a4 862004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
87
88 * bgp_main.c: (sigint) Use zlog_notice for termination message.
89 (main) Use zlog_notice for startup announcement.
90
c065230a 912004-11-25 Hasso Tepper <hasso at quagga.net>
92
93 * bgp_main.c: Make group to run as configurable.
94
5932020b 952004-11-09 Paul Jakma <paul@dishone.st>
96
97 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
98 and cache{1,2}.. into arrays of tables and hence collapse
99 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
100 a long time ago (and this change was hand-merged).
101
5a646650 1022004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
103
104 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
105 is deprecated because the output did not represent a single point
106 in time. All output needs to be generated inline and buffered
107 by the library code.
108 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
109 flap_route_vty_out) Remove code to count number of lines of output,
110 since this was only useful for VTY_CONTINUE behavior.
111 (bgp_show_callback,vty_calc_line) Removed.
112 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
113 As a result, there's a new output_arg argument to this function.
114 Make function static.
115 (bgp_show) Make function static and add a new output_arg argument.
116 Change all functions that call bgp_show or bgp_show_table to
117 pass the new output_arg argument (that used to be passed inside
118 vty->output_arg).
119 * bgp_mplsvpn.c: Remove declarations of functions defined in
120 bgp_route.c; these declarations belong in bgp_route.h.
121 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
122 and in bgp_mplsvpn.c.
123
a2b1ecd2 1242004-10-31 Paul Jakma <paul@dishone.st>
125
126 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
127
98f5163c 1282004-10-25 Paul Jakma <paul@dishone.st>
129
130 * Update with fix in debian bug id 222930.
131 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
132 bgp_network.c: (....) raise/lower privs around call to
133 SO_BINDTODEVICE sockopt.
134
3fb9cd6e 1352004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
136
137 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
138 may be NULL.
139 (bgp_connected_delete) ditto.
140
501ba490 1412004-10-14 Hasso Tepper <hasso at quagga.net>
142
143 * bgp_dump.c: Make dump configuration appear in vtysh.
144
c75105ab 1452004-10-13 Hasso Tepper <hasso at quagga.net>
146
147 * bgp_snmp.c: Remove defaults used to initialize smux connection to
148 snmpd. Connection is initialized only if smux peer is configured.
8b3126b3 149 * bgp_view.c: It's dead file. Reomved.
c75105ab 150
fd79ac91 1512004-10-13 Paul Jakma <paul@dishone.st>
152
153 * (global) more const'ification and fixups of types to clean up code.
154 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
155 should use something like the VTY_GET_INTEGER macro, but without
156 the vty_out bits..
157 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
158 (no_set_aggregator_as) ditto.
159 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
160 returned, add comments about troublesome return value.
161
18a6dce6 1622004-10-03 James R. Leu <jleu at mindspring.com>
163
164 * bgp_vty.c: Router id from zebra can be manually overriden.
165 * bgp_zebra.c: Read router id related messages from zebra daemon.
166 Remove own code related with router id selection.
167 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
168 from zebra daemon if it isn't manually overriden.
169
c9e52be3 1702004-09-26 Hasso Tepper <hasso at quagga.net>
171
172 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
173
52dc7ee6 1742004-09-23 Hasso Tepper <hasso at quagga.net>
175
176 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
177
e01f9cbb 1782004-07-09 Paul Jakma <paul@dishone.st>
179
180 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
181 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
182 attributes present before printing.
183 * bgp_dump.c: update bgp_dump_attr prototype.
184 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
185 of bgp_dump_attr. Log end-of-rib UPDATEs.
186
f5ba3874 1872004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
188
189 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
190 if that is connection we're closing.
191 (bgp_read) invalid marker check applies to KEEPALIVE too.
192 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
193
5228ad27 1942004-06-04 Paul Jakma <paul@dishone.st>
195
196 * type mismatch fixes
197
538621f2 1982004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
199
200 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
201 Graceful restart capability display.
202
3950fda5 2032005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
204
205 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
206
4372df71 2072004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
208
209 * bgp_ecommunity.c: Transit ecommunity support.
210 * bgp_ecommunity.c: Fix for unknown community crush.
211
e0701b79 2122005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
213
214 * *: Maximum prefix threshold support.
215 * *: Reset notification fixups.
216
0a589359 2172004-05-08 Paul Jakma <paul@dishone.st>
218
219 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
220 (bgp_interface_address_delete) ditto.
221 (bgp_zebra_announce) ditto.
222 (bgp_zebra_withdraw) ditto.
223
c5317404 2242004-05-03 Daniel Roesen <dr@cluenet.de>
225
226 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
227 Established so that it reflects true downtime (rather time
228 since last transition, eg Active->Idle)
229
35be31b6 2302004-05-01 rivo nurges <rix@estpak.ee>
231
232 * bgp_route.c: fix UNH IOL BGP-4.1.12f
233
eb821189 2342004-05-01 Paul Jakma <paul@dishone.st>
235
236 * Revert the attempted clean-up of the dummy peer hack, reverts
237 patchsets 435 (see 2004-02-17 below) and 456.
238
545acafb 2392004-04-16 rivo nurges <rix@estpak.ee>
240
9b87e41c 241 * bgpd.h, bgp_debug.c: update cease subcodes to
242 draft-ietf-idr-cease-subcode-05
545acafb 243 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
244
6ad23f05 2452004-02-17 Paul Jakma <paul@dishone.st>
246
247 * bgpd.h: (bgp_peer) add fd_local and fd_accept
248 file descriptor's, fd becomes a pointer to one of these.
249 * bgpd.c: (global) adjust for fact that fd is now a pointer.
250 (peer_create_accept) removed.
251 * bgp_route.c: (global) adjust for change of peer fd to pointer
252 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
253 "replace with other peer" hack.
254 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
255 Update peer->fd_accept instead.
256 (global) Adjust fd references - now a pointer.
257 * bgp_fsm.c: (global) adjust peer fd to pointer.
258 (bgp_connection_stop) new function, to stop connection.
259 (global) adjust everything which closed peer fd to use
260 bgp_connection_stop().
261
10d60ad1 2622003-12-23 Krzysztof Oledzki <oleq@ans.pl>
263
264 * bgp_network.c: drop privs on error cases
265
6ad23f05 2662003-08-11 kunihiro <kunihiro@zebra.org>
ac41b2a2 267
268 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
269 ability to specify 'peer-address' rather than IP.
270
9238b1e8 2712003-06-09 Paul Jakma <paul@dishone.st>
272
273 * bgp_clist.c (community_list_delete): honour deny statements
274
445f1435 2752003-04-19 Hasso Tepper <hasso@estpak.ee>
276
277 * rip_routemap.c: sync daemon's route-map commands to have same
278 syntax
279
2802003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
281
282 * bgp_routemap.c: Add match extcommunity command.
283
718e3744 2842002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
285
286 * bgp_aspath.c (aspath_init): Extend hash size from default to
287 32767.
288 (aspath_key_make): Use unsigned shoft for making hash. Suggested
289 by: Marc Evans <Marc@SoftwareHackery.Com>
290
2912002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
292
293 * bgp_clist.c (community_entry_free): Fix memory leak of standard
294 extcommunity-list config string.
295
2962002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
297
298 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
299 when multiple instance is used.
300
3012002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
302
303 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
304 available in peer-group configuration.
305
3062002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
307
308 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
309 capability packet cause error or dont-capability-negotiate option
310 is specified.
311
3122002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
313
314 * zebra-0.93 released.
315
3162001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
317
318 * bgpd.c (bgp_vty_init): Translate update commands are removed.
319
3202001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
321
322 * bgp_route.c (bgp_static_set): Add workaround for BGP static
323 route announcement when there is no zebra running.
324
3252001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
326
327 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
328 unicast multicast" commands.
329
3302001-09-14 Akihiro Mizutani <mizutani@dml.com>
331
332 * bgp_open.c: When we receive capability route-refresh, we should
333 check we send the capability not we receive the capability.
334
335 * bgp_route.c (bgp_network_mask_natural_route_map): network
336 statement route-map is added.
337
3382001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
339
340 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
341 before looking up hash table.
342
3432001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
344
345 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
346 peer.
347
3482001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
349
350 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
351 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
352
3532001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
354
355 * bgp_table.c (bgp_node_create): Clearn memory before use it.
356
3572001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
358
359 * Change to use bgp_table.[ch].
360
3612001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
362
363 * bgpd.c (bgp_init): Add "transparent-as" and
364 "transparent-nexthop" for old version compatibility.
365
3662001-08-23 Akihiro Mizutani <mizutani@dml.com>
367
368 * bgpd.h (struct peer): default-originate route-map is added.
369
370 * bgp_route.c: When self originated route is advertised with
371 attrubute-unchanged, nexthop was not properly set. This bug is
372 fixed.
373
3742001-08-22 Akihiro Mizutani <mizutani@dml.com>
375
376 * bgpd.c (neighbor_attr_unchanged): transparent-as and
377 transparent-next-hop commands are restructured. Instead of
378 current transparent-* commands, attribute-unchanged command is
379 introduced.
380
381 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
382
383 (neighbor_default_originate): "default-originate" configuration
384 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
385
3862001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
387
388 * zebra-0.92a released.
389
3902001-08-19 Akihiro Mizutani <mizutani@dml.com>
391
392 * bgpd.c: AF specific soft-reconfiguration inbound commands are
393 added.
394
3952001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
396
397 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
398
399 * bgp_community.c (community_cmp): Add check for commnunity NULL
400 check.
401
402 * bgp_routemap.c (route_match_community): Do not check comunity is
403 NULL. It may match to community-list "^$".
404
405 * bgp_community.c (community_match): Add check for community is
406 NULL case.
407
4082001-08-17 Akihiro Mizutani <mizutani@dml.com>
409
410 * bgpd.c: AF specific route-reflector-client and
411 route-server-client configuration are added.
412
4132001-08-17 Rick Payne <rickp@ayrnetworks.com>
414
415 * bgp_clist.c (community_match_regexp): Check special ^$ case.
416
4172001-08-17 Akihiro Mizutani <mizutani@dml.com>
418
419 * bgp_clist.c (community_list_match): Fix bug of community list
420 permit and deny check.
421
4222001-08-16 Akihiro Mizutani <mizutani@dml.com>
423
424 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
425 command.
426
4272001-08-15 Akihiro Mizutani <mizutani@dml.com>
428
429 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
430 flag is introduced.
431
432 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
433
4342001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
435
436 * zebra-0.92 released.
437
4382001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
439
440 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
441 table properly.
442
4432001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
444
445 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
446 (bgp_config_write_network_vpnv4): VPNv4 static configuration
447 display.
448
4492001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
450
451 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
452 node filter commands.
453
4542001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
455
456 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
457 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
458 IPv6.
459
4602001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
461
462 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
463 multicast" is added.
464 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
465 added.
466
4672001-08-07 Akihiro Mizutani <mizutani@dml.com>
468
469 * bgp_route.c (bgp_process): Use flag instead of as_selected
470 memeber in struct bgp_info.
471
472 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
473 struct bgp_info.
474
4752001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
476
477 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
478 check code with #ifdef BGP_SEND_ASPATH_CHECK.
479
4802001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
481
482 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
483
484 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
485 information is alive or not.
486
487 * bgp_community.c: Use community_val_get() on all OS.
488
4892001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
490
491 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
492 check.
493
4942001-07-24 Akihiro Mizutani <mizutani@dml.com>
495
496 * bgp_route.c (bgp_announce_check): To route server clients, we
497 announce AS path, MED and nexthop transparently.
498
4992001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
500
501 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
502 XFREE. No memory is allocated in
503 route_set_atomic_aggregate_compile().
504
5052001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
506
507 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
508 are replaced by `address-family ipv4` and `address-family vpnvr'.
509
5102001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
511
512 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
513 Reported by Rick Payne <rickp@rossfell.co.uk>.
514
5152001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
516
517 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
518 empty, use socket's remote address for the nexthop.
519
5202001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
521
522 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
523 <Yosi_Yarchi@KereniX.com>
524
5252001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
526
527 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
528 <Yosi_Yarchi@KereniX.com>
529
5302001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
531
532 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
533 of ri->next.
534
535 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
536 when HAVE_IPV6 is not defined.
537
5382001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
539
540 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
541 than holdtime / 3.
542 (bgp_confederation_peers_unset): Only set peer->local_as when
543 confederation is enabled.
544 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
545
546 * bgp_route.c (bgp_announce_check): Set med of redistributed route
547 when it is announced to EBGP peer.
548
5492001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
550
551 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
552 all prefixes.
553
5542001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
555
556 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
557 erroneous attribute (type, length and value), it does include
558 attribute flags field.
559
5602001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
561
562 * bgp_route.c (bgp_announce_check): The route reflector is not
563 allowed to modify the attributes of the reflected IBGP routes.
564
5652001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
566
567 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
568 confederation peer is treated as same as IBGP peer.
569
5702001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
571
572 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
573 attr. Call aspath_unintern when return from this function.
574
5752001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
576
577 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
578 changed.
579
5802001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
581
582 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
583 do not refrect the value to current session.
584
5852001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
586
587 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
588 suppress route withdraw.
589
590 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
591
5922001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
593
594 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
595 AS_SET and AS_CONFED_SET.
596
5972001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
598
599 * bgp_route.c (bgp_process): Do not consider suppress route.
600
601 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
602 aspath->data is realloced.
603
6042001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
605
606 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
607 aggregate when using as-set.
608
6092001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
610
611 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
612 correctly.
613
614 * bgp_route.c (bgp_update): Just ignore AS path loop for
615 confederation peer.
616
6172001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
618
619 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
620 (bgp_aggregate_unset): Remove summary_only argument.
621 (aggregate_address_as_set): New commands.
622 "aggregate-address A.B.C.D/M as-set"
623 "no aggregate-address A.B.C.D/M as-set"
624
6252001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
626
627 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
628 route is passed by route reflector.
629
6302001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
631
632 * bgp_route.c: "no bgp dampening" with argument.
633 (bgp_announce_check): Do not modify nexthop when the route is
634 passed by route reflector.
635
6362001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
637
638 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
639 ASN passive" to "neighbor NEIGHBOR passive".
640 (bgp_announce_check): Check well-known community attribute even
641 when "no neighbor send-community" is set.
642
6432001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
644
645 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
646 time when keepalive timer is configured as zero.
647
6482001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
649
650 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
651 preference is well-known attribute.
652
6532001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
654
655 * zebra-0.91 is released.
656
657 * bgp_attr.h (struct attr): Comment out DPA value.
658 (struct attr): Change refcnt type from int to unsinged long.
659
660 * bgp_attr.c (attrhash_key_make): Likewise.
661 (attrhash_cmp): Likewise.
662 (bgp_attr_dpa): Likewise.
663
6642001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
665
666 * bgp_route.c (bgp_info_cmp): Make route selection completely same
667 as Cisco's.
668
6692001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
670
671 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
672 BGP_ATTR_FLAG_* to clarify meenings.
673
6742001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
675
676 * bgp_route.c (route_vty_out): Display argument to suppress same
677 prefix information display.
678 (route_vty_out_route): Don't display mask information for
679 classfull network.
680
6812001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
682
683 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
684
685 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
686 check.
687
6882001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
689
690 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
691 (bgp_attr_parse): Comment out well-known attribute check.
692
6932001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
694
695 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
696 used for network advertisement.
697 (nlri_parse): When link-local IPv6 address NLRI comes from
698 remote-peer, log the information then simply ignore it.
699
700 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
701 redistributed.
702
703 * bgp_route.c (bgp_update): Check IPv6 global nexthop
704 reachability.
705
7062001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
707
708 * bgp_route.c (bgp_update): Check nexthop points local address or
709 not.
710 (bgp_static_update_vpnv4): Set valid flag.
711
712 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
713 (bgp_attr_parse): Well-known attribute check.
714
715 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
716
717 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
718
719 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
720 defined.
721
722 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
723
7242001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
725
726 * bgpd.c (bgp_network_import_check): New command for IGP network
727 check.
728
7292001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
730
731 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
732 changed. Call bgp_process once for each node.
733
7342001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
735
736 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
737
7382001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
739
740 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
741
742 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
743 IBGP route.
744
7452001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
746
747 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
748 "show ip bgp A.B.C.D/M longer-prefixes"
749 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
750 "show ipv6 bgp X:X::X:X/M longer-prefixes"
751 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
752
7532001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
754
755 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
756 "show ip bgp cidr-only"
757 "show ip bgp ipv4 (unicast|multicast) cidr-only"
758
7592001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
760
761 * bgp_route.c (bgp_update): AS path lookup check is done in
762 bgp_update() not in attr_parse().
763
7642001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
765
766 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
767 before bgp_attr_unintern().
768
7692001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * bgp_route.c (bgp_update): Now intern is performed very last part
772 of the BGP packet update procedure.
773
7742001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
775
776 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
777 existing bgp_info structure.
778
7792001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
782 address matching method.
783 (bgp_update):
784
785 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
786 check and IBGP nexthop route check.
787
7882001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
789
790 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
791 change.
792
7932001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * bgp_route.h (struct bgp_info): Remove selected flag. Use
796 BGP_INFO_SELECTED for flags instead.
797 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
798 flags instead.
799 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
800 metric.
801 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
802 struct bgp_info.
803 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
804
805 * bgp_community.c (community_val_get): gcc-2.95 on
806 sparc-sun-solaris cause crush. This function is for avoid the
807 crush.
808
8092001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
810
811 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
812 clear bug is fixed.
813
8142001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
815
816 * bgp_packet.c (bgp_open_receive): Return notification with
817 supported version number.
818
8192001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
820
821 * bgpd.c (bgp_show_summary): Display AS path and community
822 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
823
824 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
825 read. When BGP packet read is partial, we must get size and type
826 from packet again.
827
8282001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
829
830 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
831 (bgp_update): When there is a history entry increment route count.
832 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
833
834 * bgp_damp.c (bgp_damp_withdraw): Set status to
835 BGP_DAMP_DISCONTINUE.
836
8372001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
838
839 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
840 IPv6 nexthop is not link-local addresss.
841
8422001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
843
844 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
845 configuration display.
846 (bgp_damp_info_print): Display elapsed time from flap started.
847
848 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
849
850 * bgpd.c (peer_create): Set last read time.
851 (bgp_show_peer): Display last read time.
852 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
853 configuration.
854
855 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
856 (struct peer): Add last read time member.
857 (BGP_VERSION_MP_4): Remove obsolete definition.
858
8592001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
860
861 * bgp_nexthop.c: Remove OLD_RIB codes.
862
863 * bgp_route.c (bgp_process): Likewise.
864
865 * zebra-0.90 is released.
866
867 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
868 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
869 (struct bgp_info): Remove invalid member from struct bgp_info.
870 Instead of that use BGP_INFO_HISTORY flag.
871
8722001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
873
874 * bgp_damp.c (bgp_damp_info_print): New function to display
875 dampening status.
876 (DEFAULT_HARF_LIFE): Define default value.
877 (DEFAULT_REUSE): Likewise.
878 (DEFAULT_SUPPRESS): Likewise.
879 (bgp_config_write_damp): When config value is same as default
880 value, simply display "bgp dampening" to configuration.
881
882 * bgp_damp.h (struct bgp_damp_info): Add flap member.
883
884 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
885 history status.
886
8872001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
888
889 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
890 address is properly handled.
891 (bgp_connected_delete): Likewise.
892
893 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
894 until it works fine.
895
8962001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
899
900 * bgp_route.c (bgp_update): When this is not damped route, clear
901 ri pointer.
902
9032001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
904
905 * bgp_main.c: Add "-n" no_kernel option to not install route to
906 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
907
9082001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
909
910 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
911 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
912
913 * bgp_damp.c (bgp_config_write_damp): Add configuration display
914 function.
915
916 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
917 information when BGP info structure is freed.
918 (bgp_info_cmp): Check damped flag.
919 (bgp_announce_check): Damped route is not announced.
920
9212001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
922
923 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
924 route-refresh" command to "neighbor capability route-refresh".
925 (clear_bgp_soft_in): Change soft-reconfig method.
926
927 clear ip bgp <neighbor> soft in
928 --------------------------------------
929 Try stored cache first then route-refresh
930
931 clear ip bgp <neighbor> in
932 ---------------------------------
933 Try route-refresh first then try to use stored cache
934
9352001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
936
937 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
938 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
939
9402001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
943 changed, refresh it.
944
9452001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * bgp_route.h (struct bgp_info_tag): Add as_selected to
948 bgp_info_tag.
949
9502001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
951
952 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
953 member for BGP flap dampening.
954
955 * bgp_damp.c: New file is added.
956
957 * bgp_damp.h: Likewise.
958
9592001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
962
9632000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
964
965 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
966 socket for zebra communication.
967
9682000-12-29 Akihiro Mizutani <mizutani@dml.com>
969
970 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
971
9722000-12-27 Akihiro Mizutani <mizutani@dml.com>
973
974 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
975
9762000-12-25 Akihiro Mizutani <mizutani@dml.com>
977
978 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
979
9802000-12-18 Akihiro Mizutani <mizutani@dml.com>
981
982 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
983 withdrawing best prefix perform router ID comparison.
984
9852000-12-15 Akihiro Mizutani <mizutani@dml.com>
986
987 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
988 routes comes from EBGP peer. When originator ID is same, take
989 shorter cluster-list route. If cluster-list is same take smaller
990 IP address neighbor's route.
991
992 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
993 ignore" command. When this option is set, do not concider AS path
994 length when route selection.
995 (bgp_bestpath_compare_router_id): Add "bgp bestpath
996 compare-routerid". When this option is set, compare router ID
997 when the routes comes from EBGP peer.
998
9992000-12-15 Akihiro Mizutani <mizutani@dml.com>
1000
1001 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
1002 available.
1003
10042000-12-14 Akihiro Mizutani <mizutani@dml.com>
1005
1006 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
1007 information.
1008
10092000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1010
1011 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
1012 it sure the memory is freed.
1013
1014 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
1015 HAVE_IPV6.
1016
10172000-12-08 Akihiro Mizutani <mizutani@dml.com>
1018
1019 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
1020 data part.
1021
1022 * bgp_network.c (bgp_accept): When BGP connection comes from
1023 unconfigured IP address, close socket immediately.
1024
1025 * bgpd.c: Fix some display format.
1026
10272000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1028
1029 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
1030 bgp_packet_set_size () call.
1031
10322000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * bgp_packet.c (bgp_read_packet): Remove debug codes.
1035
10362000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
1039
1040 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
1041 status.
1042 (bgp_establish): Likewise.
1043
10442000-11-26 Akihiro Mizutani <mizutani@dml.com>
1045
1046 * bgp_open.c: Fix error messages.
1047
10482000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1049
1050 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
1051 established.
1052 (bgp_stop): Call BGP trap when the peer is dropped.
1053
10542000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1055
1056 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
1057
1058 * bgpd.h (struct peer): Add update_time for track last update
1059 received time.
1060
1061 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
1062 code in any case.
1063
1064 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
1065 peering IP address.
1066 (bgpPeerTable): Return actual BGP version number.
1067
10682000-11-22 Akihiro Mizutani <mizutani@dml.com>
1069
1070 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1071 is fixed.
1072
10732000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1076 zebra is enabled, use the method.
1077
10782000-11-16 Akihiro Mizutani <mizutani@dml.com>
1079
1080 * bgpd.c: Revise debug message output.
1081
10822000-11-15 Akihiro Mizutani <mizutani@dml.com>
1083
1084 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1085
10862000-11-14 Akihiro Mizutani <mizutani@dml.com>
1087
1088 * bgp_community.c (community_match): Fix bug of memcmp return
1089 value check.
1090
10912000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1092
1093 * bgp_clist.c (community_list_match_exact): Add check for
1094 entry->style is COMMUNITY_LIST.
1095 (community_match_regexp): Apply new com_nthval macro.
1096
10972000-11-07 Rick Payne <rickp@rossfell.co.uk>
1098
1099 * bgp_routemap.c (route_set_community_delete): "set
1100 community-delete COMMUNITY-LIST" is added.
1101
1102 * bgp_community.c (community_del_val): Delete one community.
1103 (community_delete): Delete all community included in list.
1104 (community_match): Fix bug of matching community value.
1105
1106 * bgp_clist.c (community_entry_free): Free community regular
1107 expression.
1108 (community_entry_make): Default style is COMMUNITY_LIST.
1109 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1110 (community_entry_regexp_lookup): New function for community
1111 regular expression lookup.
1112 (community_match_regexp): New function.
1113 (community_delete_regexp): New function.
1114 (community_list_delete_entries): New function.
1115 (community_list_match): Add COMMUNITY_REGEXP treatment.
1116 (community_list_match_exact): Likewise.
1117 (config_write_community): Write community list according to
1118 entry->style.
1119
11202000-11-07 Rick Payne <rickp@rossfell.co.uk>
1121
1122 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1123
1124 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1125 community_entry.
1126
11272000-11-06 Rick Payne <rickp@rossfell.co.uk>
1128
1129 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1130
1131 * bgpd.c (bgp_enforce_first_as): New command "bgp
1132 enforce-first-as".
1133
1134 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1135
11362000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1137
1138 * bgp_community.c (community_compare): Copy byte stream data to
1139 actual value instead of using type casting hack.
1140 (community_add_val): Likewise.
1141 (community_uniq_sort): Likewise.
1142 (community_print): Likewise.
1143 (community_print_vty): Likewise.
1144 (community_include): Use memcmp to compare community value.
1145
1146 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1147 return pointer.
1148
11492000-11-06 Akihiro Mizutani <mizutani@dml.com>
1150
1151 * bgpd.h (struct peer): Add established and dropped member for
1152 count peering up/down statistics.
1153
1154 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1155
1156 * bgp_fsm.c (bgp_establish): Increment established count.
1157 (bgp_stop): Increment dropped count.
1158
1159 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1160
11612000-11-1 Akihiro Mizutani <mizutani@dml.com>
1162
1163 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1164
11652000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1168
11692000-10-24 Akihiro Mizutani <mizutani@dml.com>
1170
1171 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1172 format fix.
1173
11742000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1175
1176 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1177 (bgp_serv_sock_addrinfo): Check address family.
1178
11792000-10-23 Jochen Friedrich <jochen@scram.de>
1180
1181 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1182 is registered. So those variables must be static.
1183
11842000-10-23 Akihiro Mizutani <mizutani@dml.com>
1185
1186 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1187 next-hop" argument from IP address to access-list name.
1188 Remove zebra-0.88 compatibility commands.
1189 "match ip prefix-list WORD"
1190 "match ipv6 prefix-list WORD"
1191
11922000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1193
1194 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1195 passing the pointer to the pointer of struct in6_addr instead of
1196 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1197
1198 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1199 HAVE_IPV6.
1200
12012000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1202
1203 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1204 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1205
12062000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1207
1208 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1209 should be done by attr->nexthop.s_addr instead of strcmp.
1210
12112000-10-18 Akihiro Mizutani <mizutani@dml.com>
1212
1213 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1214 bgp_redistribute_add().
1215
1216 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1217 checking IPv4 multiaccess nexthop.
1218
1219 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1220 reachable on multiaccess media, do not change nexthop.
1221 (bgp_redistribute_add): Set nexthop when the value is passed.
1222
12232000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1224
1225 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1226 connect timer.
1227 (bgp_start): If the peer is passive mode, force to move to Active
1228 mode.
1229
12302000-10-17 Horms <horms@vergenet.net>
1231
1232 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1233
12342000-10-17 Akihiro Mizutani <mizutani@dml.com>
1235
1236 * bgp_route.c: "show ipv6 bgp" route display improvement.
1237
12382000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1239
1240 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1241 function.
1242 (bgp_show_neighbor_route): Remove static declaration for union
1243 sockunion.
1244
1245 * bgpd.c (peer_update_source_set): Clean previously allocated
1246 memory before allocate new one.
1247
12482000-10-03 Akihiro Mizutani <mizutani@dml.com>
1249
1250 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1251 command.
1252 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1253 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1254 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1255 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1256
12572000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1258
1259 * zebra-0.89 is released.
1260
12612000-10-02 Akihiro Mizutani <mizutani@dml.com>
1262
1263 * bgpd.c: "bgp deterministic-med" command is added.
1264
12652000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1266
1267 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1268 route addition and deletion.
1269
12702000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1271
1272 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1273 when comparing leftmost AS number.
1274
12752000-09-29 Akihiro Mizutani <mizutani@dml.com>
1276
1277 * bgpd.c (peer_route_reflector): Route reflector can be set for
1278 IBGP peer.
1279 (bgp_distribute_set): Fix bug of string check for (in|out).
1280 (bgp_show_summary): Display total neighbor count.
1281
12822000-09-28 Akihiro Mizutani <mizutani@dml.com>
1283
1284 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1285 originator for clinet to client routes.
1286 (bgp_packet_attribute): Add new cluster_list to the beginning of
1287 existing cluster_list.
1288 (bgp_packet_attribute): Fix bug of originator is rewritten even
1289 when originator is already set.
1290
12912000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1292
1293 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1294 "no bgp client-to-client reflection"
1295 "bgp client-to-client reflection"
1296
1297 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1298
12992000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1300
1301 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1302 read.
1303 (bgp_read_packet): Likewise.
1304 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1305
1306 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1307
13082000-09-26 Akihiro Mizutani <mizutani@dml.com>
1309
1310 * bgp_routemap.c: Configuration of prefix-list match is shown as
1311 "match ip address prefix-list <WORD>". Old configuration "match
1312 ip prefix-list <WORD>" is left for compatibilitty.
1313
13142000-09-25 Akihiro Mizutani <mizutani@dml.com>
1315
1316 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1317 BGP_CONFIG_MISSING_AS_WORST.
1318
1319 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1320 Old "bgp bestpath missing-as-worst"
1321 New "bgp bestpath med missing-as-worst"
1322
13232000-09-24 Akihiro Mizutani <mizutani@dml.com>
1324
1325 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1326
13272000-09-21 steve@Watt.COM (Steve Watt)
1328
1329 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1330 term_bgp_debug_*.
1331
1332 * bgp_debug.c: Declare variables here.
1333
13342000-09-21 Akihiro Mizutani <mizutani@dml.com>
1335
1336 * bgpd.c: MBGP soft-reconfiguration command is added.
1337 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1338 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1339 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1340 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1341 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1342 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1343 clear ip bgp * ipv4 (unicast|multicast) in
1344 clear ip bgp * ipv4 (unicast|multicast) out
1345 clear ip bgp * ipv4 (unicast|multicast) soft
1346
1347 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1348 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1349
1350 "bgp bestpath med confed" command is added.
1351
1352 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1353
13542000-09-18 Rick Payne <rickp@rossfell.co.uk>
1355
1356 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1357
13582000-09-12 Akihiro Mizutani <mizutani@dml.com>
1359
1360 * bgpd.c (bgp_default_local_preference): Add "bgp default
1361 local-preference" command.
1362
1363 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1364 command.
1365
13662000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1367
1368 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1369 are passed to zebra like IBGP route.
1370
13712000-09-10 Akihiro Mizutani <mizutani@dml.com>
1372
1373 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1374 configuration.
1375
1376 * bgp_route.c: Community match command is added.
1377 "show ip bgp community <val>"
1378 "show ip bgp community <val> exact-match"
1379
13802000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1381
1382 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1383 treated as IBGP routes.
1384
13852000-09-08 Akihiro Mizutani <mizutani@dml.com>
1386
1387 * bgp_route.c (bgp_show_route): When local-AS community route is
1388 selected, display "not advertised outside local AS" to "show ip
1389 route A.B.C.D" output.
1390 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1391 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1392 "show ip bgp ipv4 (unicast|multicast) community"
1393 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1394 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1395
1396 * bgp_clist.c (community_list_match_exact): Community exact match
1397 function.
1398
13992000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1400
1401 * bgp_route.c (bgp_update): Add peer's ttl check.
1402
1403 * bgpd.h (struct peer): Structure member refresh is renamed to
1404 refresh_adv.
1405
1406 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1407 when soft reconfiguration is performed.
1408
1409 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1410 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1411
1412 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1413
14142000-08-25 Akihiro Mizutani <mizutani@dml.com>
1415
1416 * bgpd.c: Add AS base BGP soft reconfiguration.
1417
1418 * bgp_route.c: When no-advertise or no-export route is selected,
1419 "show ip bgp" display "not advertised to EBGP peer" or "not
1420 advertised to any peer" message.
1421
14222000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1423
1424 * zebra-0.88 is released.
1425
1426 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1427 bgp route-mrt" to support MRT specific dump format.
1428
1429 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1430 added.
1431
1432 * bgp_route.c (bgp_update): Currently nexthop check is only works
1433 for IPv4.
1434
14352000-08-17 Akihiro Mizutani <mizutani@dml.com>
1436
1437 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1438 both inbound and outbound soft reconfiguration.
1439
14402000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1443 outbound.
1444 (peer_new): Set route-refresh flag.
1445
14462000-08-16 Akihiro Mizutani <mizutani@dml.com>
1447
1448 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1449 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1450 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1451 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1452 bgp * in" alias is added.
1453
14542000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1457 is set do not install the route into Adj-RIBs-In.
1458 (bgp_update): Perform implicit withdraw before filtering of the
1459 route.
1460
1461 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1462 capability code and BGP message can be accepted.
1463
1464 * bgp_open.c (bgp_capability_parse): Likewise.
1465
1466 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1467 (bgp_refresh_rib): Likewise.
1468
1469 * bgpd.c (bgp_show_peer): Display route refresh status.
1470
1471 * bgp_route.c (bgp_aggregate_add): Add check for the route
1472 validness.
1473 (bgp_aggregate_delete): Likewise.
1474
14752000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1476
1477 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1478 route become inaccessible.
1479
14802000-08-15 Akihiro Mizutani <mizutani@dml.com>
1481
1482 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1483 command is added.
1484
14852000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * bgp_zebra.c (bgp_interface_up): Register connected route.
1488 (bgp_interface_down): Unregister connected route.
1489
14902000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1491
1492 * bgp_route.h (struct bgp_info): Add distance to the structure.
1493
1494 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1495 match to smaller prefixlen route not match same prefixlen route.
1496 (bgp_aggregate_decrement): Likewise.
1497 (bgp_aggregate_add): Likewise.
1498 (bgp_aggregate_delete): Likewise.
1499 (bgp_network_backdoor): Add backdoor network configuration.
1500
1501 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1502 configuration distance value.
1503
1504 * bgp_route.c (bgp_update): Filter EBGP route which has non
1505 connected nexthop.
1506
1507 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1508 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1509 Set aggregator AS and address.
1510 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1511 filling aggregator_as.
1512
1513 * bgp_route.c (bgp_process): Delete suppress check for install
1514 suppressed route into local routing table.
1515 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1516 of bgp_attr_default_intern ().
1517 (bgp_aggregate_add): Likewise.
1518
1519 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1520 created. This is for avoid 0.0.0.0 router-id.
1521
15222000-08-13 Akihiro Mizutani <mizutani@dml.com>
1523
1524 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1525 route is valied. Display "aggregated" when the route is
1526 aggregated. "Advertisements suppressed by an aggregate" is
1527 displayed when the route is suppressed.
1528 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1529
15302000-08-10 Akihiro Mizutani <mizutani@dml.com>
1531
1532 * bgp_route.c (route_vty_out_detail): Display format change.
1533
15342000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1535
1536 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1537
1538 * bgpd.c (bgp_delete): Delete static route before delete peer
1539 configuration.
1540
15412000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * bgpd.c: Include bgpd/bgp_nexthop.h.
1544
15452000-07-31 Akihiro Mizutani <mizutani@dml.com>
1546
1547 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1548 identifier. And status is changed like below.
1549
1550 State/Pref -> State/PfxRcd
1551 Shutdown -> Idle (Admin)
1552 PrefixOvflw -> Idle (PfxCt)
1553
1554 * bgp_route.c (route_vty_out): Show internal route as "i".
1555
15562000-07-13 Jim Bowen <jimb@zereau.net>
1557
1558 * bgp_snmp.c: Add BGP peer MIB implementation.
1559
15602000-07-12 Akihiro Mizutani <mizutani@dml.com>
1561
1562 * bgpd.c (bgp_show_peer): Fix typo.
1563
15642000-07-11 Akihiro Mizutani <mizutani@dml.com>
1565
1566 * bgp_routemap.c: Add commands for deleting set without argument.
1567
15682000-07-03 Akihiro Mizutani <mizutani@dml.com>
1569
1570 * bgp_zebra.c: Fix redistribute help strings.
1571
15722000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
1575 output to vty at once.
1576
15772000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
1580 tag WORD" command is added.
1581
1582 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
1583
15842000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1585
1586 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
1587
1588 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
1589 negotiation result in "show ip bgp neighbors".
1590
15912000-06-12 Akihiro Mizutani <mizutani@dml.com>
1592
1593 * bgpd.c: Fix help strings.
1594
1595 * bgpd.h: Likewise.
1596
15972000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1598
1599 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
1600 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
1601
1602 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
1603 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
1604
1605 * bgp_route.c (bgp_static_set): Set safi to p.safi.
1606
16072000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
1610 (bgp_show_regexp): Change to use bgp_show().
1611 (show_adj_route): Change to display header.
1612
1613 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
1614 is cleared manually.
1615
1616 * bgp_route.c (bgp_show_route): New function which display
1617 specific BGP route. Divided from bgp_show().
1618 (bgp_static_delete): Delete all static route.
1619
16202000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
1621
1622 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
1623 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
1624 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
1625 mbgp" and "show ipv6 mbgp".
1626
16272000-06-07 Akihiro Mizutani <mizutani@dml.com>
1628
1629 * bgp_route.c: Fix help strings and command arguments.
1630
16312000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1632
1633 * bgp_ecommunity.c: Include prefix.h
1634
16352000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1636
1637 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
1638 value.
1639
1640 * bgp_route.c (bgp_adj_set): table NULL check is added.
1641 (bgp_adj_unset): Likewise.
1642 (bgp_adj_lookup): Likewise.
1643 (bgp_adj_clear): Likewise.
1644 (route_vty_out): Add SAFI check for nexthop display.
1645 (bgp_withdraw): Add SAFI check for withdraw route.
1646
1647 * Remove all #ifdef MPLS_VPN then include it as default.
1648
1649 * bgpd.c: Temporary disable peer-group command until the
1650 implementation is completed.
1651
1652 * bgp_routemap.c (bgp_route_map_init): Install
1653 route_metric_match_cmd.
1654 (route_match_metric_compile): MED value compile using strtoul.
1655
16562000-06-05 Akihiro Mizutani <mizutani@dml.com>
1657
1658 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
1659 NAME to WORD.
1660
1661 * Change command argument to more comprehensive.
1662
1663 METRIC -> <0-4294967295>
1664 WEIGHT -> <0-4294967295>
1665 LOCAL_PREF -> <0-4294967295>
1666 IP_ADDR -> A.B.C.D
1667 AS -> <1-65535>
1668 AS-PATH-NAME -> WORD
1669 ACCESS_LIST -> WORD
1670 PREFIX_LIST -> WORD
1671 COMMUNITY -> AA:NN
1672 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
1673 IPv6_ADDR -> X:X::X:X
1674
1675 * bgp_clist.c: Fix help strings.
1676
16772000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * bgpd.c (peer_active): Add new function for check the peer is
1680 active or not.
1681 (neighbor_activate): New command "neighbor PEER activate" and "no
1682 neighbor PEER activate" are added.
1683
1684 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
1685
16862000-06-02 Akihiro Mizutani <mizutani@dml.com>
1687
1688 * bgp_clist.c: Fix commuity-list help strings.
1689
1690 * bgp_routemap.c: Fix "set community" help strings. Add #define
1691 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
1692
16932000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * bgp_routemap.c (route_set_community_none_cmd): "set community
1696 none" command is added to route-map.
1697
16982000-06-01 Akihiro Mizutani <mizutani@dml.com>
1699
1700 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
1701 debugging" is not used in VIEW_NODE.
1702
17032000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
1706 fix unconditional BGP connection.
1707
1708 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
1709 peer_change_flag_with_reset().
1710
17112000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
1714 ipv4-unicast" command.
1715
1716 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
1717
1718 * bgp_filter.c (as_list_delete): Free all AS filter.
1719
1720 * bgp_clist.c (community_list_delete): Free all community entry.
1721
1722 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
1723 access-list NAME".
1724
1725 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
1726 community-list NAME".
1727
17282000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1729
1730 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
1731 routes" to "show ip bgp PEER received-routes"
1732
17332000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
1736 Communities attribute.
1737 * bgp_ecommunity.h: Likewise.
1738
17392000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * bgp_mplsvpn.h: New file for MPLS-VPN.
1742 * bgp_mplsvpn.c: Likewise.
1743
1744 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
1745
17462000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1747
1748 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
1749 missing-as-worst".
1750
17512000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * bgp_routemap.c (match_community): Clarify help of "match
1754 community".
1755
17562000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1757
1758 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
1759
17602000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1761
1762 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
1763 from same neighboring AS.
1764
1765 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
1766
1767 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
1768
17692000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * bgp_route.c (bgp_output_filter): When distribute-list's
1772 corresponding access-list does not exist, filter all routes.
1773 (bgp_input_filter): Likewise.
1774
17752000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1776
1777 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
1778
1779 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
1780
17812000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * bgpd.c (bgp_distribute_update): Add struct access_list *
1784 argument.
1785
17862000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
1789 check.
1790
1791 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
1792
1793 * bgp_route.c (bgp_show): Fix undeclared write variable.
1794
17952000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * bgp_routemap.c: Add "match ip address prefix-list".
1798
17992000-03-29 Rick Payne <rickp@rossfell.co.uk>
1800
1801 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
1802
18032000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1804
1805 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
1806 the peer status is Connect.
1807
18082000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * Fix bug of rewritten originator-id.
1811
18122000-01-27 Rick Payne <rickp@rossfell.co.uk>
1813
1814 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
1815 directly referencing array, search proper AS path delimiter.
1816 (aspath_strip_confed): Strip the confederation stuff from the
1817 front of an AS path.
1818 (aspath_add_left_confed): New function for adding specified AS to
1819 the leftmost AS_CONFED_SEQUENCE.
1820
1821 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
1822 to Cisco compatible.
1823
1824 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
1825 (bgp_confederation_id_unset): Likewise.
1826 (bgp_confederation_peers_check): Likewise.
1827 (bgp_confederation_peers_add): Likewise.
1828 (bgp_confederation_peers_remove): Likewise.
1829 (bgp_confederation_peers_set): Likewise.
1830 (bgp_confederation_peers_unset): Likewise.
1831 (bgp_confederation_peers_print): Likewise.
1832
18332000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
1836
18372000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * bgp_open.c (bgp_open_option_parse): When there is no common
1840 capability send Unsupported Capability error to the peer.
1841
18422000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
1845 IPv6 unicast.
1846
1847 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
1848
18492000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1850
1851 * bgpd.c (neighbor_strict_capability): Add
1852 "strict-capability-match" command.
1853
1854 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
1855 router-id.
1856
1857 * bgpd.c (peer_override_capability): Add "override-capability"
1858 command.
1859
18601999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * bgp_packet.c (bgp_write): Change status to Idle and set timer
1863 after write failed.
1864
18651999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1866
1867 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
1868
18691999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1870
1871 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
1872 nlri_parse().
1873
18741999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1875
1876 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
1877
1878 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
1879 the peer is cleared.
1880
1881 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
1882 link-local address. This is KAME specific problem.
1883
18841999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
1887 while. We don't completely detect the link is shared or not at
1888 this moment.
1889
1890 * bgp_packet.c (bgp_notify_send): Make shortcut call of
1891 bgp_write() and bgp_stop().
1892
1893 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
1894 global and link-local address.
1895
18961999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1897
1898 * bgpd.c (no_neighbor_port): New command added.
1899 (peer_new): Set send_community.
1900
19011999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1902
1903 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
1904 (show_ip_mbgp_summary): Likewise.
1905 (show_ipv6_bgp_summary): Likewise.
1906 (show_ipv6_mbgp_summary): Add new command.
1907 (peer_free): Free peer->host.
1908 (peer_lookup_by_su): Delete function.
1909 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
1910 (sockunion_vty_out): Function deleted.
1911 (vty_clear_bgp): Use afi instead of family.
1912 Delete old list bgp_list. Use struct newlist *bgplist.
1913 (peer_lookup_by_host): Function deleted.
1914
19151999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1916
1917 * bgpd.h (struct peer_group): New structure added.
1918 (struct peer_conf): New structure added.
1919 (struct peer): Change all prefix_count to unsigned long.
1920
1921 * bgpd.c: Reconstruct all of VTY commands reflect internal
1922 structure change.
1923 Use bgplist instead of bgp_list.
1924 Use peerlist intstead of peer_list.
1925
1926 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
1927 parsing then return immediately.
1928
1929 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
1930 -1.
1931 (nlri_process): Use pcount_v4_{unicast,multicast}.
1932 (nlri_delete): Likewise.
1933
19341999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
1935
1936 * bgp_routemap.c (route_match_nlri): `match nlri
1937 unicast|multicast' and `set nlri unicast|multicast' command are
1938 added.
1939
19401999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
1941
1942 * bgpd.c: Add translate-update support.
1943
1944 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
1945
19461999-11-19 Robert.Olsson@data.slu.se
1947
1948 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
1949
19501999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1951
1952 * bgp_open.c (bgp_capability_mp): Temporary comment out
1953 SAFI_UNICAST_MULTICAST handling until we know the meanings.
1954
19551999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1956
1957 * bgp_btoa.c: New file added.
1958
19591999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1960
1961 * bgpd.h (struct peer): Add dont_capability flag.
1962 (struct peer): Add override_capability flag.
1963
1964 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
1965 dont-capability-negotiation' added.
1966
19671999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
1968
1969 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
1970 attribute from non-shared-network peers.
1971
19721999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1973
1974 * bgp_snmp.c: New file added.
1975
1976 * BGP4-MIB.txt: Updated to the latest Internet-Draft
1977 draft-ietf-idr-bgp4-mib-04.txt.
1978
19791999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
1982
1983 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
1984 #ifdef HAVE_MBGPV4.
1985
19861999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1987
1988 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
1989 dump bgp commands.
1990 (config_write_bgp_dump): Write interval value to the
1991 configuration.
1992
19931999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1994
1995 * bgp_zebra.c: Redistribute route-map support is added.
1996
1997 * bgp_zebra.h: New file added.
1998
19991999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * bgp_dump.c: BGP packet dump routine compatible with MRT.
2002 * bgp_dump.h: BGP packet dump routine compatible with MRT.
2003
2004 * bgp_debug.c: Renamed from bgp_dump.c
2005 * bgp_debug.h: Renamed from bgp_dump.h
2006
20071999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
2010
20111999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2012
2013 * bgp_route.c (bgp_announce): If we're not on a shared network
2014 with the peer and we don't have a link-local next hop, but the
2015 inbound next-hop has a link-local address, don't readvertise it to
2016 our peer.
2017
20181999-10-25 Marc Boucher <marc@mbsi.ca>
2019
2020 * bgp_zebra.c: Add redistribute kernel command.
2021
20221999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * bgp_route.c (bgp_reset): New function added.
2025
2026 * bgpd.conf.sample2: Add IPv6 configuration sample.
2027
20281999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2029
2030 * bgp_route.c (ipv6_aggregate_address): Function added.
2031
20321999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
2035 list after parsing BGP update packet.
2036
2037 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
2038 (bgp_attr_community): Intern parsed community.
2039 (bgp_attr_cluster_list): Intern parsed cluster list.
2040
2041 * bgp_routemap.c: Add `set community-additive' command.
2042
20431999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
2044
2045 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
2046 attribute flag.
2047
20481999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2049
2050 * bgp_route.c (bgp_announce): Add check of IPv6 default route
2051 announcement.
2052
2053 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
2054
20551999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2056
2057 * `show ip[v6] bgp PREFIX' show uptime of the route.
2058
20591999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2060
2061 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
2062 of that use AF_INET and AF_INET6 directly.
2063 (vty_clear_bgp): Add new function to support various clear ip bgp
2064 method.
2065
20661999-10-04 Lars Fenneberg <lf@elemental.net>
2067
2068 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
2069
20701999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2071
2072 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2073 prefix-list'.
2074
20751999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2076
2077 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2078 function.
2079
20801999-09-26 Blake Meike <bmeike@adero.com>
2081
2082 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2083 added.
2084
20851999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2088 min() macro.
2089
20901999-08-19 Rick Payne <rickp@rossfell.co.uk>
2091
2092 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2093 keepalive timer configurable.
2094
20951999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2096
2097 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2098
20991999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2100
2101 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2102 the peer not all of them.
2103
21041999-08-11 Rick Payne <rickp@rossfell.co.uk>
2105
2106 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2107 will get overwritten by route-maps.
2108
21091999-08-08 Rick Payne <rickp@rossfell.co.uk>
2110
2111 * bgp_routemap.c: Multi protocol route-map modification.
2112
21131999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2114
2115 * bgp_route.c: Set network statement route's origin attribute as
2116 igp.
2117
2118 * bgp_zebra.c: Set redistribute route's origin attribute as
2119 incomplete.
2120
2121 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2122 origin attribute check, BGP peer type check.
2123
21241999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2125
2126 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2127
21281999-07-29 Rick Payne <rickp@rossfell.co.uk>
2129
2130 * Changed route-maps to behave in a more cisco-like fashion
2131
21321999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2133
2134 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2135 When multiple route to the same destination exist, bgpd try to
2136 announce the information to stopped peer. Then add orphan write
2137 thread is added. This cause many strange behavior of bgpd.
2138 Reported by Georg Hitsch <georg@atnet.at>.
2139
21401999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2141
2142 * bgpd.c: Change peer's A.B.C.D to PEER.
2143
21441999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2145
2146 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2147
2148 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2149 local address.
2150
21511999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2152
2153 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2154 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2155
21561999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2157
2158 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2159 fsm_holdtime ().
2160
21611999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2162
2163 * bgp_routemap.c: Add `set atomic-aggregate' command.
2164
21651999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2168 to "ip next-hop".
2169
21701999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2171
2172 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2173 added.
2174
21751999-07-01 Rick Payne <rickp@rossfell.co.uk>
2176
2177 * bgp_zebra.c (zebra_init): Install standard commands to
2178 ZEBRA_NODE.
2179
21801999-06-28 Rick Payne <rickp@rossfell.co.uk>
2181
2182 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2183
21841999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * bgpd.c: Add neighbor update-source command as ALIAS to
2187 neighbor_interface.
2188
21891999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2192 send_community flag is set.
2193
2194 * bgpd.h (struct peer): Add send_community flag.
2195
21961999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2197
2198 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2199 <1-65535>.
2200
22011999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2202
2203 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2204
22051999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2206
2207 * bgp_community.c (community_merge): Function added.
2208
22091999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * bgp_clist.c: New file.
2212 * bgp_clist.h: New file.
2213
2214 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2215 compatibility.
2216 (COMMUNITY_NO_ADVERTISE): Fix typo.
2217
22181999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2219
2220 * bgp_routemap.c: Add `set weight WEIGHT' command.
2221
2222 * bgpd.c: Remove all_digit_check function. Instead of that use
2223 all_digit function in lib/prefix.c.
2224
2225 * bgp_routemap.c (bgp_route_map_init): Install
2226 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2227 element to the RMAP_NODE.
2228
22291999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2230
2231 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2232 inside aspath_make_str function.
2233 (aspath_prepend): New function is added for AS path prepend.
2234 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2235 count is set to the structure.
2236 (aspath_merge): New function.
2237
22381999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2239
2240 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2241 (no_redistribute_bgp): Likewise.
2242 (router_zebra): Semantics changed. Now 'router zebra' is default
2243 behavior of bgpd.
2244
22451999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2246
2247 * bgp_routemap.c: Add some commands to bgp route-map.
2248 match ip next-hop: New command.
2249 match metric: New command.
2250 set metric: Doc fix.
2251 set local-preference: Add DEFUN.
2252
22531999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2254
2255 * bgp_main.c (signal_init): SIGTERM call sigint.
2256 (sigint): Loggging more better message.
2257
22581999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2259
2260 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2261 length bit check is added.
2262
22631999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2264
2265 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2266 function with route_set_local_pref_cmd argument.
2267 (no_match_aspath): Function added.
2268 (route_set_metric): Set attribute flag bit.
2269
2270 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2271 packet.
2272
22731999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2274
2275 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2276 holdtime' command is added.
2277
2278 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2279
2280 * bgpd.c (bgp_prefix_list_set): New function added.
2281 (bgp_prefix_list_unset): Likewise.
2282 (bgp_prefix_list_update): Likewise.
2283 (show_ip_bgp_neighbors): prefix-list information display.
2284
22851999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2286
2287 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2288
22891999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2290
2291 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2292
2293 * bgpd.c (bgp_router_id): Even when address is malformed set the
2294 value to configuration bug fixed.
2295 (no_bgp_router_id): New function.
2296 (no_bgp_cluster_id): New function.
2297
22981999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2299
2300 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2301
23021999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2303
2304 * bgp_route.c (bgp_announce): Add route reflector check.
2305
23061999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2307
2308 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2309 (neighbor_route_reflector_client): Likewise.
2310 (no_neighbor_route_reflector_client): Likewise.
2311
2312 * bgpd.h (struct bgp ): Add cluster for route reflector.
2313
2314 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2315
23161999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2317
2318 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2319
2320 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2321 has same functionality.
2322
2323 * bgp_filter.h: New file.
2324
2325 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2326 aspath_unintern ()
2327 (aspath_free): New function.
2328
23291999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2330
2331 * bgp_aspath.c (aspath_aggregate): Function added.
2332
2333 * bgp_aspath.h (aspath_aggregate): Prototype added.
2334
2335 * bgp_aspath.c (aspath_empty_aspath): New argument
2336 gated_dont_eat_flag is added.
2337
23381999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2339
2340 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2341
23421999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2343
2344 * bgp_route.c (aggregate_address): Function added.
2345
2346 * bgp_zebra.c (zebra_read): Change log to zlog.
2347
23481999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2349
2350 * Makefile.am (noninst_HEADERS): Added for make dist.
2351
23521999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2353
2354 * aspath_regex.c: Removed from distribution.
2355
23561999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2357
2358 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2359 bug fixed.
2360
23611999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2362
2363 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2364 by kad@gibson.skif.net.
2365
2366 * bgp_regex.[ch]: New file added.
2367
2368
23691999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2370
2371 * bgp_filter.c: New file added.
2372
23731999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2374
2375 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2376 gated.
2377
23781999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2379
2380 * bgp_main.c (main): Default loggin method changed from syslog to
2381 stdout.
2382
23831999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2384
2385 * bgp_route.c: Delete obsolete default attribute DEFUN.
2386
23871999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2388
2389 * bgp_attr.c: Make attribute structure put into attribute hash.
2390
23911999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2392
2393 * bgp_view.c : Delete file.
2394
23951999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2396
2397 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2398
2399 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2400 replace bgp_route with this.
2401
2402 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2403 prefix value to access_list_apply().
2404
2405 * bgpd.conf.sample: Add route-map sample.
2406 Delete obsolete default-attr statements.
2407
2408 * bgp_packet.c: Use stream_fifo for packet queueing.
2409
24101999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2411
2412 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2413
2414 * bgp_main.c: include unistd.h for daemon().
2415
2416 * bgp_route.c (nlri_process): add IPv6 table lookup.
2417
2418 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2419 (attr_make): Obsolete function attr_make deleted.
2420
24211999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2422
2423 * bgp_aspath.c (aspath_add_left): change function name from
2424 aspath_add_leftmost_as().
2425
24261999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2427
2428 * bgp_aspath.c: add aspath_add_leftmost_as ().
2429
24301999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2431
2432 * syslog support added
2433
24341999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2435
2436 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2437 DEFUN (neighbor_distribute_list): added.
2438
24391999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2440
2441 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2442
2443 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2444 bgpd.c
2445
2446 * bgp_network.c: New file.
2447 * bgp_network.h: New file.
2448
2449 * bgp_packet.h: New file.
2450
24511999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2452
2453 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2454 buffered.
2455
24561999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2457
2458 * bgp_packet.c: New file.
2459
24601998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2461
2462 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2463
2464 * `show ip bgp' bug fixed.
2465 * aspath_log (): Remove argument logfp.
2466
24671998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2468
2469 * bgp_fsm.h: New file.
2470
24711998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2472
2473 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2474 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2475 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2476 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2477
24781998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2479
2480 * bgpd.c (bgp_config_write): Delete vector v argument.
2481
24821998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2483
2484 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2485
24861998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2487
2488 * bgp_radix.[ch]: removed.
2489
24901998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2491
2492 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2493
24941998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2495
2496 * bgp_dump.c: delete nroute().
2497
24981998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2499
2500 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2501 * bgpd.h: Modify for compile on Solaris.
2502 * bgp_aspath.h: likewize
2503 * bgp_community.h: likewize
2504 * bgp_routemap.c: likewize
2505
25061998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2507
2508 * bgpd.h: Modify for compile on Solaris.
2509 * bgp_aspath.h: likewize
2510
25111998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2512
2513 * routemap.[ch]: move to ../lib directory.
2514
25151998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2516
2517 * routemap.c (route_map_apply): add function.
2518
25191998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2520
2521 * routemap.h: add file.
2522
2523 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2524
25251998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2526
2527 * Makefile.am: sysconfdir_DATA added.
2528
25291998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2530
2531 * bgp_dump.c: add `debug bgp fsm'
2532 add `no debug bgp fsm'
2533 add `show debug bgp'
2534 * bgp_open.c: File added.
2535
25361998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2537
2538 * .cvsignore: File added.
2539
25401998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2541
2542 * bgp_community.[ch]: File added.
2543
25441998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2545
2546 * bgpd now use lib/thread.[ch].
2547
25481998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2549
2550 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2551
2552 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2553
25541997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2555
2556 * bgp_vty.c: bgp_vty.c deleted.
2557
2558 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2559
25601997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2561
2562 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
2563
25641997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2565
2566 * bgp_vty.c: new file.
2567
2568 * bgp_attr.c: add new logging system.
2569
25701997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2571
2572 * Change all inet_addr call into inet_aton.
2573
25741997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2575
2576 * bgp_radix.c: change radix_peer_delete
2577
25781997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2579
2580 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
2581
25821997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2583
2584 * bgp_dump.c (bgp_log_route): add dump_attr function
2585
25861997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2587
2588 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
2589 * bgp_dump.c (bgp_log_route): change logfile format.
2590
25911997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2592
2593 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
2594 * bgp_attr.c (community_str2com): add community value generation
2595 * bgp_attr.h: add SAFI definition for BGP-4+
2596
25971997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2598
2599 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
2600 * Makefile.in: add bgp_open.o, delete bgp_loop.o
2601 * bgp_open.c: newfile which manages BGP Open message
2602 * bgp_loop.c: this file is merged with bgp_fsm.c
2603 * bgp_radix.c (radix_add): radix_add() now return route_t instead
2604 of int
2605 (bgp_sim): now we can read update & withdraw from file
2606 * bgp_route.c: add route_free() call into route_parse etc.
2607
26081997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2609
2610 * bgp_radix.c: Radix code is completely rewritten. It has better
2611 memory treatment than old one.
2612
26131997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2614
2615 * bgp_route.c: route_alloc for route struct allocation statistics.
2616 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
2617 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
2618 format.
2619
26201997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2621
2622 * bgp_term.c (term_parse): add command : show asstat, show ashash
2623 * bgp_aspath.c: aspath_cmp bug fix
2624 (aspath_print_all): add aspath_print_all ();
2625 * bgp_peer.h: delete rlist element from struct peer.
2626
26271997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2628
2629 * bgp_aspath.c: completely rewritten.
2630 * bgp_aspath.h: completely rewritten.
2631 add AsPath, AsSegment structure
2632 add AS_SET treatment
2633 change Hash codes
2634
26351997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2636
2637 * bgp_attr.h: add Attribute flags defines
2638 * bgp_route.c: delete rlist related functions
2639 * bgp_aspath.c (as_origin): add as_origin function
2640 (aspath_print): move from bgp_dump.c and add support of AS_SET
2641 change Hash related function names.
2642
26431997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2644
2645 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
2646
26471997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2648
2649 * bgp_aspath.c (as_sort): add function as_sort
2650 * bgp_aspath.h: add IBGP, EBGP
2651