summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-11-072004-11-06 Paul Jakma <paul@dishone.st>paul
* configure.ac: Arguments to AC_OUTPUT is deprecated, use AC_CONFIG_FILES instead. Rearrange the order slightly to put the Makefiles first (silly aesthetic thing, dont know why I had to do this ;) ). Add doc/defines.texi to the list. * NEWS: bgp route-server support added, refer to docs. * update-autotools: call automake with --add-missing and --copy, former is important for obvious reasons, latter for dist files, and --gnu to enable whatever extra goodness checks. * {depcomp, install-sh, missing}: removed, auto-generated files.
2004-11-072004-11-07 Paul Jakma <paul@dishone.st>paul
* lib/version.h.in: add autoconf configure_input output var
2004-11-07* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>paul
- Fix with_ipv6 set to 0 build
2004-11-072004-11-07 Paul Jakma <paul@dishone.st>paul
* Makefile.am: Add automatic rule to build pdf's from eps figures. Clean *.pdf. Add rule for quagga.pdf (as the eps.pdf pattern probably otherwise will override automake's rule for quagga.pdf) * overview.texi: URL was causing TeX overfull, put on newline. * quagga.texi: Put the copyright notice into @copying section, as is proper. Strip trailling space from the main menu lines. * rip(ng)?d.texi: Minor reformatting. * Add the route server docs. * bgpd.texi: remove unneeded page breaks. The 6Bone example overflows though.
2004-11-072004-11-07 Paul Jakma <paul@dishone.st>paul
* Add the route server docs. * routeserver.texi: new file, texinfo'fied and slightly modified version of the original TeX from James Luis Rubio. * fig-*.eps: new files, diagrammes.
2004-11-062004-11-06 Paul Jakma <paul@dishone.st>paul
* defines.texi.in: New file, texi variables should be set here, autoconf substitution is available. Define common AUTHORS, COPYRIGHT_YEAR and COPYRIGHT_STR vars. * (global): Make use of makeinfo node pointer auto-creation to avoid having to fully specify links for nodes, so we only have to specify current node name - simplifies text slightly. Remove extraneous newlines which appear to cause extra blank pages to be added in output. Update copyright strings which appear in various places to use the new COPYRIGHT_STR texinfo variable. Change url to uref, the former need not output an actual hyperlink depending on version of texinfo, the latter should if supported by the format (eg PDF). * texinfo.tex: Update to a more recent version. previous file was many many years old. This file should possibly be removed altogether, and allowed to be installed by automake. * quagga.texi: Make use of automake's version.texi feature to have VERSION and some other vars auto-defined. include defines.texi. Change copyright strings to use the COPYRIGHT_STR variable. * install.texi: Make the privs section an actual section. Ditto for the Linux notes. * overview.texi: Supply URL for Quagga, where format allows. Tidy up one or two paragraphs slightly. Update the section on supported platforms. Remove the ZNOG list stuff, direct reader to the website for further information on email lists. * vtysh.texi: Update the integrated config file section. Make the commands sections so correct PDF indexes are built.
2004-11-052004-11-05 Paul Jakma <paul@dishone.st>paul
* HACKING: Expand on ChangeLogs, eg current practice for certain directories and certain other meta-data is not to maintain a ChangeLog. Expand on the commit message, IMHO, commit message should always be ChangeLog for files where ChangeLog is kept. Solaris is supported on any platform (with, at moment, an additional patch).
2004-11-052004-11-05 Phil Spagnolo <phillip.a.spagnolo@boeing.com>gdt
* ospf6_flood.c: When adding a thread to retransmit an lsa after rxmt_interval, the ospf6d used thread_add_event(). However, thread_add_event() executes immediately and ignores the delay parameter. This was causing unnecesary unicast LSU sends. Adding the thread has been changed to use thread_add_timer() which will expire after delay. After the fix results appear consistent with expectation.
2004-11-05spelling: s/supress/suppress/ajs
2004-11-05Adjust per-directory vs global ChangeLog to match current practice.gdt
Spelling fixes. Add Solaris on 64-bit to list of 'supported' platforms. List NetBSD/sparc64 as a 'future' platform - there aren't enough users to make it really supported, but it's good at exposing latent bugs (e.g router advertisement formatting on BSD, and LSA alignment issues). Note explicitly that ospf6d and isisd are in 'testing' rather than 'stable'. (Feel free to correct - just wanted to get more explicit.) Add note questioning current relevance of isisd.sf.net - is our repo the canonical place now?
2004-11-05spelling: s/supress/suppress/gdt
2004-11-052004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* vty.h: Remove fields in struct vty that were related to VTY_CONTINUE capabilities (that were used only in bgpd/bgp_route.c and are now removed). Also remove some other fields that were not being used at all. * vty.c: (vty_execute) Do not test for obsolete status values VTY_START and VTY_CONTINUE. (vty_read) Remove calls to vty->output_func since that was part of the VTY_CONTINUE infrastructure that has been removed. (vty_flush) Remove code to support VTY_START and VTY_CONTINUE. (vty_close) Remove code to cancel vty->t_output thread, since that thread was never actually used. * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature is deprecated because the output did not represent a single point in time. All output needs to be generated inline and buffered by the library code. (route_vty_out,route_vty_out_tag,damp_route_vty_out, flap_route_vty_out) Remove code to count number of lines of output, since this was only useful for VTY_CONTINUE behavior. (bgp_show_callback) Removed. (bgp_show_table) Remove hooks for VTY_CONTINUE callback support. As a result, there's a new output_arg argument to this function. Make function static. (bgp_show) Make function static and add a new output_arg argument. Change all functions that call bgp_show or bgp_show_table to pass the new output_arg argument (that used to be passed inside vty->output_arg). * bgp_mplsvpn.c: Remove declarations of functions defined in bgp_route.c; these declarations belong in bgp_route.h. * bgp_route.h: Declare 3 global functions used in both bgp_route.c and in bgp_mplsvpn.c.
2004-11-042004-11-04 Paul Jakma <paul@dishone.st>paul
* ospfd.c: (ospf_network_match_iface) revert to previous network statement match behaviour.
2004-11-042004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* vty.c: Vtysh connections to daemons should use buffering. (vty_out) Remove exception for vty_shell_serv, just use buffer_write. (vty_new) Increase output buffer size to 4096 rounded up to a multiple of pagesize. (vtysh_read) After command has been executed and all output buffered, call buffer_flush_available and schedule further writes if the buffers are not yet empty. (vtysh_write) New function to flush output to vtysh when the socket is writeable. (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh clients. Also, should save read thread in vty->t_read so the thread can be cancelled in vty_close. * buffer.h: In struct buffer_data, remove unused "parent" field. Convert "unsigned char *data" to "unsigned char data[0]" to save a malloc. Declare new function buffer_flush_available that works with non-blocking sockets. * buffer.c: (buffer_data_new) Use a single malloc now that data is a variable-size array at end of structure. (buffer_data_free) Just a single free now that data is part of the structure. (buffer_write) Simplify the logic to make behavior more transparent. (buffer_flush) Decrease b->length as data is written out. (buffer_flush_vty_all) Decrease b->length as buffers are freed. (buffer_flush_vty) Decrease b->length as data is written out. (buffer_flush_available) New function to flush non-blocking sockets.
2004-11-022004-11-02 Paul Jakma <paul@dishone.st>paul
* ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points to it. Add convenience pointer to msg->msg_iov[1], and use this, fixing the unfortunate borkenness introduced in moving of this code to a function. (ospf_write) remove iovp and fix up call to previous. (ospf_ls_upd_packet_new) cast size to long int - unfortunately glibc's size_t format modifier is not portable.
2004-11-02- Add .arch-ids and .arch-inventory to cvsignore, to allow one to use archpaul
with CVS trees.
2004-11-012004-11-01 Paul Jakma <paul@dishone.st>paul
* sockopt.c: (setsockopt_pktinfo) remove, its unused.
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* {bgpd,bgp_attr}.c: size_t printf format should be ld.
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* ospf_packet.c: (ospf_ls_upd_packet_new) Format for size_t should be ld. * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of THREAD_ARG to store an integer, but it should at least use same same type to retrieve the value. Assert value is sane.
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* thread.c: Use XCALLOC and sizeof the type, not the pointer.
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* smux.c: fix int to size_t compile warnings
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS * thread.c: Update stats and funcname alloc/free to use previous specific memory type defines
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* ospf_packet.c: (ospf_write_frags) Add debug output (ospf_write) set type early, so we can pass it to ospf_write_frags. (ospf_ls_upd_packet_new) print size in debug output when too large packet is encountered.
2004-10-31- update cvs ignore, ignore quagga.dvi, quagga.ps, etc.paul
2004-10-312004-10-31 Paul Jakma <paul@dishone.st>paul
* vty.c: As per Andrew's suggestions.. (vty_serv_un) remove flags. (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
2004-10-292004-10-29 Paul Jakma <paul@dishone.st>paul
* vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un to vtysh_accept, where sock is the actual fd we wanted to set to O_NONBLOCK, ie the /connected/ vtysh unix socket.
2004-10-29- lib/ dir shouldnt be conditional, remove bad dir attribute from dev filespaul
2004-10-28"show running-daemons" -> "show daemons".hasso
2004-10-28Remove dead "ip tunnel" command.hasso
2004-10-26Fix help of "show debugging ripng" command.hasso
2004-10-252004-10-25 Paul Jakma <paul@dishone.st>paul
* Update with fix in debian bug id 222930. * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces. bgp_network.c: (....) raise/lower privs around call to SO_BINDTODEVICE sockopt.
2004-10-23Yet another breakage introduced in May with zserv cleanup.hasso
2004-10-23- andrew's service adding change to detect existing entries reliablypaul
2004-10-23- update with andrew's modificationspaul
- enable irdp by default again
2004-10-222004-10-23 Paul Jakma <paul@dishone.st>paul
* configure.ac: bump version to 0.97.2, release imminent.
2004-10-222004-10-23 Paul Jakma <paul@dishone.st>paul
* zebra.h: reserve ZEBRA_ROUTE_HSLS
2004-10-22- credit rix for fixing openbsdpaul
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* ospfd/ospf_packet.c: setsockopt_pktinfo -> setsockopt_ifindex * zebra/irdp_main.c: ditto
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* sockopt.h: Fix elif that should be an else.
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* command.h: Cleanup the defines a bit, add helper defines and collapse all defines to use those. Add an attribute field to cmd_element to support, eg hidden or deprecated commands, add defun defines for such. All that's left to do is add logic to command.c to check these attributes... ;)
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex() function. * ospf_packet.c: (ospf_read) manually look up ifindex if system could not have returned one, eg openbsd.
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* sockopt.c: (setsockopt_pktinfo) unexported * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have neither IP_RECVIF nor IP_PKTINFO (eg openbsd).
2004-10-222004-10-13 Paul Jakma <paul@dishone.st>paul
* sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not -1.
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* ripd.c: Collapse redundant passing of various address structs, struct interface and struct connected as arguments to functions down to two key arguments, namely struct connected and, possibly, address of source/destination. Testing for RIPv1 would be useful. (rip_read) lookup struct connected for the received packet, pass it on. * rip_interface.c: With previous changes, we no longer have to tread carefully with struct connected, as it will always be there and valid.
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* configure.ac: fix up enable help alignment slightly Add --enable-gcc-ultra-verbose to set various gcc warnings which should one day be fixed but are not serious problems or which could be false-positives.
2004-10-20Don't popen pager if command is "exit". Fixes "vtysh screws up my terminalhasso
if I exit" issue.
2004-10-19Small copyright string and hostname related cleanup.hasso
2004-10-19OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,hasso
ripd might need some more testing though.
2004-10-19- From Andrew Schorr, fixup logrotate to use correct path to killallpaul
and use the pid file.