summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
* Convert telnetd(8) to use posix_openpt(2).ed2008-11-131-1/+2
| | | | | | | | | | | | | | | | | | Some time ago I got some reports MPSAFE TTY broke telnetd(8). Even though it turned out to be a different problem within the TTY code, I spotted a small issue with telnetd(8). Instead of allocating PTY's using openpty(3) or posix_openpt(2), it used its own PTY allocation routine. This means that telnetd(8) still uses /dev/ptyXX-style devices. I've also increased the size of line[]. Even though 16 should be enough, we already use 13 bytes ("/dev/pts/999", including '\0'). 32 bytes gives us a little more freedom. Also enable -DSTREAMSPTY. Otherwise telnetd(8) strips the PTY's pathname to the latest slash instead of just removing "/dev/" (e.g. /dev/pts/0 -> 0, instead of pts/0). Reviewed by: rink
* Fix conflicts after heimdal-1.1 import and add build infrastructure. Importdfr2008-05-071-2/+2
| | | | all non-style changes made by heimdal to our own libgssapi.
* inetd and telnetd are not included in the standard releaseyar2006-07-311-0/+3
| | | | | | | crunched floppies, but they can be included as options in src/release/picobsd (omitted by default though.) Therefore preserve the RELEASE_CRUNCH knob in their Makefiles, but tell its real purpose in a comment.
* Stop enforcing dependencies between MK_* options at Makefile level.yar2006-07-311-1/+2
| | | | All the dependencies are satisfied now in <bsd.own.mk>.
* telnetd(8) doesn't really go to the crunched floppies,yar2006-07-311-2/+0
| | | | | | so its Makefile needn't test for RELEASE_CRUNCH. Suggested by: ru
* Respect MK_INET6_SUPPORT.yar2006-07-271-4/+8
| | | | Apply style.Makefile(5).
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-2/+4
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Remove kludges intended to support src trees with partial obj trees.des2005-06-101-4/+0
| | | | Discussed with: ru
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Make sure that a "make release" (more accurately the bit that makesmarkm2003-07-241-0/+2
| | | | | 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.
* Ensure that for the cryptographic instances of *telnet*, the "crypto"markm2003-07-241-0/+1
| | | | distribution is used. This only affects release-building.
* Test correct macro for "without crypto" option(s).markm2003-07-201-1/+1
|
* Very big makeover in the way telnet, telnetd and libtelnet are built.markm2003-07-1613-7038/+15
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofmarkm2003-05-117-29/+29
| | | | $FreeBSD$ tags and some debug variable safety belts.
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-3/+3
|
* The .Nm utilitycharnier2002-07-061-14/+20
|
* Don't risk catching a signal while handling a signal for a dying child, as wejmallett2002-05-271-0/+8
| | | | | | | | | 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
* Set WFORMAT=0, overlooked in previous commits to libexec/.kris2002-02-061-0/+1
| | | | Reported by: jhay
* Don't use non-signal-safe functions (exit(3) in this case) insheldonh2002-02-051-1/+1
| | | | | | | | | | | 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
* MFCrypto: Remove -r, -s, sort -p.ru2001-12-141-25/+5
|
* Merge from master (crypto) telnet. WARNS fixes for alpha.markm2001-12-031-4/+4
|
* Merge the (in)complete ANSIfication work from src/crypto/telnet.markm2001-11-303-101/+93
|
* After running a "make unifdef", commit the resultant diffs.markm2001-11-308-1063/+324
| | | | This code is now a complete sunset of the crypto (master) code.
* Diff-reduce WRT src/secure/*telnet*/Makefile.markm2001-11-301-2/+13
| | | | | Also, add an "unifdef:" target, so that the telnet sources can be remade from the crypto sources in src/crypto/telnet.
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.markm2001-08-297-885/+5
|
* Remove description of an option that only applies to UNICOS < 7.0.dd2001-08-251-13/+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
* Feature merging and diff reduction between this code and crypto telnet.markm2001-08-2010-447/+279
| | | | | Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario.
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-3/+6
|
* MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()kris2001-07-236-43/+47
| | | | to ensure deterministic operation
* MFCrypto: fixed the remote buffer overflow.ru2001-07-206-310/+204
|
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Fix the number of bytes allocated by realloc when more space is neededghelmer2001-06-071-1/+1
| | | | | | for the vector of arguments. MFC after: 1 week
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.ru2001-03-281-1/+8
| | | | Approved by: markm
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-201-1/+0
|
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-1/+1
|
* Synch: Properly constify sccsid[].asmodai2001-02-071-2/+2
| | | | Replace bcopy() with memmove().
* Synch: Prefer memmove() over bcopy().asmodai2001-02-071-1/+1
|
* Synch: Properly constify sccsid[].asmodai2001-02-071-1/+1
|
* Synch: prefer memmove() over bcopy(), since the first is a C-standardasmodai2001-02-071-1/+1
| | | | interface, whilst the latter is a BSD'ism.
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* Fix typo: wierd -> weird.asmodai2001-02-061-1/+1
| | | | There is no such thing as wierd in the english language.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-9/+9
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-201-1/+5
|
* (scrub_env): change to only accept a listed set of variables,assar2000-12-101-23/+37
| | | | including only non-filename contents for TERMCAP
* Add `_PATH_DEVZERO'.obrien2000-12-092-10/+13
| | | | Use _PATH_* where where possible.
OpenPOWER on IntegriCloud