Paul Mackerras
9bb2805159
print no_ppp_msg with %s
2000-12-27 23:26:41 +00:00
Paul Mackerras
c7cc972ace
Increase the size of the buffer for option error messages
2000-12-27 23:25:55 +00:00
Paul Mackerras
a6fc2c998f
Add 76800 and 921600 baud rates
2000-12-27 23:25:12 +00:00
Paul Mackerras
27ae3caf2a
Correct nodtrcts -> nocdtrcts
2000-12-27 23:24:13 +00:00
Paul Mackerras
38ab2a874c
reinstate these files with BSD-style copyright
2000-08-05 06:46:47 +00:00
Paul Mackerras
26703b215b
update for 2.4
2000-08-01 01:47:04 +00:00
Paul Mackerras
16d53c1e2e
update for 2.4.0 release
2000-08-01 01:46:24 +00:00
Paul Mackerras
b42a30af51
turn off packet filtering for now since the kernel driver doesn't
...
support it yet.
2000-08-01 01:44:48 +00:00
Paul Mackerras
c65dfbde7e
add stuff for packet filtering
...
remove IPV6 stuff because it was GPL'd
2000-08-01 01:38:30 +00:00
Paul Mackerras
df24fbb118
add infrastructure to support packet filtering
2000-08-01 01:37:24 +00:00
Paul Mackerras
29239433ca
new version rewritten for 2.4.0
2000-08-01 01:35:04 +00:00
Paul Mackerras
141e4209b6
fix allow-ip option, allow @login for secret meaning authenticate against
...
login database, update to 2.4.0b5, update man page for multilink options,
fix restoring device permissions
2000-07-24 14:58:15 +00:00
Paul Mackerras
00c0882b07
move more stuff from main.c into tty.c, for 2.4.0b4
2000-07-06 11:17:03 +00:00
Paul Mackerras
45ee8b9545
comment out kinstall since it isn't needed now
2000-06-30 04:56:15 +00:00
Paul Mackerras
52a17b6d41
Move the tty-related stuff out to tty.c as far as possible.
2000-06-30 04:54:23 +00:00
Paul Mackerras
9b7089a040
don't fall over in the charshunt if we get an EAGAIN or EINTR
...
error on a write.
2000-04-29 12:32:59 +00:00
Paul Mackerras
df7501b15f
Accept the endpoint discriminator from the peer unless the
...
noendpoint option is given, even if we're not doing multilink.
Include the noendpoint option even if !HAVE_MULTILINK.
2000-04-29 12:32:09 +00:00
Adi Masputra
91fe5eefe0
MP-related code should be wrapped within HAVE_MULTILINK pre-processor
...
conditional blocks, otherwise the build breaks on platforms where
HAVE_MULTILINK is not defined.
2000-04-27 03:51:18 +00:00
Adi Masputra
ff268e8e2e
Ignore the generated binaries and sparcv9 directory such that CVS
...
won't treat them as part of the repository (during CVS update).
2000-04-27 03:38:25 +00:00
Paul Mackerras
737d6de063
allow peer to give endpoint even if we're not doing multilink;
...
fix demand dialling where we ask for multilink and don't get it.
2000-04-24 07:41:09 +00:00
Paul Mackerras
010e00bc54
update to 2.4.0b3
2000-04-24 07:39:47 +00:00
Adi Masputra
2b0e16c59c
Fixed bugs with regards to using other device names than "ppp", use
...
PPP_DRV_NAME definition instead.
2000-04-24 02:54:18 +00:00
Adi Masputra
32093f70f0
Fixed bugs with regards to using other device names than "ppp"
2000-04-21 01:27:57 +00:00
Adi Masputra
cb01d0c72c
Allows another name other than "ppp" be used as the PPP interface name.
...
If it's not defined, then use the legacy "ppp" without any changes.
2000-04-21 01:27:17 +00:00
Adi Masputra
f9eac6e29b
1) Created a subdirectory called 'solaris'. Currently it contains a replica
...
of the 'svr4' directory. However, over time, files in this directory
will contain the same code as the kernel-portion of pppd in future
releases of Solaris, hence they most probably will change in contents
and/or sub-structure.
2) Changed the 'configure' script to not create symbolic link Makefiles
when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or
Solaris 2.x) is currently enabled.
3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point
to the solaris/Makedefs instead of the one in svr4 directory.
2000-04-18 23:51:29 +00:00
Paul Mackerras
56e6860d27
fix the bug in non-demand mode that I inadvertently introduced
2000-04-15 11:39:52 +00:00
Paul Mackerras
dd28262239
Use /bin/sh in these scripts, not ksh, otherwise rpm incorrectly
...
thinks that this package depends on ksh.
2000-04-15 11:38:48 +00:00
Paul Mackerras
8e950ea709
fixes for demand mode and multilink
2000-04-15 10:10:25 +00:00
Adi Masputra
bf77614033
Removed '-w' cc flag, since it practically disables all warnings. This
...
may not be good for future development. Plus, warnings should be fixed
instead of ignored.
2000-04-15 01:30:53 +00:00
Adi Masputra
5b7a245572
Some tiny fixes (minor castings) to remove annoying compiler warnings
2000-04-15 01:27:13 +00:00
Paul Mackerras
3f2fe49d82
Multilink cleanups and fixes.
...
We don't need to include multilink.o now if HAVE_MULTILINK is
not defined.
2000-04-13 12:06:00 +00:00
Paul Mackerras
3c0c031beb
don't stop logging on detach if we use logfd or logfile option
2000-04-13 12:05:16 +00:00
Paul Mackerras
c6661604e9
remove stray #endif
2000-04-13 12:04:23 +00:00
Paul Mackerras
fe4856edea
Changes for ppp-2.4.0 beta 1 release.
...
We are only including Linux, Solaris & SunOS in 2.4 unless
some maintainers start popping up out of the woodwork.
2000-04-13 11:59:40 +00:00
Adi Masputra
a139b444eb
Added the following:
...
1. Two versions of get_first_ethernet() function, one with a short
version of ifreq (before Solaris 8) and the other with a long
version of ifreq (Solaris 8 and beyond). This is needed to support
multilink.c
2. get_if_hwaddr() function, which is really a wrapper function which
calls get_hw_addr_dlpi() in order to obtain the Ethernet interface
address(es) via DLPI mechanism.
2000-04-06 23:11:05 +00:00
Adi Masputra
36a3914e40
Since this file needs to be included as part of the compilation, whether
...
or not HAVE_MULTILINK is defined, certain functions need to be wrapped
within HAVE_MULTILINK conditional preprocessor blocks. So far, everything
but the epdisc_to_str() function needs to be excluded when HAVE_MULTILINK
is not defined. This is because epdisc_to_str() seems to be called
unconditionally from within lcp.c, specifically from lcp_printpk().
2000-04-06 23:08:18 +00:00
Adi Masputra
232c8d5a06
Added tdb.c and multilink.c to be part of the compilation, otherwise,
...
Solaris 2.x compilation breaks
2000-04-06 23:03:28 +00:00
Paul Mackerras
c78a787137
make mpshortseq option work
2000-04-05 00:58:28 +00:00
Paul Mackerras
7f804a990a
this one is also needed for multilink :-)
2000-04-04 07:08:12 +00:00
Paul Mackerras
0b3acd3a11
Multilink support.
...
We now put details of each connection in a tdb database.
At present the values we put in the database are just
the same as the environment strings.
2000-04-04 07:06:53 +00:00
Paul Mackerras
84bede49f1
update for new kernel driver and devfs
2000-03-27 06:04:07 +00:00
Paul Mackerras
227d632867
changes for new linux kernel driver and for multilink
2000-03-27 06:03:36 +00:00
Paul Mackerras
2c872bc67b
changes to linux interface for new kernel driver,
...
plus the start of multilink support
2000-03-27 06:03:07 +00:00
Paul Mackerras
a95c8a6bd2
increase buffer size
2000-03-27 01:36:48 +00:00
Paul Mackerras
ce58910ee6
fix demand-dialling bug with new driver
2000-03-13 23:40:28 +00:00
Paul Mackerras
deb02ea793
add socket and datarate options
...
fix n_children bug
2000-03-13 23:39:58 +00:00
Paul Mackerras
37ccd93f3c
don't require authentication by default if privileged, even if we
...
have a default route already.
2000-03-13 23:25:46 +00:00
Adi Masputra
1c4b763fd4
Adjusted MTU to proper values per transport layers
2000-03-09 20:07:52 +00:00
Adi Masputra
4ffad8f3fb
The usage of intptr_t was completely a bad choice, since it's not
...
defined in 2.5.1 and earlier, including SunOS 4.x. A type definition
is now added (with support for LP64 as well) in order to avoid this
compilation problem across older Solaris releases.
2000-03-06 19:38:12 +00:00
Adi Masputra
baf120b604
clock32_t is clock_t (long)
2000-02-18 10:00:58 +00:00