Re: Issue with PAM enabled dropbear !!

2009-09-29 Thread Matt Johnston
On Fri, Sep 25, 2009 at 07:16:13PM -0700, Vishnu Govardhana wrote:
 Hi Gurus,
  I am a newbie to dropbear. I compiled 0.48.1 version with --enable-pam.
 Now after installing it, my connection from a remote system is failing due
 to 'Bad packet length' (the number varies everytime). I tried to debug a bit
 using tcpdump and I see that 'pam_start' etc., messages has sent to remote
 system. 

Hi,

tcpdump of port 22 shouldn't see anything about PAM - everything should
be encrypted at that point. Could you save it to a file 
(tcpdump with -w file.cap -s 0), don't type your password,
and send it?

Matt



Re: Issue with PAM enabled dropbear !!

2009-09-28 Thread Vishnu Govardhana
Any suggestions please ??? 



- Original Message 
From: Vishnu Govardhana vishnu...@yahoo.com
To: dropbear@ucc.asn.au
Sent: Friday, September 25, 2009 7:16:13 PM
Subject: Issue with PAM enabled dropbear !!

Hi Gurus,
I am a newbie to dropbear. I compiled 0.48.1 version with --enable-pam.
Now after installing it, my connection from a remote system is failing due
to 'Bad packet length' (the number varies everytime). I tried to debug a bit
using tcpdump and I see that 'pam_start' etc., messages has sent to remote
system. 

My PAM uses generic pam_unix module for authentication, so it gives login:
password: prompts. 

If I compile with --disable-pam then I don't see any problem. 
Greatly appreciate your help.

Thanks in advance,
~Sree