summaryrefslogtreecommitdiff
path: root/libexec/rshd
AgeCommit message (Collapse)Author
2002-07-03ansi on a file which idiots believe is not here anymoreTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
2002-05-06rlogin: Lived with JoyTheo de Raadt
2002-03-16Add missing login_close() call.Todd C. Miller
2002-03-16auth_approval() calls getpwnam() which can modify the stashed passwdTodd C. Miller
struct. Use auth_setpwd() to stash a copy of the struct so auth_approval() doesn't need to use getpwnam(). Closes PR 2470.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-13o) fix bogus .Xr usage;Mike Pechkin
o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok;
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-23Small nits from pjanzen.Hans Insulander
2001-06-23Don't lie about Kerberos and encryption.Hans Insulander
Result of a conversation with pjanzen@ ok deraadt@
2001-06-11strncpy vs strlcpy, some strlen missuse.Michael Shalayeff
some other related minor cleanups, and spaces. millert@ ok
2001-05-29Call auth_checknologin() and auth_approval() as appropriate for BSDTodd C. Miller
authentication.
2001-02-04Use _PW_NAME_LEN+1, not 16 for size of remote/local usernames variablesTodd C. Miller
since rcmd(3) sends strlen(pw_name)+1 bytes.
2001-01-28$OpenBSD$Niklas Hallqvist
2000-11-10correct call to freeaddrinfo. do not free region before referenced.Jun-ichiro itojun Hagino
reported by ryo@iij.ad.jp for kame/netbsd, and aaron.
2000-10-30libexec man page fleshing. again, bored on the plane home.Aaron Campbell
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-09-Wall type correctnessTheo de Raadt
2000-01-27make rshd and rlogind IPv6-ready.Jun-ichiro itojun Hagino
1999-11-15logging getpeername() failures is a waste of timeTheo de Raadt
1999-10-07mention ssh(1) as a better alternative, instead of telnetEric Jackson
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-07-12indentTheo de Raadt
1998-07-10Make sure port is in allowed range before trying to get a reserved port.Todd C. Miller
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1998-07-09this is rshd, not rlogindTodd C. Miller
1998-06-22The x option is not used if CRYPT is turned off.Artur Grabowski
1998-06-03Make warnings disappear.Angelos D. Keromytis
1998-05-15cleanup and build with -WallArtur Grabowski
1998-02-03whack _exit(); gnat@prometheus.frii.comTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-06-29new location of des.hNiels Provos
1997-06-15rshd should give the same error message when the user doesn't existTodd C. Miller
as for when there is no .rhosts/hosts.equiv. With a different error message an information gathering attack can be done. Noted by David Holland <dholland@eecs.harvard.edu>.
1997-04-19Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''Todd C. Miller
Same change doen for SKEY, YP, and KERBEROS5. This allows people to override those setting in /etc/mk.conf.
1997-02-13if i find one more little problem, and have to make one more littleTheo de Raadt
tweak to this ip option handling code I am going to absolutely scream in rage, following which I will rip the bloody innards out of netinet and build my own new incompatible option checking/processing interface that does not make it so hidiously difficult to check if a session has source routes active!
1997-02-13option handling is a bitchTheo de Raadt
1997-02-13ok, i finally learned about struct ipoptionTheo de Raadt
1997-02-05do not warn about valid options; invalid options correctly quitTheo de Raadt
1997-02-05need not clear options since bad ones cause exit; ↵Theo de Raadt
provos@ws1.physnet.uni-hamburg.de
1997-02-05IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out byTheo de Raadt
provos@wserver.physnet.uni-hamburg.de. also another 1-char buffer overflow.
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller