Commit Graph

1777 Commits

Author SHA1 Message Date
nsayer
48dcf3a014 Since the root-on-insecure-tty code was added to telnetd, a dependency
on char *line was added to libtelnet. Put a dummy one in to keep the
linker happy.
2001-05-16 20:34:42 +00:00
nsayer
0fc596428b Make sure the protocol actively rejects bad data rather than
(potentially) not responding to an invalid SRA 'auth is' message.
2001-05-16 20:24:58 +00:00
nsayer
e3d767bac2 srandomdev() affords us the opportunity to radically improve, and at the
same time simplify, the random number selection code.
2001-05-16 18:32:46 +00:00
nsayer
1be2f5ba52 Catch any attempted buffer overflows. The magic numbers in this code
(512) are a little distressing, but the method really needs to be
extended to allow server-supplied DH parameters anyway.

Submitted by:	kris
2001-05-16 18:27:09 +00:00
nsayer
ce33146412 Catch malloc return failures. This should help avoid dereferencing NULL on
low-memory situations.

Submitted by:	kris
2001-05-16 18:17:55 +00:00
markm
ebb42ab29f Fix problem with static linking:
> Script started on Sat May 12 22:18:47 2001
> ttyp1:bde@gamplex:/usr/src/libexec/rshd> rsh localhost ls
> rcmd: localhost: Undefined error: 0

Reported by:	bde
2001-05-16 11:05:03 +00:00
peter
f9ccd29a6a Hack to work around braindeath in libtelnet:sra.c. The sra.o file
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. :-(
2001-05-15 09:52:03 +00:00
nsayer
1a11f3f940 If the uid of the attempted authentication is 0 and if the pty is
insecure, do not succeed. Copied from login.c. This functionality really
should be a PAM module.
2001-05-15 04:47:14 +00:00
obrien
0e1b00fffc Make it easy for people to use define DWARF2 exceptions unwinding.
If "WANT_DWARF2_UNWIND" you get it.  Note that this is a different C++ ABI
than the FreeBSD default.  So you will need to recompile all your C++ apps
that uses exceptions if you turn this on.  I am adding it here for Yahoo!'s
use and for those that want to be early adopters to what I will make as the
default with the GCC 3.0 import.
2001-05-14 22:45:26 +00:00
obrien
d93226a983 Choose the right LIB_SPEC for threads based on "__FreeBSD_version".
This allows someone with an older -current to update their compiler [only].

Inspired by:	Loren James Rittle <rittle@rsch.comm.mot.com>
2001-05-12 04:57:49 +00:00
markm
18e0eead3e Add utility PAMs for finer userland control 2001-05-11 10:12:55 +00:00
nsayer
432133a6fe Pointy hat fix -- reapply the SRA PAM patch. To -current this time. 2001-05-07 20:42:02 +00:00
markm
c33af5f512 Resolve conflicts. 2001-05-03 10:48:56 +00:00
markm
9f524a8aad This commit was generated by cvs2svn to compensate for changes in r76238,
which included commits to RCS files with non-trunk default branches.
2001-05-03 09:36:08 +00:00
markm
ca4190e984 Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
obrien
cbc0c2a1b5 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-03 01:49:58 +00:00
markm
59762a938c Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:02:06 +00:00
ru
3b0f266b3d Fix usage of GROFF_BIN_PATH. 2001-04-26 12:29:12 +00:00
obrien
827daccb1a Update for file 3.35. 2001-04-25 07:42:15 +00:00
obrien
2d87b5be2a This commit was generated by cvs2svn to compensate for changes in r75937,
which included commits to RCS files with non-trunk default branches.
2001-04-25 07:41:21 +00:00
obrien
cb27828e12 Virgin import of Christos Zoulas's FILE 3.35. 2001-04-25 07:41:21 +00:00
ache
d33c1d81d4 Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
ru
1db489053b mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
c80610ca4b Update upgrade instructions. 2001-04-17 14:31:56 +00:00
ru
2e65fc5399 FreeBSD provides its own version of this OS-specific file. 2001-04-17 13:32:10 +00:00
ru
a491308c3f Removed yacc(1) output files. 2001-04-17 12:29:43 +00:00
ru
42a4f66a2f Merge Groff 1.17 changes. 2001-04-17 12:28:31 +00:00
ru
a3264b21bf Use stock (FSF) version of this file. 2001-04-17 12:28:00 +00:00
ru
3652c6492a This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:23:50 +00:00
ru
0d7dbe100f Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
ru
b18e7e5615 This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:12:05 +00:00
ru
0e0a0e6429 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00
sobomax
b00f258942 Update/improve Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
2001-04-17 11:00:58 +00:00
obrien
b774e8df1d Remove the filename_completion_function() extern that conflicts with the
latest version of this fuction in Readline 4.2
2001-04-14 01:49:32 +00:00
ru
36beb8b59e mdoc(7) police: removed hard sentence breaks introduced in rev.1.10. 2001-04-13 08:49:52 +00:00
ache
384c6d0f43 Activate backward-compatible prototypes 2001-04-12 17:18:46 +00:00
obrien
43628d251e The internal declaration for tilde_expand() now conflicts with the one
that was finally added to the readline headers in readline 4.2.

Submitted by:	ache
2001-04-11 16:15:19 +00:00
ache
d038ccf60a Remove conflicting readline prototype 2001-04-11 04:07:38 +00:00
ache
04c84fc747 Merge local changes 2001-04-11 03:15:56 +00:00
ache
67d6599272 This commit was generated by cvs2svn to compensate for changes in r75406,
which included commits to RCS files with non-trunk default branches.
2001-04-11 02:33:07 +00:00
ache
c535ced6e7 v4.2 initial import 2001-04-11 02:33:07 +00:00
obrien
5146009448 Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
obrien
fc02d8bdf7 Removed these old 2.9.x files. 2001-04-10 23:53:32 +00:00
ru
cc8cdcc254 psroff(1) has never been a part of Groff. 2001-04-10 17:04:31 +00:00
ru
c4d6d7dd95 Merge in latest CSRG revisions:
- .Fn and .Fc now print a final semicolon (`;') after a
  function declaration in the SYNOPSIS
- .%I implemented
- .At outputs ``AT&T UNIX'' if called without arguments
- minor cleanup

Obtained from:	CSRG archives
2001-04-09 13:02:20 +00:00
nsayer
51675c2712 Clean up telnet's argument processing a bit. autologin and encryption is
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).
2001-04-06 15:56:10 +00:00
jedgar
85dc4720bc Do not log every potential exploit attempt since a denial-of-service
may result.
2001-04-06 14:34:15 +00:00
jedgar
ae7fd63ac1 - Correct off-by-one error and buffer underflow from previous fix
- int -> unsigned char fixes

Submitted by:	ache, dillon, Mark Andrews, et.al. (on -security)
2001-04-06 14:15:38 +00:00
nsayer
7f0bcdb794 Reactivate SRA.
Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode().
This allows people to break out of SRA authentication if they wish to.
2001-04-05 14:09:15 +00:00
ru
3d3e82c3c5 Record -lposix1e death. 2001-04-05 07:59:19 +00:00