summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | [bgpd] rearrange some structs for less padding, stats for table/attrs.Paul Jakma2006-03-306-55/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-12 Paul Jakma <paul.jakma@sun.com> * bgp_attr.h: (struct attr) rearrange fields to avoid wasted padding between them as much as possible. (attr_count,attr_unknown_count) export new functions to return number of counts of cached attributes. * bgp_attr.c: (attr_count,attr_unknown_count) new functions to return number of counts of cached attributes. * bgp_route.h: (struct bgp_info) rearrange fields to avoid wasted padding. * bgp_table.h: (struct bgp_table) Add a count field, of number of nodes in the table. (struct bgp_node) rearrange fields to avoid wasted padding between them, though I don't think there was any in this case. * bgp_table.c: (bgp_node_{delete,get}) Maintain the table node count. (bgp_table_count) new function to access the table count.
| | | * | | [lib] export show_address_cmd debug command in if.hPaul Jakma2006-03-062-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-06 Paul Jakma <paul.jakma@sun.com> * if.h: export show_address_cmd, for anyone who wishes to use it.
| | | * | | [bgpd] Start off FSM again once clearing finishes.Paul Jakma2006-03-062-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-03 Paul Jakma <paul.jakma@sun.com> * bgp_route.c: (bgp_clear_node_complete) Doh. When clearing is complete we need to kick off FSM again.
| | | * | | [lib/sockunion] trivial: use XSTRDUP.Paul Jakma2006-02-212-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Paul Jakma <paul.jakma@sun.com> * sockunion.c: (sockunion_{su2str,log}) Use XSTRDUP. Particularly with _su2str, as that string gets XFREEd, which can be annoying if run debug code in memory.c.
| | | * | | [bgpd] Add Clrng description to bgp summary state.Paul Jakma2006-02-212-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Paul Jakma <paul.jakma@sun.com> * bgp_vty.c: (bgp_show_summary) Add a 'Clrng' sub-description to state of peer while it's suppressed due to clearing.
| | | * | | [bgpd] Record afi/safi in bgp_table. Serialise peer clear with FSM.Paul Jakma2006-02-219-96/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Paul Jakma <paul.jakma@sun.com> * bgpd.h: move the clear_node_queue to be peer specific. Add a new peer status flag, PEER_STATUS_CLEARING. * bgp_table.h: (struct bgp_table) Add fields to record afi, safi of the table. (bgp_table_init) Take afi and safi to create table for. * bgp_table.c: (bgp_table_init) record the afi and safi. * bgp_nexthop.c: Update all calls to bgp_table_init. * bgp_vty.c: ditto. * bgpd.c: ditto. * bgp_fsm.c: (bgp_timer_set) dont bring up a session which is clearing. * bgp_route.c: (general) Update all bgp_table_init calls. (bgp_process_{rsclient,main}) clear_node is serialised via PEER_STATUS_CLEARING and fsm now. (struct bgp_clear_node_queue) can be removed. struct bgp_node can be the queue item data directly, as struct peer can be kept in the new wq global user data and afi/safi can be retrieved via bgp_node -> bgp_table. (bgp_clear_route_node) fix to get peer via wq->spec.data, afi/safi via bgp_node->bgp_table. (bgp_clear_node_queue_del) no more item data to delete, only unlock the bgp_node. (bgp_clear_node_complete) only need to unset CLEARING flag and unlock struct peer. (bgp_clear_node_queue_init) queue attaches to struct peer now. record peer name as queue name. (bgp_clear_route_table) If queue transitions to active, serialise clearing by setting PEER_STATUS_CLEARING rather than plugging process queue, and lock peer while queue active. Update to pass only bgp_node as per-queue-item specific data.
| | | * | | [solaris] version depend files, auto-generate. Start zebra when needed.Paul Jakma2006-02-199-23/+28
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-19 Paul Jakma <paul.jakma@sun.com> * depend.*: renamed to depend.*.in. * depend.*.in: Add version dependency. * Makefile.am: Generate depend.* from depend.*.in Distribute the depend.*.in files rather than the depend.* files. * quagga.init.in: Enable zebra if one of the link-state daemons is started. Restart method is not required - SMF handles that. * quagga.xml.in: Remove restart method details.
| | | * | [doc] Credit Jeroen Simonetti for contributing snmptrap.texiPaul Jakma2006-02-193-179/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-19 Paul Jakma <paul.jakma@sun.com> * quagga.info: update auto-built file. * ChangeLog: Fix old, existing entry for snmptrap.texi addition to credit the author, who got in touch with me. * snmptrap.texi: Add comment line with author's details.
| | | * | [bgpd] trivial readability fixPaul Jakma2006-02-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-18 Paul Jakma <paul.jakma@sun.com> * bgp_route.c: (bgp_announce_check) trivial, move declaration of two local variables into the only block where they are used, to aid the reader.
| | | * | [bug #89] Fix leak of community when set community is usedPaul Jakma2006-02-182-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-18 Paul Jakma <paul.jakma@sun.com> * bgp_routemap.c: (route_set_community) Quick, very hacky, fix for the set-community leak, bug #89. True fix will be to detangle the web of *_intern caching and provide saner object caching for Quagga, future work.
* | | | | Merge branch 'islavista'Rick Balocca2008-12-011-0/+54
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | 3.2.0vyatta/3.2.0debian/0.99.10-2Mark O'Brien2008-11-251-0/+54
| |/ / /
* | | | Merge branch 'islavista'Rick Balocca2008-10-241-1/+1
|\| | |
| * | | Fix SEGV in ip ospf neighbor allJoakim Tjernlund2008-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | Dont use vty->index in show_ip_ospf_neighbor_all_cmd(), It is invalid, use ospf_lookup() instead.
* | | | Merge branch 'islavista'Rick Balocca2008-10-16109-775/+674
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog
| * | | Merge branch 'hollywood' into islavistaRick Balocca2008-10-161-0/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bgpd/ChangeLog debian/changelog
| | * | | 3.1.4vyatta/3.1.4debian/0.99.9-14Mark O'Brien2008-10-141-0/+14
| | | | |
| | * | | [bgpd] bug #419: partial aspath-limit incorrectly causes session resetPaul Jakma2008-09-242-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-01 jfletche@gmail.com * bgp_attr.c: (bgp_attr_aspathlimit) fix silly bug in flags check that was causing BGP to drop sessions if it received a aspath-limit with partial set. Fixes bug #419.
| * | | | Notify on MTU changesStephen Hemminger2008-10-081-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | | Bugfix 3732 Notify routing protocols about MTU changes
| * | | | netlink message signed/unsigned cleanupStephen Hemminger2008-10-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Avoid possible problems where netlink message is being formatted with unsigned 32 bit value, which was being read as int.
| * | | | Merge branch 'islavista' of suva.vyatta.com:/git/vyatta-quagga into islavistaStephen Hemminger2008-10-061-5/+1
| |\ \ \ \
| | * | | | Building with optimization for size gives better performanceStephen Hemminger2008-09-251-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GCC -Os flag gives better performance for most code (except scientific) because the memory footprint is smaller and more likely to fit in cache.
| * | | | | fix ipv6 typo in recursive route update codeStephen Hemminger2008-09-181-1/+1
| | | | | |
| * | | | | remove incorrect debug messageStephen Hemminger2008-09-181-2/+0
| |/ / / /
| * | | | Add delete interface cleanoutStephen Hemminger2008-09-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quagga needs to fully cleanout state when interface is deleted from system. Bugfix: 3962, 3693
| * | | | Set metric in RIB for connected routesStephen Hemminger2008-09-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set metric in RIB to keep OSPF happy, but don't set the metric in the kernel since the kernel portion of connected route has metric=0. Bugfix 3668
| * | | | Handle device renames correctlyStephen Hemminger2008-09-171-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix 3658 If inactive device is renamed, just do it. If active device is renamed, update RIB if needed.
| * | | | Set proper protocol for routes from command lineStephen Hemminger2008-09-171-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugzilla 3681 fix. Routes from 'ip route' default to protocol boot. Need to use this same value when deleting or udpating.
| * | | | Merge branch 'hollywood' into islavistarbalocca2008-08-261-0/+17
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog
| * | | | Merge branch 'islavista' of 69.59.150.140:/git/vyatta-quagga into islavistaStephen Hemminger2008-08-241-0/+1
| |\ \ \ \
| | * | | | Ignore derived filerbalocca2008-08-221-0/+1
| | | | | |
| * | | | | Fix bgp ipv4/ipv6 accept handlingStephen Hemminger2008-08-241-0/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When bgp calls getaddrinfo, it gets both ipv6 and ipv4 addresses. Unless IPV6_ONLY is set on Linux, only the ipv6 bind will succeed, and the IPV4 connections will come in as mapped connections on the IPV6 socket.
| * | | | Fix up filtering of netlink pidStephen Hemminger2008-08-181-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two distinct pid's in netlink message. The one in the receive address is the pid of the sender (ie kernel), the other in the netlink message is the originator (ie quagga or ip command).
| * | | | Revert "Filter messages so that only netlink messages from kernel are allowed."Stephen Hemminger2008-08-181-19/+27
| | | | | | | | | | | | | | | | | | | | This reverts commit e5d63369e1f3fdc1c22ae15fe477de1f97022703.
| * | | | Use XCALLOCStephen Hemminger2008-08-1834-199/+59
| | | | | | | | | | | | | | | | | | | | Replace calls to XMALLOC followed by memset with XCALLOC.
| * | | | Filter messages so that only netlink messages from kernel are allowed.Stephen Hemminger2008-08-181-27/+19
| | | | | | | | | | | | | | | | | | | | | | | | | This is a refinement of the socket filter, and also closes a security hole that would allow non-kernel messages to confuse quagga.
| * | | | Ignore both names for this packageStephen Hemminger2008-08-151-0/+1
| | | | |
| * | | | Enable zebra to manage system routesStephen Hemminger2008-08-151-1/+1
| | | | |
| * | | | Manage system routes with zebraStephen Hemminger2008-08-1513-128/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new flag to the zebra daemon that causes it to add and remove system routes (ie connected and kernel routes). This causes user space (zebra) to do what the kernel was doing in hollwood.
| * | | | Update ignore file listStephen Hemminger2008-08-141-1/+1
| | | | |
| * | | | Ignore more filesStephen Hemminger2008-08-121-5/+2
| | | | |
| * | | | Change package name back to vyatta-quaggaStephen Hemminger2008-08-121-4/+4
| | | | |
| * | | | Fix package name in changelogdebian/0.99.10-1Stephen Hemminger2008-08-121-3/+1
| | | | |
| * | | | Revert "Rename vyatta-quagga package to quagga"Stephen Hemminger2008-08-1213-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b3d1820e48cfd5571ecbc16ed33977141da1e7ad. Conflicts: debian/changelog
| * | | | Revert "Ignore derived files that have changed name (vyatta-quagga ==> quagga)"Stephen Hemminger2008-08-121-6/+6
| | | | | | | | | | | | | | | | | | | | This reverts commit 2efaeb45f5d5ef521ce68e09d0342bd0bfb57fcc.
| * | | | Revert "Take off some vyattaising of the filenames"Stephen Hemminger2008-08-121-0/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit 8d84f562de3a080bd21503b24dde293821f1a94e.
| * | | | Revert "More devyattaing"Stephen Hemminger2008-08-121-12/+14
| | | | | | | | | | | | | | | | | | | | This reverts commit ca0ea2443b0d11a5c922a1f0e84ed26bda2846f5.
| * | | | Revert "More leftovers from vyatta- name change"Stephen Hemminger2008-08-122-4/+4
| | | | | | | | | | | | | | | | | | | | This reverts commit 215e7b9080aa89583d1ce458a285e8b3b11e0ddd.
| * | | | Revert "Set paths correctly after the vyatta demangling"Stephen Hemminger2008-08-121-2/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 8839ea209eac30fcc336841ae336cbbaa614a91f.
| * | | | Revert "More cleanup from change back from vyatta-quagga to quagga"Stephen Hemminger2008-08-127-20/+20
| | | | | | | | | | | | | | | | | | | | This reverts commit b890cca90fd02cbb71649601a0fb9d4d81346e54.