aboutsummaryrefslogtreecommitdiff
path: root/libexec/rlogind
Commit message (Collapse)AuthorAgeFilesLines
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesHajimu UMEMOTO2005-05-131-6/+1
| | | | | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now. Notes: svn path=/head/; revision=146187
* Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).Juli Mallett2005-05-111-1/+1
| | | | Notes: svn path=/head/; revision=146075
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-2/+4
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Removed Kerberos remnants.Ruslan Ermilov2005-02-092-58/+6
| | | | Notes: svn path=/head/; revision=141588
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-281-1/+0
| | | | Notes: svn path=/head/; revision=140941
* Sort sections.Ruslan Ermilov2005-01-181-14/+14
| | | | Notes: svn path=/head/; revision=140414
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-6/+12
| | | | Notes: svn path=/head/; revision=131487
* Fix a sign/unsigned comparison.David E. O'Brien2003-05-041-5/+5
| | | | Notes: svn path=/head/; revision=114624
* Fixed the abuses of .Ql visible on stderr in troff mode.Ruslan Ermilov2002-12-231-1/+1
| | | | | | | PR: docs/37176 Notes: svn path=/head/; revision=108221
* The .Nm utilityPhilippe Charnier2002-07-061-5/+7
| | | | Notes: svn path=/head/; revision=99500
* Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.Dag-Erling Smørgrav2002-05-082-43/+10
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96196
* o __P removalWarner Losh2002-02-071-39/+22
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* Handle snprintf() returning < -1.Brian Somers2001-08-201-1/+1
| | | | Notes: svn path=/head/; revision=81991
* Handle snprintf() returning -1.Brian Somers2001-08-201-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81972
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-261-1/+1
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Remove whitespace at EOL.Dima Dorfman2001-07-151-5/+5
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-1/+1
| | | | Notes: svn path=/head/; revision=79366
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+1
| | | | Notes: svn path=/head/; revision=71895
* MFS: Silence compilation warnings.Ruslan Ermilov2000-12-071-1/+1
| | | | Notes: svn path=/head/; revision=69705
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68949
* remove trailing periods from SEE ALSO.Ben Smithurst2000-11-151-2/+2
| | | | Notes: svn path=/head/; revision=68756
* Removed broken PAM support from rshd(8) and rlogind(8). rshd doesRuslan Ermilov2000-10-123-174/+0
| | | | | | | | | | not allocate a pty(4) so it is not suitable at all for interactive PAM modules. rlogind calls login(1) which is already PAM enabled. Approved by: markm Notes: svn path=/head/; revision=67001
* Make it compile without -DNO_PAM again.Ruslan Ermilov2000-10-062-1/+5
| | | | Notes: svn path=/head/; revision=66755
* sprintf() -> snprintf() paranoia.Kris Kennaway2000-08-041-2/+2
| | | | Notes: svn path=/head/; revision=64238
* Make compilable without -DINET6.Hajimu UMEMOTO2000-07-281-6/+2
| | | | | | | | | | With shut up unused variable warnings. PR: bin/20225 Submitted by: Paul Herman <pherman@frenchfries.net> Notes: svn path=/head/; revision=63959
* Use libcrypto instead of libdes.Mark Murray2000-02-241-1/+1
| | | | Notes: svn path=/head/; revision=57453
* sync iruserok() extension API with other BSDsYoshinobu Inoue2000-02-011-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of rcmd related function is need to be updated to support IPv6. Some of them are already updated as standard document. But there is also several de-facto functions and they are not listed in standard documents. They are, iruserok() (used by rlogind, rshd) ruserok() (used by kerberos, etc) KAME package updated those functions in original way. iruserok_af() ruserok_af() But recently there was discussion on IETF IPng mailing list about how to sync those API, and it is decided, -Those function is not standard and not documented. -But let BSDs sync their API as de-facto. And after some discussion, it is announced that -add update to iruserok() as iruserok_sa() -no ruserok() API change(it is only updated internaly) So I sync those API before 4.0 is released. The changes are, -prototype changes -ruserok() internal update (use iruserok_sa() inside) -removal of ruserok_af() -change iruserok_af() as static functioin, and also prefix the name with __. -add iruserok_sa() (Just call __iruserok_af() inside) -adding flag AI_ALL to getipnodebyaddr() called from __icheckhost(). This is necessary to support IPv4 communication via AF_INET6 socket could be correctly authenticated via iruserok_sa() -irusreok_af() call is replaced to iruserok_sa() call in rlogind, and rshd. Approved by: jkh Notes: svn path=/head/; revision=56939
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-253-18/+71
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* . mdoc(7)'fyAlexey Zelkin2000-01-071-7/+17
| | | | | | | | | | | . add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages . sort Xrs in SEE ALSO sections Patches based on PR: docs/15680 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Notes: svn path=/head/; revision=55562
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.Mark Murray1999-09-194-146/+177
| | | | Notes: svn path=/head/; revision=51433
* Fix more Common Error brokenness.Mark Murray1999-09-061-2/+2
| | | | Notes: svn path=/head/; revision=51036
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Ufff. cflags -> chflags. I could have sworn this change has been inWarner Losh1999-08-211-3/+3
| | | | | | | | | my last three successful make buildworlds... Noticed by: phk Notes: svn path=/head/; revision=50132
* Remove all flags from devices before we try to assert ownership andWarner Losh1999-08-211-1/+3
| | | | | | | | | | set permissions. Bug not fixed: We silently ignore failures of chflags, chmod and chown. Notes: svn path=/head/; revision=50123
* More egcs warning fixes:Warner Losh1999-04-251-3/+4
| | | | | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46078
* Ensure that things returned by gethostname() andBrian Somers1999-04-071-3/+3
| | | | | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde Notes: svn path=/head/; revision=45422
* Use realhostname() rather than various combinations ofBrian Somers1999-04-061-27/+2
| | | | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. Notes: svn path=/head/; revision=45393
* Oops, I missed a few more /etc/nologin references yesterday. It appearsSatoshi Asami1999-01-121-2/+2
| | | | | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=42587
* As previously threatened, clean up the rshd -a option and make it defaultPeter Wemm1998-12-161-47/+21
| | | | | | | | | | | | | | | | | | | on rshd and rlogind. However, note that: 1: rshd used to drop a connection with -a if the hostname != ip address. This is unneeded, because iruserok() does it's own checking. It was also wrong if .rhosts had an explicit IP address in it, connections would be dropped from that host solely because the DNS was mismatched even though it was explicitly intended to work by IP address. 2: rlogind and rshd check the hostname mappings by default now because that is what goes into the utmp/wtmp and logs. If the hostname != ip address, then it uses the IP address for logging/utmp/wtmp purposes. There isn't much point logging ficticious hostnames. 3: rshd -a is now accepted (but ignored) for compatability. If you really want to make life miserable for people with bad reverse DNS, use tcpd in paranoid mode (which is questionable anyway, given DNS ttl tweaking). Notes: svn path=/head/; revision=41860
* Add -lcrypt when building kerberos.John Birrell1998-09-051-3/+3
| | | | Notes: svn path=/head/; revision=38827
* Fix LIBDIR (for aout/ELF).Mark Murray1998-08-061-2/+2
| | | | Notes: svn path=/head/; revision=38149
* Sort #includes. Add rcsid. Add man page section in .Xrefs.Philippe Charnier1997-11-252-13/+15
| | | | Notes: svn path=/head/; revision=31405
* Changes for the new KTH Kerberos.Mark Murray1997-09-282-12/+26
| | | | | | | Also make -Wall a bit quieter. Notes: svn path=/head/; revision=29916
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Fix various buffer overflows that may or may not be exploitable.Warner Losh1997-03-241-5/+7
| | | | | | | | | | Fixes PR 2588 Reviewed by: Dan Cross? Submitted by: Julian Assange Notes: svn path=/head/; revision=24191
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22989
* Some patches for source routed packets from OpenBSD.Warner Losh1997-02-091-14/+14
| | | | | | | | | | | | | | | | | | Rev 1.16 deraadt: do not warn about valid options; invalid options correctly quit Rev 1.15 deraadt: need not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de Rev 1.14 deraadt: IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out by provos@wserver.physnet.uni-hamburg.de. also another 1-char buffer overflow. Reviewed by: Peter Wemm Obtained from: OpenSBD Notes: svn path=/head/; revision=22455