#26 uthenticating vsftpd through remote IP address using pam_mys


I need to make vsftpd authenticate a user using the IP address it's making the request from (I have some stupid IP phones where you can't setup user/passwd to make them plug and play).

I figured the cleanest way to do it would be though PAM and since all the info lies in a mysql DB, well that sent me on the pam_mysql way.

I was wondering if the was a way to give the whole query and use the pam rhost to make it work.

Would this be to complicated to build in maybe as an option?

Thanks in advance for your help.



  • (C)0||3N

    (C)0||3N - 2008-08-28

    Logged In: YES
    Originator: NO

    Not sure i understand your question,
    but don't think this is normal pam behaviour.

    you could try radius maybe, coz they have accounting by Ip (and more)

    but why do you need your ip phone to use linux and vsftp ?!?!
    i thought ip phones where here for calling (-: not ftp-ing hehe.

    let me know if this is still active, and i'll plunge into it ..

  • (C)0||3N

    (C)0||3N - 2008-08-28
    • priority: 5 --> 1
  • (C)0||3N

    (C)0||3N - 2008-08-28
    • assigned_to: nobody --> collen
    • status: open --> open-out-of-date

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks