diff options
-rw-r--r-- | Android.bp | 15 | ||||
-rw-r--r-- | LICENSE | 2952 | ||||
-rw-r--r-- | METADATA | 3 | ||||
-rw-r--r-- | OWNERS | 3 | ||||
-rw-r--r-- | pppd/Android.bp | 15 | ||||
-rw-r--r-- | pppd/sys-linux.c | 2 | ||||
-rw-r--r-- | pppd/utils.c | 8 |
7 files changed, 25 insertions, 2973 deletions
@@ -16,6 +16,19 @@ package { default_applicable_licenses: ["external_ppp_license"], } +// Added automatically by a large-scale-change that took the approach of +// 'apply every license found to every target'. While this makes sure we respect +// every license restriction, it may not be entirely correct. +// +// e.g. GPL in an MIT project might only apply to the contrib/ directory. +// +// Please consider splitting the single license below into multiple licenses, +// taking care not to lose any license_kind information, and overriding the +// default license using the 'licenses: [...]' property on targets as needed. +// +// For unused files, consider creating a 'fileGroup' with "//visibility:private" +// to attach the license to, and including a comment whether the files may be +// used in the current project. // See: http://go/android-license-faq license { name: "external_ppp_license", @@ -31,7 +44,7 @@ license { "legacy_notice", "legacy_unencumbered", ], - license_text: ["LICENSE"], + // large-scale-change unable to identify any license_text files } subdirs = ["pppd"] diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 0807f25..0000000 --- a/LICENSE +++ /dev/null @@ -1,2952 +0,0 @@ - Copyright (c) 1995, 1996, 1997 Francis.Dupont@inria.fr, INRIA Rocquencourt, - Alain.Durand@imag.fr, IMAG, - Jean-Luc.Richier@imag.fr, IMAG-LSR. - - Copyright (c) 1998, 1999 Francis.Dupont@inria.fr, GIE DYADE, - Alain.Durand@imag.fr, IMAG, - Jean-Luc.Richier@imag.fr, IMAG-LSR. - - Ce travail a été fait au sein du GIE DYADE (Groupement d'Intérêt - Économique ayant pour membres BULL S.A. et l'INRIA). - - Ce logiciel informatique est disponible aux conditions - usuelles dans la recherche, c'est-à-dire qu'il peut - être utilisé, copié, modifié, distribué à l'unique - condition que ce texte soit conservé afin que - l'origine de ce logiciel soit reconnue. - - Le nom de l'Institut National de Recherche en Informatique - et en Automatique (INRIA), de l'IMAG, ou d'une personne morale - ou physique ayant participé à l'élaboration de ce logiciel ne peut - être utilisé sans son accord préalable explicite. - - Ce logiciel est fourni tel quel sans aucune garantie, - support ou responsabilité d'aucune sorte. - Ce logiciel est dérivé de sources d'origine - "University of California at Berkeley" et - "Digital Equipment Corporation" couvertes par des copyrights. - - L'Institut d'Informatique et de Mathématiques Appliquées de Grenoble (IMAG) - est une fédération d'unités mixtes de recherche du CNRS, de l'Institut National - Polytechnique de Grenoble et de l'Université Joseph Fourier regroupant - sept laboratoires dont le laboratoire Logiciels, Systèmes, Réseaux (LSR). - - This work has been done in the context of GIE DYADE (joint R & D venture - between BULL S.A. and INRIA). - - This software is available with usual "research" terms - with the aim of retain credits of the software. - Permission to use, copy, modify and distribute this software for any - purpose and without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies, - and the name of INRIA, IMAG, or any contributor not be used in advertising - or publicity pertaining to this material without the prior explicit - permission. The software is provided "as is" without any - warranties, support or liabilities of any kind. - This software is derived from source code from - "University of California at Berkeley" and - "Digital Equipment Corporation" protected by copyrights. - - Grenoble's Institute of Computer Science and Applied Mathematics (IMAG) - is a federation of seven research units funded by the CNRS, National - Polytechnic Institute of Grenoble and University Joseph Fourier. - The research unit in Software, Systems, Networks (LSR) is member of IMAG. - -------------------------------------------------------------------- - - Unix SMB/CIFS implementation. - Samba utility functions - - Copyright (C) Andrew Tridgell 1992-2001 - Copyright (C) Simo Sorce 2001-2002 - Copyright (C) Martin Pool 2003 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -------------------------------------------------------------------- - - *********************************************************************** - Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. ** - ** - License to copy and use this software is granted provided that ** - it is identified as the "RSA Data Security, Inc. MD5 Message- ** - Digest Algorithm" in all material mentioning or referencing this ** - software or this function. ** - ** - License is also granted to make and use derivative works ** - provided that such works are identified as "derived from the RSA ** - Data Security, Inc. MD5 Message-Digest Algorithm" in all ** - material mentioning or referencing the derived work. ** - ** - RSA Data Security, Inc. makes no representations concerning ** - either the merchantability of this software or the suitability ** - of this software for any particular purpose. It is provided "as ** - is" without express or implied warranty of any kind. ** - ** - These notices must be retained in any copies of any part of this ** - documentation and/or software. ** - *********************************************************************** - -------------------------------------------------------------------- - -$Id: avpair.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: buildreq.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1997 Lars Fenneberg - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: clientid.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: config.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: dict.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 2002 Roaring Penguin Software Inc. - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: includes.h,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: ip_util.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: lock.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1997 Lars Fenneberg - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: options.h,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1996 Lars Fenneberg - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: pathnames.h,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: radiusclient.h,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997,1998 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: sendserver.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -$Id: util.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - -Copyright (C) 1995,1996,1997 Lars Fenneberg - -Copyright 1992 Livingston Enterprises, Inc. - -Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan -and Merit Network, Inc. All Rights Reserved - -See the file COPYRIGHT for the respective terms and conditions. -If the file is missing contact me at lf@elemental.net -and I'll send you a copy. - -------------------------------------------------------------------- - -* -* common.c -* -* Implementation of user-space PPPoE redirector for Linux. -* -* Common functions used by PPPoE client and server -* -* Copyright (C) 2000 by Roaring Penguin Software Inc. -* -* This program may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* debug.c -* -* Implementation of user-space PPPoE redirector for Linux. -* -* Functions for printing debugging information -* -* Copyright (C) 2000 by Roaring Penguin Software Inc. -* -* This program may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* discovery.c -* -* Perform PPPoE discovery -* -* Copyright (C) 1999 by Roaring Penguin Software Inc. -* - -------------------------------------------------------------------- - -* -* if.c -* -* Implementation of user-space PPPoE redirector for Linux. -* -* Functions for opening a raw socket and reading/writing raw Ethernet frames. -* -* Copyright (C) 2000 by Roaring Penguin Software Inc. -* -* This program may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* plugin.c -* -* pppd plugin for kernel-mode PPPoE on Linux -* -* Copyright (C) 2001 by Roaring Penguin Software Inc., Michal Ostrowski -* and Jamal Hadi Salim. -* -* Much code and many ideas derived from pppoe plugin by Michal -* Ostrowski and Jamal Hadi Salim, which carries this copyright: -* -* Copyright 2000 Michal Ostrowski <mostrows@styx.uwaterloo.ca>, -* Jamal Hadi Salim <hadi@cyberus.ca> -* Borrows heavily from the PPPoATM plugin by Mitchell Blank Jr., -* which is based in part on work from Jens Axboe and Paul Mackerras. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* pppoe.h -* -* Declaration of various PPPoE constants -* -* Copyright (C) 2000 Roaring Penguin Software Inc. -* -* This program may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* -* $Id: pppoe.h,v 1.4 2008/06/15 04:35:50 paulus Exp $ -* - -------------------------------------------------------------------- - -* -* radattr.c -* -* A plugin which is stacked on top of radius.so. This plugin writes -* all RADIUS attributes from the server's authentication confirmation -* into /var/run/radattr.pppN. These attributes are available for -* consumption by /etc/ppp/ip-{up,down} scripts. -* -* Copyright (C) 2002 Roaring Penguin Software Inc. -* -* This plugin may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* radius.c -* -* RADIUS plugin for pppd. Performs PAP, CHAP, MS-CHAP, MS-CHAPv2 -* authentication using RADIUS. -* -* Copyright (C) 2002 Roaring Penguin Software Inc. -* -* Based on a patch for ipppd, which is: -* Copyright (C) 1996, Matjaz Godec <gody@elgo.si> -* Copyright (C) 1996, Lars Fenneberg <in5y050@public.uni-hamburg.de> -* Copyright (C) 1997, Miguel A.L. Paraz <map@iphil.net> -* -* Uses radiusclient library, which is: -* Copyright (C) 1995,1996,1997,1998 Lars Fenneberg <lf@elemental.net> -* Copyright (C) 2002 Roaring Penguin Software Inc. -* -* MPPE support is by Ralf Hofmann, <ralf.hofmann@elvido.net>, with -* modification from Frank Cusack, <frank@google.com>. -* -* This plugin may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* radrealms.c -* -* A pppd plugin which is stacked on top of radius.so. This plugin -* allows selection of alternate set of servers based on the user's realm. -* -* Author: Ben McKeegan ben@netservers.co.uk -* -* Copyright (C) 2002 Netservers -* -* This plugin may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -* -* winbind.c -* -* WINBIND plugin for pppd. Performs PAP, CHAP, MS-CHAP, MS-CHAPv2 -* authentication using WINBIND to contact a NT-style PDC. -* -* Based on the structure of the radius module. -* -* Copyright (C) 2003 Andrew Bartlet <abartlet@samba.org> -* -* Copyright 1999 Paul Mackerras, Alan Curry. -* (pipe read code from passpromt.c) -* -* Copyright (C) 2002 Roaring Penguin Software Inc. -* -* Based on a patch for ipppd, which is: -* Copyright (C) 1996, Matjaz Godec <gody@elgo.si> -* Copyright (C) 1996, Lars Fenneberg <in5y050@public.uni-hamburg.de> -* Copyright (C) 1997, Miguel A.L. Paraz <map@iphil.net> -* -* Uses radiusclient library, which is: -* Copyright (C) 1995,1996,1997,1998 Lars Fenneberg <lf@elemental.net> -* Copyright (C) 2002 Roaring Penguin Software Inc. -* -* MPPE support is by Ralf Hofmann, <ralf.hofmann@elvido.net>, with -* modification from Frank Cusack, <frank@google.com>. -* -* Updated on 2003-12-12 to support updated PPP plugin API from latest CVS -* Copyright (C) 2003, Sean E. Millichamp <sean at bruenor dot org> -* -* This plugin may be distributed according to the terms of the GNU -* General Public License, version 2 or (at your option) any later version. -* - -------------------------------------------------------------------- - -.\" manual page [] for pppd 2.4 -.\" $Id: pppd.8,v 1.90 2008/03/26 12:09:40 paulus Exp $ -.\" SH section heading -.\" SS subsection heading -.\" LP paragraph -.\" IP indented paragraph -.\" TP hanging label -.\" -.\" Copyright (c) 1993-2003 Paul Mackerras <paulus@samba.org> -.\" -.\" Permission to use, copy, modify, and distribute this software for any -.\" purpose with or without fee is hereby granted, provided that the above -.\" copyright notice and this permission notice appear in all copies. -.\" -.\" THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES -.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -.SH AUTHORS -Paul Mackerras (paulus@samba.org), based on earlier work by -Drew Perkins, -Brad Clements, -Karl Fox, -Greg Christy, -and -Brad Parker. - -.SH COPYRIGHT -Pppd is copyrighted and made available under conditions which provide -that it may be copied and used in source or binary forms provided that -the conditions listed below are met. Portions of pppd are covered by -the following copyright notices: -.LP -Copyright (c) 1984-2000 Carnegie Mellon University. All rights -reserved. -.br -Copyright (c) 1993-2004 Paul Mackerras. All rights reserved. -.br -Copyright (c) 1995 Pedro Roque Marques. All rights reserved. -.br -Copyright (c) 1995 Eric Rosenquist. All rights reserved. -.br -Copyright (c) 1999 Tommi Komulainen. All rights reserved. -.br -Copyright (C) Andrew Tridgell 1999 -.br -Copyright (c) 2000 by Sun Microsystems, Inc. All rights reserved. -.br -Copyright (c) 2001 by Sun Microsystems, Inc. All rights reserved. -.br -Copyright (c) 2002 The Android Open Source Project -.LP -The copyright notices contain the following statements. -.LP -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -.LP -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -.LP -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. -.LP -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact -.br - Office of Technology Transfer -.br - Carnegie Mellon University -.br - 5000 Forbes Avenue -.br - Pittsburgh, PA 15213-3890 -.br - (412) 268-4387, fax: (412) 268-7395 -.br - tech-transfer@andrew.cmu.edu -.LP -3b. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. -.LP -4. Redistributions of any form whatsoever must retain the following - acknowledgements: -.br - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." -.br - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". -.br - "This product includes software developed by Pedro Roque Marques - <pedro_m@yahoo.com>". -.br - "This product includes software developed by Tommi Komulainen - <Tommi.Komulainen@iki.fi>". -.LP -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.LP -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -Copyright (C) 2001 Roaring Penguin Software Inc. - -This program may be distributed according to the terms of the GNU -General Public License, version 2 or (at your option) any later version. - -$Id: Makefile.linux,v 1.8 2008/06/09 08:34:23 paulus Exp $ -#*********************************************************************** - -------------------------------------------------------------------- - -Copyright (C) 2009 The Android Open Source Project - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -------------------------------------------------------------------- - -Copyright (C) 2018 The Android Open Source Project - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -------------------------------------------------------------------- - -Copyright (c) 1994, 1995, 1996 - The Regents of the University of California. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by the Computer Systems - Engineering Group at Lawrence Berkeley Laboratory. -4. Neither the name of the University nor of the Laboratory may be used - to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - -@(#) $Header: /data/cvs/ppp/include/pcap-int.h,v 1.1 2000/08/01 01:37:24 paulus Exp $ (LBL) - -------------------------------------------------------------------- - -Copyright 2000 Mitchell Blank Jr. -Based in part on work from Jens Axboe and Paul Mackerras. -Updated to ppp-2.4.1 by Bernhard Kaindl - -Updated to ppp-2.4.2 by David Woodhouse 2004. - - disconnect method added - - remove_options() abuse removed. - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. - -------------------------------------------------------------------- - -Copyright 2002 Roaring Penguin Software Inc. - -------------------------------------------------------------------- - -Definitions for tcp compression routines. - -$Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp $ - -Copyright (c) 1989 Regents of the University of California. -All rights reserved. - -Redistribution and use in source and binary forms are permitted -provided that the above copyright notice and this paragraph are -duplicated in all such forms and that any documentation, -advertising materials, and other materials related to such -distribution and use acknowledge that the software was developed -by the University of California, Berkeley. The name of the -University may not be used to endorse or promote products derived -from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - - Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: - - Initial distribution. - -------------------------------------------------------------------- - -Definitions for tcp compression routines. - -$Id: vjcompress.h,v 1.3 1996/05/28 00:55:33 paulus Exp $ - -Copyright (c) 1989 Regents of the University of California. -All rights reserved. - -Redistribution and use in source and binary forms are permitted -provided that the above copyright notice and this paragraph are -duplicated in all such forms and that any documentation, -advertising materials, and other materials related to such -distribution and use acknowledge that the software was developed -by the University of California, Berkeley. The name of the -University may not be used to endorse or promote products derived -from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - - Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: - - Initial distribution. - -------------------------------------------------------------------- - -Derived from : - - -ipcp.c - PPP IP Control Protocol. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ipv6cp.c,v 1.21 2005/08/25 23:59:34 paulus Exp $ - -------------------------------------------------------------------- - -Derived from : - - -ipcp.h - IP Control Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ipv6cp.h,v 1.7 2002/12/04 23:03:32 paulus Exp $ - -------------------------------------------------------------------- - -Modifications by Frank Cusack, frank@google.com, March 2002. - - Implemented MS-CHAPv2 functionality, heavily based on sample - implementation in RFC 2759. Implemented MPPE functionality, - heavily based on sample implementation in RFC 3079. - -Copyright (c) 2002 Google, Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -Perform PPPoE discovery - -Copyright (C) 2000-2001 by Roaring Penguin Software Inc. -Copyright (C) 2004 Marco d'Itri <md@linux.it> - -This program may be distributed according to the terms of the GNU -General Public License, version 2 or (at your option) any later version. - -------------------------------------------------------------------- - -See the respective source files to find out which copyrights apply. - ------------------------------------------------------------------------------- -Copyright (C) 2002 Roaring Penguin Software Inc. - -Permission to use, copy, modify, and distribute this software for any -purpose and without fee is hereby granted, provided that this -copyright and permission notice appear on all copies and supporting -documentation, the name of Roaring Penguin Software Inc. not be used -in advertising or publicity pertaining to distribution of the program -without specific prior permission, and notice be given in supporting -documentation that copying and distribution is by permission of -Roaring Penguin Software Inc.. - -Roaring Penguin Software Inc. makes no representations about the -suitability of this software for any purpose. It is provided "as is" -without express or implied warranty. - ------------------------------------------------------------------------------- -Copyright (C) 1995,1996,1997,1998 Lars Fenneberg <lf@elemental.net> - -Permission to use, copy, modify, and distribute this software for any -purpose and without fee is hereby granted, provided that this copyright and -permission notice appear on all copies and supporting documentation, the -name of Lars Fenneberg not be used in advertising or publicity pertaining to -distribution of the program without specific prior permission, and notice be -given in supporting documentation that copying and distribution is by -permission of Lars Fenneberg. - -Lars Fenneberg makes no representations about the suitability of this -software for any purpose. It is provided "as is" without express or implied -warranty. - ------------------------------------------------------------------------------- -Copyright 1992 Livingston Enterprises, Inc. -Livingston Enterprises, Inc. 6920 Koll Center Parkway Pleasanton, CA 94566 - -Permission to use, copy, modify, and distribute this software for any -purpose and without fee is hereby granted, provided that this copyright -and permission notice appear on all copies and supporting documentation, -the name of Livingston Enterprises, Inc. not be used in advertising or -publicity pertaining to distribution of the program without specific -prior permission, and notice be given in supporting documentation that -copying and distribution is by permission of Livingston Enterprises, Inc. - -Livingston Enterprises, Inc. makes no representations about the suitability -of this software for any purpose. It is provided "as is" without express -or implied warranty. ------------------------------------------------------------------------------- -[C] The Regents of the University of Michigan and Merit Network, Inc. 1992, -1993, 1994, 1995 All Rights Reserved - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, provided -that the above copyright notice and this permission notice appear in all -copies of the software and derivative works or modified versions thereof, -and that both the copyright notice and this permission and disclaimer -notice appear in supporting documentation. - -THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER -EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF THE -UNIVERSITY OF MICHIGAN AND MERIT NETWORK, INC. DO NOT WARRANT THAT THE -FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET LICENSEE'S REQUIREMENTS OR -THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. The Regents of the -University of Michigan and Merit Network, Inc. shall not be liable for any -special, indirect, incidental or consequential damages with respect to any -claim by Licensee or any third party arising from use of the software. ------------------------------------------------------------------------------- -Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. -All rights reserved. - -License to copy and use this software is granted provided that it -is identified as the "RSA Data Security, Inc. MD5 Message-Digest -Algorithm" in all material mentioning or referencing this software -or this function. - -License is also granted to make and use derivative works provided -that such works are identified as "derived from the RSA Data -Security, Inc. MD5 Message-Digest Algorithm" in all material -mentioning or referencing the derived work. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - -These notices must be retained in any copies of any part of this -documentation and/or software. ------------------------------------------------------------------------------- - -------------------------------------------------------------------- - -System-dependent procedures for pppd under Solaris 2. - -Parts re-written by Adi Masputra <adi.masputra@sun.com>, based on -the original sys-svr4.c - -Copyright (c) 2000 by Sun Microsystems, Inc. -All rights reserved. - -Permission to use, copy, modify, and distribute this software and its -documentation is hereby granted, provided that the above copyright -notice appears in all copies. - -SUN MAKES NO REPRESENTATION OR WARRANTIES ABOUT THE SUITABILITY OF -THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR -ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR -DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES - -Copyright (c) 1995-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Derived from main.c and pppd.h, which are: - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -The files ans.c, atm.h, atmres.h, atmsap.h, misc.c, text2atm.c and -text2qos.c are taken from the linux-atm libraries. These are -Copyright 1995-2000 EPFL-LRC/ICA, and are licensed under the GNU Lesser -General Public License. - -The file pppoatm.c contains its own copyright notice, and is licensed -under the GPL. - -------------------------------------------------------------------- - -Utility program for generating entries in /etc/ppp/srp-secrets - -Copyright (c) 2001 by Sun Microsystems, Inc. -All rights reserved. - -Non-exclusive rights to redistribute, modify, translate, and use -this software in source and binary forms, in whole or in part, is -hereby granted, provided that the above copyright notice is -duplicated in any source form, and that neither the name of the -copyright holder nor the author is used to endorse or promote -products derived from this software. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -Original version by James Carlson - -Usage: - srp-entry [-i index] [clientname] - -Index, if supplied, is the modulus/generator index from -/etc/tpasswd.conf. If not supplied, then the last (highest -numbered) entry from that file is used. If the file doesn't exist, -then the default "well known" EAP SRP-SHA1 modulus/generator is -used. - -The default modulus/generator can be requested as index 0. - -------------------------------------------------------------------- - -auth.c - PPP authentication and phase control. - -Copyright (c) 1993-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Derived from main.c, which is: - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -cbcp - Call Back Configuration Protocol. - -Copyright (c) 1995 Pedro Roque Marques. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Pedro Roque Marques - <pedro_m@yahoo.com>" - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ccp.c - PPP Compression Control Protocol. - -Copyright (c) 1994-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ccp.h - Definitions for PPP Compression Control Protocol. - -Copyright (c) 1994-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ccp.h,v 1.12 2004/11/04 10:02:26 paulus Exp $ - -------------------------------------------------------------------- - -chap-md5.c - New CHAP/MD5 implementation. - -Copyright (c) 2003 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -chap-md5.h - New CHAP/MD5 implementation. - -Copyright (c) 2003 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -chap-new.c - New CHAP implementation. - -Copyright (c) 2003 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -chap_ms.c - Microsoft MS-CHAP compatible implementation. - -Copyright (c) 1995 Eric Rosenquist. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -chap_ms.h - Challenge Handshake Authentication Protocol definitions. - -Copyright (c) 1995 Eric Rosenquist. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: chap_ms.h,v 1.13 2004/11/15 22:13:26 paulus Exp $ - -------------------------------------------------------------------- - -demand.c - Support routines for demand-dialling. - -Copyright (c) 1996-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -eap.c - Extensible Authentication Protocol for PPP (RFC 2284) - -Copyright (c) 2001 by Sun Microsystems, Inc. -All rights reserved. - -Non-exclusive rights to redistribute, modify, translate, and use -this software in source and binary forms, in whole or in part, is -hereby granted, provided that the above copyright notice is -duplicated in any source form, and that neither the name of the -copyright holder nor the author is used to endorse or promote -products derived from this software. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -Original version by James Carlson - -This implementation of EAP supports MD5-Challenge and SRP-SHA1 -authentication styles. Note that support of MD5-Challenge is a -requirement of RFC 2284, and that it's essentially just a -reimplementation of regular RFC 1994 CHAP using EAP messages. - -As an authenticator ("server"), there are multiple phases for each -style. In the first phase of each style, the unauthenticated peer -name is queried using the EAP Identity request type. If the -"remotename" option is used, then this phase is skipped, because -the peer's name is presumed to be known. - -For MD5-Challenge, there are two phases, and the second phase -consists of sending the challenge itself and handling the -associated response. - -For SRP-SHA1, there are four phases. The second sends 's', 'N', -and 'g'. The reply contains 'A'. The third sends 'B', and the -reply contains 'M1'. The forth sends the 'M2' value. - -As an authenticatee ("client"), there's just a single phase -- -responding to the queries generated by the peer. EAP is an -authenticator-driven protocol. - -Based on draft-ietf-pppext-eap-srp-03.txt. - -------------------------------------------------------------------- - -eap.h - Extensible Authentication Protocol for PPP (RFC 2284) - -Copyright (c) 2001 by Sun Microsystems, Inc. -All rights reserved. - -Non-exclusive rights to redistribute, modify, translate, and use -this software in source and binary forms, in whole or in part, is -hereby granted, provided that the above copyright notice is -duplicated in any source form, and that neither the name of the -copyright holder nor the author is used to endorse or promote -products derived from this software. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -Original version by James Carlson - -$Id: eap.h,v 1.2 2003/06/11 23:56:26 paulus Exp $ - -------------------------------------------------------------------- - -ecp.c - PPP Encryption Control Protocol. - -Copyright (c) 2002 Google, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Derived from ccp.c, which is: - -Copyright (c) 1994-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ecp.h - Definitions for PPP Encryption Control Protocol. - -Copyright (c) 2002 Google, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $ - -------------------------------------------------------------------- - -eui64.c - EUI64 routines for IPv6CP. - -Copyright (c) 1999 Tommi Komulainen. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Tommi Komulainen - <Tommi.Komulainen@iki.fi>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: eui64.c,v 1.6 2002/12/04 23:03:32 paulus Exp $ - -------------------------------------------------------------------- - -eui64.h - EUI64 routines for IPv6CP. - -Copyright (c) 1999 Tommi Komulainen. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Tommi Komulainen - <Tommi.Komulainen@iki.fi>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: eui64.h,v 1.6 2002/12/04 23:03:32 paulus Exp $ - -------------------------------------------------------------------- - -fsm.c - {Link, IP} Control Protocol Finite State Machine. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -fsm.h - {Link, IP} Control Protocol Finite State Machine definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: fsm.h,v 1.10 2004/11/13 02:28:15 paulus Exp $ - -------------------------------------------------------------------- - -if_ppp.h - Point-to-Point Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ipcp.c - PPP IP Control Protocol. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ipcp.h - IP Control Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ipcp.h,v 1.14 2002/12/04 23:03:32 paulus Exp $ - -------------------------------------------------------------------- - -ipv6cp.c - PPP IPV6 Control Protocol. - -Copyright (c) 1999 Tommi Komulainen. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Tommi Komulainen - <Tommi.Komulainen@iki.fi>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ipv6cp.h - PPP IPV6 Control Protocol. - -Copyright (c) 1999 Tommi Komulainen. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Tommi Komulainen - <Tommi.Komulainen@iki.fi>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ipxcp.c - PPP IPX Control Protocol. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -ipxcp.h - IPX Control Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ipxcp.h,v 1.5 2002/12/04 23:03:32 paulus Exp $ - -------------------------------------------------------------------- - -lcp.c - PPP Link Control Protocol. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -lcp.h - Link Control Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: lcp.h,v 1.20 2004/11/14 22:53:42 carlsonj Exp $ - -------------------------------------------------------------------- - -magic.c - PPP Magic Number routines. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -magic.h - PPP Magic Number definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $ - -------------------------------------------------------------------- - -main.c - Point-to-Point Protocol main module - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Copyright (c) 1999-2004 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -minconn.c - pppd plugin to implement a `minconnect' option. - -Copyright (c) 1999 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -mppe.h - Definitions for MPPE - -Copyright (c) 2008 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -options.c - handles option processing for PPP. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -passprompt.c - pppd plugin to invoke an external PAP password prompter - -Copyright 1999 Paul Mackerras, Alan Curry. - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. - -------------------------------------------------------------------- - -ppp-comp.h - Definitions for doing PPP packet compression. - -Copyright (c) 1984 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: ppp-comp.h,v 1.13 2002/12/06 09:49:15 paulus Exp $ - -------------------------------------------------------------------- - -ppp_defs.h - PPP definitions. - -Copyright (c) 1984 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -pppcrypt.c - PPP/DES linkage for MS-CHAP and EAP SRP-SHA1 - -Extracted from chap_ms.c by James Carlson. - -Copyright (c) 1995 Eric Rosenquist. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -pppd.h - PPP daemon global declarations. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: pppd.h,v 1.96 2008/06/23 11:47:18 paulus Exp $ - -------------------------------------------------------------------- - -pppio.h - ioctl and other misc. definitions for STREAMS modules. - -Copyright (c) 1994 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: pppio.h,v 1.9 2002/12/06 09:49:15 paulus Exp $ - -------------------------------------------------------------------- - -session.c - PPP session control. - -Copyright (c) 2007 Diego Rivera. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -session.c - PPP session control. - -Copyright (c) 2007 Diego Rivera. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Derived from auth.c, which is: - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -sys-linux.c - System-dependent procedures for setting up -PPP interfaces on Linux systems - -Copyright (c) 1994-2004 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Derived from main.c and pppd.h, which are: - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -tty.c - code for handling serial ports in pppd. - -Copyright (C) 2000-2004 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Portions derived from main.c, which is: - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -upap.c - User/Password Authentication Protocol. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - -upap.h - User/Password Authentication Protocol definitions. - -Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The name "Carnegie Mellon University" must not be used to - endorse or promote products derived from this software without - prior written permission. For permission or any legal - details, please contact - Office of Technology Transfer - Carnegie Mellon University - 5000 Forbes Avenue - Pittsburgh, PA 15213-3890 - (412) 268-4387, fax: (412) 268-7395 - tech-transfer@andrew.cmu.edu - -4. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Computing Services - at Carnegie Mellon University (http://www.cmu.edu/computing/)." - -CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE -FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -$Id: upap.h,v 1.8 2002/12/04 23:03:33 paulus Exp $ - -------------------------------------------------------------------- - -utils.c - various utility functions used in pppd. - -Copyright (c) 1999-2002 Paul Mackerras. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The name(s) of the authors of this software must not be used to - endorse or promote products derived from this software without - prior written permission. - -3. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by Paul Mackerras - <paulus@samba.org>". - -THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO -THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN -AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -------------------------------------------------------------------- - @@ -1,6 +1,3 @@ -name: "ppp" -version: "2.4.7" - third_party { license_type: RESTRICTED } @@ -1,2 +1 @@ -set noparent -file:platform/packages/modules/Connectivity:master:/OWNERS_core_networking +include platform/system/netd:/OWNERS diff --git a/pppd/Android.bp b/pppd/Android.bp index 43e5688..dfa36bd 100644 --- a/pppd/Android.bp +++ b/pppd/Android.bp @@ -91,7 +91,7 @@ filegroup { "tty.c", "upap.c", "utils.c", - ], + ] } cc_library_static { @@ -99,16 +99,14 @@ cc_library_static { defaults: ["ppp_defaults"], srcs: [ - ":pppd-sources", - ], - export_include_dirs: [ - ".", - "include", + ":pppd-sources" ], + export_include_dirs:[".", "include"], // options.c:623:21: error: passing 'const char *' to parameter of // type 'char *' discards qualifiers. // [-Werror,-Wincompatible-pointer-types-discards-qualifiers] + clang_cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], shared_libs: [ "libdl", @@ -122,7 +120,6 @@ cc_library_static { "-Wno-empty-body", "-Wno-attributes", "-Wno-sign-compare", - "-Wno-incompatible-pointer-types-discards-qualifiers", ], ldflags: ["-rdynamic"], @@ -137,7 +134,7 @@ cc_binary { defaults: ["ppp_defaults"], srcs: [ - ":pppd-sources", + ":pppd-sources" ], shared_libs: [ @@ -149,7 +146,7 @@ cc_binary { ldflags: ["-rdynamic"], - cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], + clang_cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], required: [ "pppol2tp-android", diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 4fbcca9..d5dbc7c 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -1044,7 +1044,7 @@ void restore_tty (int tty_fd) * output - Output PPP packet. */ -__attribute((weak)) void output (int unit, unsigned char *p, int len) +void output (int unit, unsigned char *p, int len) { int fd = ppp_fd; int proto; diff --git a/pppd/utils.c b/pppd/utils.c index 80cc292..87a118d 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -311,11 +311,9 @@ vslprintf(buf, buflen, fmt, args) if (fillch == '0' && prec >= 0) { n = prec; } else { - if (prec >= 0) { - n = strnlen((char *)p, prec); - } else { - n = strlen((char *)p); - } + n = strlen((char *)p); + if (prec >= 0 && n > prec) + n = prec; } while (n > 0 && buflen > 0) { c = *p++; |