blob: 6101b50e8d609d297358684c78e220018faae2d2 [file] [log] [blame]
paul902212c2006-02-05 17:51:19 +000012006-02-05 Paul Jakma <paul.jakma@sun.com>
2
3 * bgp_route.h: Add BGP_INFO_COUNTED to track whether
4 prefix has been counted or not.
5 * bgp_route.c: (bgp_pcount_{inc,dec}rement) new helpers, to
6 centralise inc/dec of prefix-count,
7 (bgp_rib_remove) Remove pcount decrement, use helper.
8 (bgp_rib_withdraw) ditto, additionally use previous function
9 too.
10 (bgp_update_main) Use pcount helpers.
11 (bgp_clear_route_node) ditto, aslo REMOVED routes don't need
12 clearing.
paul3fff6ff2006-02-05 17:55:35 +000013 * bgp_aspath.c: (aspath_gettoken) fix gcc warning about
14 possible uninitialised usage.
paul902212c2006-02-05 17:51:19 +000015
paul306d8892006-02-02 17:50:19 +0000162006-02-02 Paul Jakma <paul.jakma@sun.com>
17
18 * bgp_route.c: (bgp_{clear_node,process}_queue_init) delay
19 field is removed from workqueue spec.
20
paule8e19462006-01-19 20:16:55 +0000212006-01-19 Paul Jakma <paul.jakma@sun.com>
22
23 * (general) various miscellaneous compiler warning fixes.
24 Remove redundant break statements from switch clauses
25 which return.
26 return from main, not exit, cause it annoys SOS.
27 Remove stray semi-colons which cause empty-statement
28 warnings.
29
pauld3092e72006-01-17 17:33:46 +0000302006-01-17 Paul Jakma <paul.jakma@sun.com>
31
32 * bgp_nexthop.c: (zlookup_read*) convert to new Zserv format.
33 (zlookup_query_ipv6) ditto.
34 (bgp_import_check) ditto.
35
paul02335422006-01-16 11:13:27 +0000362006-01-16 Paul Jakma <paul.jakma@sun.com>
37
38 * bgp_aspath.c: (assegment_append_asns) XREALLOC can return
39 NULL theoretically, take care not to lose the allocated data.
40 (aspath_hash_alloc) aspath_dup already set the aspath
41 string - fix leak.
42 (aspath_parse) aspath_hash_alloc dupes the entire aspath,
43 including segments, but we forgot to free the temporary
44 assegment.
paul8fdc32a2006-01-16 12:01:29 +000045 (aspath_snmp_pathseg) move the static stream pointer out to
46 file scope, so it can be freed.
47 (aspath_finish) new function, free aspath resources.
48 * bgp_aspath.h: (aspath_finish) export.
paul02335422006-01-16 11:13:27 +000049
paul37c38302006-01-10 22:15:45 +0000502006-01-10 Juris Kalnins <juris@mt.lv>
51
52 * bgpd.h: (bgp_router_id_unset) ex-function, remove.
53
paulad727402005-11-23 02:47:02 +0000542005-11-23 Paul Jakma <paul.jakma@sun.com>
55
56 * bgp_aspath.c: (assegments_parse) should be static
57
582005-11-23 Juergen Kammer <j.kammer@eurodata.de>
59
60 * bgp_aspath.c: (aspath_cmp_left_confed) fix SEGV for case
61 where one or both paths are empty.
62
paul0fb58d52005-11-14 14:31:49 +0000632005-11-14 Paul Jakma <paul.jakma@sun.com>
64
65 * bgp_route.c: (bgp_process_rsclient) convert to new workqueue
66 specs and shut up gcc, which complains about cast from void
67 via function parameters, for some dumb reason. Do the cast
68 inside the function instead.
69 (bgp_process_main,bgp_processq_del) ditto.
70 (bgp_clear_route_node) ditto.
71 (bgp_clear_node_queue_del) ditto.
72
paul41200852005-11-03 12:52:18 +0000732005-11-03 Paul Jakma <paul.jakma@sun.com>
74
75 * bgp_damp.c: (bgp_reuse_timer) struct bgp can be retrieved via
76 the struct bgp_damp_info, no need to guess by using
77 bgp_get_default().
78
ajsf52d13c2005-10-01 17:38:06 +0000792005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
80
81 * bgp_vty.c: (bgp_config_write_redistribute) Use new library function
82 zebra_route_string instead of a local hard-coded table.
83
jardin2d74db52005-10-01 00:07:50 +0000842005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
85
86 * bgp_packet.c: fix compilation when DEBUG is used.
87
paul1f8ae702005-09-09 23:49:49 +0000882005-09-10 Paul Jakma <paul.jakma@sun.com>
89
paulfe69a502005-09-10 16:55:02 +000090 * Makefile.am: bgpd shouldn't list libgp's sources as its own.
91 Use LDADD.
92 * bgp_aspath.h:
93 (struct assegment) New struct, abstract representation of a
94 list of AS_PATH segments and the contained ASNs.
95 (struct aspath) Remove the raw-data related
96 fields, reference the abstract struct assegment instead.
97 Remove several other computed fields, it's just a
98 headache to maintain them and they're cheap to compute from
99 struct assegment.
100 (aspath_parse) parse a stream, not a pointer to raw data.
101 (aspath_count_{hops,confeds,size}) helpers to access
102 information formerly directly contained in struct aspath.
103 (aspath_snmp_pathseg) Helper for SNMP, BGP MIB wants
104 to be able to output hex representation of raw data.
105 * bgp_aspath.c: (general) partial-rewrite. Store aspath data
106 as an abstract singly-linked list of abstract segments,
107 rather than storing the raw data, and parsing it each and
108 every time. Remove several count/size fields which are cheap
109 to compute from the abstract segment structure.
110 (global) Include stream.h, needed for aspath_parse, and
111 others. Couple of helper macros added.
112 (struct assegment_header) Just the header, and only the
113 header.
114 (assegment_data_{new,free}) convenience functions for
115 AS_SEG_DATA allocation, the dynamic, per-segment array of
116 ASNs.
117 (assegment_{new,free,free_all,dup,dup_all}) convenience
118 functions for creating struct assegments. The _all forms will
119 follow the entire chain of segments from the given segment.
120 (assegment_prepend_asns) new function, prepend an ASN N times
121 to segment.
122 (assegment_append_asns) Append a list (array) of ASNs to
123 segment.
124 (int_cmp) convenience function for the aspath hash.
125 (assegment_normalise) new function. Normalise the given
126 segment chain to meet expectations of Quagga, and to
127 eliminate differing raw representations of the same paths.
128 Merge 'runs' of SEQUENCEs into one segment as our internal
129 segment is not limited by the protocol AS_PATH segment
130 length. Sort ASNs in SETs.
131 (aspath_new) Take void argument to quell warnings. Use the
132 assegment convenience functions.
133 (assegment_count_{asns,confeds,hops}) new functions to
134 compute at runtime values previously held in struct aspath.
135 (aspath_size) ditto.
136 (aspath_make_str_count) rewritten to stringify new
137 representation, and to be slightly easier to understand
138 hopefully.
139 (aspath_str_update) convenience function, update the aspath
140 str. Should investigate removing maintained string from
141 struct aspath, just run-time compute it, as per other fields.
142 It's just a maintenance headache, would save noticeable
143 amount of RAM with possibly not much extra run-time cost.
144 (aspath_dup) use the assegment dup functions.
145 (aspath_hash_alloc) Take void * argument to satisfy gcc. Use
146 the proper helper functions to dup data.
147 (assegments_parse) new function. parse raw AS_PATH data into
148 struct assegments. Normalise and return the head of the list.
149 (aspath_parse) Parse a stream, not pointer to raw data and
150 use assegments_parse to do it.
151 (assegment_data_put) Write out a single segment data in protocol
152 form to stream.
153 (assegment_header_put) ditto but for segment header.
154 (aspath_put) new function. As per previous but for an entire
155 struct aspath.
156 (aspath_snmp_pathseg) wrapper around aspath_put for
157 bgp_snmp.c. Uses a static buffer sadly.
158 (aspath_aggregate_as_set_add) rewritten to use assegments.
159 (aspath_aggregate) ditto
160 (aspath_{firstas,loop,private_as}_check) ditto
161 (aspath_{merge,prepend,add_one_as}) ditto
162 (aspath_cmp_left{_confed}) ditto
163 (aspath_delete_confed_seq) ditto, plus fixed to properly
164 delete all leading confed segments.
165 (aspath_as_add) Just use assegment_append_asns.
166 (aspath_segment_add) updated to use assegments.
167 (enum as_token) Add values for confeds
168 (aspath_gettoken) Add support for confeds
169 (aspath_str2aspath) ditto
170 (aspath_key_make) updated to use as_segments. Also, add
171 segment type into the hash value as appropriate.
172 (aspath_cmp) updated to use as_segments.
173 (aspath_print) don't segfault on NULL argument.
174 * bgp_attr.c: (bgp_attr_aspath) aspath_parse wants the stream
175 now. No need for manual forwarding of stream.
176 (bgp_packet_attribute) empty aspath is now denoted by NULL
177 segment field, length is gone.
178 Use aspath_size() to determine size.
179 (bgp_attr_init) Fix declaration, explicitely specify void
180 arg.
181 (bgp_dump_routes_attr) Use aspath_size() to determine size.
182 * bgp_route.c: (bgp_info_cmp) use the aspath_count_* functions.
183 (bgp_rib_withdraw) remove unused variable. Use
184 aspath_count_hops.
185 * bgp_snmp.c: (bgp4PathAttrTable) raw data is gone, use
186 aspath_snmp_pathseg to get the representation.
187
1882005-09-10 Paul Jakma <paul.jakma@sun.com>
189
paul1f8ae702005-09-09 23:49:49 +0000190 * bgp_vty.c: (bgp_vty_init) gcc 4 compile fix. static
191 function declarations shouldn't be inside functions.
192 * bgp_dump.c: (bgp_dump_interval_add) ditto.
193
hassob7395792005-08-26 12:58:38 +00001942005-08-26 Hasso Tepper <hasso at quagga.net>
195
196 * bgp_route.c: Third (?) attempt to fix best selection breakage
197 introduced long time ago with route server patch. Hopefully
198 it's last case to fix - route-server client not in peer group.
199
paul25ffbdc2005-08-22 22:42:08 +00002002005-08-22 Hugo Santos <hsantos@av.it.pt>
201
202 * bgp_vty.c: (general) Add support for BGP IPv6 Multicast SAFI
203 commands and BGP_IPV6M_NODE.
204
paulb40d9392005-08-22 22:34:41 +00002052005-08-22 Paul Jakma <paul.jakma@sun.com>
206
207 * bgp_route.h: (struct bgp_info) add a new flag, BGP_INFO_REMOVED.
208 BGP_INFO_VALID is already overloaded, don't care to do same thing
209 to STALE or HISTORY.
210 * bgpd.h: (BGP_INFO_HOLDDOWN) Add INFO_REMOVED to the macro, as a
211 route which should generally be ignored.
212 * bgp_route.c: (bgp_info_delete) Just set the REMOVE flag, rather
213 than doing actual work, so that bgp_process (called directly,
214 or indirectly via the scanner) can catch withdrawn routes.
215 (bgp_info_reap) Actually remove the route, what bgp_info_delete
216 used to do, only for use by bgp_process.
217 (bgp_best_selection) reap any REMOVED routes, other than the old
218 selected route.
219 (bgp_process_rsclient) reap the old-selected route, if appropriate
220 (bgp_process_main) ditto
221 (bgp_rib_withdraw, bgp_rib_remove) make them more consistent with
222 each other. Don't play games with the VALID flag, bgp_process
223 is async now, so it didn't make a difference anyway.
224 Remove the 'force' argument from bgp_rib_withdraw, withdraw+force
225 is equivalent to bgp_rib_remove. Update all its callers.
226 (bgp_update_rsclient) bgp_rib_withdraw and force set is same as
227 bgp_rib_remove.
228 (route_vty_short_status_out) new helper to print the leading
229 route-status string used in many command outputs. Consolidate.
230 (route_vty_out, route_vty_out_tag, damp_route_vty_out,
231 flap_route_vty_out) use route_vty_short_status_out rather than
232 duplicate.
233 (route_vty_out_detail) print state of REMOVED flag.
234 (BGP_SHOW_SCODE_HEADER) update for Removed flag.
235
hassoe279c7a2005-08-03 17:23:20 +00002362005-08-03 Hasso Tepper <hasso at quagga.net>
237
238 * bgp_routemap.c: Revert part of leaking communities fix commited in
239 2005-05-27. While ecommunity fix seems to be correct, community case
240 isn't.
241
paul94f2b392005-06-28 12:44:16 +00002422005-06-28 Paul Jakma <paul.jakma@sun.com>
243
244 * (global) The great bgpd extern and static'ification.
245 * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code
246 (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison
247 warnings.
248 * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these
249 used by various files which had their own private declarations,
250 in the case of mplsvpn - incorrect.
251
paule210cf92005-06-15 19:15:35 +00002522005-06-15 Paul Jakma <paul.jakma@sun.com>
253
254 * bgpd.c: (bgp_terminate) workqueue's are lazy allocated and its
255 possible to terminate bgpd before workqueues were setup, causing
256 an abort/crash. Reported by Ashish Mehta of Sun.
257
paul200df112005-06-01 11:17:05 +00002582005-06-01 Paul Jakma <paul.jakma@sun.com>
259
260 * (general) refcount struct peer and bgp_info, hence allowing us
261 add work_queues for bgp_process.
262 * bgp_route.h: (struct bgp_info) Add 'lock' field for refcount.
263 Add bgp_info_{lock,unlock} helper functions.
264 Add bgp_info_{add,delete} helpers, to remove need for
265 users managing locking/freeing of bgp_info and bgp_node's.
266 * bgp_table.h: (struct bgp_node) Add a flags field, and
267 BGP_NODE_PROCESS_SCHEDULED to merge redundant processing of
268 nodes.
269 * bgp_fsm.h: Make the ON/OFF/ADD/REMOVE macros lock and unlock
270 peer reference as appropriate.
271 * bgp_damp.c: Remove its internal prototypes for
272 bgp_info_delete/free. Just use bgp_info_delete.
273 * bgpd.h: (struct bgp_master) Add work_queue pointers.
274 (struct peer) Add reference count 'lock'
275 (peer_lock,peer_unlock) New helpers to take/release reference
276 on struct peer.
277 * bgp_advertise.c: (general) Add peer and bgp_info refcounting
278 and balance how references are taken and released.
279 (bgp_advertise_free) release bgp_info reference, if appropriate
280 (bgp_adj_out_free) unlock peer
281 (bgp_advertise_clean) leave the adv references alone, or else
282 call bgp_advertise_free cant unlock them.
283 (bgp_adj_out_set) lock the peer on new adj's, leave the reference
284 alone otherwise. lock the new bgp_info reference.
285 (bgp_adj_in_set) lock the peer reference
286 (bgp_adj_in_remove) and unlock it here
287 (bgp_sync_delete) make hash_free on peer conditional, just in
288 case.
289 * bgp_fsm.c: (general) document that the timers depend on
290 bgp_event to release a peer reference.
291 (bgp_fsm_change_status) moved up the file, unchanged.
292 (bgp_stop) Decrement peer lock as many times as cancel_event
293 canceled - shouldnt be needed but just in case.
294 stream_fifo_clean of obuf made conditional, just in case.
295 (bgp_event) always unlock the peer, regardless of return value
296 of bgp_fsm_change_status.
297 * bgp_packet.c: (general) change several bgp_stop's to BGP_EVENT's.
298 (bgp_read) Add a mysterious extra peer_unlock for ACCEPT_PEERs
299 along with a comment on it.
300 * bgp_route.c: (general) Add refcounting of bgp_info, cleanup
301 some of the resource management around bgp_info. Refcount peer.
302 Add workqueues for bgp_process and clear_table.
303 (bgp_info_new) make static
304 (bgp_info_free) Ditto, and unlock the peer reference.
305 (bgp_info_lock,bgp_info_unlock) new exported functions
306 (bgp_info_add) Add a bgp_info to a bgp_node in correct fashion,
307 taking care of reference counts.
308 (bgp_info_delete) do the opposite of bgp_info_add.
309 (bgp_process_rsclient) Converted into a work_queue work function.
310 (bgp_process_main) ditto.
311 (bgp_processq_del) process work queue item deconstructor
312 (bgp_process_queue_init) process work queue init
313 (bgp_process) call init function if required, set up queue item
314 and add to queue, rather than calling process functions directly.
315 (bgp_rib_remove) let bgp_info_delete manage bgp_info refcounts
316 (bgp_rib_withdraw) ditto
317 (bgp_update_rsclient) let bgp_info_add manage refcounts
318 (bgp_update_main) ditto
319 (bgp_clear_route_node) clear_node_queue work function, does
320 per-node aspects of what bgp_clear_route_table did previously
321 (bgp_clear_node_queue_del) clear_node_queue item delete function
322 (bgp_clear_node_complete) clear_node_queue completion function,
323 it unplugs the process queues, which have to be blocked while
324 clear_node_queue is being processed to prevent a race.
325 (bgp_clear_node_queue_init) init function for clear_node_queue
326 work queues
327 (bgp_clear_route_table) Sets up items onto a workqueue now, rather
328 than clearing each node directly. Plugs both process queues to
329 avoid potential race.
330 (bgp_static_withdraw_rsclient) let bgp_info_{add,delete} manage
331 bgp_info refcounts.
332 (bgp_static_update_rsclient) ditto
333 (bgp_static_update_main) ditto
334 (bgp_static_update_vpnv4) ditto, remove unneeded cast.
335 (bgp_static_withdraw) see bgp_static_withdraw_rsclient
336 (bgp_static_withdraw_vpnv4) ditto
337 (bgp_aggregate_{route,add,delete}) ditto
338 (bgp_redistribute_{add,delete,withdraw}) ditto
339 * bgp_vty.c: (peer_rsclient_set_vty) lock rsclient list peer
340 reference
341 (peer_rsclient_unset_vty) ditto, but unlock same reference
342 * bgpd.c: (peer_free) handle frees of info to be kept for lifetime
343 of struct peer.
344 (peer_lock,peer_unlock) peer refcount helpers
345 (peer_new) add initial refcounts
346 (peer_create,peer_create_accept) lock peer as appropriate
347 (peer_delete) unlock as appropriate, move out some free's to
348 peer_free.
349 (peer_group_bind,peer_group_unbind) peer refcounting as
350 appropriate.
351 (bgp_create) check CALLOC return value.
352 (bgp_terminate) free workqueues too.
353
hasso033e8612005-05-28 04:50:54 +00003542005-05-28 Hasso Tepper <hasso at quagga.net>
355
356 * bgp_routemap.c: Sync set_metric_addsub_cmd with ripd.
357
hasso54a6ed32005-05-26 22:12:33 +00003582005-05-27 Hasso Tepper <hasso at quagga.net>
359
hasso70601e02005-05-27 03:26:57 +0000360 * bgp_routemap.c: Stop leaking communities.
361
3622005-05-27 Hasso Tepper <hasso at quagga.net>
363
hasso54a6ed32005-05-26 22:12:33 +0000364 * bgpd.c: Deleting bgp->rsclient list needs fix similar to pree-groups
365 deleting fix. Avoid leaking bgp->group, bgp->peer and bgp->rsclient
366 lists.
367
3682005-05-26 Hasso Tepper <hasso at quagga.net>
hassob6b7cff2005-05-26 08:29:07 +0000369
370 * bgpd.c: Don't crash while deleting list of peer-groups.
371
hassob5f29602005-05-25 21:00:28 +00003722005-05-25 Hasso Tepper <hasso at quagga.net>
373
374 * bgpd.c: Fix obvious (routeserver patch) merge error. This makes "no
375 neighbor x.x.x.x routemap [export|import] commands work again.
376
paula94feb32005-05-23 13:17:29 +00003772005-05-23 Paul Jakma <paul@dishone.st>
378
379 * bgp_routemap.c: add semi-colons to VTY_GET_* to match vty.h change
paul00d252c2005-05-23 14:19:54 +0000380 * bgp_fsm.h: Add extern qualifier to exported functions
381 * bgp_nexthop.c: add static to nexthop specific globals
382 * *.h: Add guard defines
paula94feb32005-05-23 13:17:29 +0000383
paul22db9de2005-05-19 01:50:11 +00003842005-05-19 Paul Jakma <paul@dishone.st>
385
386 * bgp_fsm.c: (bgp_stop) use sockunion_free, not XFREE..
387 * bgp_network.c: (bgp_getsockname) ditto
paule83e2082005-05-19 02:12:25 +0000388 (bgp_accept) use XSTRDUP
paul22db9de2005-05-19 01:50:11 +0000389 * bgp_routemap.c: (route_match_peer) ditto, als use a ret value and
390 remove one sockunion_free.
paule83e2082005-05-19 02:12:25 +0000391 * bgpd.c: (peer_delete) ditto.
392 XFREE the correct memtype, not free.
393 (peer_create) use XSTRDUP
394 * bgp_packet.c: (bgp_stream_dup) deleted, stream_dup should be used
395 (various) update -> s/bgp_stream_dup/stream_dup
396
paul22db9de2005-05-19 01:50:11 +0000397
ajs634f9ea2005-04-11 15:51:40 +00003982005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
399
400 * bgp_zebra.c (bgp_redistribute_set, bgp_redistribute_unset):
401 The 2nd arg to zebra_redistribute_send is now zclient instead of
402 zclient->sock.
403
hassoa8a80d52005-04-09 13:07:47 +00004042005-04-09 Akihiro Mizutani <mizutani@net-chef.net>
405
406 * bgp_vty.c: Make "exit-address-family" work in IPv4 unicast address
407 family node.
408
hasso68118452005-04-08 15:40:36 +00004092005-04-08 Martin Ling <martin-quagga@earth.li>
410
411 * bgp_aspath.[ch], bgp_route.c, bgp_vty.c, bgpd.[ch]: Allow to enable
412 the length of confederation path segments to be included during the
413 as-path length check in the best path decision.
414
ajsd2fc8892005-04-02 18:38:43 +00004152005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
416
417 * bgp_zebra.c: (bgp_interface_delete) After deleting, set ifp->ifindex
418 to IFINDEX_INTERNAL.
419
hasso6cf159b2005-03-21 10:28:14 +00004202005-03-21 Hasso Tepper <hasso at quagga.net>
421
422 * bgp_route.c: Don't crash while clearing route tables if there is
423 no particular afi/safi configured.
424
hasso338b3422005-02-23 14:27:24 +00004252005-02-23 Hasso Tepper <hasso at quagga.net>
426
427 * bgp_route.c: Make reannouncing prefixes with changed attributes
428 work again.
429
hasso6ffd2072005-02-02 14:50:11 +00004302005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
431
hassodd4c5932005-02-02 17:15:34 +0000432 * bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
433 transparent-nexthop" commands.
434
4352005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
436
hassoc1643bb2005-02-02 16:43:17 +0000437 * bgp_routemap.c: New route-map command - "match ip route-source".
438
4392005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
440
hassofee6e4e2005-02-02 16:29:31 +0000441 * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
442 community-list cleanup.
443
4442005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
445
hasso6ffd2072005-02-02 14:50:11 +0000446 * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop"
447 -> "disable-connected-check".
448
4492005-02-02 Akihiro Mizutani <mizutani@net-chef.net>
hasso93406d82005-02-02 14:40:33 +0000450
451 * bgp_fsm.c, bgp_open.c, bgp_packet.c, bgp_route.[ch], bgp_vty.c,
452 bgpd.[ch]: Add BGP_INFO_STALE flag and end-of-rib support. "bgp
453 graceful-restart" commands added. Show numbers of individual
454 messages in "show ip bgp neighbor" command. Final pieces of graceful
455 restart.
456
hassof4184462005-02-01 20:13:16 +00004572005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
458
hassoc9502432005-02-01 22:01:48 +0000459 * bgp_open.c, bgp_packet.c, bgp_vty.c, bgpd.[ch]: Remove "no neighbor
460 capability route-refresh" commands. Route refresh capability is sent
461 anyway now. Preserve dummy deprecated commands.
462
4632005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
464
hasso3d515fd2005-02-01 21:30:04 +0000465 * bgp_attr.c, bgp_snmp.c, bgp_vty.c, bgpd.[ch]: Remove support for old
466 draft - ie. "neighbor version 4-" commands. Preserve dummy "neighbor
467 version" command as deprecated.
468
4692005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
470
hasso0a486e52005-02-01 20:57:17 +0000471 * bgpd.[ch], bgp_vty.c, bgp_route.c: "Restart session after
472 maximum-prefix limit" feature support.
473
4742005-02-01 Akihiro Mizutani <mizutani@net-chef.net>
475
hassof4184462005-02-01 20:13:16 +0000476 * bgp_nexthop.c: Improve debug.
477 * bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master()
478 function.
479 * bgp_packet.c: MP AFI_IP update and withdraw parsing.
480 * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status()
481 is better place to log about peer status change than bgp_event().
482 Log in bgp_connect_success().
483 * bgp_vty.c: Fix typo in comment.
484 * bgp_attr.c: Better log about unknown attribute.
485
ajs3b8b1852005-01-29 18:19:13 +00004862005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
487
488 * bgp_filter.c: (ip_as_path,no_ip_as_path) Use argv_concat instead
489 of buffer_getstr.
490 * bgp_route.c: (bgp_show_regexp) Fix memory leak: need to free string
491 returned by buffer_getstr.
492 (bgp_show_community) Must use XFREE instead of free on string
493 returned by buffer_getstr.
494 * bgp_routemap.c: (set_community) Must use XFREE instead of free
495 on string returned by buffer_getstr.
496 * bgp_vty.c: (neighbor_description) Use argv_concat instead of
497 buffer_getstr.
498
hasso6d694292005-01-24 09:29:42 +00004992005-01-24 Hasso Tepper <hasso at quagga.net>
500
501 * bgp_route.c: Fix showstopper bug. New route must be selected also
502 if old one is flaged as BGP_INFO_ATTR_CHANGED.
503
hassof1271652005-01-17 11:04:32 +00005042005-01-17 Hasso Tepper <hasso at quagga.net>
505
506 * bgp_route.c: Clear peer's routing table regardless whether it's
507 configured or not. Being not configured is even better reason to
508 do it.
509
paula24a7e12005-01-05 08:14:13 +00005102005-01-05 Paul Jakma <paul@dishone.st>
511
512 * bgp_packet.c: (bgp_write) set socket to nonblock while writing
513 this should be generalised. See bugzilla #102. Fix supplied by
514 wawa@yandex-team.ru (Vladimir Ivanov).
515
ajsd2c1f162004-12-08 21:10:20 +00005162004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
517
518 * *.c: Change level of debug messages to LOG_DEBUG.
519
ajs274a4a42004-12-07 15:39:31 +00005202004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
521
522 * bgp_main.c: (main) The 2nd argument to openzlog has been removed.
523
ajs887c44a2004-12-03 16:36:46 +00005242004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
525
526 * bgp_main.c: (sigint) Use zlog_notice for termination message.
527 (main) Use zlog_notice for startup announcement.
528
hassoc0652302004-11-25 19:33:48 +00005292004-11-25 Hasso Tepper <hasso at quagga.net>
530
531 * bgp_main.c: Make group to run as configurable.
532
paul59320202004-11-09 01:54:03 +00005332004-11-09 Paul Jakma <paul@dishone.st>
534
535 * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
536 and cache{1,2}.. into arrays of tables and hence collapse
537 bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
538 a long time ago (and this change was hand-merged).
539
ajs5a646652004-11-05 01:25:55 +00005402004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
541
542 * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
543 is deprecated because the output did not represent a single point
544 in time. All output needs to be generated inline and buffered
545 by the library code.
546 (route_vty_out,route_vty_out_tag,damp_route_vty_out,
547 flap_route_vty_out) Remove code to count number of lines of output,
548 since this was only useful for VTY_CONTINUE behavior.
549 (bgp_show_callback,vty_calc_line) Removed.
550 (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
551 As a result, there's a new output_arg argument to this function.
552 Make function static.
553 (bgp_show) Make function static and add a new output_arg argument.
554 Change all functions that call bgp_show or bgp_show_table to
555 pass the new output_arg argument (that used to be passed inside
556 vty->output_arg).
557 * bgp_mplsvpn.c: Remove declarations of functions defined in
558 bgp_route.c; these declarations belong in bgp_route.h.
559 * bgp_route.h: Declare 3 global functions used in both bgp_route.c
560 and in bgp_mplsvpn.c.
561
paula2b1ecd2004-10-31 18:58:09 +00005622004-10-31 Paul Jakma <paul@dishone.st>
563
564 * {bgpd,bgp_attr}.c: size_t printf format should be ld.
565
paul98f51632004-10-25 14:19:15 +00005662004-10-25 Paul Jakma <paul@dishone.st>
567
568 * Update with fix in debian bug id 222930.
569 * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
570 bgp_network.c: (....) raise/lower privs around call to
571 SO_BINDTODEVICE sockopt.
572
hasso3fb9cd62004-10-19 19:44:43 +00005732004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
574
575 * bgp_nexthop.c: (bgp_connected_add) Connected destination pointer
576 may be NULL.
577 (bgp_connected_delete) ditto.
578
hasso501ba492004-10-13 21:32:46 +00005792004-10-14 Hasso Tepper <hasso at quagga.net>
580
581 * bgp_dump.c: Make dump configuration appear in vtysh.
582
hassoc75105a2004-10-13 10:33:26 +00005832004-10-13 Hasso Tepper <hasso at quagga.net>
584
585 * bgp_snmp.c: Remove defaults used to initialize smux connection to
586 snmpd. Connection is initialized only if smux peer is configured.
hasso8b3126b2004-10-13 20:59:04 +0000587 * bgp_view.c: It's dead file. Reomved.
hassoc75105a2004-10-13 10:33:26 +0000588
paulfd79ac92004-10-13 05:06:08 +00005892004-10-13 Paul Jakma <paul@dishone.st>
590
591 * (global) more const'ification and fixups of types to clean up code.
592 * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
593 should use something like the VTY_GET_INTEGER macro, but without
594 the vty_out bits..
595 * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
596 (no_set_aggregator_as) ditto.
597 * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
598 returned, add comments about troublesome return value.
599
hasso18a6dce2004-10-03 18:18:34 +00006002004-10-03 James R. Leu <jleu at mindspring.com>
601
602 * bgp_vty.c: Router id from zebra can be manually overriden.
603 * bgp_zebra.c: Read router id related messages from zebra daemon.
604 Remove own code related with router id selection.
605 * bgpd.c, bgpd.h: Remove own router id selection code. Use the one
606 from zebra daemon if it isn't manually overriden.
607
hassoc9e52be2004-09-26 16:09:34 +00006082004-09-26 Hasso Tepper <hasso at quagga.net>
609
610 * bgp_aspath.c, bgp_packet.c, bgp_vty.c: Fix compiler warnings.
611
hasso52dc7ee2004-09-23 19:18:23 +00006122004-09-23 Hasso Tepper <hasso at quagga.net>
613
614 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
615
paule01f9cb2004-07-09 17:48:53 +00006162004-07-09 Paul Jakma <paul@dishone.st>
617
618 * Merge of GNU Zebra cvs2svn changesets r799, r800 and r807.
619 * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check
620 attributes present before printing.
621 * bgp_dump.c: update bgp_dump_attr prototype.
622 * bgp_packet.c: (bgp_update_receive) init attrstr. check status
623 of bgp_dump_attr. Log end-of-rib UPDATEs.
624
paulf5ba3872004-07-09 12:11:31 +00006252004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
626
627 * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket
628 if that is connection we're closing.
629 (bgp_read) invalid marker check applies to KEEPALIVE too.
630 * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
631
paul5228ad22004-06-04 17:58:18 +00006322004-06-04 Paul Jakma <paul@dishone.st>
633
634 * type mismatch fixes
635
hasso538621f2004-05-21 09:31:30 +00006362004-05-21 Akihiro Mizutani <mizutani@net-chef.net>
637
638 * bgpd.h, bgp_open.[ch], bgp_debug.c, bgp_vty.[ch], bgp_fsm.c:
639 Graceful restart capability display.
640
hasso3950fda2004-05-20 10:22:49 +00006412005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
642
643 * bgp_debug.c: Cosmetical fixes and log neighbor changes.
644
hasso4372df72004-05-20 10:20:02 +00006452004-05-20 Akihiro Mizutani <mizutani@net-chef.net>
646
647 * bgp_ecommunity.c: Transit ecommunity support.
648 * bgp_ecommunity.c: Fix for unknown community crush.
649
hassoe0701b72004-05-20 09:19:34 +00006502005-05-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
651
652 * *: Maximum prefix threshold support.
653 * *: Reset notification fixups.
654
paul0a589352004-05-08 11:48:26 +00006552004-05-08 Paul Jakma <paul@dishone.st>
656
657 * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes
658 (bgp_interface_address_delete) ditto.
659 (bgp_zebra_announce) ditto.
660 (bgp_zebra_withdraw) ditto.
661
paulc5317402004-05-03 13:25:06 +00006622004-05-03 Daniel Roesen <dr@cluenet.de>
663
664 * bgp_fsm.c: (bgp_stop) Reset uptime only on transition from
665 Established so that it reflects true downtime (rather time
666 since last transition, eg Active->Idle)
667
paul35be31b2004-05-01 18:17:04 +00006682004-05-01 rivo nurges <rix@estpak.ee>
669
670 * bgp_route.c: fix UNH IOL BGP-4.1.12f
671
pauleb821182004-05-01 08:44:08 +00006722004-05-01 Paul Jakma <paul@dishone.st>
673
674 * Revert the attempted clean-up of the dummy peer hack, reverts
675 patchsets 435 (see 2004-02-17 below) and 456.
676
paul545acaf2004-04-20 15:13:15 +00006772004-04-16 rivo nurges <rix@estpak.ee>
678
hasso9b87e412004-04-20 16:54:49 +0000679 * bgpd.h, bgp_debug.c: update cease subcodes to
680 draft-ietf-idr-cease-subcode-05
paul545acaf2004-04-20 15:13:15 +0000681 * bgpd.h, bgpd.c, bgp_route.c, bgp_route.h: fix UNH IOL BGP-4.1.6a
682
paul6ad23f02004-02-17 19:45:10 +00006832004-02-17 Paul Jakma <paul@dishone.st>
684
685 * bgpd.h: (bgp_peer) add fd_local and fd_accept
686 file descriptor's, fd becomes a pointer to one of these.
687 * bgpd.c: (global) adjust for fact that fd is now a pointer.
688 (peer_create_accept) removed.
689 * bgp_route.c: (global) adjust for change of peer fd to pointer
690 * bgp_packet.c: (bgp_collision_detect) adjust and remove the
691 "replace with other peer" hack.
692 * bgp_network.c: (bgp_accept) Remove the dummy peer hack.
693 Update peer->fd_accept instead.
694 (global) Adjust fd references - now a pointer.
695 * bgp_fsm.c: (global) adjust peer fd to pointer.
696 (bgp_connection_stop) new function, to stop connection.
697 (global) adjust everything which closed peer fd to use
698 bgp_connection_stop().
699
gdt10d60ad2003-12-23 17:34:39 +00007002003-12-23 Krzysztof Oledzki <oleq@ans.pl>
701
702 * bgp_network.c: drop privs on error cases
703
paul6ad23f02004-02-17 19:45:10 +00007042003-08-11 kunihiro <kunihiro@zebra.org>
paulac41b2a2003-08-12 05:32:27 +0000705
706 * bgp_route{,map}.c: Extend 'set ip next-hop' in route-maps with
707 ability to specify 'peer-address' rather than IP.
708
paul9238b1e2003-06-11 08:03:08 +00007092003-06-09 Paul Jakma <paul@dishone.st>
710
711 * bgp_clist.c (community_list_delete): honour deny statements
712
paul445f1432003-05-16 19:00:31 +00007132003-04-19 Hasso Tepper <hasso@estpak.ee>
714
715 * rip_routemap.c: sync daemon's route-map commands to have same
716 syntax
717
7182003-01-09 Akihiro Mizutani <mizutani@net-chef.net>
719
720 * bgp_routemap.c: Add match extcommunity command.
721
paul718e3742002-12-13 20:15:29 +00007222002-10-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
723
724 * bgp_aspath.c (aspath_init): Extend hash size from default to
725 32767.
726 (aspath_key_make): Use unsigned shoft for making hash. Suggested
727 by: Marc Evans <Marc@SoftwareHackery.Com>
728
7292002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
730
731 * bgp_clist.c (community_entry_free): Fix memory leak of standard
732 extcommunity-list config string.
733
7342002-08-19 Akihiro Mizutani <mizutani@net-chef.net>
735
736 * bgp_route.c (route_vty_out_detail): Fix bug of router-id display
737 when multiple instance is used.
738
7392002-08-18 Akihiro Mizutani <mizutani@net-chef.net>
740
741 * bgpd.c: Make "default-originate" and "maximum-prefix" commands
742 available in peer-group configuration.
743
7442002-08-13 Akihiro Mizutani <mizutani@net-chef.net>
745
746 * bgp_packet.c (bgp_open_send): Put Opt Parm Len 0 when last
747 capability packet cause error or dont-capability-negotiate option
748 is specified.
749
7502002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
751
752 * zebra-0.93 released.
753
7542001-10-28 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * bgpd.c (bgp_vty_init): Translate update commands are removed.
757
7582001-10-10 Kunihiro Ishiguro <kunihiro@zebra.org>
759
760 * bgp_route.c (bgp_static_set): Add workaround for BGP static
761 route announcement when there is no zebra running.
762
7632001-10-08 Kunihiro Ishiguro <kunihiro@zebra.org>
764
765 * bgpd.c (neighbor_remote_as_unicast): Remove "remote-as nlri
766 unicast multicast" commands.
767
7682001-09-14 Akihiro Mizutani <mizutani@dml.com>
769
770 * bgp_open.c: When we receive capability route-refresh, we should
771 check we send the capability not we receive the capability.
772
773 * bgp_route.c (bgp_network_mask_natural_route_map): network
774 statement route-map is added.
775
7762001-08-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
777
778 * bgp_advertise.c (bgp_advertise_intern): attr must be interned
779 before looking up hash table.
780
7812001-08-30 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
782
783 * bgpd.h (struct peer): BGP filter is moved from peer_conf to
784 peer.
785
7862001-08-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
787
788 * bgp_nexthop.c (bnc_nexthop_free): Fix next pointer bug.
789 Suggested by: "Hong-Sung Kim" <hoskim@lanbird.co.kr>.
790
7912001-08-26 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
792
793 * bgp_table.c (bgp_node_create): Clearn memory before use it.
794
7952001-08-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
796
797 * Change to use bgp_table.[ch].
798
7992001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
800
801 * bgpd.c (bgp_init): Add "transparent-as" and
802 "transparent-nexthop" for old version compatibility.
803
8042001-08-23 Akihiro Mizutani <mizutani@dml.com>
805
806 * bgpd.h (struct peer): default-originate route-map is added.
807
808 * bgp_route.c: When self originated route is advertised with
809 attrubute-unchanged, nexthop was not properly set. This bug is
810 fixed.
811
8122001-08-22 Akihiro Mizutani <mizutani@dml.com>
813
814 * bgpd.c (neighbor_attr_unchanged): transparent-as and
815 transparent-next-hop commands are restructured. Instead of
816 current transparent-* commands, attribute-unchanged command is
817 introduced.
818
819 neighbor A.B.C.D attribute-unchanged [as-path|next-hop|med]
820
821 (neighbor_default_originate): "default-originate" configuration
822 announce default route even 0.0.0.0/0 does not exists in BGP RIB.
823
8242001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
825
826 * zebra-0.92a released.
827
8282001-08-19 Akihiro Mizutani <mizutani@dml.com>
829
830 * bgpd.c: AF specific soft-reconfiguration inbound commands are
831 added.
832
8332001-08-17 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
834
835 * bgp_route.c (bgp_show_callback): Do not do community NULL check.
836
837 * bgp_community.c (community_cmp): Add check for commnunity NULL
838 check.
839
840 * bgp_routemap.c (route_match_community): Do not check comunity is
841 NULL. It may match to community-list "^$".
842
843 * bgp_community.c (community_match): Add check for community is
844 NULL case.
845
8462001-08-17 Akihiro Mizutani <mizutani@dml.com>
847
848 * bgpd.c: AF specific route-reflector-client and
849 route-server-client configuration are added.
850
8512001-08-17 Rick Payne <rickp@ayrnetworks.com>
852
853 * bgp_clist.c (community_match_regexp): Check special ^$ case.
854
8552001-08-17 Akihiro Mizutani <mizutani@dml.com>
856
857 * bgp_clist.c (community_list_match): Fix bug of community list
858 permit and deny check.
859
8602001-08-16 Akihiro Mizutani <mizutani@dml.com>
861
862 * bgp_mplsvpn.c (bgp_mplsvpn_init): Add AF specific "nexthop-self"
863 command.
864
8652001-08-15 Akihiro Mizutani <mizutani@dml.com>
866
867 * bgpd.h (PEER_FLAG_SEND_COMMUNITY): Per AF based configuration
868 flag is introduced.
869
870 * bgp_mplsvpn.c (bgp_mplsvpn_init): VPNv4 filtering is added.
871
8722001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
873
874 * zebra-0.92 released.
875
8762001-08-13 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
877
878 * bgpd.c (bgp_delete): "no router bgp" free static, aggregate, rib
879 table properly.
880
8812001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
882
883 * bgp_route.c (bgp_node_safi): Return SAFI of current node.
884 (bgp_config_write_network_vpnv4): VPNv4 static configuration
885 display.
886
8872001-08-11 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
888
889 * bgpd.c (no_bgp_ipv4_multicast_route_map): Add IPv4 multicast
890 node filter commands.
891
8922001-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
893
894 * bgpd.h (PEER_FLAG_IGNORE_LINK_LOCAL_NEXTHOP): Add
895 "ignore-link-local-nexthop" flag for ignore link-local nexthop for
896 IPv6.
897
8982001-08-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
899
900 * bgpd.c (address_family_ipv4_multicast): "address-family ipv4
901 multicast" is added.
902 (address_family_ipv6_unicast): "address-family ipv6 unicast" is
903 added.
904
9052001-08-07 Akihiro Mizutani <mizutani@dml.com>
906
907 * bgp_route.c (bgp_process): Use flag instead of as_selected
908 memeber in struct bgp_info.
909
910 * bgp_route.h (struct bgp_info): Remove as_selected memeber from
911 struct bgp_info.
912
9132001-07-31 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
914
915 * bgp_route.c (bgp_announce_check): Enclose sending time AS loop
916 check code with #ifdef BGP_SEND_ASPATH_CHECK.
917
9182001-07-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
919
920 * bgp_packet.c (bgp_withdraw_send): Simplify address family check.
921
922 * bgpd.h (BGP_INFO_HOLDDOWN): Introduce new macro to check BGP
923 information is alive or not.
924
925 * bgp_community.c: Use community_val_get() on all OS.
926
9272001-07-24 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
928
929 * bgp_route.c (bgp_announce_check): Simplify set next-hop self
930 check.
931
9322001-07-24 Akihiro Mizutani <mizutani@dml.com>
933
934 * bgp_route.c (bgp_announce_check): To route server clients, we
935 announce AS path, MED and nexthop transparently.
936
9372001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
938
939 * bgp_routemap.c (route_set_atomic_aggregate_free): Do not call
940 XFREE. No memory is allocated in
941 route_set_atomic_aggregate_compile().
942
9432001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
944
945 * bgp_routemap.c (bgp_route_map_init): `match nlri` and `set nlri`
946 are replaced by `address-family ipv4` and `address-family vpnvr'.
947
9482001-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
949
950 * bgp_route.c (bgp_withdraw): Add check for BGP_PEER_CONFED.
951 Reported by Rick Payne <rickp@rossfell.co.uk>.
952
9532001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
954
955 * bgp_zebra.c (bgp_zebra_announce): When global IPv6 nexthop is
956 empty, use socket's remote address for the nexthop.
957
9582001-06-04 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
959
960 * bgpd.c (peer_delete): Fix memory leak. Reported by Yosi Yarchi
961 <Yosi_Yarchi@KereniX.com>
962
9632001-06-01 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
964
965 * bgpd.c (bgp_delete): Fix memory leak. Reported by Yosi Yarchi
966 <Yosi_Yarchi@KereniX.com>
967
9682001-05-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
969
970 * bgp_route.c (bgp_route_clear_with_afi_vpnv4): Use next instead
971 of ri->next.
972
973 * bgp_packet.c (bgp_withdraw_send): MPLS/VPN withdraw takes effect
974 when HAVE_IPV6 is not defined.
975
9762001-03-07 "Akihiro Mizutani" <mizutani@dml.com>
977
978 * bgpd.c (peer_timers_set): Adjust keepalive timer to fit less
979 than holdtime / 3.
980 (bgp_confederation_peers_unset): Only set peer->local_as when
981 confederation is enabled.
982 (bgp_timers): Add "timers bgp <0-65535> <0-65535>" command.
983
984 * bgp_route.c (bgp_announce_check): Set med of redistributed route
985 when it is announced to EBGP peer.
986
9872001-03-06 "Akihiro Mizutani" <mizutani@dml.com>
988
989 * bgp_nexthop.c (bgp_scan_ipv4): bgp_scan() call bgp_process() for
990 all prefixes.
991
9922001-03-06 Kunihiro Ishiguro <kunihiro@zebra.org>
993
994 * bgp_attr.c (bgp_attr_origin): When bgpd send NOTIFICATION with
995 erroneous attribute (type, length and value), it does include
996 attribute flags field.
997
9982001-02-21 "Akihiro Mizutani" <mizutani@dml.com>
999
1000 * bgp_route.c (bgp_announce_check): The route reflector is not
1001 allowed to modify the attributes of the reflected IBGP routes.
1002
10032001-02-20 "Akihiro Mizutani" <mizutani@dml.com>
1004
1005 * bgp_route.c (bgp_info_cmp): During path seleciton, BGP
1006 confederation peer is treated as same as IBGP peer.
1007
10082001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1009
1010 * bgp_route.c (bgp_redistribute_add): Initialize attr_new with
1011 attr. Call aspath_unintern when return from this function.
1012
10132001-02-19 "Akihiro Mizutani" <mizutani@dml.com>
1014
1015 * bgpd.c (bgp_router_id_set): Reset BGP peer when router-id is
1016 changed.
1017
10182001-02-18 "Akihiro Mizutani" <mizutani@dml.com>
1019
1020 * bgp_packet.c (bgp_open_receive): When user configure holdtimer,
1021 do not refrect the value to current session.
1022
10232001-02-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1024
1025 * bgp_route.c (bgp_aggregate_delete): Set BGP_INFO_ATTR_CHANGE to
1026 suppress route withdraw.
1027
1028 * bgp_damp.c (bgp_damp_init): Fix bug of flap dampening.
1029
10302001-02-16 "Akihiro Mizutani" <mizutani@dml.com>
1031
1032 * bgp_aspath.c (aspath_make_str_count): Use ',' for separator for
1033 AS_SET and AS_CONFED_SET.
1034
10352001-02-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1036
1037 * bgp_route.c (bgp_process): Do not consider suppress route.
1038
1039 * bgp_aspath.c (aspath_aggregate_as_set_add): Reset asset when
1040 aspath->data is realloced.
1041
10422001-02-15 "Akihiro Mizutani" <mizutani@dml.com>
1043
1044 * bgp_attr.c (bgp_attr_aggregate_intern): Do not set atomic
1045 aggregate when using as-set.
1046
10472001-02-14 "Akihiro Mizutani" <mizutani@dml.com>
1048
1049 * bgpd.c (bgp_confederation_peers_unset): Set peer's local-as
1050 correctly.
1051
1052 * bgp_route.c (bgp_update): Just ignore AS path loop for
1053 confederation peer.
1054
10552001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1056
1057 * bgp_route.c (bgp_aggregate_set): Add as_set argument.
1058 (bgp_aggregate_unset): Remove summary_only argument.
1059 (aggregate_address_as_set): New commands.
1060 "aggregate-address A.B.C.D/M as-set"
1061 "no aggregate-address A.B.C.D/M as-set"
1062
10632001-02-08 "Akihiro Mizutani" <mizutani@dml.com>
1064
1065 * bgp_route.c (bgp_announce_check): Do not modify nexthop when the
1066 route is passed by route reflector.
1067
10682001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1069
1070 * bgp_route.c: "no bgp dampening" with argument.
1071 (bgp_announce_check): Do not modify nexthop when the route is
1072 passed by route reflector.
1073
10742001-02-07 "Akihiro Mizutani" <mizutani@dml.com>
1075
1076 * bgpd.c (neighbor_passive): Change "neighbor NEIGHBOR remote-as
1077 ASN passive" to "neighbor NEIGHBOR passive".
1078 (bgp_announce_check): Check well-known community attribute even
1079 when "no neighbor send-community" is set.
1080
10812001-02-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1082
1083 * bgp_fsm.c (bgp_establish): Do not send keepalive at established
1084 time when keepalive timer is configured as zero.
1085
10862001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * bgp_attr.c (bgp_attr_check): When peer is IBGP peer, local
1089 preference is well-known attribute.
1090
10912001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1092
1093 * zebra-0.91 is released.
1094
1095 * bgp_attr.h (struct attr): Comment out DPA value.
1096 (struct attr): Change refcnt type from int to unsinged long.
1097
1098 * bgp_attr.c (attrhash_key_make): Likewise.
1099 (attrhash_cmp): Likewise.
1100 (bgp_attr_dpa): Likewise.
1101
11022001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
1103
1104 * bgp_route.c (bgp_info_cmp): Make route selection completely same
1105 as Cisco's.
1106
11072001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * bgp_attr.h (BGP_ATTR_FLAG_OPTIONAL): Rename old ATTR_FLAG_* to
1110 BGP_ATTR_FLAG_* to clarify meenings.
1111
11122001-01-30 "Akihiro Mizutani" <mizutani@dml.com>
1113
1114 * bgp_route.c (route_vty_out): Display argument to suppress same
1115 prefix information display.
1116 (route_vty_out_route): Don't display mask information for
1117 classfull network.
1118
11192001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1120
1121 * bgp_attr.h (SET_BITMAP): Simple bitmapping macros.
1122
1123 * bgp_attr.c (bgp_attr_parse): Use bitmap for attribute type
1124 check.
1125
11262001-01-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1127
1128 * bgp_attr.c (bgp_mp_reach_parse): Enclose loggin with BGP_DEBUG.
1129 (bgp_attr_parse): Comment out well-known attribute check.
1130
11312001-01-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1132
1133 * bgp_route.c (bgp_static_unset): Link-local IPv6 address can't be
1134 used for network advertisement.
1135 (nlri_parse): When link-local IPv6 address NLRI comes from
1136 remote-peer, log the information then simply ignore it.
1137
1138 * bgp_zebra.c (zebra_read_ipv6): Link-local IPv6 address is not
1139 redistributed.
1140
1141 * bgp_route.c (bgp_update): Check IPv6 global nexthop
1142 reachability.
1143
11442001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1145
1146 * bgp_route.c (bgp_update): Check nexthop points local address or
1147 not.
1148 (bgp_static_update_vpnv4): Set valid flag.
1149
1150 * bgp_attr.c (bgp_attr_parse): Duplicate attribute check.
1151 (bgp_attr_parse): Well-known attribute check.
1152
1153 * bgp_open.c (bgp_auth_parse): Authentication is not yet supported.
1154
1155 * bgp_packet.c (bgp_valid_marker): Check marker is synchronized.
1156
1157 * bgpd.c (clear_bgp): Send NOTIFICATION Cease when SEND_CEASE is
1158 defined.
1159
1160 * bgp_snmp.c (bgp4PathAttrTable): Fix compile error.
1161
11622001-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * bgpd.c (bgp_network_import_check): New command for IGP network
1165 check.
1166
11672001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1168
1169 * bgp_nexthop.c (bgp_scan): Run bgp_process when IGP metric is
1170 changed. Call bgp_process once for each node.
1171
11722001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
1173
1174 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
1175
11762001-01-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1177
1178 * bgp_route.c (bgp_info_cmp): Add IGP metric comparison.
1179
1180 * bgp_nexthop.c (bgp_nexthop_lookup): Set IGP metric for valid
1181 IBGP route.
1182
11832001-01-23 "Akihiro Mizutani" <mizutani@dml.com>
1184
1185 * bgp_route.c (show_ip_bgp_prefix_longer): Add new commands.
1186 "show ip bgp A.B.C.D/M longer-prefixes"
1187 "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
1188 "show ipv6 bgp X:X::X:X/M longer-prefixes"
1189 "show ipv6 mbgp X:X::X:X/M longer-prefixes"
1190
11912001-01-20 "Akihiro Mizutani" <mizutani@dml.com>
1192
1193 * bgp_route.c (show_ip_bgp_cidr_only): Add new commands.
1194 "show ip bgp cidr-only"
1195 "show ip bgp ipv4 (unicast|multicast) cidr-only"
1196
11972001-01-18 "Akihiro Mizutani" <mizutani@dml.com>
1198
1199 * bgp_route.c (bgp_update): AS path lookup check is done in
1200 bgp_update() not in attr_parse().
1201
12022001-01-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1203
1204 * bgp_route.c (bgp_update): Call bgp_aggregate_decrement() just
1205 before bgp_attr_unintern().
1206
12072001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * bgp_route.c (bgp_update): Now intern is performed very last part
1210 of the BGP packet update procedure.
1211
12122001-01-17 "Akihiro Mizutani" <mizutani@dml.com>
1213
1214 * bgp_route.c (bgp_update): When implicit withdraw occur, reuse
1215 existing bgp_info structure.
1216
12172001-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1218
1219 * bgp_route.c (bgp_aggregate_decrement): Fix bug of aggregate
1220 address matching method.
1221 (bgp_update):
1222
1223 * bgp_nexthop.c (bgp_nexthop_onlink): Separate EBGP nexthop onlink
1224 check and IBGP nexthop route check.
1225
12262001-01-16 "Akihiro Mizutani" <mizutani@dml.com>
1227
1228 * bgp_route.h (BGP_INFO_ATRR_CHANGED): Added for track attribute
1229 change.
1230
12312001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * bgp_route.h (struct bgp_info): Remove selected flag. Use
1234 BGP_INFO_SELECTED for flags instead.
1235 (struct bgp_info): Remove valid flag. Use BGP_INFO_VALID for
1236 flags instead.
1237 (struct bgp_info): Add igpmetric for IBGP route nexthop IGP
1238 metric.
1239 (struct bgp_info_tab): Struct bgp_info_tag is integrated into
1240 struct bgp_info.
1241 (BGP_INFO_ATRR_CHANGED): Added for track attribute change.
1242
1243 * bgp_community.c (community_val_get): gcc-2.95 on
1244 sparc-sun-solaris cause crush. This function is for avoid the
1245 crush.
1246
12472001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1248
1249 * bgp_packet.c (bgp_open_receive): Translated peer's packet_size
1250 clear bug is fixed.
1251
12522001-01-14 "Akihiro Mizutani" <mizutani@dml.com>
1253
1254 * bgp_packet.c (bgp_open_receive): Return notification with
1255 supported version number.
1256
12572001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1258
1259 * bgpd.c (bgp_show_summary): Display AS path and community
1260 entries. Suggested by: "Matt Ranney" <mjr@ranney.com>.
1261
1262 * bgp_packet.c (bgp_read_packet): Fix bug of unblocking BGP socket
1263 read. When BGP packet read is partial, we must get size and type
1264 from packet again.
1265
12662001-01-12 "Akihiro Mizutani" <mizutani@dml.com>
1267
1268 * bgp_route.c (bgp_update): Do not unset BGP_INFO_HISTORY flag.
1269 (bgp_update): When there is a history entry increment route count.
1270 (bgp_damp_set): Check BGP_CONFIG_DAMPENING flag.
1271
1272 * bgp_damp.c (bgp_damp_withdraw): Set status to
1273 BGP_DAMP_DISCONTINUE.
1274
12752001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1276
1277 * bgp_attr.c (bgp_mp_reach_parse): Fix warning code when second
1278 IPv6 nexthop is not link-local addresss.
1279
12802001-01-11 "Akihiro Mizutani" <mizutani@dml.com>
1281
1282 * bgp_damp.c (bgp_config_write_damp): Smart flap dampening
1283 configuration display.
1284 (bgp_damp_info_print): Display elapsed time from flap started.
1285
1286 * bgp_damp.h (struct bgp_damp_info): Add flap start time.
1287
1288 * bgpd.c (peer_create): Set last read time.
1289 (bgp_show_peer): Display last read time.
1290 (bgp_show_summary): Use BGP_CONFIG_DAMPENING flag to check
1291 configuration.
1292
1293 * bgpd.h (BGP_CONFIG_DAMPENING): Add new configuration option.
1294 (struct peer): Add last read time member.
1295 (BGP_VERSION_MP_4): Remove obsolete definition.
1296
12972001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1298
1299 * bgp_nexthop.c: Remove OLD_RIB codes.
1300
1301 * bgp_route.c (bgp_process): Likewise.
1302
1303 * zebra-0.90 is released.
1304
1305 * bgp_route.h (BGP_INFO_HISTORY): Remove damped member from struct
1306 bgp_info. Instead of that use BGP_INFO_DAMPED flag.
1307 (struct bgp_info): Remove invalid member from struct bgp_info.
1308 Instead of that use BGP_INFO_HISTORY flag.
1309
13102001-01-10 "Akihiro Mizutani" <mizutani@dml.com>
1311
1312 * bgp_damp.c (bgp_damp_info_print): New function to display
1313 dampening status.
1314 (DEFAULT_HARF_LIFE): Define default value.
1315 (DEFAULT_REUSE): Likewise.
1316 (DEFAULT_SUPPRESS): Likewise.
1317 (bgp_config_write_damp): When config value is same as default
1318 value, simply display "bgp dampening" to configuration.
1319
1320 * bgp_damp.h (struct bgp_damp_info): Add flap member.
1321
1322 * bgp_route.h (struct bgp_info): Added for BGP flap dampening
1323 history status.
1324
13252001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1326
1327 * bgp_nexthop.c (bgp_connected_add): Point-to-point connected
1328 address is properly handled.
1329 (bgp_connected_delete): Likewise.
1330
1331 * bgp_route.c (bgp_route_init): Turn off BGP Flap dampening code
1332 until it works fine.
1333
13342001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1335
1336 * bgpd.c (bgp_show_summary): Add BGP_VERSION_MP_4 case.
1337
1338 * bgp_route.c (bgp_update): When this is not damped route, clear
1339 ri pointer.
1340
13412001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * bgp_main.c: Add "-n" no_kernel option to not install route to
1344 kernel. Suggested by: "Matt Ranney" <mjr@ranney.com>
1345
13462001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1347
1348 * bgp_nexthop.c (bgp_connected_add): Revert point-to-point
1349 connected route patch. Reported by ruud@ruud.org (Ruud de Rooij)
1350
1351 * bgp_damp.c (bgp_config_write_damp): Add configuration display
1352 function.
1353
1354 * bgp_route.c (bgp_info_free): Set NULL to BGP dampening
1355 information when BGP info structure is freed.
1356 (bgp_info_cmp): Check damped flag.
1357 (bgp_announce_check): Damped route is not announced.
1358
13592001-01-09 "Akihiro Mizutani" <mizutani@dml.com>
1360
1361 * bgpd.c (neighbor_capability_route_refresh): Change "neighbor
1362 route-refresh" command to "neighbor capability route-refresh".
1363 (clear_bgp_soft_in): Change soft-reconfig method.
1364
1365 clear ip bgp <neighbor> soft in
1366 --------------------------------------
1367 Try stored cache first then route-refresh
1368
1369 clear ip bgp <neighbor> in
1370 ---------------------------------
1371 Try route-refresh first then try to use stored cache
1372
13732001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1374
1375 * bgp_nexthop.c (bgp_connected_add): Check point-to-point
1376 connected route. Reported by ruud@ruud.org (Ruud de Rooij)
1377
13782001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1379
1380 * bgp_nexthop.c (bgp_nexthop_lookup): When IBGP nexthop is
1381 changed, refresh it.
1382
13832001-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1384
1385 * bgp_route.h (struct bgp_info_tag): Add as_selected to
1386 bgp_info_tag.
1387
13882001-01-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1389
1390 * bgp_route.h (struct bgp_info_tag): Add damped and bgp_damp_info
1391 member for BGP flap dampening.
1392
1393 * bgp_damp.c: New file is added.
1394
1395 * bgp_damp.h: Likewise.
1396
13972001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1398
1399 * bgpd.h (BGP_VTYSH_PATH): Change "/tmp/bgpd" to "/tmp/.bgpd".
1400
14012000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1402
1403 * bgp_nexthop.c (zlookup_connect): Change to use UNIX domain
1404 socket for zebra communication.
1405
14062000-12-29 Akihiro Mizutani <mizutani@dml.com>
1407
1408 * bgp_route.c (bgp_process): Fix "bgp deterministic-med" process.
1409
14102000-12-27 Akihiro Mizutani <mizutani@dml.com>
1411
1412 * bgp_route.c (bgp_process): Add "bgp deterministic-med" process.
1413
14142000-12-25 Akihiro Mizutani <mizutani@dml.com>
1415
1416 * bgp_route.c (bgp_info_cmp): Use ntohl comparing router ID.
1417
14182000-12-18 Akihiro Mizutani <mizutani@dml.com>
1419
1420 * bgp_route.c (bgp_info_cmp): When over three same prefix exit,
1421 withdrawing best prefix perform router ID comparison.
1422
14232000-12-15 Akihiro Mizutani <mizutani@dml.com>
1424
1425 * bgp_route.c (bgp_info_cmp): Do not compare router ID when the
1426 routes comes from EBGP peer. When originator ID is same, take
1427 shorter cluster-list route. If cluster-list is same take smaller
1428 IP address neighbor's route.
1429
1430 * bgpd.c (bgp_bestpath_aspath_ignore): Add "bgp bestpath as-path
1431 ignore" command. When this option is set, do not concider AS path
1432 length when route selection.
1433 (bgp_bestpath_compare_router_id): Add "bgp bestpath
1434 compare-routerid". When this option is set, compare router ID
1435 when the routes comes from EBGP peer.
1436
14372000-12-15 Akihiro Mizutani <mizutani@dml.com>
1438
1439 * bgp_route.c (bgp_info_cmp): Compare originator ID when it is
1440 available.
1441
14422000-12-14 Akihiro Mizutani <mizutani@dml.com>
1443
1444 * bgp_packet.c (bgp_notify_receive): Disply received Notify data
1445 information.
1446
14472000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1448
1449 * bgp_filter.c (as_filter_free): Use MTYPE_AS_FILTER_STR to make
1450 it sure the memory is freed.
1451
1452 * bgp_route.c (route_vty_out_detail): Do not use AF_INET6 outside
1453 HAVE_IPV6.
1454
14552000-12-08 Akihiro Mizutani <mizutani@dml.com>
1456
1457 * bgp_packet.c (bgp_notify_send_with_data): Store BGP notification
1458 data part.
1459
1460 * bgp_network.c (bgp_accept): When BGP connection comes from
1461 unconfigured IP address, close socket immediately.
1462
1463 * bgpd.c: Fix some display format.
1464
14652000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * bgp_packet.c (bgp_keepalive_send): Delete duplicate
1468 bgp_packet_set_size () call.
1469
14702000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * bgp_packet.c (bgp_read_packet): Remove debug codes.
1473
14742000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * bgp_snmp.c (write_bgpPeerTable): Add SNMP set method routine.
1477
1478 * bgp_fsm.c (bgp_stop): Use fsm_change_status to change peer's
1479 status.
1480 (bgp_establish): Likewise.
1481
14822000-11-26 Akihiro Mizutani <mizutani@dml.com>
1483
1484 * bgp_open.c: Fix error messages.
1485
14862000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1487
1488 * bgp_fsm.c (bgp_establish): Call BGP trap when the peer is
1489 established.
1490 (bgp_stop): Call BGP trap when the peer is dropped.
1491
14922000-11-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1493
1494 * bgp_snmp.c (bgp4PathAttrTable): Return BGP path attribute table.
1495
1496 * bgpd.h (struct peer): Add update_time for track last update
1497 received time.
1498
1499 * bgp_packet.c (bgp_notify_receive): Preserv notify code and sub
1500 code in any case.
1501
1502 * bgp_snmp.c (bgpPeerTable): Return remote router ID instead of
1503 peering IP address.
1504 (bgpPeerTable): Return actual BGP version number.
1505
15062000-11-22 Akihiro Mizutani <mizutani@dml.com>
1507
1508 * bgp_debug.c (bgp_notify_print): Notify data length display bug
1509 is fixed.
1510
15112000-11-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * bgp_nexthop.c (zlookup_connect): When UNIX domain connection to
1514 zebra is enabled, use the method.
1515
15162000-11-16 Akihiro Mizutani <mizutani@dml.com>
1517
1518 * bgpd.c: Revise debug message output.
1519
15202000-11-15 Akihiro Mizutani <mizutani@dml.com>
1521
1522 * bgp_clist.c (ip_community_list): Fix bug of string comparison.
1523
15242000-11-14 Akihiro Mizutani <mizutani@dml.com>
1525
1526 * bgp_community.c (community_match): Fix bug of memcmp return
1527 value check.
1528
15292000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1530
1531 * bgp_clist.c (community_list_match_exact): Add check for
1532 entry->style is COMMUNITY_LIST.
1533 (community_match_regexp): Apply new com_nthval macro.
1534
15352000-11-07 Rick Payne <rickp@rossfell.co.uk>
1536
1537 * bgp_routemap.c (route_set_community_delete): "set
1538 community-delete COMMUNITY-LIST" is added.
1539
1540 * bgp_community.c (community_del_val): Delete one community.
1541 (community_delete): Delete all community included in list.
1542 (community_match): Fix bug of matching community value.
1543
1544 * bgp_clist.c (community_entry_free): Free community regular
1545 expression.
1546 (community_entry_make): Default style is COMMUNITY_LIST.
1547 (community_entry_lookup): Make it sure style is COMMUNITY_LIST.
1548 (community_entry_regexp_lookup): New function for community
1549 regular expression lookup.
1550 (community_match_regexp): New function.
1551 (community_delete_regexp): New function.
1552 (community_list_delete_entries): New function.
1553 (community_list_match): Add COMMUNITY_REGEXP treatment.
1554 (community_list_match_exact): Likewise.
1555 (config_write_community): Write community list according to
1556 entry->style.
1557
15582000-11-07 Rick Payne <rickp@rossfell.co.uk>
1559
1560 * bgp_attr.c (bgp_attr_aspath): AS path first AS check.
1561
1562 * bgp_clist.c (struct community_entry): Add style, regexp, reg to
1563 community_entry.
1564
15652000-11-06 Rick Payne <rickp@rossfell.co.uk>
1566
1567 * bgp_aspath.c (aspath_firstas_check): AS path first AS check.
1568
1569 * bgpd.c (bgp_enforce_first_as): New command "bgp
1570 enforce-first-as".
1571
1572 * bgpd.h (BGP_CONFIG_ENFORCE_FIRST_AS): Add new flag.
1573
15742000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1575
1576 * bgp_community.c (community_compare): Copy byte stream data to
1577 actual value instead of using type casting hack.
1578 (community_add_val): Likewise.
1579 (community_uniq_sort): Likewise.
1580 (community_print): Likewise.
1581 (community_print_vty): Likewise.
1582 (community_include): Use memcmp to compare community value.
1583
1584 * bgp_community.h (com_lastval): com_lastval and com_nthval macro
1585 return pointer.
1586
15872000-11-06 Akihiro Mizutani <mizutani@dml.com>
1588
1589 * bgpd.h (struct peer): Add established and dropped member for
1590 count peering up/down statistics.
1591
1592 * bgpd.c (bgp_show_peer): Display peering up/down statistics.
1593
1594 * bgp_fsm.c (bgp_establish): Increment established count.
1595 (bgp_stop): Increment dropped count.
1596
1597 * bgp_packet.c (bgp_notify_receive): Increament notify count.
1598
15992000-11-1 Akihiro Mizutani <mizutani@dml.com>
1600
1601 * bgp_fsm.c: Fix bug of holdtimer is not reset when bgp cleared.
1602
16032000-10-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * bgpd.h: Static bit flag is set by (1 << DIGIT).
1606
16072000-10-24 Akihiro Mizutani <mizutani@dml.com>
1608
1609 * bgp_ecommunity.c (ecommunity_dup): Extended community display
1610 format fix.
1611
16122000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1613
1614 * bgp_network.c (bgp_serv_sock_addrinfo): Use gai_strerror.
1615 (bgp_serv_sock_addrinfo): Check address family.
1616
16172000-10-23 Jochen Friedrich <jochen@scram.de>
1618
1619 * bgp_snmp.c: bgp_oid and bgpd_oid are used in smux_open after it
1620 is registered. So those variables must be static.
1621
16222000-10-23 Akihiro Mizutani <mizutani@dml.com>
1623
1624 * bgp_routemap.c (route_match_ip_next_hop): Change "match ip
1625 next-hop" argument from IP address to access-list name.
1626 Remove zebra-0.88 compatibility commands.
1627 "match ip prefix-list WORD"
1628 "match ipv6 prefix-list WORD"
1629
16302000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1631
1632 * bgp_routemap.c (route_match_ipv6_next_hop_compile): Fix bug of
1633 passing the pointer to the pointer of struct in6_addr instead of
1634 the pointer of struct in6_addr in "match ipv6 next-hop" command.
1635
1636 * bgp_route.c (bgp_announce_check): Enclose IPv6 part with
1637 HAVE_IPV6.
1638
16392000-10-20 Jasper Wallace <jasper@ivision.co.uk>
1640
1641 * bgp_snmp.c (bgpPeerTable): ntohs missing bug is fixed. Change
1642 to use linklist.c. Define COUNTER32 as ASN_COUNTER.
1643
16442000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1645
1646 * bgp_route.c (bgp_announce_check): attr->nexthop empty check
1647 should be done by attr->nexthop.s_addr instead of strcmp.
1648
16492000-10-18 Akihiro Mizutani <mizutani@dml.com>
1650
1651 * bgp_zebra.c (zebra_read_ipv4): Pass nexthop value to
1652 bgp_redistribute_add().
1653
1654 * bgp_nexthop.c (bgp_multiaccess_check_v4): New function for
1655 checking IPv4 multiaccess nexthop.
1656
1657 * bgp_route.c (bgp_announce_check): In case of the nexthop is
1658 reachable on multiaccess media, do not change nexthop.
1659 (bgp_redistribute_add): Set nexthop when the value is passed.
1660
16612000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * bgp_fsm.c (bgp_timer_set): If peer is passive mode, do not set
1664 connect timer.
1665 (bgp_start): If the peer is passive mode, force to move to Active
1666 mode.
1667
16682000-10-17 Horms <horms@vergenet.net>
1669
1670 * bgp_debug.c (debug_bgp_fsm): Fix typo.
1671
16722000-10-17 Akihiro Mizutani <mizutani@dml.com>
1673
1674 * bgp_route.c: "show ipv6 bgp" route display improvement.
1675
16762000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1677
1678 * bgp_route.c (neighbor_routes): Allocate sockunion for callback
1679 function.
1680 (bgp_show_neighbor_route): Remove static declaration for union
1681 sockunion.
1682
1683 * bgpd.c (peer_update_source_set): Clean previously allocated
1684 memory before allocate new one.
1685
16862000-10-03 Akihiro Mizutani <mizutani@dml.com>
1687
1688 * bgp_route.c (neighbor_routes): Add show neighbor's routes
1689 command.
1690 "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
1691 "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
1692 "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
1693 "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
1694
16952000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1696
1697 * zebra-0.89 is released.
1698
16992000-10-02 Akihiro Mizutani <mizutani@dml.com>
1700
1701 * bgpd.c: "bgp deterministic-med" command is added.
1702
17032000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1704
1705 * bgp_nexthop.c (bgp_connected_add): Apply mask for connected
1706 route addition and deletion.
1707
17082000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1709
1710 * bgp_aspath.c (aspath_cmp_left): Skip confederation AS segment
1711 when comparing leftmost AS number.
1712
17132000-09-29 Akihiro Mizutani <mizutani@dml.com>
1714
1715 * bgpd.c (peer_route_reflector): Route reflector can be set for
1716 IBGP peer.
1717 (bgp_distribute_set): Fix bug of string check for (in|out).
1718 (bgp_show_summary): Display total neighbor count.
1719
17202000-09-28 Akihiro Mizutani <mizutani@dml.com>
1721
1722 * bgp_attr.c (bgp_packet_attribute): Only add cluster_list and
1723 originator for clinet to client routes.
1724 (bgp_packet_attribute): Add new cluster_list to the beginning of
1725 existing cluster_list.
1726 (bgp_packet_attribute): Fix bug of originator is rewritten even
1727 when originator is already set.
1728
17292000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * bgpd.c (bgp_client_to_client_reflection): Add new command.
1732 "no bgp client-to-client reflection"
1733 "bgp client-to-client reflection"
1734
1735 * bgpd.h (BGP_CONFIG_NO_CLIENT_TO_CLIENT): Add new definition.
1736
17372000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1738
1739 * bgp_packet.c (bgp_read): Make BGP packet read to non-blocking
1740 read.
1741 (bgp_read_packet): Likewise.
1742 (bgp_read_packet): When errono is EAGAIN, try to read it again.
1743
1744 * bgp_fsm.c (bgp_stop): Clear packet size and read buffer.
1745
17462000-09-26 Akihiro Mizutani <mizutani@dml.com>
1747
1748 * bgp_routemap.c: Configuration of prefix-list match is shown as
1749 "match ip address prefix-list <WORD>". Old configuration "match
1750 ip prefix-list <WORD>" is left for compatibilitty.
1751
17522000-09-25 Akihiro Mizutani <mizutani@dml.com>
1753
1754 * bgpd.h (BGP_CONFIG_MED_MISSING_AS_WORST): Changed from
1755 BGP_CONFIG_MISSING_AS_WORST.
1756
1757 * bgpd.c (bgp_bestpath_med): Change missing-as-worst syntax.
1758 Old "bgp bestpath missing-as-worst"
1759 New "bgp bestpath med missing-as-worst"
1760
17612000-09-24 Akihiro Mizutani <mizutani@dml.com>
1762
1763 * bgp_route.c: Compare MED properly in case of CONFED-IBGP.
1764
17652000-09-21 steve@Watt.COM (Steve Watt)
1766
1767 * bgp_debug.h: Do not declare debug variables conf_bgp_debug_* and
1768 term_bgp_debug_*.
1769
1770 * bgp_debug.c: Declare variables here.
1771
17722000-09-21 Akihiro Mizutani <mizutani@dml.com>
1773
1774 * bgpd.c: MBGP soft-reconfiguration command is added.
1775 clear ip bgp x.x.x.x ipv4 (unicast|multicast) in
1776 clear ip bgp x.x.x.x ipv4 (unicast|multicast) out
1777 clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft
1778 clear ip bgp <1-65535> ipv4 (unicast|multicast) in
1779 clear ip bgp <1-65535> ipv4 (unicast|multicast) out
1780 clear ip bgp <1-65535> ipv4 (unicast|multicast) soft
1781 clear ip bgp * ipv4 (unicast|multicast) in
1782 clear ip bgp * ipv4 (unicast|multicast) out
1783 clear ip bgp * ipv4 (unicast|multicast) soft
1784
1785 Change "clear ip bgp vpnv4 x.x.x.x soft" command to
1786 "clear ip bgp x.x.x.x vpnv4 unicast soft".
1787
1788 "bgp bestpath med confed" command is added.
1789
1790 * bgpd.h (BGP_CONFIG_MED_CONFED): Add New definition.
1791
17922000-09-18 Rick Payne <rickp@rossfell.co.uk>
1793
1794 * bgpd.c (bgp_show_peer): Fix misplaced #endif.
1795
17962000-09-12 Akihiro Mizutani <mizutani@dml.com>
1797
1798 * bgpd.c (bgp_default_local_preference): Add "bgp default
1799 local-preference" command.
1800
1801 * bgp_nexthop.c (no_bgp_scan_time): Add "no bgp scan-time"
1802 command.
1803
18042000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1805
1806 * bgp_zebra.c (bgp_zebra_announce): BGP confederation peer's routes
1807 are passed to zebra like IBGP route.
1808
18092000-09-10 Akihiro Mizutani <mizutani@dml.com>
1810
1811 * bgpd.c (bgp_config_write_peer): Make it consistent passive
1812 configuration.
1813
1814 * bgp_route.c: Community match command is added.
1815 "show ip bgp community <val>"
1816 "show ip bgp community <val> exact-match"
1817
18182000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1819
1820 * bgp_nexthop.c (bgp_nexthop_lookup): ebgp-multihop routes are
1821 treated as IBGP routes.
1822
18232000-09-08 Akihiro Mizutani <mizutani@dml.com>
1824
1825 * bgp_route.c (bgp_show_route): When local-AS community route is
1826 selected, display "not advertised outside local AS" to "show ip
1827 route A.B.C.D" output.
1828 (show_ip_bgp_ipv4_filter_list): Add below four commands.
1829 "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
1830 "show ip bgp ipv4 (unicast|multicast) community"
1831 "show ip bgp ipv4 (unicast|multicast) community-list WORD"
1832 "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
1833
1834 * bgp_clist.c (community_list_match_exact): Community exact match
1835 function.
1836
18372000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1838
1839 * bgp_route.c (bgp_update): Add peer's ttl check.
1840
1841 * bgpd.h (struct peer): Structure member refresh is renamed to
1842 refresh_adv.
1843
1844 * bgpd.c (clear_bgp_soft_in): Check PEER_FLAG_ROUTE_REFRESH flag
1845 when soft reconfiguration is performed.
1846
1847 * bgp_zebra.c (bgp_zebra_announce): When the peer is EBGP and
1848 ebgp-multiphop is set, set ZEBRA_FLAG_INTERNAL for nexthop lookup.
1849
1850 * bgp_route.h (struct bgp_info_tag): Add valid flag.
1851
18522000-08-25 Akihiro Mizutani <mizutani@dml.com>
1853
1854 * bgpd.c: Add AS base BGP soft reconfiguration.
1855
1856 * bgp_route.c: When no-advertise or no-export route is selected,
1857 "show ip bgp" display "not advertised to EBGP peer" or "not
1858 advertised to any peer" message.
1859
18602000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * zebra-0.88 is released.
1863
1864 * bgp_dump.c (dump_bgp_routes): Change "dump bgp routes" to "dump
1865 bgp route-mrt" to support MRT specific dump format.
1866
1867 * bgpd.c (bgp_init): "clear ip bgp vpnv4 soft {in,out}" command is
1868 added.
1869
1870 * bgp_route.c (bgp_update): Currently nexthop check is only works
1871 for IPv4.
1872
18732000-08-17 Akihiro Mizutani <mizutani@dml.com>
1874
1875 * bgpd. (clear_ip_bgp_all_soft): Add "clear ip bgp * soft" for
1876 both inbound and outbound soft reconfiguration.
1877
18782000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1879
1880 * bgpd.c (clear_ip_bgp_peer_soft_out): Add soft-reconfiguration
1881 outbound.
1882 (peer_new): Set route-refresh flag.
1883
18842000-08-16 Akihiro Mizutani <mizutani@dml.com>
1885
1886 * bgpd.c: "no bgp router-id A.B.C.D" alias is added. "no bgp
1887 cluster-id A.B.C.D" alias is added. " bgp cluster-id
1888 <1-4294967295>" alias is added. "clear ip bgp * soft in" command
1889 is added. "clear ip bgp A.B.C.D in" alias is added. "clear ip
1890 bgp * in" alias is added.
1891
18922000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * bgp_route.c (bgp_update): Add soft_reconfig flag. When the flag
1895 is set do not install the route into Adj-RIBs-In.
1896 (bgp_update): Perform implicit withdraw before filtering of the
1897 route.
1898
1899 * bgp_packet.c (bgp_read): draft-ietf-idr-bgp-route-refresh-01.txt
1900 capability code and BGP message can be accepted.
1901
1902 * bgp_open.c (bgp_capability_parse): Likewise.
1903
1904 * bgp_route.c (bgp_refresh_table): New function for route refresh.
1905 (bgp_refresh_rib): Likewise.
1906
1907 * bgpd.c (bgp_show_peer): Display route refresh status.
1908
1909 * bgp_route.c (bgp_aggregate_add): Add check for the route
1910 validness.
1911 (bgp_aggregate_delete): Likewise.
1912
19132000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1914
1915 * bgp_nexthop.c (bgp_scan): Care for aggregate route when the
1916 route become inaccessible.
1917
19182000-08-15 Akihiro Mizutani <mizutani@dml.com>
1919
1920 * bgp_route.c (show_ip_bgp_prefix): "show ip bgp A.B.C.D/M"
1921 command is added.
1922
19232000-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1924
1925 * bgp_zebra.c (bgp_interface_up): Register connected route.
1926 (bgp_interface_down): Unregister connected route.
1927
19282000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1929
1930 * bgp_route.h (struct bgp_info): Add distance to the structure.
1931
1932 * bgp_route.c (bgp_aggregate_increment): Aggregate route only
1933 match to smaller prefixlen route not match same prefixlen route.
1934 (bgp_aggregate_decrement): Likewise.
1935 (bgp_aggregate_add): Likewise.
1936 (bgp_aggregate_delete): Likewise.
1937 (bgp_network_backdoor): Add backdoor network configuration.
1938
1939 * bgpd.h (struct bgp ): Add distance_{ebgp,ibgp,local} for store
1940 configuration distance value.
1941
1942 * bgp_route.c (bgp_update): Filter EBGP route which has non
1943 connected nexthop.
1944
1945 * bgp_attr.c (bgp_attr_aggregate_intern): New function for
1946 aggregate route. Set origin to IGP. Set atomic aggregate flag.
1947 Set aggregator AS and address.
1948 (bgp_attr_aggregate_intern): Check BGP_CONFIG_CONFEDERATION when
1949 filling aggregator_as.
1950
1951 * bgp_route.c (bgp_process): Delete suppress check for install
1952 suppressed route into local routing table.
1953 (bgp_aggregate_increment): Use bgp_attr_aggregate_intern() instead
1954 of bgp_attr_default_intern ().
1955 (bgp_aggregate_add): Likewise.
1956
1957 * bgpd.c (bgp_get): Call bgp_if_update_all() after BGP instance is
1958 created. This is for avoid 0.0.0.0 router-id.
1959
19602000-08-13 Akihiro Mizutani <mizutani@dml.com>
1961
1962 * bgp_route.c (route_vty_out_detail): Display "valid" when the
1963 route is valied. Display "aggregated" when the route is
1964 aggregated. "Advertisements suppressed by an aggregate" is
1965 displayed when the route is suppressed.
1966 (bgp_info_cmp): Prefer EBGP than Confed-EBGP.
1967
19682000-08-10 Akihiro Mizutani <mizutani@dml.com>
1969
1970 * bgp_route.c (route_vty_out_detail): Display format change.
1971
19722000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1973
1974 * bgp_route.c (bgp_update): Only AFI_IP nexthop check is enabled.
1975
1976 * bgpd.c (bgp_delete): Delete static route before delete peer
1977 configuration.
1978
19792000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * bgpd.c: Include bgpd/bgp_nexthop.h.
1982
19832000-07-31 Akihiro Mizutani <mizutani@dml.com>
1984
1985 * bgpd.c (bgp_show_summary): "show ip bgp summary" shows own BGP
1986 identifier. And status is changed like below.
1987
1988 State/Pref -> State/PfxRcd
1989 Shutdown -> Idle (Admin)
1990 PrefixOvflw -> Idle (PfxCt)
1991
1992 * bgp_route.c (route_vty_out): Show internal route as "i".
1993
19942000-07-13 Jim Bowen <jimb@zereau.net>
1995
1996 * bgp_snmp.c: Add BGP peer MIB implementation.
1997
19982000-07-12 Akihiro Mizutani <mizutani@dml.com>
1999
2000 * bgpd.c (bgp_show_peer): Fix typo.
2001
20022000-07-11 Akihiro Mizutani <mizutani@dml.com>
2003
2004 * bgp_routemap.c: Add commands for deleting set without argument.
2005
20062000-07-03 Akihiro Mizutani <mizutani@dml.com>
2007
2008 * bgp_zebra.c: Fix redistribute help strings.
2009
20102000-07-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2011
2012 * bgp_route.c (bgp_show): When bgpd works as vtysh server send all
2013 output to vty at once.
2014
20152000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * bgp_mplsvpn.c (no_vpnv4_network): "no network A.B.C.D/M rd WORD
2018 tag WORD" command is added.
2019
2020 * bgp_ecommunity.c (ecommunity_vty_out): New function added.
2021
20222000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2023
2024 * bgp_route.c (bgp_show): Fix total number of prefix count bug.
2025
2026 * bgpd.c (bgp_show_peer): Display VPNv4 unicast configuration and
2027 negotiation result in "show ip bgp neighbors".
2028
20292000-06-12 Akihiro Mizutani <mizutani@dml.com>
2030
2031 * bgpd.c: Fix help strings.
2032
2033 * bgpd.h: Likewise.
2034
20352000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2036
2037 * bgp_route.c (bgp_aggregate_unset): Fix bug of checking rn->info
2038 instead of rn. Reported by Akihiro Mizutani <mizutani@dml.com>.
2039
2040 * bgp_mplsvpn.c (vpnv4_network): For testing purpose, "network
2041 A.B.C.D rd RD" is added to address-family vpnv4 unicast node.
2042
2043 * bgp_route.c (bgp_static_set): Set safi to p.safi.
2044
20452000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2046
2047 * bgp_route.c (bgp_show_prefix_list): Change to use bgp_show().
2048 (bgp_show_regexp): Change to use bgp_show().
2049 (show_adj_route): Change to display header.
2050
2051 * bgpd.c (clear_bgp): Set peer->v_start to default value when peer
2052 is cleared manually.
2053
2054 * bgp_route.c (bgp_show_route): New function which display
2055 specific BGP route. Divided from bgp_show().
2056 (bgp_static_delete): Delete all static route.
2057
20582000-06-09 NOGUCHI Kay <kay@v6.access.co.jp>
2059
2060 * bgp_route.c (show_ipv6_bgp): "show ipv6 bgp" is broken with
2061 invalid privious fix. Now show_ipv6_bgp and show_ipv6_bgp_route
2062 take care of "show ipv6 bgp [X:X::X:X]". Same change for "show ip
2063 mbgp" and "show ipv6 mbgp".
2064
20652000-06-07 Akihiro Mizutani <mizutani@dml.com>
2066
2067 * bgp_route.c: Fix help strings and command arguments.
2068
20692000-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2070
2071 * bgp_ecommunity.c: Include prefix.h
2072
20732000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2074
2075 * bgp_route.h (struct bgp_info_tag): New structure to hold tag
2076 value.
2077
2078 * bgp_route.c (bgp_adj_set): table NULL check is added.
2079 (bgp_adj_unset): Likewise.
2080 (bgp_adj_lookup): Likewise.
2081 (bgp_adj_clear): Likewise.
2082 (route_vty_out): Add SAFI check for nexthop display.
2083 (bgp_withdraw): Add SAFI check for withdraw route.
2084
2085 * Remove all #ifdef MPLS_VPN then include it as default.
2086
2087 * bgpd.c: Temporary disable peer-group command until the
2088 implementation is completed.
2089
2090 * bgp_routemap.c (bgp_route_map_init): Install
2091 route_metric_match_cmd.
2092 (route_match_metric_compile): MED value compile using strtoul.
2093
20942000-06-05 Akihiro Mizutani <mizutani@dml.com>
2095
2096 * bgp_filter.c: Fix help strings. Change REGEXP to LINE. Change
2097 NAME to WORD.
2098
2099 * Change command argument to more comprehensive.
2100
2101 METRIC -> <0-4294967295>
2102 WEIGHT -> <0-4294967295>
2103 LOCAL_PREF -> <0-4294967295>
2104 IP_ADDR -> A.B.C.D
2105 AS -> <1-65535>
2106 AS-PATH-NAME -> WORD
2107 ACCESS_LIST -> WORD
2108 PREFIX_LIST -> WORD
2109 COMMUNITY -> AA:NN
2110 EXT_COMMUNITY -> ASN:nn_or_IP-address:nn
2111 IPv6_ADDR -> X:X::X:X
2112
2113 * bgp_clist.c: Fix help strings.
2114
21152000-06-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2116
2117 * bgpd.c (peer_active): Add new function for check the peer is
2118 active or not.
2119 (neighbor_activate): New command "neighbor PEER activate" and "no
2120 neighbor PEER activate" are added.
2121
2122 * bgp_packet.c: Include bgpd/bgp_mplsvpn.h.
2123
21242000-06-02 Akihiro Mizutani <mizutani@dml.com>
2125
2126 * bgp_clist.c: Fix commuity-list help strings.
2127
2128 * bgp_routemap.c: Fix "set community" help strings. Add #define
2129 SET_STR. Use (unicast|multicast) argument for "set nlri" command.
2130
21312000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2132
2133 * bgp_routemap.c (route_set_community_none_cmd): "set community
2134 none" command is added to route-map.
2135
21362000-06-01 Akihiro Mizutani <mizutani@dml.com>
2137
2138 * bgp_debug.c: Change "show debug" to "show debugging". Now "show
2139 debugging" is not used in VIEW_NODE.
2140
21412000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2142
2143 * bgp_fsm.c (bgp_timer_set): Add check for shutdown flag. This
2144 fix unconditional BGP connection.
2145
2146 * bgpd.c (peer_shutdown): Replace peer_shutdown() with
2147 peer_change_flag_with_reset().
2148
21492000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2150
2151 * bgpd.c (no_bgp_default_ipv4_unicast): Add "no bgp default
2152 ipv4-unicast" command.
2153
2154 * bgpd.h (BGP_CONFIG_NO_DEFAULT_IPV4): Add new definition.
2155
2156 * bgp_filter.c (as_list_delete): Free all AS filter.
2157
2158 * bgp_clist.c (community_list_delete): Free all community entry.
2159
2160 * bgp_filter.c (no_ip_as_path_all): New DEFUN for "no ip as-path
2161 access-list NAME".
2162
2163 * bgp_clist.c (no_ip_community_list_all): New DEFUN for "no ip
2164 community-list NAME".
2165
21662000-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2167
2168 * bgp_route.c (ipv6_mbgp_neighbor_routes): Change "show ip bgp PEER
2169 routes" to "show ip bgp PEER received-routes"
2170
21712000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2172
2173 * bgp_ecommunity.c (ecommunity_parse): New file for Extended
2174 Communities attribute.
2175 * bgp_ecommunity.h: Likewise.
2176
21772000-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2178
2179 * bgp_mplsvpn.h: New file for MPLS-VPN.
2180 * bgp_mplsvpn.c: Likewise.
2181
2182 * bgpd.c (bgp_delete): Fix bug of "no router bgp" crush.
2183
21842000-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * bgpd.c (bgp_bestpath_missing_as_worst): Add "bgp bestpath
2187 missing-as-worst".
2188
21892000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * bgp_routemap.c (match_community): Clarify help of "match
2192 community".
2193
21942000-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2195
2196 * bgp_aspath.c (aspath_cmp_left): Remove debug code.
2197
21982000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2199
2200 * bgp_route.c (bgp_info_cmp): Compare MED only both routes comes
2201 from same neighboring AS.
2202
2203 * bgp_aspath.c (aspath_cmp_left): Compare leftmost AS value.
2204
2205 * bgp_route.c (bgp_info_cmp): Fix misused htonl() to ntohl().
2206
22072000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2208
2209 * bgp_route.c (bgp_output_filter): When distribute-list's
2210 corresponding access-list does not exist, filter all routes.
2211 (bgp_input_filter): Likewise.
2212
22132000-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2214
2215 * bgp_attr.c (bgp_packet_attribute): Propagate MED to IBGP peer.
2216
2217 * bgp_route.c (bgp_info_cmp): Add evaluation of local preference.
2218
22192000-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2220
2221 * bgpd.c (bgp_distribute_update): Add struct access_list *
2222 argument.
2223
22242000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2225
2226 * bgp_clist.c (community_list_dup_check): Add duplicate insertion
2227 check.
2228
2229 * bgp_filter.c (as_list_dup_check): Add duplicate insertion check.
2230
2231 * bgp_route.c (bgp_show): Fix undeclared write variable.
2232
22332000-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2234
2235 * bgp_routemap.c: Add "match ip address prefix-list".
2236
22372000-03-29 Rick Payne <rickp@rossfell.co.uk>
2238
2239 * bgp_aspath.c (aspath_strip_confed): Fix realloc problem.
2240
22412000-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2242
2243 * bgp_fsm.c (bgp_reconnect): Connect retry timer is expired when
2244 the peer status is Connect.
2245
22462000-03-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2247
2248 * Fix bug of rewritten originator-id.
2249
22502000-01-27 Rick Payne <rickp@rossfell.co.uk>
2251
2252 * bgp_aspath.c (aspath_delimiter_char): New function. Instead of
2253 directly referencing array, search proper AS path delimiter.
2254 (aspath_strip_confed): Strip the confederation stuff from the
2255 front of an AS path.
2256 (aspath_add_left_confed): New function for adding specified AS to
2257 the leftmost AS_CONFED_SEQUENCE.
2258
2259 * bgp_aspath.h: Change AS_CONFED_SEQUENCE and AS_CONFED_SET value
2260 to Cisco compatible.
2261
2262 * bgpd.c (bgp_confederation_id_set): Confederation configuration.
2263 (bgp_confederation_id_unset): Likewise.
2264 (bgp_confederation_peers_check): Likewise.
2265 (bgp_confederation_peers_add): Likewise.
2266 (bgp_confederation_peers_remove): Likewise.
2267 (bgp_confederation_peers_set): Likewise.
2268 (bgp_confederation_peers_unset): Likewise.
2269 (bgp_confederation_peers_print): Likewise.
2270
22712000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2272
2273 * bgpd.c: Introduce peer_change_flag_with_reset() fucntion.
2274
22752000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2276
2277 * bgp_open.c (bgp_open_option_parse): When there is no common
2278 capability send Unsupported Capability error to the peer.
2279
22802000-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2281
2282 * bgp_open.c (bgp_capability_mp): Fix bug of mis-negotiation about
2283 IPv6 unicast.
2284
2285 * bgpd.c (bgp_init): Add "soft-reconfiguration inbound" command.
2286
22872000-01-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2288
2289 * bgpd.c (neighbor_strict_capability): Add
2290 "strict-capability-match" command.
2291
2292 * bgp_zebra.c (bgp_if_update): Ignore NET127 determining
2293 router-id.
2294
2295 * bgpd.c (peer_override_capability): Add "override-capability"
2296 command.
2297
22981999-12-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2299
2300 * bgp_packet.c (bgp_write): Change status to Idle and set timer
2301 after write failed.
2302
23031999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2304
2305 * bgp_zebra.c (bgp_zebra_announce): Add info->selected check.
2306
23071999-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2308
2309 * bgp_route.c (nlri_unfeasible): nlri_unfeasible() is merged with
2310 nlri_parse().
2311
23121999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2313
2314 * bgp_fsm.h (BGP_EVENT_DELETE): Macro added.
2315
2316 * bgp_fsm.c (bgp_stop): Clear all event threads of the peer when
2317 the peer is cleared.
2318
2319 * bgp_zebra.c (bgp_nexthop_set): Clear interface index of
2320 link-local address. This is KAME specific problem.
2321
23221999-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2323
2324 * bgp_attr.c (bgp_mp_reach_parse): Comment out previous code for a
2325 while. We don't completely detect the link is shared or not at
2326 this moment.
2327
2328 * bgp_packet.c (bgp_notify_send): Make shortcut call of
2329 bgp_write() and bgp_stop().
2330
2331 * bgp_attr.c (bgp_mp_reach_parse): Fix serious bug when getting
2332 global and link-local address.
2333
23341999-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2335
2336 * bgpd.c (no_neighbor_port): New command added.
2337 (peer_new): Set send_community.
2338
23391999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2340
2341 * bgpd.c (show_ip_bgp_summary): Changed to use bgp_show_summary().
2342 (show_ip_mbgp_summary): Likewise.
2343 (show_ipv6_bgp_summary): Likewise.
2344 (show_ipv6_mbgp_summary): Add new command.
2345 (peer_free): Free peer->host.
2346 (peer_lookup_by_su): Delete function.
2347 (ipv6_bgp_neighbor): Changed to use peer_remote_as().
2348 (sockunion_vty_out): Function deleted.
2349 (vty_clear_bgp): Use afi instead of family.
2350 Delete old list bgp_list. Use struct newlist *bgplist.
2351 (peer_lookup_by_host): Function deleted.
2352
23531999-12-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2354
2355 * bgpd.h (struct peer_group): New structure added.
2356 (struct peer_conf): New structure added.
2357 (struct peer): Change all prefix_count to unsigned long.
2358
2359 * bgpd.c: Reconstruct all of VTY commands reflect internal
2360 structure change.
2361 Use bgplist instead of bgp_list.
2362 Use peerlist intstead of peer_list.
2363
2364 * bgp_attr.c (bgp_mp_reach_parse): If nlri_parse return -1, stop
2365 parsing then return immediately.
2366
2367 * bgp_route.c (nlri_parse): When NLRI parse error occured, return
2368 -1.
2369 (nlri_process): Use pcount_v4_{unicast,multicast}.
2370 (nlri_delete): Likewise.
2371
23721999-11-25 Robert Olsson <Robert.Olsson@data.slu.se>
2373
2374 * bgp_routemap.c (route_match_nlri): `match nlri
2375 unicast|multicast' and `set nlri unicast|multicast' command are
2376 added.
2377
23781999-11-22 Robert Olsson <Robert.Olsson@data.slu.se>
2379
2380 * bgpd.c: Add translate-update support.
2381
2382 * bgpd.h (TRANSLATE_UPDATE_OFF): Add translate-update definition.
2383
23841999-11-19 Robert.Olsson@data.slu.se
2385
2386 * bgp_route.c (bgp_peer_delete): Add MBGP peer clear codes.
2387
23881999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2389
2390 * bgp_open.c (bgp_capability_mp): Temporary comment out
2391 SAFI_UNICAST_MULTICAST handling until we know the meanings.
2392
23931999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2394
2395 * bgp_btoa.c: New file added.
2396
23971999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2398
2399 * bgpd.h (struct peer): Add dont_capability flag.
2400 (struct peer): Add override_capability flag.
2401
2402 * bgpd.c (neighbor_dont_capability_negotiation): `neighbor PEER
2403 dont-capability-negotiation' added.
2404
24051999-11-12 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2406
2407 * bgp_attr.c (bgp_mp_reach_parse): Ignore link-local addresses
2408 attribute from non-shared-network peers.
2409
24101999-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2411
2412 * bgp_snmp.c: New file added.
2413
2414 * BGP4-MIB.txt: Updated to the latest Internet-Draft
2415 draft-ietf-idr-bgp4-mib-04.txt.
2416
24171999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2418
2419 * bgp_route.c (bgp_route_init): Add `show ipv6 bgp prefix-list'.
2420
2421 * bgp_attr.c (bgp_mp_unreach_parse): Enclose safi setup with
2422 #ifdef HAVE_MBGPV4.
2423
24241999-11-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2425
2426 * bgp_dump.c (no_dump_bgp_all): Add [PATH] and [INTERVAL] to no
2427 dump bgp commands.
2428 (config_write_bgp_dump): Write interval value to the
2429 configuration.
2430
24311999-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2432
2433 * bgp_zebra.c: Redistribute route-map support is added.
2434
2435 * bgp_zebra.h: New file added.
2436
24371999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2438
2439 * bgp_dump.c: BGP packet dump routine compatible with MRT.
2440 * bgp_dump.h: BGP packet dump routine compatible with MRT.
2441
2442 * bgp_debug.c: Renamed from bgp_dump.c
2443 * bgp_debug.h: Renamed from bgp_dump.h
2444
24451999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2446
2447 * BGP4-MIB.txt: New file added. Edited version of RFC1657.
2448
24491999-10-25 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2450
2451 * bgp_route.c (bgp_announce): If we're not on a shared network
2452 with the peer and we don't have a link-local next hop, but the
2453 inbound next-hop has a link-local address, don't readvertise it to
2454 our peer.
2455
24561999-10-25 Marc Boucher <marc@mbsi.ca>
2457
2458 * bgp_zebra.c: Add redistribute kernel command.
2459
24601999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2461
2462 * bgp_route.c (bgp_reset): New function added.
2463
2464 * bgpd.conf.sample2: Add IPv6 configuration sample.
2465
24661999-10-24 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2467
2468 * bgp_route.c (ipv6_aggregate_address): Function added.
2469
24701999-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2471
2472 * bgp_packet.c (bgp_update): Unintern aspath, community, cluster
2473 list after parsing BGP update packet.
2474
2475 * bgp_attr.c (bgp_attr_aspath): Intern parsed aspath.
2476 (bgp_attr_community): Intern parsed community.
2477 (bgp_attr_cluster_list): Intern parsed cluster list.
2478
2479 * bgp_routemap.c: Add `set community-additive' command.
2480
24811999-10-21 Alexandr D. Kanevskiy <kad@blackcatlinux.com>
2482
2483 * bgp_routemap.c (route_set_local_pref): Fix bug of setting
2484 attribute flag.
2485
24861999-10-21 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
2487
2488 * bgp_route.c (bgp_announce): Add check of IPv6 default route
2489 announcement.
2490
2491 * bgp_packet.c (bgp_update_send): Add BGP announcement logging.
2492
24931999-10-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2494
2495 * `show ip[v6] bgp PREFIX' show uptime of the route.
2496
24971999-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2498
2499 * bgpd.c (bgp_filter_set): Delete PEER_FAMILY_{IPV4,IPV6}. instead
2500 of that use AF_INET and AF_INET6 directly.
2501 (vty_clear_bgp): Add new function to support various clear ip bgp
2502 method.
2503
25041999-10-04 Lars Fenneberg <lf@elemental.net>
2505
2506 * bgpd.c (clear_ip_bgp): Add `clear ip bgp ASN'.
2507
25081999-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2509
2510 * bgp_routemap.c: Add `match ip prefix-list' and `match ipv6
2511 prefix-list'.
2512
25131999-09-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2514
2515 * bgpd.c (bgp_collision_detect): Add BGP collision detection
2516 function.
2517
25181999-09-26 Blake Meike <bmeike@adero.com>
2519
2520 * bgpd.c (neighbor_port): New command `neighbor PEER port PORT' is
2521 added.
2522
25231999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2524
2525 * bgpd.c (no_neighbor_timers_keepalive): Change MIN to min. Add
2526 min() macro.
2527
25281999-08-19 Rick Payne <rickp@rossfell.co.uk>
2529
2530 * bgp_packet.c (bgp_open): BGP holdtimer bug is fixed. Make BGP
2531 keepalive timer configurable.
2532
25331999-08-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2534
2535 * bgp_zebra.c (bgp_redistribute_set): Fix redistribute bug.
2536
25371999-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2538
2539 * bgpd.c (bgp_peer_display): show ip bgp neighbors PEER only list
2540 the peer not all of them.
2541
25421999-08-11 Rick Payne <rickp@rossfell.co.uk>
2543
2544 * bgp_route.c (bgp_announce): Remove MED if its an EBGP peer -
2545 will get overwritten by route-maps.
2546
25471999-08-08 Rick Payne <rickp@rossfell.co.uk>
2548
2549 * bgp_routemap.c: Multi protocol route-map modification.
2550
25511999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2552
2553 * bgp_route.c: Set network statement route's origin attribute as
2554 igp.
2555
2556 * bgp_zebra.c: Set redistribute route's origin attribute as
2557 incomplete.
2558
2559 * bgp_route.c (bgp_info_cmp): Add attribute existance check,
2560 origin attribute check, BGP peer type check.
2561
25621999-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2563
2564 * bgp_route.c (bgp_peer_delete): Reselect of IPv6 route.
2565
25661999-07-29 Rick Payne <rickp@rossfell.co.uk>
2567
2568 * Changed route-maps to behave in a more cisco-like fashion
2569
25701999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2571
2572 * bgp_fsm.c (bgp_stop): Very serious bug of bgp_stop () is fixed.
2573 When multiple route to the same destination exist, bgpd try to
2574 announce the information to stopped peer. Then add orphan write
2575 thread is added. This cause many strange behavior of bgpd.
2576 Reported by Georg Hitsch <georg@atnet.at>.
2577
25781999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2579
2580 * bgpd.c: Change peer's A.B.C.D to PEER.
2581
25821999-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2583
2584 * bgp_route.c (bgp_announce): Add hack for link-local nexthop.
2585
2586 * bgp_zebra.c (bgp_zebra_announce): Fill in nexthop address from
2587 local address.
2588
25891999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2590
2591 * bgp_packet.c (bgp_open): Holdtime fetch bug is fixed. Reported
2592 by Yuji SEKIYA <sekiya@sfc.wide.ad.jp>.
2593
25941999-07-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2595
2596 * bgp_fsm.c (fsm_holdtime): Don't close file descriptor in
2597 fsm_holdtime ().
2598
25991999-07-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2600
2601 * bgp_routemap.c: Add `set atomic-aggregate' command.
2602
26031999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2604
2605 * bgp_routemap.c (route_set_ip_nexthop_cmd): Change "ip nexthop"
2606 to "ip next-hop".
2607
26081999-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2609
2610 * bgp_route.c (show_ipv6_bgp_regexp): `show ipv6 bgp regexp'
2611 added.
2612
26131999-07-01 Rick Payne <rickp@rossfell.co.uk>
2614
2615 * bgp_zebra.c (zebra_init): Install standard commands to
2616 ZEBRA_NODE.
2617
26181999-06-28 Rick Payne <rickp@rossfell.co.uk>
2619
2620 * bgpd.c (bgp_delete): bgp peer deletion bug is fixed.
2621
26221999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2623
2624 * bgpd.c: Add neighbor update-source command as ALIAS to
2625 neighbor_interface.
2626
26271999-06-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2628
2629 * bgp_attr.c (bgp_packet_attribute): Send community attribute when
2630 send_community flag is set.
2631
2632 * bgpd.h (struct peer): Add send_community flag.
2633
26341999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2635
2636 * bgpd.c (router_bgp): router bgp's argument changed from AS_NO to
2637 <1-65535>.
2638
26391999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2640
2641 * bgp_route.h (struct bgp_info): Add subtype for BGP route type.
2642
26431999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2644
2645 * bgp_community.c (community_merge): Function added.
2646
26471999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2648
2649 * bgp_clist.c: New file.
2650 * bgp_clist.h: New file.
2651
2652 * bgp_community.h (COMMUNITY_LOCAL_AS): Added for Cisco
2653 compatibility.
2654 (COMMUNITY_NO_ADVERTISE): Fix typo.
2655
26561999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2657
2658 * bgp_routemap.c: Add `set weight WEIGHT' command.
2659
2660 * bgpd.c: Remove all_digit_check function. Instead of that use
2661 all_digit function in lib/prefix.c.
2662
2663 * bgp_routemap.c (bgp_route_map_init): Install
2664 no_set_ipv6_nexthop_global_cmd and no_set_ipv6_nexthop_local_cmd
2665 element to the RMAP_NODE.
2666
26671999-05-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2668
2669 * bgp_aspath.c (aspath_make_str): Declare aspath_delimiter_char
2670 inside aspath_make_str function.
2671 (aspath_prepend): New function is added for AS path prepend.
2672 (aspath_make_str_count): Renamed from aspath_make_str. AS path
2673 count is set to the structure.
2674 (aspath_merge): New function.
2675
26761999-05-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2677
2678 * bgp_zebra.c (redistribute_bgp): Add new DEFUN.
2679 (no_redistribute_bgp): Likewise.
2680 (router_zebra): Semantics changed. Now 'router zebra' is default
2681 behavior of bgpd.
2682
26831999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2684
2685 * bgp_routemap.c: Add some commands to bgp route-map.
2686 match ip next-hop: New command.
2687 match metric: New command.
2688 set metric: Doc fix.
2689 set local-preference: Add DEFUN.
2690
26911999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2692
2693 * bgp_main.c (signal_init): SIGTERM call sigint.
2694 (sigint): Loggging more better message.
2695
26961999-05-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2697
2698 * bgp_attr.c (bgp_packet_attribute): AS path attribute extended
2699 length bit check is added.
2700
27011999-05-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2702
2703 * bgp_routemap.c (bgp_route_map_init): Call route_map_install_set
2704 function with route_set_local_pref_cmd argument.
2705 (no_match_aspath): Function added.
2706 (route_set_metric): Set attribute flag bit.
2707
2708 * bgp_attr.c (bgp_packet_attribute): MULTI_EXIT_DISC is now in BGP
2709 packet.
2710
27111999-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2712
2713 * bgpd.c (no_neighbor_timers_holdtime): `no neighbor PEER timers
2714 holdtime' command is added.
2715
2716 * bgpd.h (BGP_DEFAULT_HOLDTIME_BIG): Delete define.
2717
2718 * bgpd.c (bgp_prefix_list_set): New function added.
2719 (bgp_prefix_list_unset): Likewise.
2720 (bgp_prefix_list_update): Likewise.
2721 (show_ip_bgp_neighbors): prefix-list information display.
2722
27231999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2724
2725 * bgpd.c (bgp_delete): Function added for `no router bgp'.
2726
27271999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2728
2729 * bgp_dump.c (bgp_dump_attr): Add originator_id display.
2730
2731 * bgpd.c (bgp_router_id): Even when address is malformed set the
2732 value to configuration bug fixed.
2733 (no_bgp_router_id): New function.
2734 (no_bgp_cluster_id): New function.
2735
27361999-05-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2737
2738 * bgpd.h (BGP_ATTR_ORIGINATOR_ID): Changed from BGP_ATTR_ORIGINATOR.
2739
27401999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2741
2742 * bgp_route.c (bgp_announce): Add route reflector check.
2743
27441999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2745
2746 * bgpd.c (bgp_cluster_id): Add function for route reflector.
2747 (neighbor_route_reflector_client): Likewise.
2748 (no_neighbor_route_reflector_client): Likewise.
2749
2750 * bgpd.h (struct bgp ): Add cluster for route reflector.
2751
2752 * bgp_route.c (show_ip_bgp_prefix_list): New command is added.
2753
27541999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2755
2756 * Makefile.am (noinst_HEADERS): Add bgp_filter.h
2757
2758 * bgp_aspath.c (aspath_undup): Function deleted. aspath_free ()
2759 has same functionality.
2760
2761 * bgp_filter.h: New file.
2762
2763 * bgp_aspath.c (aspath_unintern): Rename aspath_free () to
2764 aspath_unintern ()
2765 (aspath_free): New function.
2766
27671999-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2768
2769 * bgp_aspath.c (aspath_aggregate): Function added.
2770
2771 * bgp_aspath.h (aspath_aggregate): Prototype added.
2772
2773 * bgp_aspath.c (aspath_empty_aspath): New argument
2774 gated_dont_eat_flag is added.
2775
27761999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2777
2778 * bgp_route.c: Add bgp_aggregate_ipv4 and bgp_aggregate_ipv6.
2779
27801999-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2781
2782 * bgp_route.c (aggregate_address): Function added.
2783
2784 * bgp_zebra.c (zebra_read): Change log to zlog.
2785
27861999-04-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2787
2788 * Makefile.am (noninst_HEADERS): Added for make dist.
2789
27901999-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2791
2792 * aspath_regex.c: Removed from distribution.
2793
27941999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2795
2796 * bgp_attr.c (bgp_packet_attribute): Old draft-00 packet treatment
2797 bug fixed.
2798
27991999-04-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2800
2801 * bgp_aspath.c (aspath_add_left): Fix empty aspath bug. Reported
2802 by kad@gibson.skif.net.
2803
2804 * bgp_regex.[ch]: New file added.
2805
2806
28071999-04-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2808
2809 * bgp_filter.c: New file added.
2810
28111999-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2812
2813 * bgp_aspath.c (aspath_empty_aspath): Change for peering with
2814 gated.
2815
28161999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2817
2818 * bgp_main.c (main): Default loggin method changed from syslog to
2819 stdout.
2820
28211999-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2822
2823 * bgp_route.c: Delete obsolete default attribute DEFUN.
2824
28251999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2826
2827 * bgp_attr.c: Make attribute structure put into attribute hash.
2828
28291999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2830
2831 * bgp_view.c : Delete file.
2832
28331999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2834
2835 * bgp_routemap.c (bgp_apply_route_map): Add prefix argument.
2836
2837 * bgp_route.h (struct bgp_info): Add bgp_info structre. I'll
2838 replace bgp_route with this.
2839
2840 * bgp_routemap.c (route_match_ip_address): Fix bug of passing non
2841 prefix value to access_list_apply().
2842
2843 * bgpd.conf.sample: Add route-map sample.
2844 Delete obsolete default-attr statements.
2845
2846 * bgp_packet.c: Use stream_fifo for packet queueing.
2847
28481999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2849
2850 * bgp_aspath.c (aspath_add_left): add non empty aspath treatment.
2851
2852 * bgp_main.c: include unistd.h for daemon().
2853
2854 * bgp_route.c (nlri_process): add IPv6 table lookup.
2855
2856 * bgp_attr.c (route_parse_ipv6): call nlri_process().
2857 (attr_make): Obsolete function attr_make deleted.
2858
28591999-02-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2860
2861 * bgp_aspath.c (aspath_add_left): change function name from
2862 aspath_add_leftmost_as().
2863
28641999-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2865
2866 * bgp_aspath.c: add aspath_add_leftmost_as ().
2867
28681999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2869
2870 * syslog support added
2871
28721999-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2873
2874 * bgpd.c: DEFUN (neighbor_nexthop): deleted.
2875 DEFUN (neighbor_distribute_list): added.
2876
28771999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2878
2879 * bgpd.h (struct peer ): header_buf and read_buf is removed.
2880
2881 * bgp_peer.[ch]: Deleted. Peer related functions are merged to
2882 bgpd.c
2883
2884 * bgp_network.c: New file.
2885 * bgp_network.h: New file.
2886
2887 * bgp_packet.h: New file.
2888
28891999-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2890
2891 * bgp_packet.c (bgp_keepalive_send): Now BGP keepalive packet is
2892 buffered.
2893
28941999-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2895
2896 * bgp_packet.c: New file.
2897
28981998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2899
2900 * bgp_zebra.c (zebra_client): Use zebra_connect() in lib/client.c.
2901
2902 * `show ip bgp' bug fixed.
2903 * aspath_log (): Remove argument logfp.
2904
29051998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2906
2907 * bgp_fsm.h: New file.
2908
29091998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2910
2911 * bgp_attr.c, bgp_community.h, bgp_dump.c, bgp_fsm.c, bgp_open.c
2912 bgp_peer.c, bgp_peer.h, bgp_route.c, bgp_route.h, bgp_view.c
2913 bgpd.c, bgpd.h, bgp_attr.c, bgp_community.h, bgp_dump.c,
2914 bgp_fsm.c, bgp_open.c, bgp_peer.c, bgp_peer.h: Prototype fixes.
2915
29161998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2917
2918 * bgpd.c (bgp_config_write): Delete vector v argument.
2919
29201998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2921
2922 * bgpd.h: Delete annoying ld_[124]byte and st_[124]byte macros.
2923
29241998-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2925
2926 * bgp_radix.[ch]: removed.
2927
29281998-09-15 HEO SeonMeyong <seirios@matrix.iri.co.jp>
2929
2930 * bgp_main.c: ifdef HYDRANGEA -> ifdef KAME
2931
29321998-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2933
2934 * bgp_dump.c: delete nroute().
2935
29361998-05-19 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2937
2938 * bgp_aspath.c: HAVE_CONFIG_H typo :-)
2939 * bgpd.h: Modify for compile on Solaris.
2940 * bgp_aspath.h: likewize
2941 * bgp_community.h: likewize
2942 * bgp_routemap.c: likewize
2943
29441998-05-18 Yamshita TAKAO <jargon@lares.dti.ne.jp>
2945
2946 * bgpd.h: Modify for compile on Solaris.
2947 * bgp_aspath.h: likewize
2948
29491998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2950
2951 * routemap.[ch]: move to ../lib directory.
2952
29531998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2954
2955 * routemap.c (route_map_apply): add function.
2956
29571998-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2958
2959 * routemap.h: add file.
2960
2961 * bgp_peer.h (enum ): change PEER_{IBGP,EBGP} to BGP_PEER_{IBGP,EBGP}
2962
29631998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2964
2965 * Makefile.am: sysconfdir_DATA added.
2966
29671998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2968
2969 * bgp_dump.c: add `debug bgp fsm'
2970 add `no debug bgp fsm'
2971 add `show debug bgp'
2972 * bgp_open.c: File added.
2973
29741998-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2975
2976 * .cvsignore: File added.
2977
29781998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2979
2980 * bgp_community.[ch]: File added.
2981
29821998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2983
2984 * bgpd now use lib/thread.[ch].
2985
29861998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2987
2988 * bgpd.c (show_ip_bgp_neighbors): add 'show ip bgp neighbors' command.
2989
2990 * bgpd.h (BGP_DEFAULT_START_TIMER): change from 1 to 30.
2991
29921997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2993
2994 * bgp_vty.c: bgp_vty.c deleted.
2995
2996 * bgpd.c (config_write_neighbor): add ebgp-multihop command.
2997
29981997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2999
3000 * bgp_fsm.c: [-p bgp_port] and [-P vty_port] works
3001
30021997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3003
3004 * bgp_vty.c: new file.
3005
3006 * bgp_attr.c: add new logging system.
3007
30081997-11-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3009
3010 * Change all inet_addr call into inet_aton.
3011
30121997-11-10 Kunihiro Ishiguro <kunihiro@zebra.org>
3013
3014 * bgp_radix.c: change radix_peer_delete
3015
30161997-10-04 Kunihiro Ishiguro <kunihiro@zebra.org>
3017
3018 * bgp_aspath.c: move AS_TOKEN_??? definition from header to c source.
3019
30201997-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
3021
3022 * bgp_dump.c (bgp_log_route): add dump_attr function
3023
30241997-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3025
3026 * bgp_aspath.c (aspath_test): change AS_SET brace from '[' to '{'
3027 * bgp_dump.c (bgp_log_route): change logfile format.
3028
30291997-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3030
3031 * bgp_open.c (bgp_open): move bgp_open function from bgpd.c
3032 * bgp_attr.c (community_str2com): add community value generation
3033 * bgp_attr.h: add SAFI definition for BGP-4+
3034
30351997-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
3036
3037 * bgpd.h: add BGP_OPEN_OPT_CAP for Capabilities Optional Parameter
3038 * Makefile.in: add bgp_open.o, delete bgp_loop.o
3039 * bgp_open.c: newfile which manages BGP Open message
3040 * bgp_loop.c: this file is merged with bgp_fsm.c
3041 * bgp_radix.c (radix_add): radix_add() now return route_t instead
3042 of int
3043 (bgp_sim): now we can read update & withdraw from file
3044 * bgp_route.c: add route_free() call into route_parse etc.
3045
30461997-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3047
3048 * bgp_radix.c: Radix code is completely rewritten. It has better
3049 memory treatment than old one.
3050
30511997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
3052
3053 * bgp_route.c: route_alloc for route struct allocation statistics.
3054 * bgpd.c (bgp_make_update): now we cann announce MED attribute.
3055 * bgp_aspath.c (aspath_print_all): change aspath_print_all output
3056 format.
3057
30581997-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
3059
3060 * bgp_term.c (term_parse): add command : show asstat, show ashash
3061 * bgp_aspath.c: aspath_cmp bug fix
3062 (aspath_print_all): add aspath_print_all ();
3063 * bgp_peer.h: delete rlist element from struct peer.
3064
30651997-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
3066
3067 * bgp_aspath.c: completely rewritten.
3068 * bgp_aspath.h: completely rewritten.
3069 add AsPath, AsSegment structure
3070 add AS_SET treatment
3071 change Hash codes
3072
30731997-08-09 Kunihiro Ishiguro <kunihiro@zebra.org>
3074
3075 * bgp_attr.h: add Attribute flags defines
3076 * bgp_route.c: delete rlist related functions
3077 * bgp_aspath.c (as_origin): add as_origin function
3078 (aspath_print): move from bgp_dump.c and add support of AS_SET
3079 change Hash related function names.
3080
30811997-08-08 Kunihiro Ishiguro <kunihiro@zebra.org>
3082
3083 * bgp_aspath.h: add next entry, delete rlist entry from struct aspath
3084
30851997-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
3086
3087 * bgp_aspath.c (as_sort): add function as_sort
3088 * bgp_aspath.h: add IBGP, EBGP
3089