Bug#484609: pptp-linux: Disconnects immediately after connection

2008-06-05 Thread Andrej Kolesnikov
Package: pptp-linux
Version: 1.7.2-1
Severity: grave
Justification: renders package unusable


The latest upgrade to 1.7.2-1 broke my internet connection. pppd daemon
hang up immediately after connection and I have the following in the
syslog:

pppd[4914]: Terminating on signal 15
pppd[4914]: Connect time 0.5 minutes.
pppd[4914]: Sent 468 bytes, received 660 bytes.
pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO
received from peer_callid 0
pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is
, recv_accm is 
pptp[4926]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async
Control Character Maps are not supported!
pppd[4914]: Connection terminated.
pppd[4914]: Exit.
pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1):
Input/output error
pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have
shutdown, see pppd log
pptp[4926]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing
connection (unhandled)
pptp[4926]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet
type is 12 'Call-Clear-Request' 
pptp[4926]: anon log[call_callback:pptp_callmgr.c:79]: Closing
connection (call state)

Greetings
Andrej

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.1-mppe (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pptp-linux depends on:
ii  libc62.7-11  GNU C Library: Shared libraries
ii  ppp  2.4.4rel-10 Point-to-Point Protocol (PPP) - da

pptp-linux recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#484609: pptp-linux: Disconnects immediately after connection

2008-06-05 Thread Ola Lundqvist
Hi

Really good to know. I think I will revert to the old version until
this issue has been solved. Unless you have a direct suggestion for
solution. I can not see the reason with the below logs. The warning
below seems to be quite usual and in normal cases they are seen and
it works.

But if you can locate the problem I'm very interested in knowing!
Please send me the configuration you use and if possible more extensive
logging.

Best regards,

// Ola

On Thu, Jun 05, 2008 at 09:44:27AM +0300, Andrej Kolesnikov wrote:
 Package: pptp-linux
 Version: 1.7.2-1
 Severity: grave
 Justification: renders package unusable
 
 
 The latest upgrade to 1.7.2-1 broke my internet connection. pppd daemon
 hang up immediately after connection and I have the following in the
 syslog:
 
 pppd[4914]: Terminating on signal 15
 pppd[4914]: Connect time 0.5 minutes.
 pppd[4914]: Sent 468 bytes, received 660 bytes.
 pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO
 received from peer_callid 0
 pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is
 , recv_accm is 
 pptp[4926]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async
 Control Character Maps are not supported!
 pppd[4914]: Connection terminated.
 pppd[4914]: Exit.
 pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1):
 Input/output error
 pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have
 shutdown, see pppd log
 pptp[4926]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing
 connection (unhandled)
 pptp[4926]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet
 type is 12 'Call-Clear-Request' 
 pptp[4926]: anon log[call_callback:pptp_callmgr.c:79]: Closing
 connection (call state)
 
 Greetings
 Andrej
 
 -- System Information:
 Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.25.1-mppe (PREEMPT)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages pptp-linux depends on:
 ii  libc62.7-11  GNU C Library: Shared libraries
 ii  ppp  2.4.4rel-10 Point-to-Point Protocol (PPP) - 
 da
 
 pptp-linux recommends no packages.
 
 -- no debconf information
 
 
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED]  654 65 KARLSTAD  |
|  http://inguza.com/  +46 (0)70-332 1551   |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#484609: pptp-linux: Disconnects immediately after connection

2008-06-05 Thread Ola Lundqvist
Hi James

I have recently upgraded the Debian package to 1.7.2. However one user
got this problem. This means that I likely will downgrade the version,
unless you can help me with the solution for this problem.

Best regards,

// Ola

On Thu, Jun 05, 2008 at 09:44:27AM +0300, Andrej Kolesnikov wrote:
 Package: pptp-linux
 Version: 1.7.2-1
 Severity: grave
 Justification: renders package unusable
 
 
 The latest upgrade to 1.7.2-1 broke my internet connection. pppd daemon
 hang up immediately after connection and I have the following in the
 syslog:
 
 pppd[4914]: Terminating on signal 15
 pppd[4914]: Connect time 0.5 minutes.
 pppd[4914]: Sent 468 bytes, received 660 bytes.
 pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO
 received from peer_callid 0
 pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is
 , recv_accm is 
 pptp[4926]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async
 Control Character Maps are not supported!
 pppd[4914]: Connection terminated.
 pppd[4914]: Exit.
 pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1):
 Input/output error
 pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have
 shutdown, see pppd log
 pptp[4926]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing
 connection (unhandled)
 pptp[4926]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet
 type is 12 'Call-Clear-Request' 
 pptp[4926]: anon log[call_callback:pptp_callmgr.c:79]: Closing
 connection (call state)
 
 Greetings
 Andrej
 
 -- System Information:
 Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.25.1-mppe (PREEMPT)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages pptp-linux depends on:
 ii  libc62.7-11  GNU C Library: Shared libraries
 ii  ppp  2.4.4rel-10 Point-to-Point Protocol (PPP) - 
 da
 
 pptp-linux recommends no packages.
 
 -- no debconf information
 
 
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED]  654 65 KARLSTAD  |
|  http://inguza.com/  +46 (0)70-332 1551   |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#484609: pptp-linux: Disconnects immediately after connection

2008-06-05 Thread Andrej Kolesnikov

Hi

I actually found that the problem was caused by faulty scripts from my 
ISP which stopped working with the new version of pptp-linux. As soon as 
I adjusted the configuration as it's suggested here:


http://pptpclient.sourceforge.net/howto-debian.phtml#configure_by_hand

everything restarted working. But these scrips still work fine with the 
older versions of pptp. If you want to, I could send them to you for 
investigation. So there is no need to downgrade the package and I think 
the bug can be closed. I should have investigated the problem deeply 
before filling the bugreport. Sorry for that.


Best regards

Andrej


Ola Lundqvist wrote:

Hi

Really good to know. I think I will revert to the old version until
this issue has been solved. Unless you have a direct suggestion for
solution. I can not see the reason with the below logs. The warning
below seems to be quite usual and in normal cases they are seen and
it works.

But if you can locate the problem I'm very interested in knowing!
Please send me the configuration you use and if possible more extensive
logging.

Best regards,

// Ola

On Thu, Jun 05, 2008 at 09:44:27AM +0300, Andrej Kolesnikov wrote:

Package: pptp-linux
Version: 1.7.2-1
Severity: grave
Justification: renders package unusable


The latest upgrade to 1.7.2-1 broke my internet connection. pppd daemon
hang up immediately after connection and I have the following in the
syslog:

pppd[4914]: Terminating on signal 15
pppd[4914]: Connect time 0.5 minutes.
pppd[4914]: Sent 468 bytes, received 660 bytes.
pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO
received from peer_callid 0
pptp[4926]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is
, recv_accm is 
pptp[4926]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async
Control Character Maps are not supported!
pppd[4914]: Connection terminated.
pppd[4914]: Exit.
pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1):
Input/output error
pptp[5024]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have
shutdown, see pppd log
pptp[4926]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing
connection (unhandled)
pptp[4926]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet
type is 12 'Call-Clear-Request' 
pptp[4926]: anon log[call_callback:pptp_callmgr.c:79]: Closing

connection (call state)

Greetings
Andrej

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.1-mppe (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pptp-linux depends on:
ii  libc62.7-11  GNU C Library: Shared libraries
ii  ppp  2.4.4rel-10 Point-to-Point Protocol (PPP) - da

pptp-linux recommends no packages.

-- no debconf information










--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#484609: pptp-linux: Disconnects immediately after connection

2008-06-05 Thread James Cameron
G'day Ola,

Thanks for the problem report.  I'm happy to assist.  The log from
Andrej shows a termination of pppd via SIGTERM, which might have been
triggered by pptp ... but as Andrej found out later, scripts were
the cause.  I'm also interested in knowing how the scripts did it.

Why did it used to work?  I've reviewed the code changes from 1.7.0 to
1.7.2 and the best I can find is the older version mishandling of the
return value from select(2), or the removal of the sigset in util.c.

Also, I wonder if pppd changed.  There has been much discussion of
pppd's curious kill all processes in the process group behaviour.

-- 
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]