summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-152005-01-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* redhat/quagga.spec.in: Fix postun script to avoid misleading error message saying the postun scriptlet failed when watchquagga is not running. (pullup candidate)
2005-01-142005-01-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* command.c (print_version): Do not bother even to examine host.name, since it is always NULL when this function is called from main.
2005-01-142005-01-14 Greg Troxel <gdt@fnord.ir.bbn.com>gdt
* command.c (print_version): Don't print host.name if it is NULL. Fixes segfault on Solaris reported by Goetz von Escher <goetz@open.ch> (pullup candidate)
2005-01-12Ignore <dist tarball>.asc - i always seem to have one hanging around frompaul
last release..
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Test for header file <ucontext.h> (for use in signal processing). * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to pass additional siginfo_t and ucontext_t arguments to core_handler and exit_handler. (core_handler,exit_handler) Now invoked with 3 arguments (using SA_SIGINFO). Pass additional info to zlog_signal. (program_counter) New function to find program counter in ucontext_t, needs to be enhanced to support more platforms (currently works only on Linux/x86). * log.h: Change the zlog_signal prototype to add new arguments siginfo_t * and program_counter. * log.c: (zlog_signal) Add new arguments siginfo and program_counter. Include si_addr and program counter (if non-NULL) in message. And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since that is now used to render the si_addr and PC pointers.
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: If configure is invoked with --enable-snmp, but the configure script is unable to find SNMP support on the platform, then configure should give an error message and exit.
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* redhat/quagga.spec.in: Pass --enable-gcc-rdynamic to configure to get gcc to link with -rdynamic for better backtraces. When the rpm is upgraded, the restart logic now works as follows: 1. stop watchquagga; 2. stop all routing daemons; 3. restart zebra if it was running; 4. start all routing daemons that were running; and 5. start watchquagga if it was running.
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: (run_job) Fix bug: delay.tv_sec was being used without having been initialized when the "force" argument was true. (try_restart) When phased restart is stopping the routing daemons, it should tell run_job to update the restart interval. (phase_check) In final step of phased restart when the routing daemons are being started again, tell run_job not to update the restart interval (this is now done when the daemons are stopped).
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* zebra.h: If not C99 and no va_copy macro available, fall back to memcpy (solves a build problem on FreeBSD 4.x).
2005-01-102005-01-10 Paul Jakma <paul@dishone.st>paul
* texinfo.tex: Updated to a version which understands @{ and @} * vtysh.texi: Add node name for @section * quagga.info: updated build of autogenerated file
2005-01-102005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>gdt
* ospf_packet.h: Remove commented out definition of OSPF_MAX_PACKET; neither it or the uncommented one are used any more. * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication when deciding if an update will fit. (ospf_packet_authspace): Factor out calculation of size required for authentication. (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET. Don't confuse readers that there is a macro.
2005-01-072005-01-07 Paul Jakma <paul@dishone.st>paul
* configure.ac: Bump version to 0.98.0 * doc/quagga.info: Version bump (autogenerated)
2005-01-052005-01-05 Paul Jakma <paul@dishone.st>paul
* configure.ac: Bump version to 0.97.5 * doc/quagga.info: autogenerated, version bump.
2005-01-052005-01-05 Paul Jakma <paul@dishone.st>paul
* zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK for now, as we dont actually deal with with resending.... See bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov). * kernel_socket.c: (routing_socket) ditto.
2005-01-052005-01-05 Paul Jakma <paul@dishone.st>paul
* bgp_packet.c: (bgp_write) set socket to nonblock while writing this should be generalised. See bugzilla #102. Fix supplied by wawa@yandex-team.ru (Vladimir Ivanov).
2005-01-04minor fix to HAVE_BROKEN_CMSG_FIRSTHDR support: use AC_MSG_CHECKINGgdt
etc. so configure output shows the choice we made. (Andrew: please recheck on a buggy system; it configures/compiles fine on NetBSD.)
2005-01-042005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Added test for broken CMSG_FIRSTHDR macro (relevant for Solaris 8 and unpatched Solaris 9, don't know whether other platforms are affected). * zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined by the configure test program). * sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripngd.c: (ripng_recv_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
2005-01-042005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* NEWS: Note improved logging facilities.
2005-01-02Reverting some int -> unsigned int fixes in command.c for now. Fixes crashhasso
described in [quagga-dev 2292].
2005-01-01More cleanup in isisd.hasso
2005-01-01Move TODO items from isid to the common TODO.hasso
2005-01-01There is no need to keep this directory.hasso
2005-01-01Make authentication of SNPs work correctly - ie. conditionally like it is inhasso
IOS.
2004-12-302004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* ospf_network.c: Improve all setsockopt error messages to give detailed information on the arguments.
2004-12-30Add comment explaining about limit of 20 joined groups on a socket.gdt
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done" messages from LOG_WARNING to LOG_INFO, since this seems to be normal.
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* ospf_packet.c: (ospf_read) Always look up the interface if ospf_recv_packet returns NULL ifp, since some platforms such as Solaris 8 appear to support ifindex retrieval but don't.
2004-12-29add XXX comment that perhaps we need to recover from short headers.gdt
2004-12-29Really fix crashes now. Revert isis_circuit_update_params() part of previoushasso
commit. Replace all if_is_up() calls with if_is_operative().
2004-12-292004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* sockopt.c (getsockopt_ipv4_ifindex): Document calling convention. Beef up comments. Handle the case where the cmsghdr has a zero controllen, or more specifically when the wanted option is not present. This is needed for Solaris 8, and in general for any platform for which configure finds a method and it can fail. Mark some changes with XXX to be cleaned up post 0.98.
2004-12-29Don't crash during interface up/down events.hasso
2004-12-292004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* sockopt.c (getsockopt_ipv4_ifindex): Return 0 when passed a NULL cmsghdr pointer. I believe this will avoid ospfd crashing on Solaris 8, which seems to define IP_RECVIF but not actually implement it.
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Add new option --enable-gcc-rdynamic to link with -rdynamic.
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: In several places, cast pid_t to int for printf to avoid complaints on Solaris 8.
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: Fix headers: get most stuff from zebra.h.
2004-12-282004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* sockopt.c: (setsockopt_ipv4_ifindex) Improve error message. When neither IP_PKTINFO nor IP_RECVIF is defined, make return value deterministic (-1).
2004-12-282004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* thread.c: (funcname_thread_add_timer_msec) Reduce overflow risk.
2004-12-24*.c: Change level of debug messages to LOG_DEBUG.hasso
2004-12-24zlog_* cleanup. Level of debug messages to LOG_DEBUG.hasso
2004-12-232004-12-23 Paul Jakma <paul@dishone.st>paul
configure.ac: Bump version to 0.97.4 doc/quagga.info: ditto (autogenerated file)
2004-12-232004-12-23 Paul Jakma <paul@dishone.st>paul
* watchquagga.c: Add missing getopt.h include
2004-12-232004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* redhat/quagga.spec.in: daemonv6_list should contain only IPv6 daemons.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* redhat/quagga.spec.in: Add watchquagga, and fix some other logic to make sure that all daemons are restarted on upgrades and stopped on package removal.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: Try for gcc 2.95 compatibility (avoid %z and a tricky initialization).
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* connected.c: (connected_add_ipv4) Limit warning about /32 addresses with no peer specified to PtP interfaces only.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* redhat/quagga.sysconfig: Define some variables to support watchquagga.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: Add -b option to circumvent difficulties passing embedded spaces in command-line arguments. This is an ugly hack, we should probably use a config file instead.
2004-12-22Show sums of checksums in "show ip ospf" output. Okayed by Paul and Jameshasso
R. Leu (author of original idea).
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* watchquagga.c: Use new config.h define for DAEMON_VTY_DIR.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Add a define for DAEMON_VTY_DIR in config.h.