#26 uthenticating vsftpd through remote IP address using pam_mys

open-out-of-date
(C)0||3N
None
1
2008-08-28
2008-01-28
epablo
No

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.

Pablo

Discussion

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

    Logged In: YES
    user_id=363971
    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