OpenBSD CVS

CVS log for src/usr.bin/telnet/externs.h


[BACK] Up to [local] / src / usr.bin / telnet

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 7 09:14:26 2017 UTC (6 years, 10 months ago) by fcambus
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.30: +10 -50 lines
Diff to previous 1.30 (colored)

Remove unnecessary #ifdefs in telnet. No binary change.

OK deraadt@, tedu@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 24 05:06:24 2015 UTC (8 years, 5 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Don't support repeated connections - avoids pledge problems
ok deraadt@, "god please commit before I see any more" tedu@

Revision 1.29 / (download) - annotate - [select for diffs], Tue Sep 9 03:41:08 2014 UTC (9 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.28: +9 -16 lines
Diff to previous 1.28 (colored)

Eliminate a pile of casts that were superfluous or wrong, or that were
the result of bad type choices, particularly (unsigned char *) vs
(const char *).  Also, use reallocarray().

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 22 07:30:24 2014 UTC (9 years, 10 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

use ansi style function declarations
with suggestions from and ok guenther@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 20 12:08:55 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

Eliminate silly call() routine that fakes up internal calls as if
the user typed in undocumented arguments by splitting two functions
and doing normal (shock!) C calls.

Move extern declarations to externs.h
Eliminate another function cast

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 20 10:55:26 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.25: +8 -42 lines
Diff to previous 1.25 (colored)

Mark a slurry of functions as static
Eliminate two more trivial wrappers

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 20 10:18:10 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Kill lint comments; mark ExitString() as __dead

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 20 09:31:25 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.23: +2 -6 lines
Diff to previous 1.23 (colored)

VSUSP and SIGTSTP are required by POSIX

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 20 08:56:47 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.22: +3 -5 lines
Diff to previous 1.22 (colored)

Add prototypes to some function callbacks and fix the type errors that
this reveals.
Make NetTrace static to utilities.c

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 20 08:12:45 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

More encryption tentacles: intr_happened and intr_waiting vanish
Push more includes into .c files
Make ring.c only need ring.h

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 20 07:35:04 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.20: +1 -8 lines
Diff to previous 1.20 (colored)

Eliminate trivial wrappers TerminalWrite() and TerminalRead()
Replace TerminalFlushOutput() with tcflush().
Replace TerminalAutoFlush() with check of tty's NOFLSH flag as
	documented in the manpage.
Push <netdb.h> into .c files

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 20 05:22:02 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Simplify #includes, start pushing them into the .c files, eliminate
extern declarations from .c files that duplicate those in .h files,
start marking functions with __dead

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 20 03:00:31 2014 UTC (9 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

remove a variable called wantencryption.
hahahahahahahahahha.  OK, I'm done.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 19 23:50:38 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.17: +7 -81 lines
Diff to previous 1.17 (colored)

Flense the telnet code base of unwanted ifdefs: authentication/encryption
tn3270, sgtty, pre-POSIX and other ancient system support, etc.  Brings up
to date the manpage with what we support.

ok matthieu@ beck@ jmc@ millert@ deraadt@ okan@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 26 21:33:29 2013 UTC (10 years, 6 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Only use setsockopt(..SO_RTABLE..) if the -V flag is given to nc/telnet,
same style as traceroute6 (change to int and use -1 as a flag, so rtable 0
can still be used as an explicit parameter).

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 3 04:44:51 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains.  This changes the name of the
system calls, socket option, and ioctl.  After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.

Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.

Written by claudio@, criticized^Wcritiqued by me

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 5 00:20:46 2009 UTC (14 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Last but not least. Telnet -V rdomain to connect to systems in other routing
domains.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Mar 29 20:20:10 2005 UTC (19 years, 1 month ago) by brad
Branch: OPENBSD_3_5
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

MFC:
Fix by otto@

- only send exported vars (based on a diff from Solar Designer)
- fix some buffer overflows (also some Solar Designer input)

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue Mar 29 19:49:10 2005 UTC (19 years, 1 month ago) by brad
Branch: OPENBSD_3_6
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

MFC:
Fix by otto@

- only send exported vars (based on a diff from Solar Designer)
- fix some buffer overflows (also some Solar Designer input)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 27 15:46:42 2005 UTC (19 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

- only send exported vars (based on a diff from Solar Designer)
- fix some buffer overflows (also some Solar Designer input)

ok deraadt@ cloder@

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 3 23:36:14 2004 UTC (20 years, 4 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_6, OPENBSD_3_5
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

missing proto; ok hin

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 28 21:53:01 2003 UTC (20 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Introduce -4 and -6: options to force usage of IPv4 or IPv6 only.
From PR 1974.

ok henning@ jose@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:18 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.10: +2 -6 lines
Diff to previous 1.10 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 25 10:52:32 2002 UTC (22 years, 2 months ago) by hin
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Todd Miller pointed this out to me:

    You really want to use 'volatile sig_atomic_t' not just sig_atomic_t
    for flags set in signal handlers.  Without the volatile gcc may
    stick the value in a register but update the on-stack copy in the
    signal handler.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 22 13:49:28 2002 UTC (22 years, 2 months ago) by hin
Branch: MAIN
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

Telnet encryption warning messages, taken from kth-krb4-1.1.1.

(krb4-1.1.1 will be imported after release)

Noone bothered to look at this, but I've used this for a couple of weeks,
and i really want this to go in before release.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 17 17:20:49 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

telnet used a P macro instead of __P -- g/c that too.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 4 15:21:02 2001 UTC (22 years, 10 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

symmetrical, not symetrical

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 25 10:24:25 2001 UTC (23 years ago) by hin
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

KerberosV support from Heimdal.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 22 11:03:38 2001 UTC (23 years, 4 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

make sizeof tline doable; bad aaron.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 12 17:31:32 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.3: +28 -1 lines
Diff to previous 1.3 (colored)

repair tn3270

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 12 04:57:31 1998 UTC (26 years, 2 months ago) by art
Branch: MAIN
Changes since 1.2: +190 -237 lines
Diff to previous 1.2 (colored)

encryption support from kth-krb 0.9.8 (kerberos only)
plus some tweaks for better binary/8-bit support.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 27 19:33:01 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +11 -13 lines
Diff to previous 1.1 (colored)

From NetBSD: merge of 960317

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:14 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:14 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.