Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ftp compat wrapper #424

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add ftp compat wrapper #424

wants to merge 6 commits into from

Conversation

scarabeusiv
Copy link

Hi we at openSUSE had a crazy patchset that allows creating ftp wrapper using lftp.

I would like to merge this upstream, atm that is not really possible like one fo the files is C instead of C++ and so on. But before we start to really review this it would be nice to get info if we are doing something really bad based on current codebase (the actual patches are from around 2005...)

@lavv17
Copy link
Owner

lavv17 commented Apr 13, 2018

AFAIK, the edit command is already implemented in lftp. Memory management can be improved using x* containers (xstring etc). Please consider configure --without-modules too.

@lavv17
Copy link
Owner

lavv17 commented Dec 26, 2018

cmd_edit has clearly a memory leak.

@peti peti force-pushed the master branch 4 times, most recently from 4555d5d to fa07923 Compare March 1, 2019 13:59
peti and others added 6 commits March 18, 2019 12:37
A SUSE customer reported an issue where the use of a 3rd party
PAM module in stack changed the password prompt to:

    UNIXADS password for username:

Unfortunately, the ssh parsing code in lftp does not recognize
this as a password prompt, which means that the login process
gets stuck.

We have found that accepting all strings that contain the phrase
"password" and end in a colon works very well and it also covers
this particular case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants