summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* fix typo (#384)lilinjie2023-01-121-1/+1
| | | Signed-off-by: lilinjie <lilinjie@uniontech.com>
* Use autoconf/automake to configure and make pppEivind Næss2021-07-201-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change brings in autoconf/automake scripts to configure the ppp project. Current change doesn't eliminate the previous build system, but the new script autogen.sh will overwrite configure, and generate the basic Makefile.in and Makefile files. Features can now be enabled by command line: * Microsoft Extensions, - MSCHAP - MPPE - MS LAN Manager support * IPXCP protocol * CBCP protocol * PAM support * EAP-TLS support * EAP-SRP support * Max session lifetime by byte count * Plugins * Packet activity filter support * Multilink * IPv6 support Control linkage with * OpenSSL (-lssl -lcrypto) * systemd (-lsystemd) * libatm (-latm) * libsrp (-lsrp) * pam (-lpam) Also, the configure script is made sensitive to features of OpenSSL. Like the presence or absence of DES, SHA, MD4 and MD5 crypto support. In the cases where either of these are missing, the support will be directly compiled into pppd and plugins. In addition, package maintainers can now control the installation paths with standard --prefix=, or --localstatedir=, or --sysconfdir= to configure. On top of that, they can now control the following directories: * runtime directory w/--with-runtime-dir * logfile directory w/--with-logfile-dir * plugin directory w/--with-plugin-dir In the case where automake isn't the right solution, namely: SunOS kernel module build, the original Makefile infrastructure is preserved and reused. Care was taken to only cosmetically touchup the source files in this change. This means: * Insert HAVE_CONFIG_H and include config.h in all .c files. * Change HAS_SHADOW to HAVE_SHADOW_H * Change HAVE_LOGWTMP to HAVE_UTMP_H * Introduce HAVE_CRYPT_H into the source code where appropriate * Added ifdef MPPE where appropriate * USE_SRP required a few changes as it didn't compile * Touchup some compile warning in pppstats directory on SunOS Introduced a new pppdconf.h file that exports the appropriate defines to a module that wants to provide a module that pppd can dynamically load. This will define/undef features like MPPE, CHAPMS such that the project doesn't have to guess what features pppd is compiled with. Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
* Change path to expect in secure-card example script (#195)Samuel Thibault2020-12-311-1/+1
| | | | | | | People would usually just install expect from their distribution Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Co-authored-by: Chris Boot <bootc@debian.org>
* Merge branch 'plog-usability' of https://github.com/mityada/pppPaul Mackerras2016-07-091-1/+1
|\ | | | | | | Signed-off-by: Paul Mackerras <paulus@samba.org>
| * plog: count only relevant lines from syslogDmitry Deshevoy2016-03-311-1/+1
| | | | | | Closes paulusmack/ppp#42
* | scripts: Avoid killing wrong pppdradaiming2014-12-131-1/+1
|/ | | | | | | poff could kill other pppd processes when there are many pppd running on different serial port. Signed-off-by: Ming Dai <radaiming@gmail.com>
* scripts: Make poff ignore extra arguments to pppdJason St. John2012-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows /usr/bin/poff to properly end a /usr/sbin/pppd process that was started with additional arguments. The problem with the current poff script is on line 93 where the output of `ps axw` is piped into grep. The current regular expression that grep searches for prevents the PID of the specified pppd process from being found, which results in the script failing to terminate the pppd process. The output of poff in that case would be the following: /usr/bin/poff: I could not find a pppd process for provider 'cit-vpn'. None stopped. The reason for this is that the " *\$" at the end of the regular expression does not match the output of the following example from `ps axw`: 11846 ? Ss 0:00 /usr/sbin/pppd call cit-vpn updetach persist To resolve this issue, I removed the troublesome part of the regular expression (" *\$") and now grep can properly match the example output provided above. I have tested this using ppp 2.4.5-2 in conjunction with pptpclient-1.7.2-3 on Arch Linux x86_64. Signed-off-by: Paul Mackerras <paulus@samba.org>
* Correctly escape or unescape hypens in the man pages.Paul Mackerras2004-11-131-7/+7
| | | | | Without this patch "-" is rendered as the endash in unicode consoles and then bad things happen. From Marco d'Itri.
* tidy up shell scripting, common radvd path in examplesAlexandr D. Kanevskiy2004-04-123-24/+27
|
* example fixAlexandr D. Kanevskiy2004-04-121-1/+1
|
* Change references to cuaN in examples and documentation to ttySN.Paul Mackerras2004-01-131-3/+3
| | | | | Yes, rather linux-centric, I know. Patch from Marco d'Itri (Debian ppp package maintainer).
* Brian May's Perl script to auto-dial ppp. Has exponentially increasing delaysRussell Coker2003-03-091-0/+160
| | | | on connect failures to avoid excessive costs.
* Added a man page for pon/poff/plog and plog to display the end of the ppp log.Russell Coker2002-11-242-0/+127
|
* Added an alternate pair of scripts for starting and stopping ppp connections.Russell Coker2002-11-242-0/+142
|
* Use /bin/sh in these scripts, not ksh, otherwise rpm incorrectlyPaul Mackerras2000-04-152-2/+2
| | | | thinks that this package depends on ksh.
* Adjusted MTU to proper values per transport layersAdi Masputra2000-03-094-4/+4
|
* Added some sample scripts and options files for connecting PPPAdi Masputra2000-01-247-2/+206
| | | | over rsh and ssh, along with short descriptions in README
* fix typoPaul Mackerras1999-11-171-1/+1
|
* add these examplesPaul Mackerras1999-09-112-0/+64
|
* chatchat stuff from gpk@onramp.netPaul Mackerras1999-05-122-0/+543
|
* examples for RH linuxPaul Mackerras1999-04-012-0/+44
|
* *** empty log message ***Paul Mackerras1998-03-268-0/+560