OpenBSD CVS

CVS log for src/libexec/identd/Attic/parse.c


[BACK] Up to [local] / src / libexec / identd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48, Wed Dec 4 20:46:39 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.47: +1 -1 lines
FILE REMOVED

we now use the rewritten usr.sbin/identd

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 27 21:25:25 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

unsigned char for ctype
ok okan kettenis

Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 13 00:22:17 2008 UTC (16 years, 1 month ago) by djm
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, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Use arc4random_buf() when requesting more than a single word of output

Use arc4random_uniform() when the desired random number upper bound
is not a power of two

ok deraadt@ millert@

Revision 1.45 / (download) - annotate - [select for diffs], Wed Sep 26 02:50:36 2007 UTC (16 years, 8 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored)

From Tamas TEVESZ:
- Use strcspn to strip \r and \n.

OK chl.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 21 03:32:28 2007 UTC (17 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

remove extra *p tests, from charles longeau
ok deraadt millert

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 6 22:05:22 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.42: +8 -8 lines
Diff to previous 1.42 (colored)

avoid variable aliasing

Revision 1.42 / (download) - annotate - [select for diffs], Mon Apr 4 08:55:36 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.41: +1 -2 lines
Diff to previous 1.41 (colored)

nlist.h not needed

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 4 18:19:26 2005 UTC (19 years, 5 months ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.40: +11 -5 lines
Diff to previous 1.40 (colored)

add some more snprintf sanity checks and fix two previously added checks.

ok millert@, henning@

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 16 08:25:05 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

i hate macros with 50 , :? and ())()()((()())); otto ok

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 8 19:32:45 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

spacing

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jul 29 18:39:23 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored)

spaces

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 28 01:05:21 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

missing protos

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 25 11:08:18 2002 UTC (21 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Missing check around snprintf().

millert@ ok

Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 13 01:31:39 2002 UTC (21 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.34: +31 -5 lines
Diff to previous 1.34 (colored)

Add -H option to hide nonexistent users (useful on NAT gateways). ok millert@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 24 23:11:14 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.33: +81 -44 lines
Diff to previous 1.33 (colored)

Sanity check snprintf() return values before using them.  OK deraadt@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 16 10:32:37 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.32: +9 -15 lines
Diff to previous 1.32 (colored)

minor tweaks of no consequence

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jul 16 10:21:20 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

delint

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jul 16 10:16:10 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +6 -7 lines
Diff to previous 1.30 (colored)

minor cleanup, and toast -V

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jun 22 20:34:31 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +8 -25 lines
Diff to previous 1.29 (colored)

ansi

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:30 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 7 08:13:31 2002 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored)

o) int -> {uid,gid}_t; %d -> %u;
o) int -> pid_t;

deraadt@ ok

Revision 1.27 / (download) - annotate - [select for diffs], Sat Dec 1 18:54:43 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +7 -5 lines
Diff to previous 1.26 (colored)

fix fd_set overflow

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 8 07:02:42 2001 UTC (22 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.25: +15 -15 lines
Diff to previous 1.25 (colored)

split up the gethost*() functions a bit more, to make it more obvious what
is going on.  This could be improved further by always passing around
fat sockaddr's I think.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 8 06:46:09 2001 UTC (22 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +7 -3 lines
Diff to previous 1.24 (colored)

do not use %m in syslog() when errno is known to be 0

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 16 00:26:21 2001 UTC (23 years, 1 month ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

close fd on error; deraadt@ ok.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 15 23:48:16 2001 UTC (23 years, 1 month ago) by hugh
Branch: MAIN
Changes since 1.22: +11 -31 lines
Diff to previous 1.22 (colored)

Replace a bunch of conditional expressions with global pointers.
Requested and checked by millert.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 14 02:49:19 2001 UTC (23 years, 2 months ago) by hugh
Branch: MAIN
Changes since 1.21: +48 -51 lines
Diff to previous 1.21 (colored)

Respect (absence of) "other" flag in all cases, and fix some whitespace.
Checked by Theo.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 13 20:16:53 2001 UTC (23 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.20: +81 -4 lines
Diff to previous 1.20 (colored)

Add support for user specified tokens to identd.  Based on a patch
from rjmooney@wall.st w/ minor tweakage by Theo and myself.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 28 19:34:29 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.19: +2 -0 lines
Diff to previous 1.19 (colored)

$OpenBSD$

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 10 12:37:07 2000 UTC (23 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.18: +7 -4 lines
Diff to previous 1.18 (colored)

use poll to avoid fd_set overflow

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 18 04:43:28 2000 UTC (23 years, 11 months ago) by beck
Branch: MAIN
Changes since 1.17: +163 -1 lines
Diff to previous 1.17 (colored)

add ipv6 support

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 18 08:06:23 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.16: +1 -0 lines
Diff to previous 1.16 (colored)

netinet/in.h without sys/socket.h

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 6 17:35:02 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Wall

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 4 01:07:43 1999 UTC (24 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +18 -20 lines
Diff to previous 1.14 (colored)

constrain token character set; worked out with hugh@openbsd.org

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 16 20:22:15 1998 UTC (25 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.13: +40 -0 lines
Diff to previous 1.13 (colored)

change to using getopt() [some inetd.conf files will need repair];
add usage()
and add token support via -h (token information is sysloged)

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 10 08:06:06 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 10 03:49:43 1998 UTC (26 years ago) by beck
Branch: MAIN
Changes since 1.11: +4 -14 lines
Diff to previous 1.11 (colored)

Now uses TCPCTL_IDENT sysctl to get uid associated with a connection
instead of kmem. Kmem parsing functions and options removed.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 15 00:59:34 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

another terminating condition, why did i forget that

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 10 20:56:27 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +27 -8 lines
Diff to previous 1.9 (colored)

do not rely on a single read() to get us sufficient data. Read till newline

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 21 17:38:34 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

.noident not .noindent; fc@parkone.ci.oakland.ca.us

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 11 23:12:54 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.7: +5 -0 lines
Diff to previous 1.7 (colored)

Prototype things.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 11 23:09:51 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.6: +63 -11 lines
Diff to previous 1.6 (colored)

Timeout reads/writes on the socket just to be safe.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 9 22:59:10 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.5: +65 -17 lines
Diff to previous 1.5 (colored)

Using stdio on sockets is gross so don't do it.  Also some -Wall.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 6 10:24:46 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

reindent and remove extra crud. a program that is security sensitive must be readable

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 1 19:32:24 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +118 -373 lines
Diff to previous 1.3 (colored)

cleanup; everyone please test

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 23 20:36:28 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

tabify

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 18 22:15:08 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

identd incorrectly prefixed a space to the userid/username; from
mouse@Collatz.McRCIM.McGill.EDU; netbsd pr#1848

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:18 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:43:18 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.