Commit Graph

1382 Commits

Author SHA1 Message Date
David F. Skoll
14768a012e Made proxyarp search for the best matching interface (the one with the highest
netmask) instead of the first matching interface.
2002-01-22 16:01:33 +00:00
David F. Skoll
fcdb3f7ce6 Fixed reversal of arguments to strlcpy. 2002-01-14 15:31:34 +00:00
David F. Skoll
260a30f093 Noted that multilink implies the use of TDB. 2002-01-14 14:26:31 +00:00
David F. Skoll
e38fa6a29a Made multilink and tdb code compile-time options. By default, they are
included, so the default build is unchanged.
2002-01-14 14:25:10 +00:00
Russell Coker
3371dbae29 Made setipaddr() non-static so it can be called from plugins (particularly
portslave).
Also fix a trivial multiple-definition warning in ppp/pppd/ipcp.c and a
comma-at-end-of-enum warning in ppp/pppd/pppd.h.
2002-01-11 18:31:42 +00:00
Russell Coker
58d58e6be9 Fix for locking on Linux and related systems, particularly for devfs.
Also include <time.h> to avoid some warnings.
2002-01-11 18:27:17 +00:00
Russell Coker
e635acbbac Stop it dumping random data to syslog on plugin version mismatch. 2002-01-11 18:11:51 +00:00
Russell Coker
6b006296e2 Include <string.h> to fix minor warnings. 2002-01-11 18:10:58 +00:00
Russell Coker
215baf28fc Made the exit return code be reported via WEXITSTATUS(status) instead of status,
also fixed a trivial memory leak.
2002-01-11 18:10:16 +00:00
Russell Coker
d05576dd19 Added <time.h> to stop warnings, and made it check errors from
pam_open_session().
2002-01-11 18:07:45 +00:00
Russell Coker
efda946faf Enlarged the report buffer to 256 bytes. 2002-01-11 18:05:44 +00:00
Russell Coker
31ddd66442 Clarified maxfail. 2002-01-11 18:04:37 +00:00
Russell Coker
b1314fc1d0 Fixed some minor syntax errors. 2002-01-11 18:02:45 +00:00
Michal Ostrowski
3aef9371a5 Add if_pppox.h, to avoid dependency on existence of linux-kernel source tree 2001-12-15 00:34:24 +00:00
Michal Ostrowski
dbfeebc9ad Switch to using RoaringPenguin-based PPPOE plugin 2001-12-14 02:55:20 +00:00
Michal Ostrowski
fecefef95c Correct utmp handling - Robert Davidson <puttputt@iaccess.ws> 2001-12-14 02:52:09 +00:00
Michal Ostrowski
b077002b88 Correct link stats - Michael Schwendt <mschwendt@yahoo.com> 2001-12-14 02:51:34 +00:00
Paul Mackerras
706493747a cancel maxconnect timeout when the link goes down 2001-11-09 10:33:42 +00:00
Paul Mackerras
91f441b35c fix dump_packet 2001-11-09 10:33:04 +00:00
Paul Mackerras
d89776d4a6 add plugins and plugins/pppoe 2001-07-26 20:10:52 +00:00
Paul Mackerras
6050706a2f rearrange, add pppoe 2001-07-26 20:06:22 +00:00
Paul Mackerras
cdbb124cea pppoe plugin stuff - Michal Ostrowski's version, lightly hacked 2001-07-26 20:03:32 +00:00
Paul Mackerras
e59b06f904 fix comment 2001-05-23 03:39:50 +00:00
Paul Mackerras
cc593def97 add dump_packet, don't log lcp echo request/reply messages once
the link is up unless debug >= 2
2001-05-23 03:39:14 +00:00
Paul Mackerras
4cc66b91de describe new behaviour of plugin option 2001-05-23 02:28:42 +00:00
Paul Mackerras
0c24fe1477 export generic_{dis,}establish_ppp for pppoe stuff
add line numbers to non-specific error messages for debugging
2001-05-23 02:28:14 +00:00
Paul Mackerras
315faba747 Update the plugins documentation 2001-05-21 08:34:33 +00:00
Paul Mackerras
ffa027207f minor bugfixes, now 2.4.2b1, add pkts_in/out to pppd_stats,
finish transition to netif_set_mtu and tty_send/recv_config
2001-04-27 23:16:13 +00:00
Paul Mackerras
aac99e2604 add some more hooks and notifiers 2001-04-27 23:13:06 +00:00
Paul Mackerras
d53d8e8a31 update to 2.4.1 2001-03-25 04:51:54 +00:00
Paul Mackerras
0232ca8230 prevent ipv6 stuff from complaining about no addresses in demand mode
if ipv6 is not enabled
2001-03-22 00:42:33 +00:00
Paul Mackerras
b18e8ba1f8 implement %u for printing bytes sent/received 2001-03-16 02:08:13 +00:00
Paul Mackerras
8b1746de32 better message for the case when /dev/ppp doesn't exist 2001-03-13 05:36:32 +00:00
Paul Mackerras
bf3fe901f6 update to b2 2001-03-12 23:08:43 +00:00
Paul Mackerras
0aac832b0e change to bsd-style licence 2001-03-12 23:05:44 +00:00
Paul Mackerras
392a4f54cb make establish/disestablish_ppp members of the channel struct,
make restore_loop part of disestablish_ppp
2001-03-12 22:59:01 +00:00
Paul Mackerras
2d2fefe2c6 fix silly bug in pr_log 2001-03-12 22:56:45 +00:00
Paul Mackerras
e3c0701e74 remove oops message when a bool option has been turned off by other
logic; fix silly bug in options_from_list
2001-03-12 22:56:12 +00:00
Paul Mackerras
4d2feb62fc move netif_set_mtu after set_ifunit so it can use ifname;
remove a debug message
2001-03-12 22:55:26 +00:00
Paul Mackerras
fe3b3b7599 don't insist on the suggested address from the secrets file
unless it is the only authorized address
2001-03-12 22:50:01 +00:00
Paul Mackerras
3c61a8ea52 explain the kdebug value a bit better 2001-03-12 22:49:25 +00:00
Paul Mackerras
be41e1aebd change to bsd-style licence 2001-03-12 22:46:09 +00:00
Paul Mackerras
b49b9d4f3f fix a couple of bugs reported on the linux-ppp list:
set debug flags in channel, parse our version string correctly
2001-03-10 11:42:22 +00:00
Paul Mackerras
e4a31c6f37 workaround zlib bug 2001-03-09 01:03:50 +00:00
Paul Mackerras
8f4eec8377 describe dump and dryrun 2001-03-09 01:01:26 +00:00
Paul Mackerras
c64ecb3a2b move the option printing stuff a little earlier, take out
unnecessary openlog from sys_init in sys_linux.c
2001-03-09 00:55:14 +00:00
Paul Mackerras
4158c3889a update for 2.4.1 2001-03-09 00:53:57 +00:00
Paul Mackerras
f6844ddcc8 fix silly typo 2001-03-08 05:29:28 +00:00
Paul Mackerras
5951347a39 Make the example plugins here export the version number that they
were compiled against; add an install target to put the plugins in
/usr/lib/pppd/<version>/.
2001-03-08 05:16:38 +00:00
Paul Mackerras
2aecd9597d add _PATH_PLUGIN for the default place to look for plugins 2001-03-08 05:15:37 +00:00