| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
|
| |
|
|
|
|
|
|
|
| |
the length of the array.
Noticed by: Christos Zoulas <christos@ZOULAS.COM>
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
| |
with telnetd. This should really be done with a positive filter - i.e.
only allow through a configured list of variables.
Also do some buffer-safety cleanups while I'm here - I don't think these
are exploitable.
|
|
|
|
| |
PR: docs/13218
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
|
| |
PR: 15925
Submitted by: Thierry Herbelot
|
| |
|
|
|
|
| |
the queue macros.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
|
| |
|
|
|
|
|
| |
Change pointer casts from int to long. The code that looks to index -1
of argv is still broken on alpha.
|
|
|
|
|
| |
PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>
|
|
|
|
|
| |
PR: part of 6492
Submitted by: Chip Norkus via Doug White <studded@san.rr.com>
|
|
|
|
|
|
| |
PR: 6365
Reviewed by: phk
Submitted by: Jason Garman <init@risen.org>
|
| |
|
|
|
|
|
| |
the diff is in an ifdef that isn't enabled for FreeBSD.
Obtained from: OpenBSD(?)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
As this is the non-crypto version, remove the useless (commented out)
directives and macros.
|
|
|
|
|
| |
PR: 4462
Submitted by: hfir@math.rochester.edu
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
| |
prompt macros to agree with getty(8).
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
(replacied it with a getopt stopper (--) instead, which is more correct).
Obtained from: OpenBSD
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
alternate login(1) type program to run.
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
| |
|
|
|
|
| |
Zap only needed LD_* variables
|
|
|
|
| |
Submitted by: Sam Hartman <hartmans@mit.edu>
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Submitted by: John Capo <jc@irbs.com> & Peter Wemm
|
|
|
|
|
|
| |
avoid race condition on connections with larger round-trip-times.
Submitted by: John Capo & Peter Wemm
|
| |
|
|
|
|
|
|
| |
Reviewed by:
Submitted by:
Obtained from:
|