OpenSourceRouting
  1. OpenSourceRouting

quagga-snap

Public
AuthorCommitMessageCommit dateIssues
Paul JakmaPaul Jakma
213d8dadcae[lib] Trivial: fix line lengths of a comment in workqueu.c2006-03-30 Paul Jakma <paul.jakma@sun.com> * workqueue.c: (work_queue_run) fix line length of comment
Paul JakmaPaul Jakma
6cf0cf0ca40[lib] Mark most arguments in DEFUN_CMD_FUNC_TEXT as potentially unused2006-03-30 Paul Jakma <paul.jakma@sun.com> * command.h: (DEFUN_CMD_FUNC_TEXT) Annotate arguments as potentially being unused.
Paul JakmaPaul Jakma
15aa6a1a732[bgpd] Fix infinite loop in community_str2com2006-03-30 Paul Jakma <paul.jakma@sun.com> * bgp_community.c: (community_gettoken) Unknown token should return NULL, to give a strong indication to callers that the token no longer can be parsed, otherwise callers looping on this function may have a hard time ending their loop. (community_str2com) While loop around community_gettoken appears to have been coded thinking that bre...
Paul JakmaPaul Jakma
cdc2c3f98e5[TODO] Note MED functionality we should implement2006-03-30 Paul Jakma <paul.jakma@sun.com> * TODO: Add reminder for useful MED functionality we should implement.
Paul JakmaPaul Jakma
075c2011bbe[ospfd] Fix failure of Fletcher checksum with certain compilers2006-03-27 Paul Jakma <paul.jakma@sun.com> * ospf_lsa.c: (ospf_lsa_checksum) Add an explicit cast to avoid the ambiguities of ANSI and C99 C with respect to type conversion. Detailed problem report and test case with example data supplied by Dmitry Ivanov <dimss@telecentrs.lv>.
Paul JakmaPaul Jakma
d4ce4f681e0[lib] fix gensub call in memtypes.awk to pass "g", not g.2006-03-27 Paul Jakma <paul.jakma@sun.com> * memtypes.awk: Fix gensub call, g should be a string..
Paul JakmaPaul Jakma
68784535489[lib] status field/flags no longer used in struct workqueue2006-03-25 Paul Jakma <paul.jakma@sun.com> * workqueue.h: (struct work_queue) Remove status field and state flag, no longer used.
Paul JakmaPaul Jakma
1a8ee0ec18a[ospfd] ignore loopbacks for received interface validation2006-03-25 Paul Jakma <paul.jakma@sun.com> * ospf_interface.c: (ospf_if_lookup_recv_if) Ignore loopbacks, we can never ever receive packets on those. Should fix case where CARP is run with address in same subnet as real interface. Problem report and diagnosis thanks to: Landon Fuller <landonf@opendarwin.org>. However, ospf_read() still can't deal deterministically with multi...
Paul JakmaPaul Jakma
c2b478d7a4f[ospfd] Fix incorrect byte-order conversion of OSPF_MAX_SEQUENCE_NUMBER2006-03-23 Steve Lawson <steve.lawson@aheadcomusa.com> * ospf_lsa.c: (ospf_lsa_install) Fix incorrect byte-order conversion of OSPF_MAX_SEQUENCE_NUMBER
Paul JakmaPaul Jakma
a625ca3cd2d[bgpd] release peer specific clear queue in peer_free2006-03-22 Paul Jakma <paul.jakma@sun.com> * bgpd.c: (peer_free) release the per-peer workqueue when freeing the peer.
Paul JakmaPaul Jakma
b51f126edee[bgpd] trivial: use a distinct memtype for struct bgp_synchronize2006-03-19 Paul Jakma <paul.jakma@sun.com> * memtypes.c: Add MTYPE_BGP_SYNCHRONISE. * bgp_advertise.c: Use a distinct memory type for struct bgp_synchronize.
Paul JakmaPaul Jakma
4bf6a3621c8[bgpd] Add 'show bgp memory' for stats on fixed-size allocations in bgpd2006-03-19 Paul Jakma <paul.jakma@sun.com> * bgpd/bgp_vty.c: Add includes to get several structs we want to provide usage statistics on. (show_bgp_memory_cmd) Show memory usage stats for various notable fixed size objects. Using mtype_stats_alloc and mtype_memstr recently added to memory.c. (bgp_show_summary) Report some additional stats specific to the given BGP instance an...
Paul JakmaPaul Jakma
5304cb52f47[bgpd] Include header dependency in bgp_nexthop.h2006-03-19 Paul Jakma <paul.jakma@sun.com> * bgp_nexthop.h: Include if.h as a dependent header, for struct connected.
Paul JakmaPaul Jakma
cec0c4fb1be[lib] fix libtool version argument in Makefile.am2006-03-16 Paul Jakma <paul.jakma@sun.com> * Makefile.am: Fix -version-info argument.
Paul JakmaPaul Jakma
41be32bfe6d[lib/memory] Add mallinfo support2006-02-15 Paul Jakma <paul.jakma@sun.com> * configure.ac: Check for mallinfo, being careful to link test so we can detect things like umem being used (which doesn't provide a mallinfo). * lib/memory.c: (mtype_memstr) new helper function to return human friendly string for a byte count. (mtype_stats_alloc) new function, for users to retrieve number of objects allocated. (sh...
Paul JakmaPaul Jakma
b5b628c1fa1[solaris] revert previous update of manifest install path2006-03-16 Paul Jakma <paul.jakma@sun.com> * prototype.smf.in: Oops, continue to install manifest to var/svc/manifest/network for now. * Changelog: fix lack of trailing newline
Paul JakmaPaul Jakma
5d932f61972[tests] fix heavy-wq, add redundant AS_SET test and statics to aspath_test2006-03-16 Paul Jakma <paul.jakma@sun.com> * heavy-wq.c: (heavy_wq_init) delay is gone from workqueue spec. * aspath_test.c: (test_segments) Add an AS_SET with redundant ASNs. ({empty_prepend,prepend,parse}_test) add static qualifiers
Paul JakmaPaul Jakma
75db03ebb16[solaris] SMF manifest, method and depend updates.2006-03-13 Alan Maguire <alan.maguire@sun.com> * quagga.xml.in: Change the naming of services and instances. network/routing/quagga:<daemon> may be neat and tidy, but it's at odds with SMF convention elsewhere that demands the service be named for what it does, and the instance name describe the implementation (e.g. network/smtp:sendmail). Remove call to method script for 'stop...
Paul JakmaPaul Jakma
e6d7d054d9b[zebra] arrange structs in padding-efficient manner and remove unused field2006-02-09 Paul Jakma <paul.jakma@sun.com> * rib.h: (struct {rib,nexthop}) Rearrange fields to avoid needless padding. (struct rib) Remove the indirect pointer, not used anywhere!
Paul JakmaPaul Jakma
924f9d32d9c[lib/privs] Changing user IDs should be done before dropping privileges2006-03-14 Paul Jakma <paul.jakma@sun.com> * privs.c: (zprivs_caps_init) Change user IDs before lowering privileges, while this seems to work on Linux, on Solaris it rightfully refuses due to PRIV_PROC_SETID having been dropped.
Paul JakmaPaul Jakma
cbdfbaa51b6[bgpd] rearrange some structs for less padding, stats for table/attrs.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 b...
Paul JakmaPaul Jakma
478ccfd61bd[lib] export show_address_cmd debug command in if.h2006-03-06 Paul Jakma <paul.jakma@sun.com> * if.h: export show_address_cmd, for anyone who wishes to use it.
Paul JakmaPaul Jakma
3e0c78ef8a8[bgpd] Start off FSM again once clearing finishes.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.
Paul JakmaPaul Jakma
5a54df971e7[lib/sockunion] trivial: use XSTRDUP.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.
Paul JakmaPaul Jakma
6a419733c5f[bgpd] Add Clrng description to bgp summary state.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.
Paul JakmaPaul Jakma
64e580a72de[bgpd] Record afi/safi in bgp_table. Serialise peer clear with FSM.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...
Paul JakmaPaul Jakma
e24f0638e6f[solaris] version depend files, auto-generate. Start zebra when needed.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: Re...
Paul JakmaPaul Jakma
4528ffa280f[doc] Credit Jeroen Simonetti for contributing snmptrap.texi2006-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.
Paul JakmaPaul Jakma
7c7fa1b4310[bgpd] trivial readability fix2006-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.
Paul JakmaPaul Jakma
aa94ca86ba0[bug #89] Fix leak of community when set community is used2006-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.
paulpaul
3fff6ffc697[bgpd] trivial fix for gcc warning2006-02-05 Paul Jakma <paul.jakma@sun.com> * bgp_aspath.c: (aspath_gettoken) fix gcc warning about possible uninitialised usage.
paulpaul
902212c3f3d[bgpd] Fix peer prefix counts and make it slightly more robust2006-02-05 Paul Jakma <paul.jakma@sun.com> * bgp_route.h: Add BGP_INFO_COUNTED to track whether prefix has been counted or not. * bgp_route.c: (bgp_pcount_{inc,dec}rement) new helpers, to centralise inc/dec of prefix-count, (bgp_rib_remove) Remove pcount decrement, use helper. (bgp_rib_withdraw) ditto, additionally use previous function too. (bgp_update_main) Use pcount hel...
paulpaul
306d8890439[lib/workqueue] remove the useless 'delay' factor.2006-02-02 Paul Jakma <paul.jakma@sun.com> * workqueue.h: (struct work_queue) Remove the delay field. It served no purpose and just introduced bad behaviour. Should be excised before its allowed to escape into 1.0. This removes need for the 'flood' and runs_since_clear fields. * workqueue.c: (general) excise delay factor between queue runs, hence the 'flood' crap too.. See abo...
paulpaul
3a570c8b7b5[zebra] Display flags on their line in 'show interface'.2006-02-02 Paul Jakma <paul.jakma@sun.com> * interface.c: (if_dump_vty) move flags to their line, neater.
paulpaul
b1fc9acbbea[build system] cleanup --enable-snmp by removing ucd-snmp cruft2006-01-31 Paul Jakma <paul.jakma@sun.com> * configure.ac: Cleanup the hideous {net,ucd}-snmp section by removing ucd-snmp. Hence fixing detection where net-snmp is installed in /usr/local (Boris Kovalenko reported the problem).
vincentvincent
7a383339572ripd.c: correct bug that allowed route learnt through RIP to take precedence over connected routes
paulpaul
a1038a15658[zebra] Fix pauls zebra_rib/rib_process commit mistakes, again.2006-01-30 Paul Jakma <paul.jakma@sun.com> * zebra_rib.c: (rib_process) Fourth time lucky on this jinxed commit, last commit had a hole that could allow connected route selection to escape beyond the connected route logic. This time I cross-checked with Gunnar first. ;)
paulpaul
a8d9c1f9caa[zebra] Fix incorrect changes made in RIB metric selection patch2006-01-25 Gunnar Stigen <gunnar.stigen@axxessit.no> * zebra_rib.c: (rib_process) Application of Gunnar's earlier metric selection RIB change included incorrect tidy-ups made by commiter. Fix. (NB: any errors here are again due to paul).
paulpaul
5c78b3d006e[zebra/solaris] Interface state fixups for Solaris.2006-01-25 Paul Jakma <paul.jakma@sun.com> * (general) More solaris PF_ROUTE hacks. The IFF_UP mangling for solaris was incomplete on the PF_ROUTE side. fix it. This changeset generally uglifies things. For some future work I'd like to see the state changes seperated out from the details of the code. Differences between systems might then be slightly easier to implement without...
paulpaul
590188b67db[cvs] update cvsignore file.
paulpaul
53f953a5005[version] bump configure.ac version number to 0.99.32006-01-19 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.3 * doc/quagga.info: update auto-built file.
paulpaul
581a02a9f71[lib/stream] small compile fix, use uint64_t, not u_int64_t.2006-01-19 Paul Jakma <paul.jakma@sun.com> * stream.c: (stream_getq_from) should use POSIX uint64_t not u_int64_t. Latter is neither a traditional BSD type, nor a POSIX type.
paulpaul
e8e1946edf6[compiler] miscellaneous trivial compiler warning fixes2006-01-19 Paul Jakma <paul.jakma@sun.com> * (general) various miscellaneous compiler warning fixes. Remove redundant break statements from switch clauses which return. return from main, not exit, cause it annoys SOS. Remove stray semi-colons which cause empty-statement warnings. * zebra/main.c: (sighup) remove private declaration of e...
paulpaul
779adb0147c[ospfd] Add support for oversized LSAs.2006-01-18 Juergen Kammer <j.kammer@eurodata.de> * ospf_lsa.c: (ospf_router_lsa_new) dont take reference to the stream data until it is constructed, data reference is volatile due to the potential resize in link_info_set 2006-01-18 Paul Jakma <paul.jakma@sun.com> * ospf_lsa.c: (link_info_set) Resize the stream if required and possible. Return number of links added. (lsa_link_*_...
paulpaul
af887b5111a2006-01-18 Gunnar Stigen <gunnar.stigen@axxessit.no> * zebra_rib.c: Take interface metric into account.
vincentvincent
eac314c7c492006-01-17 Vincent Jardin <vincent.jardin@6wind.com> * md5.c: Don't forget to keep const. * regex.c: Cleanup code and remove warnings.
paulpaul
d34b8991b4c[zebra] Record NEWADDR metric on PF_ROUTE, print CACHEINFO debug on netlink2006-01-17 Paul Jakma <paul.jakma@sun.com> * kernel_socket.c: (ifam_read) Read metric from RTM_NEWADDR. If interface is an alias, pass the alias as a label for connected_add_ipv{4,6}. * rt_netlink.c: (netlink_interface_addr) print out IFA_CACHEINFO info, if present, when debugging kernel messages.
paulpaul
61f42aed5e1[zebra] Defensive if_getaddrs bug fix.2006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no> * if_ioctl.c: (if_getaddrs) Be defensive about assuming that struct ifaddrs will have ifa_addr filled in.
paulpaul
c713300ab42[zebra] Include metric on connected routes.2006-01-17 Gunnar Stigen <gunnar.stigen@axxessit.no> * connected.c: (connected_up_ipv{4,6}) Include interface metric on connected routes.
paulpaul
c6371718f39[ospfd/zserv] adjust to new format2006-01-17 Paul Jakma <paul.jakma@sun.com> * ospf_packet.c: (ospf_verify_header) print out the types involved if there's a mismatch. * ospf_zebra.c: (ospf_zebra_add) Adjust to new zserv format.