summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dumprmt.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed unformatting of copyright clause 4 in previous commit.bde2004-04-101-1/+1
|
* Remove advertising clause from University of California Regent's license,markm2004-04-091-5/+1
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Make this WARNS=2 clean byjohan2003-11-141-1/+1
| | | | | | | | | | - using (intmax_t) and %j - giving a non-empty format string to msg() Include <stdint.h> directly instead of depending on <inttypes.h> to do it. Tested by: make universe
* De-Kerberise (KerberosIV). KerberosIV is no longer present, andmarkm2003-05-011-15/+4
| | | | | remote backups can still be done with Kerberos authentication using SSH and Kerberos 5.
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-251-0/+1
|
* o remove __Pimp2002-03-201-56/+35
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-171-13/+8
| | | | keywords.
* Add include of errno.h where needed, remove extern int errno where not.imp2000-04-141-1/+1
| | | | These commits were inspired by a similar commit to netbsd.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add support for dealing with ENOSPC as the error code returned by a tapegibbs1998-09-151-11/+8
| | | | device hitting EOM on a write.
* Make `dump' exit codes confirm to manual page.jkoshy1998-07-141-4/+4
| | | | | PR: 5346 Style-check-by: bde
* Correct use of .Nm. Add rcsid. Remove unused #includes.charnier1998-06-151-3/+4
|
* Turn on TCP_NODELAY on the remote socket, to turn off sender silly windowfenner1998-05-171-6/+3
| | | | | | | | | syndrome avoidance. The combination of SWS avoidance and ack-every-other causes low throughput if the block size divided by the MSS is odd (which is true with the default block size and MSS). Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance. The rdump request/response protocol can not invoke Nagle and cannot cause SWS, so this has no negative effects.
* Implement Kerberized rcmd for rdump/rrestore. This is lacking thewollman1997-04-291-5/+15
| | | | | | | options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
* Merge Lite2 changes (rather bigish, the dump/restore folks should check)peter1997-03-111-2/+3
|
* Fix many buffer overflows, correct usage of strcat and implementimp1997-01-071-6/+6
| | | | | | | $TAPE. Inspired by OpenBSD's work in this area. Reviewed by: Peter Wemm, Guido van Rooij and Jordan Hubbard. Obtained from: OpenBSD
* Use fprintf(stderr,) instead of msgtail() so it works for restore as well.fenner1996-11-011-0/+1
|
* Temporarily disable an information message that was added in the lastpeter1996-11-011-1/+0
| | | | | commit.. This causes a link error in sbin/restore which also uses this file.
* Make rdump error messages a little clearer and make them look like dumpfenner1996-11-011-12/+35
| | | | | messages, and make it explicit that stderr output came from the remote end. (e.g. "rmt: command not found")
* If rcmd() fails, return immediately instead of trying a bunch offenner1996-10-281-6/+9
| | | | | | | | | setsockopt()'s on a -1 file descriptor. Remove attempt to decrease TCP MSS; it makes no sense. Set the IP TOS to IPTOS_THROUGHPUT as an indication that this is an application sending large blocks of data, as recommended by RFC1700.
* Andreas Klemm's patch set for dump(8), with some minor (cosmetic)joerg1995-11-181-1/+4
| | | | | | | | | | | | | | | | changes and one addition by me. . Use reasonable defaults for the tape drive (/dev/rst0) instead of something we actually don't have. . Add a summary line displaying the alapsed time and the total throughput. . Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this is the historical protocol, and relying on the $PATH causes a big pain. Make it adjustable via an environmental variable though. Reviewed by: joerg (for Andreas' part) Submitted by: andreas@knobel.gun.de (Andreas Klemm)
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+380
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud