aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-3/+3
| | | | Notes: svn path=/head/; revision=102411
* The .Nm utilityPhilippe Charnier2002-07-061-14/+20
| | | | Notes: svn path=/head/; revision=99500
* Don't risk catching a signal while handling a signal for a dying child, as weJuli Mallett2002-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 Notes: svn path=/head/; revision=97341
* Set WFORMAT=0, overlooked in previous commits to libexec/.Kris Kennaway2002-02-061-0/+1
| | | | | | | Reported by: jhay Notes: svn path=/head/; revision=90296
* Don't use non-signal-safe functions (exit(3) in this case) inSheldon Hearn2002-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 Notes: svn path=/head/; revision=90242
* MFCrypto: Remove -r, -s, sort -p.Ruslan Ermilov2001-12-141-25/+5
| | | | Notes: svn path=/head/; revision=87883
* Merge from master (crypto) telnet. WARNS fixes for alpha.Mark Murray2001-12-031-4/+4
| | | | Notes: svn path=/head/; revision=87268
* Merge the (in)complete ANSIfication work from src/crypto/telnet.Mark Murray2001-11-303-100/+92
| | | | Notes: svn path=/head/; revision=87156
* After running a "make unifdef", commit the resultant diffs.Mark Murray2001-11-308-1063/+324
| | | | | | | This code is now a complete sunset of the crypto (master) code. Notes: svn path=/head/; revision=87153
* Diff-reduce WRT src/secure/*telnet*/Makefile.Mark Murray2001-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. Notes: svn path=/head/; revision=87147
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.Mark Murray2001-08-297-885/+5
| | | | Notes: svn path=/head/; revision=82497
* Remove description of an option that only applies to UNICOS < 7.0.Dima Dorfman2001-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 Notes: svn path=/head/; revision=82326
* Feature merging and diff reduction between this code and crypto telnet.Mark Murray2001-08-2010-446/+278
| | | | | | | | Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario. Notes: svn path=/head/; revision=81963
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-141-3/+6
| | | | Notes: svn path=/head/; revision=81622
* MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()Kris Kennaway2001-07-236-43/+47
| | | | | | | to ensure deterministic operation Notes: svn path=/head/; revision=80225
* MFCrypto: fixed the remote buffer overflow.Ruslan Ermilov2001-07-206-310/+204
| | | | Notes: svn path=/head/; revision=80047
* Remove whitespace at EOL.Dima Dorfman2001-07-151-5/+5
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-1/+1
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* Fix the number of bytes allocated by realloc when more space is neededGuy Helmer2001-06-071-1/+1
| | | | | | | | | for the vector of arguments. MFC after: 1 week Notes: svn path=/head/; revision=77881
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.Ruslan Ermilov2001-03-281-1/+8
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=74928
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* Preceed/preceeding are not english words. Use precede or preceding.Jeroen Ruigrok van der Werven2001-02-181-1/+1
| | | | Notes: svn path=/head/; revision=72640
* Synch: Properly constify sccsid[].Jeroen Ruigrok van der Werven2001-02-071-2/+2
| | | | | | | Replace bcopy() with memmove(). Notes: svn path=/head/; revision=72143
* Synch: Prefer memmove() over bcopy().Jeroen Ruigrok van der Werven2001-02-071-1/+1
| | | | Notes: svn path=/head/; revision=72142
* Synch: Properly constify sccsid[].Jeroen Ruigrok van der Werven2001-02-071-1/+1
| | | | Notes: svn path=/head/; revision=72141
* Synch: prefer memmove() over bcopy(), since the first is a C-standardJeroen Ruigrok van der Werven2001-02-071-1/+1
| | | | | | | interface, whilst the latter is a BSD'ism. Notes: svn path=/head/; revision=72140
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | | | Seperate does not exist in the english language. Submitted to look at by: kris Notes: svn path=/head/; revision=72089
* Fix typo: wierd -> weird.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | There is no such thing as wierd in the english language. Notes: svn path=/head/; revision=72082
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-9/+9
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71099
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-201-1/+5
| | | | Notes: svn path=/head/; revision=70227
* (scrub_env): change to only accept a listed set of variables,Assar Westerlund2000-12-101-23/+37
| | | | | | | including only non-filename contents for TERMCAP Notes: svn path=/head/; revision=69825
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-092-10/+13
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.Kris Kennaway2000-11-261-1/+1
| | | | | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787 Notes: svn path=/head/; revision=69223
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68949
* Don't use sizeof() on a pointer when we really wanted to measureKris Kennaway2000-11-193-9/+4
| | | | | | | | | | the length of the array. Noticed by: Christos Zoulas <christos@ZOULAS.COM> Obtained from: OpenBSD Notes: svn path=/head/; revision=68890
* Filter out some more magic environment variables used by libraries linkedKris Kennaway2000-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. Notes: svn path=/head/; revision=68038
* Minor mdoc cleanup.Mike Pritchard2000-05-051-2/+2
| | | | | | | PR: docs/13218 Notes: svn path=/head/; revision=60015
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-253-34/+57
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* We do not support the -B option.Jeroen Ruigrok van der Werven2000-01-121-12/+1
| | | | | | | | PR: 15925 Submitted by: Thierry Herbelot Notes: svn path=/head/; revision=55858
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2811-11/+11
| | | | Notes: svn path=/head/; revision=50476
* Back out previous commit - it's not necessary now that tty.h properly includesJordan K. Hubbard1999-08-091-2/+1
| | | | | | | the queue macros. Notes: svn path=/head/; revision=49557
* Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)Brian Feldman1999-08-091-1/+2
| | | | Notes: svn path=/head/; revision=49554
* Determine the host name using an array size ofBrian Somers1999-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. Notes: svn path=/head/; revision=45492
* Really fix -u....Brian Somers1999-04-071-2/+6
| | | | Notes: svn path=/head/; revision=45423
* Ensure that things returned by gethostname() andBrian Somers1999-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 Notes: svn path=/head/; revision=45422
* Use realhostname() rather than various combinations ofBrian Somers1999-04-061-39/+8
| | | | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. Notes: svn path=/head/; revision=45393
* After receiving a connection and doing a reverseBrian Somers1999-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 Notes: svn path=/head/; revision=45353