summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.kris2000-11-261-1/+1
| | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Don't use sizeof() on a pointer when we really wanted to measurekris2000-11-193-9/+4
| | | | | | | the length of the array. Noticed by: Christos Zoulas <christos@ZOULAS.COM> Obtained from: OpenBSD
* Filter out some more magic environment variables used by libraries linkedkris2000-10-313-4/+11
| | | | | | | | 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.
* Minor mdoc cleanup.mpp2000-05-051-2/+2
| | | | PR: docs/13218
* several tcp apps IPv6 updateshin2000-01-253-34/+57
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* We do not support the -B option.asmodai2000-01-121-12/+1
| | | | | PR: 15925 Submitted by: Thierry Herbelot
* $Id$ -> $FreeBSD$peter1999-08-2811-11/+11
|
* Back out previous commit - it's not necessary now that tty.h properly includesjkh1999-08-091-2/+1
| | | | the queue macros.
* Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)green1999-08-091-1/+2
|
* Determine the host name using an array size ofbrian1999-04-081-2/+3
| | | | | | | | | MAXHOSTNAMELEN and call trimdomain() before implementing the -u option. This allows local hosts of a lan with a long domain name to appear properly in utmp by base host name (w/o domain) rather than by IP number.
* Really fix -u....brian1999-04-071-2/+6
|
* Ensure that things returned by gethostname() andbrian1999-04-072-7/+12
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Use realhostname() rather than various combinations ofbrian1999-04-061-39/+8
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* After receiving a connection and doing a reversebrian1999-04-061-2/+18
| | | | | | | | | | lookup on the incoming IP, do a forward lookup on the result and make sure that the IP is in the resulting list. If it's not, put the IP number in utmp/wtmp instead of the rogue name. Stolen from: rlogind Suggested by: sef
* Old stuff laying around: Don't use a function called getstr(), that haspeter1998-12-161-6/+6
| | | | | nasty consequences when the system curses is ncurses as this conflicts with a ncurses funciton and causes recursion.
* Sort cross references.wosch1998-08-311-2/+2
|
* Remove a bogus prototype for time() and let time.h do that.jb1998-05-141-6/+5
| | | | | Change pointer casts from int to long. The code that looks to index -1 of argv is still broken on alpha.
OpenPOWER on IntegriCloud