| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".
As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).
Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.
Notes:
svn path=/head/; revision=117675
|
| |
|
|
|
|
|
| |
$FreeBSD$ tags and some debug variable safety belts.
Notes:
svn path=/head/; revision=114912
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87156
|
| |
|
|
|
|
|
| |
This code is now a complete sunset of the crypto (master) code.
Notes:
svn path=/head/; revision=87153
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82497
|
| |
|
|
|
|
|
|
| |
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.
Notes:
svn path=/head/; revision=81963
|
| |
|
|
|
|
|
| |
to ensure deterministic operation
Notes:
svn path=/head/; revision=80225
|
| |
|
|
| |
Notes:
svn path=/head/; revision=80047
|
| |
|
|
|
|
|
| |
There is no such thing as wierd in the english language.
Notes:
svn path=/head/; revision=72082
|
| |
|
|
|
|
|
| |
Use _PATH_* where where possible.
Notes:
svn path=/head/; revision=69793
|
| |
|
|
|
|
|
|
| |
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
Notes:
svn path=/head/; revision=69223
|
| |
|
|
|
|
|
|
|
|
| |
the length of the array.
Noticed by: Christos Zoulas <christos@ZOULAS.COM>
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=68890
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=68038
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
Notes:
svn path=/head/; revision=56590
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=45492
|
| |
|
|
| |
Notes:
svn path=/head/; revision=45423
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
Notes:
svn path=/head/; revision=45393
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=45353
|
| |
|
|
|
|
|
|
| |
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
Notes:
svn path=/head/; revision=41857
|
| |
|
|
|
|
|
|
|
| |
PR: 6365
Reviewed by: phk
Submitted by: Jason Garman <init@risen.org>
Notes:
svn path=/head/; revision=35460
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31511
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=30211
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24349
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22989
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
|
|
| |
(replacied it with a getopt stopper (--) instead, which is more correct).
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=21403
|
| |
|
|
| |
Notes:
svn path=/head/; revision=18471
|
| |
|
|
|
|
|
| |
alternate login(1) type program to run.
Notes:
svn path=/head/; revision=17568
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=10678
|
| |
|
|
|
|
|
|
|
| |
avoid race condition on connections with larger round-trip-times.
Submitted by: John Capo & Peter Wemm
Notes:
svn path=/head/; revision=10560
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8870
|
| |
|
|
|
|
|
|
| |
Only crypt.c in libc remains.
Reviewed by: Geoff Rehmet
Notes:
svn path=/head/; revision=2054
|
|
|
Notes:
svn path=/vendor/CSRG/dist/; revision=1592
|