2004-07-08 Jeff Moyer * netdump.init: Add handling for NETLOG, as it can now be configured on its own. Also add support for the 2.6 modules, netdump.ko and netconsole.ko. * netdump.sysconfig: Add parameters for NETLOG, as it can now be configured on its own. * server.c: Only create one directory in /var/crash per system boot. Creating one every minute is just silly. 2003-10-23 Jeff Moyer * netdump.init: Check for a new parameter in /etc/sysconfig/netdump, NETDUMPKEYEXCHANGE, which tells whether or not to tell the server our magic numbers. * netdump.sysconfig Add a commented out line for NETDUMPKEYEXCHANGE. * configuration.c * configuration.h Add a --secure= option, which defaults to 1. Cleaned up options which didn't make any sense in the popt structure. * server.c (load_magic, master_socket_packet) Check the newly defined secure parameter. If not set, we don't need to load the magic number from file. Allow any client to dump to this server. Fix mem leak in load_magic. Clean up some code when reading the message header. The HEADER_LEN macro was defined, might as well use it. Fix setting of port command-line parameter. It was previously ignored. * netdump.8 * netdump-server.8 Update documentation to reflect the new non-secure netdump features. 2002-07-16 Alexander Larsson * netdump.init: Set DEV to eth0 by default Correctly pass DEV to arping. * netdump.spec: Bump version to 0.6.7 2002-04-10 Alex Larsson * netdumpclient.c: Leave no outstanding timeouts if we terminate the memory dump to soon. Longer timeouts for SHOW_STATUS 2002-04-08 Alex Larsson * netdumpclient.c (netdump_client_send_reboot, netdump_client_send_request): Initialse address to zero before using. (generate_i386_elf_header): Initialize elf header to zeros before writing to it. * server.c: (main): Fill out all parts of the struct sigaction. Initialse address to zero before using. 2002-04-02 Alex Larsson * netdumpclient.h: Add got_log_packet to NetdumpClient * server.c: Fix memleak in write_log() * netdumpclient.c: Dump client status to log when dump is finished or when dump couldn't finish. 2002-03-21 Alex Larsson * netdumpclient.c: Send several reboot requests, with timeout inbetween. 2002-03-19 Alex Larsson * netdump-server.8: * server.c: * example_scripts/netdump-crash: If netdump-crash returns non-zero, don't dump. 2002-03-18 Alex Larsson * netdumpclient.c: Add debug spew if DEBUG is defined 2002-03-17 Alex Larsson * netdumpclient.[ch]: Add exponential backoff. Untested. 2002-03-17 Alex Larsson * netdumpclient.c (netdump_client_destroy): Remove outstanding timeouts if any. 2002-03-14 Alex Larsson * netdumpclient.[ch]: Get magic cookie in netdump_client_new(). Don't request the magic cookie anymore. * server.c: Load magic cookie from /var/crash/magic/ip 2002-02-22 Alex Larsson * netdump-server.spec (Release): * netdump.init: * netdump-server.init: Import tims init changes. Bump rpm to release 4 2002-02-19 Alex Larsson * netdump-server.spec: Add chkconfig to post and preun. Release 0.3.5 2002-02-19 Alex Larsson * netdump.init: subsys is called netdump. * netdump-server.spec: Update to 0.3.4. 2002-02-19 Alex Larsson * netdump.init: subsys is called netdump. * netdump-server.spec: Update to 0.3.3. 2002-02-19 Alex Larsson * netdump-server.spec: Shut up post install scripts. Update to version 0.3.2, release. 2002-02-18 Alex Larsson * netdump.init: * netdump-server.init: Fixed chkconfig problem (i hope) * netdump-server.spec: Update version to 0.3.1, relase it. 2002-02-18 Alex Larsson * Released version 0.3 2002-02-18 Alex Larsson * Makefile * netdump.8: * netdump-server.spec Add manpage for client. * netdump-server.8: Add see also section Some small changes. * netdump.init: Remove reference to reload. 2002-02-18 Alex Larsson * README.client: * netdump-server.spec: Add readme for the client parts 2002-02-14 Alex Larsson * netdump-server.8: New manpage. * netdump-server.spec: * Makefile: Install manpage 2002-02-14 Alex Larsson * Makefile: Set execute bit on init-scripts. * netdump-server.init: Don't write pidfile. user netdump can't write to /var/run. * netdump-server.spec: Add netdump-server initscript. Fix typo in defattr. 2002-02-14 Alex Larsson * Makefile:o * netdump-server.spec: Added init script for netdump-server. 2002-02-08 Alex Larsson * netdumpclient.c: Initially write to vmcore-incomplete and rename it to vmcore when it is finished. 2002-02-08 Alex Larsson * example_scripts/*: Add some example scripts. 2002-02-08 Alex Larsson * Makefile: Add -D_FILE_OFFSET_BITS=64 * netdumpclient.c: Look for availible space before dumping. If not enough availible, run the netdump-nospace script. If the script returns > 0, try once again. * server.[ch] (execute_script): Return the exit status of the script, or -1 on error. 2002-02-08 Alex Larsson * server.[ch]: Use config.max_concurrent_dumps instead of MAX_CONCURRENT_NETDUMPS. Remove MAX_CONCURRENT_NETDUMPS. 2002-02-07 Alex Larsson * Makefile: Add configuration.[ch] and -lpopt * server.c: Call config_init() and handle pidfile + daemon. * configuration.[ch]: Handle config file /etc/netdump.conf and popt argument. 2001-12-18 Alex Larsson * Makefile: Bump version to 0.2 2001-12-18 Alex Larsson * crash.c: * Makefile: New file. A kernel modules that provokes a crash when insmod:ed. * README: Remove comments about arp. * netdumpclient.c: * server.c: Add some debug spew if you define DEBUG Automatically set up arp cache entries on client machine startup and when clients crash. Remove them when rebooting the client. * netdump-server.spec: Bump version to 0.2 2001-12-06 Alex Larsson * README: * Makefile: * netdump-server.spec: Added some minimal docs. 2001-12-06 Alex Larsson * COPYING: Add GPL licence * netdump-server.spec: Add RPM specfile * Makefile: Add dist, install and VERSION. Rename binary to netdump-server * netdumpclient.[ch]: Use syslog Remove debug spew call scripts on important events. Limit to 4 concurrent netdumps * server.[ch]: Use syslog Remove debug spew call scripts on important events. Dump files in /var/crash 2001-11-19 Alex Larsson * netdumpclient.c (NETDUMP_OUTSTANDING_PACKETS): Add a define for the number of outstanding packets per ip. * netdumpclient.[ch]: Implemented pipelined memory downloading. 2001-11-15 Alex Larsson * netdumpclient.c: Raise to 50 retries. Remove some debug spew. 2001-11-14 Alex Larsson * netdumpclient.c (netdump_client_destroy): Close dump file when finished with client. * netdumpclient.[ch]: Dump into a specified directory. Reboot after finished dumping. * server.c: Handle log messages. Save log and dump to a directory. 2001-11-13 Alex Larsson * netdumpclient.c: Add some debug spew. request magic after handshake done. Don't write past end of page if memory packet offset is bogus. 2001-11-06 Alex Larsson * netdumpclient.h: Convert client.magic_value from guint64 to uchar[8]. * netdumpclient.c: Get and use the magic cookie from the REPLY_MAGIC reply.