Package: ppp / 2.4.6-3.1

Metadata

Package Version Patches format
ppp 2.4.6-3.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ppp 2.4.7 001 pppd Separate IPv6 handling for sifup sifdown.patch | (download)

pppd/ipv6cp.c | 14 8 + 6 - 0 !
pppd/sys-linux.c | 82 62 + 20 - 0 !
2 files changed, 70 insertions(+), 26 deletions(-)

 pppd: separate ipv6 handling for sifup/sifdown
ppp 2.4.7 002 pppol2tp Connect up down events to notifiers and add.patch | (download)

pppd/plugins/pppol2tp/pppol2tp.c | 30 12 + 18 - 0 !
1 file changed, 12 insertions(+), 18 deletions(-)

 pppol2tp: connect up/down events to notifiers and add ipv6 ones
ppp 2.4.7 003 pppd Add declarations to eliminate compile warnings.patch | (download)

pppd/pppd.h | 2 2 + 0 - 0 !
pppd/sys-linux.c | 3 2 + 1 - 0 !
2 files changed, 4 insertions(+), 1 deletion(-)

 pppd: add declarations to eliminate compile warnings
ppp 2.4.7 004 pppd Eliminate some unnecessary ifdefs.patch | (download)

pppd/ipv6cp.c | 38 0 + 38 - 0 !
pppd/ipv6cp.h | 2 0 + 2 - 0 !
2 files changed, 40 deletions(-)

 pppd: eliminate some unnecessary ifdefs
ppp 2.4.7 005 radius Fix realms config file option.patch | (download)

pppd/plugins/radius/radrealms.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 radius: fix realms-config-file option
ppp 2.4.7 006 pppd Eliminate potential integer overflow in option .patch | (download)

pppd/options.c | 10 6 + 4 - 0 !
1 file changed, 6 insertions(+), 4 deletions(-)

 pppd: eliminate potential integer overflow in option parsing
ppp 2.4.7 007 pppd Eliminate memory leak with multiple instances o.patch | (download)

pppd/options.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 pppd: eliminate memory leak with multiple instances of a string
 option
ppp 2.4.7 008 pppd Fix a stack variable overflow in MSCHAP v2.patch | (download)

pppd/chap_ms.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 pppd: fix a stack variable overflow in mschap-v2
ppp 2.4.7 009 winbind plugin Add DMPPE 1 to eliminate compiler war.patch | (download)

pppd/plugins/Makefile.linux | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 winbind plugin: add -dmppe=1 to eliminate compiler warnings
adaptive_echos | (download)

pppd/lcp.c | 19 19 + 0 - 0 !
pppd/pppd.8 | 5 5 + 0 - 0 !
2 files changed, 24 insertions(+)

---
makefiles_cleanup | (download)

chat/Makefile.linux | 5 3 + 2 - 0 !
pppd/Makefile.linux | 7 4 + 3 - 0 !
pppd/plugins/Makefile.linux | 4 2 + 2 - 0 !
pppd/plugins/pppoatm/Makefile.linux | 4 2 + 2 - 0 !
pppd/plugins/pppol2tp/Makefile.linux | 4 2 + 2 - 0 !
pppd/plugins/radius/Makefile.linux | 16 9 + 7 - 0 !
pppd/plugins/rp-pppoe/Makefile.linux | 10 6 + 4 - 0 !
pppdump/Makefile.linux | 9 6 + 3 - 0 !
pppstats/Makefile.linux | 7 4 + 3 - 0 !
9 files changed, 38 insertions(+), 28 deletions(-)

---
close_dev_ppp | (download)

pppd/sys-linux.c | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 bug#306261: pppd does not properly close /dev/ppp on persist

When using the kernel PPPoE driver, pppd never
closes /dev/ppp when the link has come down.

It opens superfluous fds to the device each time it re-opens the
connection, with the unclosed ones falsely reported always ready for
data by select().

This makes pppd eat up 100% CPU time after the first persist because of
the always instantly returning select() on the unclosed fds.

The problem also occurs with the upstream version, but does not occur
when a pty/tty device is used for the ppp connection.



chat_man | (download)

chat/chat.8 | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

---
fix_linkpidfile | (download)

pppd/main.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 bug#284382: ppp: linkpidfile is not created upon detachment
pppdump_use_zlib | (download)

pppdump/Makefile.linux | 28 26 + 2 - 0 !
1 file changed, 26 insertions(+), 2 deletions(-)

---
pppoatm_resolver_light | (download)

pppd/plugins/pppoatm/Makefile.linux | 4 4 + 0 - 0 !
pppd/plugins/pppoatm/pppoatm.c | 4 4 + 0 - 0 !
pppd/plugins/pppoatm/text2atm.c | 4 4 + 0 - 0 !
3 files changed, 12 insertions(+)

---
pppoatm_cleanup | (download)

pppd/plugins/pppoatm/pppoatm.c | 23 13 + 10 - 0 !
1 file changed, 13 insertions(+), 10 deletions(-)

---
pppoe_noads | (download)

pppd/plugins/rp-pppoe/plugin.c | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---
readable_connerrs | (download)

pppd/main.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
radius config.c unkown typo | (download)

pppd/plugins/radius/config.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 correct unkown => unknown typo
011_scripts_redialer.diff | (download)

scripts/redialer | 133 53 + 80 - 0 !
1 file changed, 53 insertions(+), 80 deletions(-)

---
cifdefroute.dif | (download)

pppd/ipcp.c | 45 40 + 5 - 0 !
pppd/ipcp.h | 1 1 + 0 - 0 !
pppd/pppd.8 | 12 11 + 1 - 0 !
pppd/pppd.h | 4 4 + 0 - 0 !
pppd/sys-linux.c | 82 67 + 15 - 0 !
5 files changed, 123 insertions(+), 21 deletions(-)

 add replacedefaultroute option

Adds an option to pppd to control whether to replace existing default routes
when using the 'defaultroute' option.

If defaultroute and replacedefaultroute are both set, pppd replaces an existing
default route with the new default route. The old default route is restored when
the connection is taken down.

ppp 2.3.11 oedod.dif | (download)

pppd/demand.c | 99 98 + 1 - 0 !
pppd/ipcp.c | 2 1 + 1 - 0 !
pppd/ipv6cp.c | 2 1 + 1 - 0 !
pppd/pppd.h | 2 1 + 1 - 0 !
4 files changed, 101 insertions(+), 4 deletions(-)

---
radius_mtu | (download)

pppd/plugins/radius/radius.c | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 radius plugin does not set mtu on ppp interface
Date: Mon, 22 Jan 2007 12:36:59 +0000 (GMT)

Full_Name: Alexander Klepikov
Version: 2.4.3
OS: rhl 7.3 (2.4.20-28.7bigmem)
018_ip up_option.diff | (download)

pppd/ipcp.c | 8 4 + 4 - 0 !
pppd/main.c | 3 3 + 0 - 0 !
pppd/options.c | 9 9 + 0 - 0 !
pppd/pppd.h | 2 2 + 0 - 0 !
4 files changed, 18 insertions(+), 4 deletions(-)

---
ppp 2.4.2 stripMSdomain | (download)

pppd/chap-new.c | 11 11 + 0 - 0 !
1 file changed, 11 insertions(+)

---
setenv_call_file | (download)

pppd/options.c | 1 1 + 0 - 0 !
pppd/pppd.8 | 3 3 + 0 - 0 !
2 files changed, 4 insertions(+)

---
ipv6 accept remote | (download)

pppd/ipv6cp.c | 5 4 + 1 - 0 !
pppd/ipv6cp.h | 3 2 + 1 - 0 !
pppd/pppd.8 | 5 5 + 0 - 0 !
3 files changed, 11 insertions(+), 2 deletions(-)

---
ppp 2.4.2 ifname.diff | (download)

pppd/main.c | 16 6 + 10 - 0 !
pppd/options.c | 5 5 + 0 - 0 !
pppd/pppd.8 | 8 7 + 1 - 0 !
pppd/pppd.h | 11 11 + 0 - 0 !
pppd/sys-linux.c | 15 15 + 0 - 0 !
pppstats/pppstats.c | 12 6 + 6 - 0 !
6 files changed, 50 insertions(+), 17 deletions(-)

 allow use of arbitrary interface names

This is a modified version of a patch from openSUSE that enables PPP interfaces
to be called arbitrary names, rather than simply pppX where X is the unit
number.

The modifications from the stock openSUSE patch are:
ppp 2.4.4 strncatfix.patch | (download)

pppd/plugins/radius/clientid.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a potential buffer overflow in clientid.c:rc_map2id()

This fixes the following compile-time warning when building with
-D_FORTIFY_SOURCE=2:

In file included from /usr/include/string.h:638:0,
                 from ./includes.h:26,
                 from clientid.c:12:
In function 'strncat',
    inlined from 'rc_map2id' at clientid.c:113:9:
/usr/include/i386-linux-gnu/bits/string3.h:150:3: warning: call to
__builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^

010_scripts_README.diff | (download)

scripts/README | 14 14 + 0 - 0 !
1 file changed, 14 insertions(+)

---
no_crypt_hack | (download)

pppd/Makefile.linux | 4 4 + 0 - 0 !
pppd/auth.c | 2 2 + 0 - 0 !
pppd/session.c | 2 2 + 0 - 0 !
3 files changed, 8 insertions(+)

---
resolv.conf_no_log | (download)

pppd/ipcp.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
zzz_config | (download)

pppd/Makefile.linux | 6 2 + 4 - 0 !
pppd/pathnames.h | 2 1 + 1 - 0 !
pppd/pppd.h | 2 1 + 1 - 0 !
pppdump/Makefile.linux | 4 2 + 2 - 0 !
4 files changed, 6 insertions(+), 8 deletions(-)

---
secure card interpreter fix | (download)

scripts/secure-card | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 change path to expect in secure-card example script

This fixes the lintian warning:
I: ppp: example-wrong-path-for-interpreter
  usr/share/doc/ppp/examples/scripts/secure-card
  (#!/usr/local/bin/expect != /usr/bin/expect)

rc_mksid no buffer overflow | (download)

pppd/plugins/radius/util.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix buffer overflow in rc_mksid()
 rc_mksid converts the PID of pppd to hex to generate a pseudo-unique string.
 .
 If the process id is bigger than 65535 (FFFF), its hex representation will be
 longer than 4 characters, resulting in a buffer overflow.
 .
 The bug can be exploited to cause a remote DoS.
 .