OpenBSD CVS

CVS log for src/usr.sbin/pppoe/Attic/client.c


[BACK] Up to [local] / src / usr.sbin / pppoe

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26, Mon Mar 17 18:42:41 2014 UTC (10 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +1 -1 lines
FILE REMOVED

to the great bit bucket in the sky...

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 19 15:12:23 2013 UTC (10 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

include queue.h directly instead of relying on if.h to provide it;
ok deraadt

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 5 09:20:36 2011 UTC (12 years, 7 months ago) by yasuoka
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
Changes since 1.23: +1 -7 lines
Diff to previous 1.23 (colored)

Remove unnecessary #include's.  From Michael W. Bombardieri.

No binary change.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 4 16:29:35 2011 UTC (12 years, 11 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Bring back byte-order conversion that was inadvertently removed in previous
commit. Problem reported by Scott McEachern, ok yasuoka@

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 31 09:19:35 2011 UTC (13 years, 2 months ago) by sobrado
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

remove dead code from pppoe(8).

found by Michael W. Bombardieri for tag_ntoh() and tag_show(),
improved later by yasuoka@ to include tag_hton() which is called
one time but never used.

ok yasuoka@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:54 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: 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, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

malloc(n * m) -> calloc(n, m); ok espie

Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 3 06:37:14 2004 UTC (19 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: 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, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

sleep instead of busy waiting on ENOBUFS.  reduces cpu time.
pr3900.  ok canacar@ deraadt@ matthieu@ millert@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 14 19:22:39 2004 UTC (19 years, 11 months ago) by canacar
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Set relay session id in outgoing packets properly. Report with patch
from Girish Venkatachalam. ok millert@

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 6 20:29:03 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.17: +20 -47 lines
Diff to previous 1.17 (colored)

knf and other cleanups

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 4 04:46:13 2003 UTC (21 years ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.16: +1 -8 lines
Diff to previous 1.16 (colored)

kill terms 3 & 4

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 8 05:10:56 2002 UTC (21 years, 9 months ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

more cleaning

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 8 04:33:46 2002 UTC (21 years, 9 months ago) by jason
Branch: MAIN
Changes since 1.14: +15 -14 lines
Diff to previous 1.14 (colored)

Fix a bunch of -pedantic errors

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:39 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +11 -13 lines
Diff to previous 1.13 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat Nov 17 19:54:57 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

volatile sig_atomic_t

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 24 05:09:23 2001 UTC (23 years, 1 month ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.10: +8 -13 lines
Diff to previous 1.10 (colored)

remove unecessary code and data
initialize more of the client state in client_mode()
add sessionid check on incoming packets.  Non-matching packets are just
ignored (this allows multiple pppoe's to run on the same interface without
freaking out).
Thanks again to Russell T Hunt <alaric@MIT.EDU>.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 4 21:25:34 2001 UTC (23 years, 4 months ago) by jason
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

setting of maximum fd was wrong; patch from pr 1670: "Evgeni Belin" <ebelin@sauron.dnsalias.net>.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 19 17:53:17 2001 UTC (23 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

mark remaining signal races which are difficult to fix

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 16 05:34:15 2001 UTC (23 years, 4 months ago) by jason
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

bzero the sets before FD_SET'n them

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 16 05:01:39 2001 UTC (23 years, 4 months ago) by jason
Branch: MAIN
Changes since 1.6: +29 -13 lines
Diff to previous 1.6 (colored)

fix fd_set overflows

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 12 06:12:54 2001 UTC (23 years, 5 months ago) by jason
Branch: MAIN
Changes since 1.5: +21 -5 lines
Diff to previous 1.5 (colored)

use setitimer instead of alarm

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 9 22:52:18 2000 UTC (23 years, 8 months ago) by brian
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

Don't exit when we get ENOBUFS from writev(), drop the packet instead.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 3 20:21:35 2000 UTC (23 years, 10 months ago) by jason
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

fd == 0 is perfectly valid (and likely); spotted by Steve Williams <steve@genie96.com>

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 20 04:57:47 2000 UTC (23 years, 11 months ago) by jason
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

use stdin instead of exec'n ppp(8).  It's expected that ppp will give us
a AF_LOCAL,SOCK_DGRAM socket as stdin

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 20 04:55:25 2000 UTC (23 years, 11 months ago) by jason
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Remove some debugging code, and prepare to become an 'exec' client of ppp(8)

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Jun 18 07:30:41 2000 UTC (23 years, 11 months ago) by jason
Branch: PPPOE
CVS Tags: PPPOE_USER
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

import my pppoe code

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 18 07:30:41 2000 UTC (23 years, 11 months ago) by jason
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.