mpp
b23853ea23
Minor mdoc cleanup.
...
PR: docs/13218
2000-05-05 02:21:45 +00:00
shin
7c069c8355
several tcp apps IPv6 update
...
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
asmodai
dd4a1875d3
We do not support the -B option.
...
PR: 15925
Submitted by: Thierry Herbelot
2000-01-12 14:49:38 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
jkh
e04a075bf4
Back out previous commit - it's not necessary now that tty.h properly includes
...
the queue macros.
1999-08-09 07:51:03 +00:00
green
8be258942d
Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)
1999-08-09 02:19:38 +00:00
brian
3952a292dd
Determine the host name using an array size of
...
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.
This allows local hosts of a lan with a long domain name to
appear properly in utmp by base host name (w/o domain) rather
than by IP number.
1999-04-08 21:36:27 +00:00
brian
ba101cbc29
Really fix -u....
1999-04-07 08:39:54 +00:00
brian
3794629aa4
Ensure that things returned by gethostname() and
...
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
1999-04-07 08:27:45 +00:00
brian
86a9f98333
Use realhostname() rather than various combinations of
...
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
1999-04-06 23:06:00 +00:00
brian
f22725557b
After receiving a connection and doing a reverse
...
lookup on the incoming IP, do a forward lookup on
the result and make sure that the IP is in the
resulting list. If it's not, put the IP number
in utmp/wtmp instead of the rogue name.
Stolen from: rlogind
Suggested by: sef
1999-04-06 00:29:41 +00:00
peter
2037fae0b2
Old stuff laying around: Don't use a function called getstr(), that has
...
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
1998-12-16 06:04:29 +00:00
wosch
a024876276
Sort cross references.
1998-08-31 16:41:09 +00:00
jb
43347b0407
Remove a bogus prototype for time() and let time.h do that.
...
Change pointer casts from int to long. The code that looks to index -1
of argv is still broken on alpha.
1998-05-14 10:07:29 +00:00
steve
91b45ff170
Clarify use of 'if' capability.
...
PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>
1998-05-04 02:37:29 +00:00
steve
7e4a22c718
Avoid stairstep effect on output of 'if=...' file.
...
PR: part of 6492
Submitted by: Chip Norkus via Doug White <studded@san.rr.com>
1998-05-03 16:29:06 +00:00
phk
7fb3aa582e
telnetd does not recognize the if (display file before login) gettytab flag.
...
PR: 6365
Reviewed by: phk
Submitted by: Jason Garman <init@risen.org>
1998-04-26 06:51:36 +00:00
charnier
f51e7fa399
Add missing dot.
1998-01-07 07:56:15 +00:00
imp
04325fa0d2
sprintf->snprintf paranoia. The one thing that looks like a hole in
...
the diff is in an ifdef that isn't enabled for FreeBSD.
Obtained from: OpenBSD(?)
1997-12-24 19:21:09 +00:00
charnier
15ac08a2b7
Sync with diffs I found in kerberised versions: -Wall, no `;' in macros.
1997-12-08 07:46:53 +00:00
charnier
b4c65bae04
Use err(3). Remove progname and trailing \n in syslog strings.
1997-12-03 07:16:08 +00:00
uhclem
c597ac9d57
PR: bin/771 and bin/1037 are resolved by this change
...
This change changes the default handling of linemode so that older and/or
stupider telnet clients can still get wakeup characters like <ESC> and
<CTRL>D to work correctly multiple times on the same line, as in csh
"set filec" operations. It also causes CR and LF characters to be read by
apps in certain terminal modes consistently, as opposed to returning
CR sometimes and LF sometimes, which broke existing apps. The change
was shown to fix the problem demonstrated in the FreeBSD telnet client,
along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF,
NCSA, and others.
A similar change will be incorporated in the crypto version of telnetd.
This resolves bin/771 and bin/1037.
1997-10-08 03:10:32 +00:00
markm
88659b601d
There is a clear separation of the crypto telnet and the non-crypto telnet.
...
As this is the non-crypto version, remove the useless (commented out)
directives and macros.
1997-09-28 08:40:54 +00:00
wosch
313d9bdd16
-p flag misdocumented in telnetd(8)
...
PR: 4462
Submitted by: hfir@math.rochester.edu
1997-09-14 18:25:19 +00:00
imp
298d1ef2f1
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-28 15:48:21 +00:00
peter
bd20ff9351
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
davidn
22377b0346
Added support for %s (sysname) %m (machine) %r (release) and %v (version)
...
prompt macros to agree with getty(8).
1997-02-02 07:33:50 +00:00
jkh
9c0cd3f9df
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.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf
Sort cross references.
1997-01-13 00:25:51 +00:00
pst
f09376055c
Some buffer overrun fixes and removed check for username starting with "-"
...
(replacied it with a getopt stopper (--) instead, which is more correct).
Obtained from: OpenBSD
1997-01-07 19:00:52 +00:00
wosch
edd2cd4ee2
correct spelling of 'X Window System' (tm)
1996-10-06 17:59:28 +00:00
wosch
0afb8360fb
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
wosch
e5b4420bce
add forgotten $Id$
1996-09-22 21:56:57 +00:00
bde
218243765f
Fixed DPADD.
1996-09-05 17:16:10 +00:00
peter
1b4c397ee1
Add a ``-P altlogin'' option which allows the sysadmin to specify an
...
alternate login(1) type program to run.
1996-08-13 07:51:45 +00:00
ache
f74bc42924
Localize time
1996-05-07 19:10:32 +00:00
peter
6470cdf2a0
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
ache
5b2441be19
Remove LD_NOSTD_PATH unsetenv, isn't exist anymore
1995-10-24 06:50:45 +00:00
ache
41b6e546a9
Fix original patch error with ! before strncmp
...
Zap only needed LD_* variables
1995-10-20 22:17:35 +00:00
ache
fc7cf70714
Don't allow LD_* env. variables to be tricked
...
Submitted by: Sam Hartman <hartmans@mit.edu>
1995-10-20 17:26:40 +00:00
dg
325ff76acb
Fixed bug introduced with the change of startslave()...two arguments
...
were chopped off of the function call and garbage was passed instead.
The solution involves making some variable globals as well as fixing the
call to have all the arguments.
1995-09-11 20:54:49 +00:00
pst
23e70b4fb4
Move erase cleanup outside linemode conditional
1995-09-06 02:03:36 +00:00
pst
034fed8ead
Properly set the erase character for the login prompt.
...
Submitted by: John Capo <jc@irbs.com> & Peter Wemm
1995-09-05 17:38:31 +00:00
pst
a0333fe1f2
Delay starting login process until option negotiation is complete to
...
avoid race condition on connections with larger round-trip-times.
Submitted by: John Capo & Peter Wemm
1995-09-05 17:34:29 +00:00
ats
4b9f368dc9
Fix some typos in a comment BUAD -> BAUD.
1995-08-05 18:16:50 +00:00
paul
04e9bdb4d4
Change default banner fro 4.4 BSD to FreeBSD.
...
Reviewed by:
Submitted by:
Obtained from:
1995-08-02 12:07:31 +00:00
ache
62876afe8a
Use the same DECODE_BAUD trick like in new telnetd to obtain
...
termios speed.
Obtained from: Pre-Lite2 telnet
1995-08-02 11:20:05 +00:00
dg
b53406ef31
The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd code
...
causes some clients that do not support linemode to mis-interpret the return
key (i.e. double returns).
The fix is to only do the state check for binary options if linemode will
be used.
Closes PR#505.
Submitted by: Charles Henrich
1995-06-17 05:50:47 +00:00
rgrimes
1c444a9f7e
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
ache
7a51aec8bd
Fix bug:
...
When hostname len > 8, name replaced with dot notation when -u flag
not specified (default case).
Use _PATH_* for utmp/wtmp.
1995-04-26 22:33:15 +00:00