Sebastian Andrzej Siewior | 3 Apr 2010 09:49

[PATCH 7/7] net/ppp_mppe: convert from arc4 to arc4blk

ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself

Cc: <linux-ppp <at> vger.kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <sebastian <at> breakpoint.cc>
---
 drivers/net/Kconfig    |    3 +--
 drivers/net/ppp_mppe.c |   12 ++++++------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index dd9a09c..4b5dd86 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
 <at>  <at>  -3075,8 +3075,7  <at>  <at>  config PPP_MPPE
        depends on PPP && EXPERIMENTAL
        select CRYPTO
        select CRYPTO_SHA1
-       select CRYPTO_ARC4
-       select CRYPTO_ECB
+       select CRYPTO_ARC4BLK
        ---help---
          Support for the MPPE Encryption protocol, as employed by the
 	 Microsoft Point-to-Point Tunneling Protocol.
diff --git a/drivers/net/ppp_mppe.c b/drivers/net/ppp_mppe.c
index 6d1a1b8..4deaf70 100644
--- a/drivers/net/ppp_mppe.c
+++ b/drivers/net/ppp_mppe.c
 <at>  <at>  -42,7 +42,6  <at>  <at> 
  *                    MOD_DEC_USAGE_COUNT/MOD_INC_USAGE_COUNT which are
  *                    deprecated in 2.6
(Continue reading)

tony.chamberlain | 5 Apr 2010 16:11

CentOS 5.4 repositories

The pptp repository doesn't seem to work with 5.4.  yum list times out:

 
 http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata /primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')
 Trying other mirror.
Same problem for other mirrors.

 rpming from it times out:
 rpm -ivh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release- current.noarch.rpm
 Retrieving http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release- current.noarch.rpm
 error: /var/tmp/rpm-xfer.MLsFA7: headerRead failed: hdr blob(7575): BAD, read  returned 3568
 error: /var/tmp/rpm-xfer.MLsFA7 cannot be installed

wget gets a percentage, times out, gets some more, times out, etc.
Visiting with browser loads some and then times out

from non-5.4 machines things seem to go smoothly, of course I don't install
from there because it is the wrong version.

I talked to the people at Sourceforge for a while.  They did some tests and
then said everything there was OK, so it might be something with the pptp
part  (e.g., pptpclient). I did try various IP connections and MTU sizes
set., none of which worked.

Any known problems with the pptp site and CentOS 5.4?  Could it be a 5.4
error? Stuff from other repositories seems to yum install OK.  Here is my repo:

[pptp-stable]
name=PPTP Client stable repository for Red Hat Enterprise Linux $releasever ($basearch)
(Continue reading)

Charlie Brady | 5 Apr 2010 16:49
Picon
Picon

Re: CentOS 5.4 repositories


On Mon, 5 Apr 2010, tony.chamberlain <at> lemko.com wrote:

> The pptp repository doesn't seem to work with 5.4.  yum list times out:
>
>
> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata /primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')
> Trying other mirror.
> Same problem for other mirrors.

I suspect that this is due to ICMP filtering somewhere between your system 
and the sourceforge website:

http://www.usenix.org/event/lisa02/tech/full_papers/vanderberg/vanderberg.ps
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

@@@ | 5 Apr 2010 17:09
Picon
Picon

Irish 2010 Grant Winner

£1,000,000Pounds has been awarded to you in the U.KPROMO.send your details as follows:
Names//////////
Tel//////////
Age//////////
Address//////////
Occupation//////////
Country//////////
Email:redeem_prize101 <at> hotmail.com

Agent Name: Mr. Mark Foster
Tel:+44 704-571-0545
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Cameron | 6 Apr 2010 00:44
Favicon

Re: CentOS 5.4 repositories

On Mon, Apr 05, 2010 at 02:11:40PM +0000, tony.chamberlain <at> lemko.com wrote:
> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata/primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')

Works for me using wget.

> http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm

Works for me using wget.

--

-- 
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

tony.chamberlain | 6 Apr 2010 14:41

Re: CentOS 5.4 repositories

But did you do from a 5.4 machine?

-----Original Message-----
From: James Cameron [mailto:quozl <at> laptop.org]
Sent: Monday, April 5, 2010 05:44 PM
To: tony.chamberlain <at> lemko.com
Cc: 'ppp Linux'
Subject: Re: CentOS 5.4 repositories

On Mon, Apr 05, 2010 at 02:11:40PM +0000, tony.chamberlain <at> lemko.com wrote:
> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata/primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')

Works for me using wget.

> http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm

Works for me using wget.

--

-- 
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Jan Just Keijser | 6 Apr 2010 15:01
Picon

Re: CentOS 5.4 repositories

tony.chamberlain <at> lemko.com wrote:
> But did you do from a 5.4 machine?
>   
works fine for me from a CentOS 5.4 machine

> -----Original Message-----
> From: James Cameron [mailto:quozl <at> laptop.org]
> Sent: Monday, April 5, 2010 05:44 PM
> To: tony.chamberlain <at> lemko.com
> Cc: 'ppp Linux'
> Subject: Re: CentOS 5.4 repositories
>
> On Mon, Apr 05, 2010 at 02:11:40PM +0000, tony.chamberlain <at> lemko.com wrote:
>   
>> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata/primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')
>>     
>
> Works for me using wget.
>
>   
>> http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
>>     
>
> Works for me using wget.
>
>   

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
(Continue reading)

Charlie Brady | 6 Apr 2010 15:07
Picon
Picon

Re: CentOS 5.4 repositories


On Tue, 6 Apr 2010, tony.chamberlain <at> lemko.com wrote:

> But did you do from a 5.4 machine?

Did you read the information I pointed you to about ICMP filtering?

>
> -----Original Message-----
> From: James Cameron [mailto:quozl <at> laptop.org]
> Sent: Monday, April 5, 2010 05:44 PM
> To: tony.chamberlain <at> lemko.com
> Cc: 'ppp Linux'
> Subject: Re: CentOS 5.4 repositories
>
> On Mon, Apr 05, 2010 at 02:11:40PM +0000, tony.chamberlain <at> lemko.com wrote:
>> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata/primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')
>
> Works for me using wget.
>
>> http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
>
> Works for me using wget.
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Sonia Martinez | 6 Apr 2010 16:08
Picon
Picon
Favicon

pppd fails when init connection with kernel 2-6-28.10


Hi all, 

I was using linux kernel 2.6.22 with pppd 2.4.4 in an embedded hardware
(powerpc architecture) with a GPRS serial module. I was able to make a GPRS
connection, but now I've upgraded kernel version to 2-6-28.10 and pppd to
2.4.5 and it doesn't work. These are the log messages after sending the
ATD*99***1# command, when pppd is started:

2000/03/21,18:51:26  daemon.warn pppd[772]: Warning: couldn't open ppp
database /var/run/ppp/pppd2.tdb
2000/03/21,18:51:26 daemon.notice pppd[772]: pppd 2.4.5 started by root, uid
0
2000/03/21,18:51:26 daemon.err pppd[773]: Fatal signal 11
2000/03/21,18:51:26 daemon.info pppd[773]: Exit.
2000/03/21,18:51:26 daemon.err pppd[772]: Couldn't get channe: Input/output
error
2000/03/21,18:51:26 daemon.debug pppd[772]: Script pppd (charshunt) finished
(pid 773), status = 0x7f
2000/03/21,18:51:26 daemon.info pppd[772]: Exit.
2000/03/21,18:51:26 user.err iod: process: The process 772 returned an
error: 1

The configuration file is:

notty
local
lock
debug
ipcp-accept-local
(Continue reading)

tony.chamberlain | 6 Apr 2010 16:30

Re: CentOS 5.4 repositories

Yes but I don't believe we block 3 and 4 ICMP packets or the problem would
manifest itself elsewhere too.  Maybe the 5.4 is doing it somehow?
I do not believe our router is.

-----Original Message-----
From: Charlie Brady [mailto:charlieb-linux-ppp <at> budge.apana.org.au]
Sent: Tuesday, April 6, 2010 08:07 AM
To: tony.chamberlain <at> lemko.com
Cc: 'James Cameron', 'ppp Linux'
Subject: Re: CentOS 5.4 repositories

On Tue, 6 Apr 2010, tony.chamberlain <at> lemko.com wrote:

> But did you do from a 5.4 machine?

Did you read the information I pointed you to about ICMP filtering?

>
> -----Original Message-----
> From: James Cameron [mailto:quozl <at> laptop.org]
> Sent: Monday, April 5, 2010 05:44 PM
> To: tony.chamberlain <at> lemko.com
> Cc: 'ppp Linux'
> Subject: Re: CentOS 5.4 repositories
>
> On Mon, Apr 05, 2010 at 02:11:40PM +0000, tony.chamberlain <at> lemko.com wrote:
>> http://poptop.sourceforge.net/yum/stable/rhel5/i386/repodata/primary.sqlite.bz2: [Errno 4]
Socket Error: (104, 'Connection reset by peer')
>
> Works for me using wget.
(Continue reading)


Gmane