| 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
|
| |
|
|
|
|
|
|
|
|
|
| |
of conflicting with other, similarly named functions in static
libraries. This is done mostly by renaming the var if it is shared
amongst modules, or making it static otherwise.
OK'ed by: re(scottl)
Notes:
svn path=/head/; revision=114911
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114630
|
| |
|
|
|
|
|
|
|
| |
(Credential forwarding is still broken.)
PR: bin/45397
Notes:
svn path=/head/; revision=111946
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When libdes was replaced with OpenSSL's libcrypto, there were a few
interfaces that the former implemented but the latter did not. Because
some software in the base system still depended upon these interfaces,
we simply included them in our libcrypto (rnd_keys.c).
Now, finally get around to removing the dependencies on these
interfaces. There were basically two cases:
des_new_random_key -- This is just a wrapper for des_random_key, and
these calls were replaced.
des_init_random_number_generator et. al. -- A few functions were used
by the application to seed libdes's PRNG. These are not necessary
when using libcrypto, as OpenSSL internally seeds the PRNG from
/dev/random. These calls were simply removed.
Again, some of the Kerberos 4 files have been taken off the vendor
branch. I do not expect there to be future imports of KTH Kerberos 4.
Notes:
svn path=/head/; revision=110049
|
| |
|
|
|
|
|
| |
Reviewed by: ps
Notes:
svn path=/head/; revision=109466
|
| |
|
|
|
|
|
|
| |
Submitted by: markm
Approved by: bmah
Notes:
svn path=/head/; revision=107299
|
| |
|
|
|
|
|
|
|
|
|
| |
reason to restrict this to a numeric address.
PR: 41841
Submitted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>,
Maxim Maximov <mcsi@agava.com>
Notes:
svn path=/head/; revision=104331
|
| |
|
|
|
|
|
| |
s/FALL THROUGH/FALLTHROUGH/ for lint(1).
Notes:
svn path=/head/; revision=103956
|
| |
|
|
|
|
|
|
| |
s/FALL THROUGH/FALLTHROUGH/ for lint(1).
s/Usage/usage/ for consistency.
Notes:
svn path=/head/; revision=103955
|
| |
|
|
|
|
|
|
|
|
|
| |
"Could you do me a favor and fix sys_bsd.c to get the howmany() macro
from <sys/param.h>, instead of <sys/types.h>? This will save me from
having to worry about the unsync'd bits before making the change."
Requested by: mike
Notes:
svn path=/head/; revision=103954
|
| |
|
|
|
|
|
|
|
|
|
| |
0 might simply be part of the ciphertext.
PR: bin/40266
Submitted by: andr@dgap.mipt.ru
MFC after: 3 days
Notes:
svn path=/head/; revision=102250
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98884
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98882
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)
Notes:
svn path=/head/; revision=96385
|
| |
|
|
|
|
|
|
| |
MFC after: 1 week
PR: 37766
Notes:
svn path=/head/; revision=96108
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90931
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=87882
|
| |
|
|
|
|
|
|
|
|
|
| |
this case 16). Use dynamic FD_SETs and calculated high-water marks
throughout. There are also too many versions of telnet in the tree.
Obtained from: OpenBSD and Apple's Radar database
MFC after: 2 days
Notes:
svn path=/head/; revision=87558
|
| |
|
|
|
|
|
| |
Removed -s from SYNOPSIS and restored -S in DESCRIPTION.
Notes:
svn path=/head/; revision=87358
|
| |
|
|
|
|
|
|
|
|
|
| |
case with an ifdef INET6.
This make the fixit floppy compile again.
Reviewed by: markm
Notes:
svn path=/head/; revision=87277
|
| |
|
|
|
|
|
| |
feels like rewriting it will meet no objection from me.
Notes:
svn path=/head/; revision=87267
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87266
|
| |
|
|
|
|
|
| |
fixes that.
Notes:
svn path=/head/; revision=87155
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) ANSIfy.
2) Clean up ifdefs so that
a) ones that never/always apply are appropriately either
fully removed, or just the #if junk is removed.
b) change #if defined(FOO) for appropiate values of FOO.
(currently AUTHENTICATION and ENCRYPTION)
3) WARNS=2 fixing
4) GC other unused stuff
This code can now be unifdef(1)ed to make non-crypto telnet.
Notes:
svn path=/head/; revision=87139
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85703
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is by the kind permission of Dave Safford, formerly of TAMU who wrote the
original code. Here is an excerpt of the e-mail exchange concerning this
issue:
Dave Safford wrote:
>Nick Sayer wrote:
>> Some time ago we spoke about SRA and importing it into FreeBSD. I forgot to
>> ask if you had a prefered license boilerplate for the top of the files. It
>> has come up recently, and the SRA code in FreeBSD doesn't have one.
>I really have no preference - use whatever is most convenient in the
>FreeBSD environment.
>dave safford
This is the standard BSD license with clause 3 removed and clause 4
suitably renumbered.
MFC after: 1 day
Notes:
svn path=/head/; revision=85690
|
| |
|
|
|
|
|
|
|
|
| |
Really, one of them needs to disappear. I'll figure out which
later.
Reported by: bde
Notes:
svn path=/head/; revision=85600
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84305
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82497
|
| |
|
|
|
|
|
|
|
|
| |
That define may still be present in the source, but I don't think
anyone has plans to try to use it.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=82326
|
| |
|
|
|
|
|
|
| |
telnet, so it was treated as the reference code, except where later
commits were made to "base" telnet.
Notes:
svn path=/head/; revision=81965
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Because of export controls, TELNET ENCRYPT option is not supported outside
of the United States and Canada.
o Because of export controls, data encryption
is not supported outside of the United States and Canada.
src/crypto/README revision 1.5 commit log says:
> Crypto sources are no longer export controlled:
> Explain, why crypto sources are still in crypto/.
and actually telnet encryption is used outside of US and Canada now.
Pointed out by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
Reviewed by: no objection on doc
Notes:
svn path=/head/; revision=81665
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81622
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded). Change the
semantics so that these functions ensure they complete the operation before
returning.
Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.
Patch developed with assistance from ru and assar.
Notes:
svn path=/head/; revision=80224
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Fixed `nfrontp' calculations in output_data(). If `remaining' is
initially zero, it was possible for `nfrontp' to be decremented.
Noticed by: dillon
o Replaced leaking writenet() with output_datalen():
: * writenet
: *
: * Just a handy little function to write a bit of raw data to the net.
: * It will force a transmit of the buffer if necessary
: *
: * arguments
: * ptr - A pointer to a character string to write
: * len - How many bytes to write
: */
: void
: writenet(ptr, len)
: register unsigned char *ptr;
: register int len;
: {
: /* flush buffer if no room for new data) */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: if ((&netobuf[BUFSIZ] - nfrontp) < len) {
: /* if this fails, don't worry, buffer is a little big */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: netflush();
: }
:
: memmove(nfrontp, ptr, len);
: nfrontp += len;
:
: } /* end of writenet */
What an irony! :-)
o Optimized output_datalen() a bit.
Notes:
svn path=/head/; revision=80038
|
| |
|
|
|
|
|
|
| |
Submitted by: assar
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=79992
|
| |
|
|
|
|
|
|
|
| |
Reported on: bugtraq
Obtained from: Heimdal, NetBSD
Reviewed by: obrien, imp
Notes:
svn path=/head/; revision=79981
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79528
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79324
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79323
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77105
|
| |
|
|
|
|
|
|
|
|
|
|
| |
non-crypto version)
Also update the crypto telnet's man page to reflect other options
ported from the non-crypto version.
Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Notes:
svn path=/head/; revision=77095
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76751
|
| |
|
|
|
|
|
|
| |
happened, this is why we have commit mail expressly delivered to
committers.
Notes:
svn path=/head/; revision=76712
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76711
|
| |
|
|
|
|
|
|
| |
on char *line was added to libtelnet. Put a dummy one in to keep the
linker happy.
Notes:
svn path=/head/; revision=76697
|
| |
|
|
|
|
|
| |
(potentially) not responding to an invalid SRA 'auth is' message.
Notes:
svn path=/head/; revision=76696
|