History log of /freebsd-10.1-release/usr.bin/rsh/rsh.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 216585 20-Dec-2010 charnier

Add __unused


# 146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


# 146078 11-May-2005 jmallett

Spell 1 as SHUT_WR in argument to shutdown(2).


# 140572 21-Jan-2005 ru

Removed remnants of Kerberos support.


# 119850 07-Sep-2003 charnier

Remove duplicate #include. Do not \n terminate errx() arg.


# 105269 16-Oct-2002 markm

Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!


# 103131 09-Sep-2002 nectar

Check for FD_SET overrun.


# 101833 13-Aug-2002 iedowse

If a timeout is specified, make sure that rcmd() completes within
the specified time. Previously, rsh could potentially hang indefinitely
at this point even when a timeout was set, for example if the server
accepts the connection and then never sends any reply.

PR: bin/20042
Submitted by: Keith White <Keith.White@site.uottawa.ca>
MFC after: 1 week


# 96196 07-May-2002 des

Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.

Sponsored by: DARPA, NAI Labs


# 93412 30-Mar-2002 obrien

Const what I could on a first pass.


# 93022 23-Mar-2002 markm

Very simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
Makefile.


# 92921 21-Mar-2002 imp

remove __P


# 80381 26-Jul-2001 sheldonh

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <david@phobia.ms>


# 69103 24-Nov-2000 jkoshy

[rsh.1] Document the `-4' and `-6' options.
[rsh.c] Make usage message match the code.


# 58882 31-Mar-2000 bsd

Fix a bug in rsh that caused the remote process to hang waiting on
input even if the '-n' flag to rsh is used. The write side of the
socket should be closed to allow the remote process to see EOF.

Submitted by: Brad Chisholm <sasblc@unx.sas.com>


# 57450 24-Feb-2000 markm

Use libcrypto in place of libdes.


# 57232 15-Feb-2000 shin

Add -4 and -6 options.

Current getaddrinfo() implemetation has a problem of too much resolving
waiting time on INET6 enabled systems.
-4 and -6 options can limit name resolving address family and is a possible
workaround for the problem.

Approved by: jkh


# 56590 25-Jan-2000 shin

several tcp apps IPv6 update
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 43851 10-Feb-1999 des

Don't use an arbitrary hardcoded value for nfds in select() calls.

PR: bin/9986


# 40103 09-Oct-1998 markm

Use KJH's auth.conf parser to turn on/off Kerberos in userland.


# 34799 23-Mar-1998 charnier

Add const to rcsid.


# 33649 20-Feb-1998 jb

Initialise variable that gcc lies awake at night worrying about.


# 29922 28-Sep-1997 markm

Changes for KTH KerberosIV.
Also quieten -Wall a bit.


# 27954 07-Aug-1997 charnier

Use err(3) instead of local definition.
Cosmetic in man page: do not start describing a flag with `The option -X ..'.


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18067 06-Sep-1996 jkh

Add a timeout flag so that failing operations can at least be caught
and flagged. Closes PR#1513
Submitted-By: David Muir Sharnoff <muir@idiom.com>


# 14024 11-Feb-1996 markm

#include <kerberosIV/des.h> -> #include <des.h>


# 13880 03-Feb-1996 markm

Rename des_set_key -> des_set_key. (libdes conflict)


# 11233 05-Oct-1995 gibbs

Kerberos can now deal with multi-homed clients.

Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions. This ensures
that packets only leave the *authenticated* interface. Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos. krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.

Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>


# 8874 30-May-1995 rgrimes

Remove trailing whitespace.


# 5614 14-Jan-1995 wollman

Fix Sharnoff complain bin/136 (-e flag doesn't work).


# 3113 26-Sep-1994 dfr

Move the call to des_set_key to after the kerberos initialisation, removing
assumption about the implementation of des_read/des_write.


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources