| 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
can then end up not properly clearing wtmp/utmp entries.
PR: bin/37934
Submitted by: Sandeep Kumar <skumar@juniper.net>
Reviewed by: markm
MFC after: 2 weeks
Notes:
svn path=/head/; revision=97341
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
signal handlers. In this case, use _exit(2) instead, following
the call to shutdown(2).
This fixes rare telnetd hangs.
PR: misc/33672
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
MFC after: 1 month
Notes:
svn path=/head/; revision=90242
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87268
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
Notes:
svn path=/head/; revision=79452
|
| |
|
|
|
|
|
|
|
| |
for the vector of arguments.
MFC after: 1 week
Notes:
svn path=/head/; revision=77881
|
| |
|
|
|
|
|
| |
Replace bcopy() with memmove().
Notes:
svn path=/head/; revision=72143
|
| |
|
|
|
|
|
| |
including only non-filename contents for TERMCAP
Notes:
svn path=/head/; revision=69825
|
| |
|
|
|
|
|
| |
Use _PATH_* where where possible.
Notes:
svn path=/head/; revision=69793
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
| |
the queue macros.
Notes:
svn path=/head/; revision=49557
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49554
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Change pointer casts from int to long. The code that looks to index -1
of argv is still broken on alpha.
Notes:
svn path=/head/; revision=36030
|
| |
|
|
|
|
|
|
| |
the diff is in an ifdef that isn't enabled for FreeBSD.
Obtained from: OpenBSD(?)
Notes:
svn path=/head/; revision=31975
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31511
|
| |
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11767
|
| |
|
|
|
|
|
| |
Zap only needed LD_* variables
Notes:
svn path=/head/; revision=11597
|
| |
|
|
|
|
|
| |
Submitted by: Sam Hartman <hartmans@mit.edu>
Notes:
svn path=/head/; revision=11591
|
| |
|
|
| |
Notes:
svn path=/head/; revision=10571
|
| |
|
|
|
|
|
| |
Submitted by: John Capo <jc@irbs.com> & Peter Wemm
Notes:
svn path=/head/; revision=10561
|
| |
|
|
| |
Notes:
svn path=/head/; revision=9931
|
| |
|
|
|
|
|
|
| |
termios speed.
Obtained from: Pre-Lite2 telnet
Notes:
svn path=/head/; revision=9857
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8870
|
| |
|
|
|
|
|
|
|
| |
When hostname len > 8, name replaced with dot notation when -u flag
not specified (default case).
Use _PATH_* for utmp/wtmp.
Notes:
svn path=/head/; revision=8093
|
| |
|
|
|
|
|
| |
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
Notes:
svn path=/head/; revision=6264
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed security problem with telnetd, which allowed
telnet -l -hcert.org localhost
to change the user's host in utmp.
Thanks to Matthew Green <mrgreen@@mame.mu.oz.au> for showing me this one.
Reviewed by: karl, guido
Submitted by: mrgreen@@mame.mu.oz.au
Notes:
svn path=/head/; revision=2077
|
|
|
Notes:
svn path=/vendor/CSRG/dist/; revision=1592
|