lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
itojun
da88342476
NI_WITHSCOPEID was not picked up by IETF standardization process
2004-11-16 06:04:12 +00:00
christos
c2edf6628e
Oops, always store a full struct sockaddr_storage.
2004-11-15 21:01:18 +00:00
christos
b904cdf4f6
- use sockaddr_storage directly.
...
- socklen_t instead of int.
- check ss_len for validity.
- pass -a to login so that it can record the address we've logged in from.
- constify.
2004-11-15 20:45:52 +00:00
wiz
6387678427
Bump date for previous.
2004-07-17 18:33:23 +00:00
wiz
24d271a979
Code is not using gethostbyaddr any longer, but getnameinfo.
...
Fix references. Addresses part of PR 26337 by Peter Postma.
2004-07-17 18:32:23 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
itojun
bf792c0c43
string manipulation audit
2003-05-17 22:54:55 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
a9fc5f306a
poll.h, not sys/poll.h
2002-09-23 03:32:34 +00:00
mycroft
49ac051d58
Remove a small piece of dead code.
2002-09-20 19:07:34 +00:00
mycroft
51581bcb01
select() -> poll()
2002-09-18 20:37:11 +00:00
christos
6c99012e39
PR/17999: FUKAUMI Naoki: Support wtmpx entries.
2002-08-20 13:12:00 +00:00
christos
f660736fac
It is pointless to limit the login name for utmp's purposes here.
2002-08-01 18:52:06 +00:00
wiz
110806f773
Sort sections.
2002-01-15 02:24:28 +00:00
wiz
399d20a2af
Actually, it's ttyaction, note the silent 't' ;)
2001-04-04 09:56:31 +00:00
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