Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Combine client and server protocols to make way for an offline/local protocol. | Chris Wilson | 2011-08-27 |
| | | | | | Rename ProtocolObject to Message. | ||
* | Link lib/server with qdbm and include the QDBM version in the daemon banner. | Chris Wilson | 2011-04-22 |
| | |||
* | Include <process.h> to get a definition for getpid() from the Windows CRT, | Chris Wilson | 2011-04-20 |
| | | | | | to replace the emulated one in emu.cpp. | ||
* | Pass a C++ string instead of a char pointer for efficiency. | Chris Wilson | 2011-03-27 |
| | |||
* | Finish enabling the file logging option for daemons. | Chris Wilson | 2010-11-17 |
| | |||
* | Add log file logging to all daemons. | Chris Wilson | 2010-11-17 |
| | |||
* | Fix compile on Debian Squeeze with libbsd-dev and libedit-dev installed, | Chris Wilson | 2010-09-13 |
| | | | | | | thanks to Dave Bamford for reporting and debugging. (merges [2734] from 0.11) | ||
* | Log the invalid log level. | Chris Wilson | 2010-08-31 |
| | |||
* | It's not an error to be interrupted by a signal while waiting for an | Chris Wilson | 2010-08-27 |
| | | | | | | incoming connection. This is the normal way to shut down or reload bbackupd. | ||
* | Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with | Chris Wilson | 2010-06-06 |
| | | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE. | ||
* | Run Perl scripts quietly during make. | Chris Wilson | 2010-01-24 |
| | |||
* | Revert the quotes part of [2588] as it breaks the unit tests. | Chris Wilson | 2010-01-24 |
| | | | | | Make LocalProcessStream constructor take a std::string& for C++ style. | ||
* | Add debugging for child processes terminating normally or abnormally, | Chris Wilson | 2009-11-24 |
| | | | | | | | as Brendon Baumgartner reported symptoms that sound like a bbstored child process crashing, and nothing in the logs indicates what happened to it. | ||
* | Fixes for gcc 4.4. | Martin Ebourne | 2009-04-23 |
| | |||
* | Include missing Utils.h header, needed for FileExists(). | Chris Wilson | 2009-04-09 |
| | |||
* | Change default location for config files from /etc/box to | Chris Wilson | 2009-04-09 |
| | | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project. | ||
* | Hopefully fix compile error reported by Mirko on cross-compiler. | Chris Wilson | 2009-03-29 |
| | |||
* | Add ability to specify a named log facility for syslog loggins, | Chris Wilson | 2009-03-24 |
| | | | | | requested by Kenny Millington. | ||
* | Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to | Chris Wilson | 2009-03-21 |
| | | | | | 64 bits. | ||
* | Fix crash when freebsd (maybe *bsd) returns ECONNRESET on close(), which | Chris Wilson | 2009-03-15 |
| | | | | | | | | presumably means that the socket is already closed, causing bbackupd test to fail. Thanks to Victor Meirans for reporting the problem. See http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example. | ||
* | Change socket type from int to Socket::Type enum. | Chris Wilson | 2009-01-03 |
| | |||
* | Reset read and write closed state of a socket after Open() and Attach(). | Chris Wilson | 2009-01-03 |
| | |||
* | Change use of int to identify a socket type to the proper enum. | Chris Wilson | 2009-01-03 |
| | |||
* | Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as | Chris Wilson | 2008-12-30 |
| | | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve. | ||
* | Grammar fix in SSL error message when SSL library initialisation fails. | Chris Wilson | 2008-12-05 |
| | |||
* | Use the same ostringstream formatting for protocol logging to file | Chris Wilson | 2008-10-29 |
| | | | | | | that we use for standard logging, to fix 64bit platform warnings reported by Matt Brown. | ||
* | Silence warnings from openbsd gcc by using strncpy instead of strcpy. | Chris Wilson | 2008-10-26 |
| | |||
* | Fix compile errors on Debian Lenny, reported by Torsten. | Chris Wilson | 2008-10-17 |
| | |||
* | Don't blindly use an undefined symbol in #if. | Chris Wilson | 2008-10-11 |
| | |||
* | Use getpeerucred() to identify connecting socket clients on Solaris, | Chris Wilson | 2008-10-11 |
| | | | | | | | | and silence warnings that the peer cannot be identified on this platform. Remove another use of uname -o which doesn't work on Solaris. | ||
* | Use Windows Crypto API to seed the random number generator, and remove | Chris Wilson | 2008-10-08 |
| | | | | | warning that it hasn't been seeded on Windows. | ||
* | Remove Win32 command socket thread, as it has caused too much trouble. | Chris Wilson | 2008-10-03 |
| | | | | | | | | | | | Handle command socket on Win32 the same as all other platforms, removing #ifdefs from BackupDaemon. Will replace this thread with regular but not excessive command socket polling using timers in future. Change error messages when command socket comms fail to make them clearer. | ||
* | Remove -K option which now does nothing on Windows. | Chris Wilson | 2008-10-03 |
| | | | | | Add -Q option which disables all logging instead. | ||
* | Utility classes to be used by new Windows named pipe framework. | Chris Wilson | 2008-10-03 |
| | |||
* | Spacing and additional stream header byte logging. | Chris Wilson | 2008-10-03 |
| | |||
* | More debugging, log type of stream received and fix logging of header byte. | Chris Wilson | 2008-10-03 |
| | |||
* | Additional debugging for protocol stream deadlock reported by | Chris Wilson | 2008-09-30 |
| | | | | | Matt Brown. | ||
* | Log reason for any waitpid() failure. | Chris Wilson | 2008-09-26 |
| | |||
* | Set console and syslog logging levels rather than global logging level, | Chris Wilson | 2008-09-26 |
| | | | | | as we may want to do something different when logging to a file. | ||
* | Unify program name and console logging tags. | Chris Wilson | 2008-09-13 |
| | | | | | | Add a new class, Logging::Tagger, which can be used to temporarily add information to the program name, such as the client ID in bbstored. | ||
* | Call virtual NotifyListenerIsReady() method when listening socket is | Chris Wilson | 2008-08-21 |
| | | | | | ready, for Boxi thread synchronisation. | ||
* | Use ForkToHandleRequests in ServerStream template call to avoid compiler | Chris Wilson | 2008-08-21 |
| | | | | | errors. | ||
* | Make Open() take a const std::string& for the socket name instead of a | Chris Wilson | 2008-08-21 |
| | | | | | const char *, for C++ style. | ||
* | Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon | Chris Wilson | 2008-08-21 |
| | | | | | | | | | | | | and a BackupStoreDaemon in the same process in separate threads. Separate out Configure(filename) and Configure(Configuration) for Boxi. Use a std::auto_ptr to hold the Configuration so that we don't have to worry about releasing it ourselves. Remove some #ifdef WIN32. | ||
* | Allow waiting for a process while killing it, will be needed for tests | Chris Wilson | 2008-08-07 |
| | | | | | that fork() to avoid zombies and for ServerIsAlive to work. | ||
* | Allow externally controllic whether a daemon will run in the foreground | Chris Wilson | 2008-08-07 |
| | | | | | or not, will need this for running tests with internal bbstored. | ||
* | Really enable PID logging on Windows. | Chris Wilson | 2008-08-03 |
| | |||
* | Enable logging of PID on Windows. | Chris Wilson | 2008-08-03 |
| | | | | | Enable both -k and -K options on all platforms. | ||
* | Move loading configuration into a separate method. | Chris Wilson | 2008-05-28 |
| | | | | | Add -W<level> option to set warning level explicitly. | ||
* | Add a GetMessage() method to Protocol objects to return a stringified | Chris Wilson | 2008-05-28 |
| | | | | | | | message as a string. Fix a typo in a comment. |