Commit Graph

33 Commits

Author SHA1 Message Date
christos 20d53d3990 fix nested extern 2001-02-04 22:14:13 +00:00
lukem 40dcfe23f1 consistently use LOG_NOTICE instead of LOG_INFO for hostname lookup probs 2001-01-10 01:41:38 +00:00
itojun 7b0d3f1d84 do not refer free'ed memory region. KAME PR 302 from ryo@iij.ad.jp 2000-11-09 01:04:14 +00:00
itojun 6fc49112e9 document IPv4 mapped address twists.
- ftp(1): treats IPv4 mapped destination as IPv4 peer, not native IPv6 peer.
  this does not support network with SIIT translator.
- rshd(8)/rlogind(8): rejects accesses from IPv4 mapped peer, to avoid
  possible abuse of IPv4 mapped addr (rshd/rlogind use source address-based
  auth so it is important to check the condition).
2000-05-30 05:21:46 +00:00
itojun d53d7cf148 reject connection attempt from IPv4 mapped addr, for safety. 2000-04-14 12:29:49 +00:00
itojun 2a5b88bffb IPv6 support. 2000-01-31 14:20:13 +00:00
itojun 602b7d0407 indentation fix. 1999-12-31 08:01:26 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
tsarna c89a574ffa Execute ttyaction on termination of rlogind/telnetd sessions.
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29 17:31:55 +00:00
perry 98b9f211ee fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but... 1998-08-26 00:38:39 +00:00
ross 12eb02fc43 {} "fix" for lame egcs warning, from Erik Bertelsen <erik@mediator.uni-c.dk> 1998-08-25 19:11:11 +00:00
perry bfd526219d bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
fair 42aff08cb4 fix a bad .Xr 1998-04-29 19:25:25 +00:00
fair 5ce6614a4f fix bad .Xr references 1998-04-29 08:33:11 +00:00
mrg d5088f6ab0 remove register. 1998-03-30 01:52:02 +00:00
enami 966d406a9b Fix .Nm usage. 1997-10-20 02:42:46 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
enami 7c92c8b774 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:04:31 +00:00
mrg 04766f1d6e WARNS?=1. RCS ids 1997-10-07 10:43:53 +00:00
mrg e84cc39ec8 merge lite-2. 1997-10-07 10:29:01 +00:00
lukem 9e4b2c6012 - implement -a (verfiy all hostnames) with code taken from rshd(8).
closes [misc/543] and [bin/1295]
- syslog() failures of iruserok(), which should help debugging why
  a .rhosts authentication failed.
- log a successful iruserok() if -L given. idea from rshd(8).
- allow root .rhosts to authenticate, the same way that rshd(8) does.
  the prior behaviour meant that 'rsh foo csh -i' could get a shell
  without a password, but 'rlogin foo' couldn't; very inconsistant.
  closes [bin/1078] and [bin/1239]
1996-11-08 07:47:44 +00:00
mrg d0e431b53a log the IP address if the hostname is > UT_HOSTSIZE, as per telnet. pr#1946 1996-05-21 12:22:31 +00:00
mycroft 90f0c26840 Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.
1996-02-08 06:05:31 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd 2642138ed1 kill kerberos and stream encryption support, so it's exportable. 1994-06-05 13:57:51 +00:00
cgd 13514eadce clean up import, RCS ids 1994-06-05 13:49:01 +00:00
pk eb9d2b8c28 another case of overloading hostent's storage. 1994-06-02 19:16:37 +00:00
pk f4abfb1f2f Add underscore to _check_rhosts_file 1994-05-19 22:54:19 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00