| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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
|
|
|
|
|
|
|
| |
same time simplify, the random number selection code.
Notes:
svn path=/head/; revision=76691
|
|
|
|
|
|
|
|
|
|
| |
(512) are a little distressing, but the method really needs to be
extended to allow server-supplied DH parameters anyway.
Submitted by: kris
Notes:
svn path=/head/; revision=76690
|
|
|
|
|
|
|
|
|
| |
low-memory situations.
Submitted by: kris
Notes:
svn path=/head/; revision=76689
|
|
|
|
|
|
|
|
|
|
| |
references global variables from telnetd, but is also linked into
telnet as well. I was tempted to back out the last sra.c change
as it is 100% bogus and should be taken out and shot, but for now
this bandaid should get world working again. :-(
Notes:
svn path=/head/; revision=76616
|
|
|
|
|
|
|
|
| |
insecure, do not succeed. Copied from login.c. This functionality really
should be a PAM module.
Notes:
svn path=/head/; revision=76610
|
|
|
|
| |
Notes:
svn path=/head/; revision=76339
|
|
|
|
| |
Notes:
svn path=/head/; revision=75465
|
|
|
|
|
|
|
|
|
|
| |
now the default, so ignore the arguments that turn it on. Add a new -y
argument to turn off encryption in case someone wants to do that. Sync
these changes with the man page (including removing the now obsolete
statement about availability only in the US and Canada).
Notes:
svn path=/head/; revision=75263
|
|
|
|
|
|
|
|
| |
Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode().
This allows people to break out of SRA authentication if they wish to.
Notes:
svn path=/head/; revision=75236
|
|
|
|
|
|
|
|
| |
I just mistakenly commited this to RELENG_4. I have contacted Jordan to see
about how to fix this. Pass the pointy hat.
Notes:
svn path=/head/; revision=74411
|
|
|
|
| |
Notes:
svn path=/head/; revision=74138
|
|
|
|
| |
Notes:
svn path=/head/; revision=72139
|
|
|
|
|
|
|
| |
Compatability is not an existing english word.
Notes:
svn path=/head/; revision=72093
|
|
|
|
|
|
|
|
|
| |
Seperate does not exist in the english language.
Submitted to look at by: kris
Notes:
svn path=/head/; revision=72089
|
|
|
|
|
|
|
| |
There is no such thing as wierd in the english language.
Notes:
svn path=/head/; revision=72083
|
|
|
|
| |
Notes:
svn path=/head/; revision=71899
|
|
|
|
| |
Notes:
svn path=/head/; revision=70890
|
|
|
|
|
|
|
| |
including only non-filename contents for TERMCAP
Notes:
svn path=/head/; revision=69825
|
|
|
|
|
|
|
| |
Synched from normal telnet.
Notes:
svn path=/head/; revision=69389
|
|
|
|
| |
Notes:
svn path=/head/; revision=69387
|
|
|
|
| |
Notes:
svn path=/head/; revision=69384
|
|
|
|
|
|
|
|
| |
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
Notes:
svn path=/head/; revision=69223
|
|
|
|
| |
Notes:
svn path=/head/; revision=68965
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=68891
|
|
|
|
| |
Notes:
svn path=/head/; revision=68575
|
|
|
|
| |
Notes:
svn path=/head/; revision=67827
|
|
|
|
|
|
|
|
| |
PR: bin/20053
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Notes:
svn path=/head/; revision=63662
|
|
|
|
| |
Notes:
svn path=/head/; revision=63248
|
|
|
|
|
|
|
| |
PR# 19835
Notes:
svn path=/head/; revision=62958
|
|
|
|
| |
Notes:
svn path=/head/; revision=62868
|
|
|
|
|
|
|
| |
change (getaddrinfo.c rev 1.12).
Notes:
svn path=/head/; revision=62805
|
|
|
|
| |
Notes:
svn path=/head/; revision=62773
|
|
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/head/; revision=57724
|
|
|
|
| |
Notes:
svn path=/head/; revision=57442
|
|
|
|
| |
Notes:
svn path=/head/; revision=57414
|