[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ftp from 0.3c to 0.3b



Assar Westerlund wrote:
> 
> Peter Ehlin <pelin@voxi.se> writes:
> > Hi
> 
> Hi, Peter, how's the real world?

It's tough... They make me work here... 

> > I got this strange error when I used ftp from a client (using
> > heimdal-0.3c) to a server (using heimdal-0.3b).
> 
> What's happening is that ftp does not manage to decrypt the message it
> got back from the server and then it displays the encrypted message.
> 
> I'm sorry, but I'm not able to recreate this problem with a 0.3b ftpd
> and a 0.3c ftp client.  Are there any other circunstances that could
> help me in debugging this?

I don't know... The hosts were both Redhat 6.2's. One had an upgraded
glibc. 

I upgraded the server side to 0.3c and now ftp works again... 

One strange thing with 0.3c is that su segfaults. It doesn't when run by
root.
Only when run by a user. It's hard to debug since it doesn't produce a
coredump. 
Not that I would know what to do with it... And, yes 'su' is SUID root. 

I managed to attach o the process using strace

<lots of reading from /etc/krb5.keytab>
read(3, "\0\0\0\1", 4)                  = 4
read(3, "9\276\2\367", 4)               = 4
read(3, "\1", 1)                        = 1
read(3, "\0\20", 2)                     = 2
read(3, "\0\30", 2)                     = 2
read(3, "\260\320\222C\230\0374v>y#\247\345u@\323\31\361\323\247"...,
24) = 24
lseek(3, 246, SEEK_SET)                 = 246
close(3)                                = 0
time(NULL)                              = 970753095
--- SIGSEGV (Segmentation fault) ---

[pelin@host ~]$ su
pelin/root@DOMAIN.COM's Password: 
Segmentation fault

> /assar

/Peter