[PATCH] GSSAPI authentication support for wget

Felipe Alfaro Solana felipe_alfaro at linuxmail.org
Sun Jun 20 20:37:40 UTC 2004


Hello,

I have always missed the GSSAPI authentication feature of the KRB5 FTP
command line tool included in Fedora Core 2 krb5-workstation package, so
I have implemented it for wget. The attached patch adds automatic GSSAPI
authentication in wget 1,9.1.

The only change in behavior is that, before performing an anonymous
plain-text login, the AUTH GSSAPI command is sent to the remote FTP
server. If the remote FTP server supports GSSAPI authentication, via the
ADAT command, GSSAPI authentication is negotiated between the wget
client and the remote FTP server.

Please, feel free to use and review this patch. I have used code from
krb5-workstation to implement the GSSAPI authentication for wget. There
will be probably many bugs. I have tested it against the FTP server
available in Fedora Core 2 krb5-server package, and two remote servers:
HEANET.ie and Rediris.es. Adding it to the SRPM package is
straightforward.

NOTE: I've submitted this patch upstream to the wget mantainer in the
hope they will accept it. Don't know if I should open a bugzilla report
with this patch, or else wait until the maintainer merges it upstream.

I appreciate any comments on this.
Thank you very much.






More information about the devel mailing list