markm
c62efd08ea
Make sure that a "make release" (more accurately the bit that makes
...
the crunched binary) get a non-cryptographic telnet. This is overkill
in that it covers stuff that is not normally used in a crunched binary.
2003-07-24 17:19:15 +00:00
markm
74ab377728
Ensure that for the cryptographic instances of *telnet*, the "crypto"
...
distribution is used. This only affects release-building.
2003-07-24 07:19:55 +00:00
markm
020ca0be81
Test correct macro for "without crypto" option(s).
2003-07-20 23:29:46 +00:00
markm
ccc6829966
Very big makeover in the way telnet, telnetd and libtelnet are built.
...
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.
2003-07-16 20:59:15 +00:00
markm
e52487c22c
Mrege from crypto telnet with "make unifdef". This gets a bunch of
...
$FreeBSD$ tags and some debug variable safety belts.
2003-05-11 18:27:49 +00:00
charnier
06afb62b3c
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +00:00
charnier
bb97d03ce3
The .Nm utility
2002-07-06 19:19:48 +00:00
jmallett
0ae5e541d1
Don't risk catching a signal while handling a signal for a dying child, as we
...
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
2002-05-27 08:10:24 +00:00
kris
b10750efb7
Set WFORMAT=0, overlooked in previous commits to libexec/.
...
Reported by: jhay
2002-02-06 11:07:55 +00:00
sheldonh
5a3e2bb85f
Don't use non-signal-safe functions (exit(3) in this case) in
...
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
2002-02-05 15:20:02 +00:00
ru
3b0112239c
MFCrypto: Remove -r, -s, sort -p.
2001-12-14 14:46:51 +00:00
markm
5f225bc0fb
Merge from master (crypto) telnet. WARNS fixes for alpha.
2001-12-03 12:41:19 +00:00
markm
d5aa2ddbb6
Merge the (in)complete ANSIfication work from src/crypto/telnet.
2001-11-30 22:37:28 +00:00
markm
5066ce7ed8
After running a "make unifdef", commit the resultant diffs.
...
This code is now a complete sunset of the crypto (master) code.
2001-11-30 22:03:20 +00:00
markm
97699e4b25
Diff-reduce WRT src/secure/*telnet*/Makefile.
...
Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.
2001-11-30 21:34:51 +00:00
markm
a0aea2d2dc
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
2001-08-29 14:16:17 +00:00
dd
8dcc7b8be3
Remove description of an option that only applies to UNICOS < 7.0.
...
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
2001-08-25 21:29:12 +00:00
markm
a248a52b01
Feature merging and diff reduction between this code and crypto telnet.
...
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.
2001-08-20 12:12:27 +00:00
ru
173222b339
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
kris
0433acd2b1
MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
...
to ensure deterministic operation
2001-07-23 22:00:51 +00:00
ru
3f04c5e5c6
MFCrypto: fixed the remote buffer overflow.
2001-07-20 15:14:03 +00:00
dd
c49a4e6620
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
4bbf421d15
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:49:54 +00:00
brian
34ad3e29c4
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
ghelmer
e1e754c0ab
Fix the number of bytes allocated by realloc when more space is needed
...
for the vector of arguments.
MFC after: 1 week
2001-06-07 20:05:18 +00:00
ru
1d750dc650
Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
...
Approved by: markm
2001-03-28 12:08:22 +00:00
ru
1ef340bf02
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
0b5a623dc6
Set the default manual section for libexec/ to 8.
2001-03-20 18:10:13 +00:00
asmodai
a667ae6c5c
Preceed/preceeding are not english words. Use precede or preceding.
2001-02-18 10:25:42 +00:00
asmodai
300dd72aa7
Synch: Properly constify sccsid[].
...
Replace bcopy() with memmove().
2001-02-07 22:25:56 +00:00
asmodai
32d450ec3d
Synch: Prefer memmove() over bcopy().
2001-02-07 22:22:57 +00:00
asmodai
16b87948d0
Synch: Properly constify sccsid[].
2001-02-07 22:20:44 +00:00
asmodai
4891b68c39
Synch: prefer memmove() over bcopy(), since the first is a C-standard
...
interface, whilst the latter is a BSD'ism.
2001-02-07 22:18:58 +00:00
asmodai
db24d83a1c
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Submitted to look at by: kris
2001-02-06 10:39:38 +00:00
asmodai
2023a68909
Fix typo: wierd -> weird.
...
There is no such thing as wierd in the english language.
2001-02-06 09:25:10 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
2ca7f0f2db
Prepare for mdoc(7)NG.
2001-01-16 09:15:57 +00:00
ru
372556ed3b
Prepare for mdoc(7)NG.
2000-12-20 13:26:01 +00:00
assar
36a2de7dc2
(scrub_env): change to only accept a listed set of variables,
...
including only non-filename contents for TERMCAP
2000-12-10 20:50:20 +00:00
obrien
46d04a9db4
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
kris
9ed2dafdd6
Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
...
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
2000-11-26 21:37:51 +00:00
ru
d13355bd1f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:42:24 +00:00
kris
5caaca75ca
Don't use sizeof() on a pointer when we really wanted to measure
...
the length of the array.
Noticed by: Christos Zoulas <christos@ZOULAS.COM>
Obtained from: OpenBSD
2000-11-19 10:01:27 +00:00
kris
2d8da34358
Filter out some more magic environment variables used by libraries linked
...
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.
2000-10-31 05:29:54 +00:00
mpp
b23853ea23
Minor mdoc cleanup.
...
PR: docs/13218
2000-05-05 02:21:45 +00:00
shin
7c069c8355
several tcp apps IPv6 update
...
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
asmodai
dd4a1875d3
We do not support the -B option.
...
PR: 15925
Submitted by: Thierry Herbelot
2000-01-12 14:49:38 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
jkh
e04a075bf4
Back out previous commit - it's not necessary now that tty.h properly includes
...
the queue macros.
1999-08-09 07:51:03 +00:00
green
8be258942d
Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)
1999-08-09 02:19:38 +00:00