Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
logiciel:reseau:ftp:serveur:vsftpd:faq:start [2024/09/21 13:41] – supprimée - modification externe (Unknown date) 127.0.0.1 | logiciel:reseau:ftp:serveur:vsftpd:faq:start [2024/09/21 13:41] (Version actuelle) – ↷ Page déplacée de logiciel:reseau:transfert:serveur:vsftpd:faq:start à logiciel:reseau:ftp:serveur:vsftpd:faq:start admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{tag> | ||
+ | ====== vsftpd FAQ (traduction de questions fréquemment posées) ====== | ||
+ | |||
+ | ~~FAQ~~ | ||
+ | |||
+ | ??? Puis-je restreindre les utilisateurs à leur répertoire HOME ? | ||
+ | !!! Oui. Sans doute en utilisant :< | ||
+ | |||
+ | ??? Pourquoi les liens symboliques ne fonctionnent-ils pas avec chroot_local_user=YES ? | ||
+ | !!! C'est une conséquence du fonctionnement de la sécurité de chroot() . | ||
+ | Comme alternative, | ||
+ | |||
+ | ??? vsftpd peut-il limiter le nombre d' | ||
+ | !!! Oui, indirectement. vsftpd est un service basé sur inetd. | ||
+ | Si vous utilisez le populaire " | ||
+ | Il y a un exemple dans le répertoire " | ||
+ | |||
+ | Si vous exécutez vsftpd en mode " | ||
+ | |||
+ | ??? message d' | ||
+ | !!! vsftpd se protège contre les configurations dangereuses. La cause de ce message est généralement une appartenance douteuse du répertoire home du ftp. Le répertoire home ne doit PAS être possédé par l' | ||
+ | |||
+ | ??? message d' | ||
+ | !!! Le plus probable est que l' | ||
+ | |||
+ | ??? Les utilisateurs locaux ne peuvent pas se connecter. | ||
+ | !!! Plusieurs problèmes peuvent se poser. | ||
+ | !!! Par défaut, vsftpd désactive toutes les connexions autres que les connexions anonymes. Mettez local_enable=YES dans votre fichier / | ||
+ | !!! vsftpd essaie de se lier à PAM. (Exécutez "ldd vsftpd" | ||
+ | !!! Si vsftpd n'est pas lié à PAM, il y a plusieurs problèmes possibles. Le shell de l' | ||
+ | !!! Si vous n' | ||
+ | |||
+ | ??? Les téléchargements ou autres commandes d' | ||
+ | !!! Par défaut, les commandes d' | ||
+ | |||
+ | ??? Quelles sont les conséquences en matière de sécurité de l' | ||
+ | !!! Notez tout d' | ||
+ | |||
+ | ??? Les fichiers téléchargés apparaissent avec les permissions -rw-------. | ||
+ | !!! Selon que l' | ||
+ | !!! Voir aussi la page de manuel vsftpd.conf.5 pour le nouveau paramètre " | ||
+ | |||
+ | ??? Comment intégrer les utilisateurs et les identifiants LDAP ? | ||
+ | !!! Utilisez l' | ||
+ | |||
+ | ??? Est-ce que vsftpd fait des hébergements virtuels ? | ||
+ | !!! Oui. En intégrant vsftpd à xinetd, vous pouvez utiliser xinetd pour vous lier à plusieurs adresses IP différentes. Pour chaque adresse IP, xinetd doit lancer vsftpd avec un fichier de configuration différent. De cette manière, vous pouvez obtenir un comportement différent pour chaque adresse virtuelle. | ||
+ | !!! Vous pouvez également exécuter autant de copies de vsftpd que nécessaire, | ||
+ | |||
+ | ??? vsftpd supporte-t-il les utilisateurs virtuels ? | ||
+ | !!! Oui, via l' | ||
+ | Note - il existe actuellement une restriction qui fait que lorsque guest_enable est activé, les utilisateurs locaux sont également mappés sur guest_username. Il existe un exemple de configuration d' | ||
+ | |||
+ | ??? Vsftpd prend-il en charge différents paramètres pour différents utilisateurs ? | ||
+ | !!! Oui - d'une manière très puissante. Regardez le paramètre " | ||
+ | |||
+ | ??? Peut-on restreindre les connexions de données de vsftpd à une plage spécifique de ports ? | ||
+ | !!! Oui, voir les paramètres de configuration " | ||
+ | |||
+ | ??? Je reçois le message "OOPS: chdir" | ||
+ | !!! S'il s'agit d'une connexion anonyme, vérifiez que le répertoire personnel de l' | ||
+ | |||
+ | ??? vsftpd indique les heures en heures GMT et non en heures locales ! | ||
+ | !!! Ce comportement peut être modifié par le paramètre " | ||
+ | |||
+ | ??? Puis-je désactiver certaines commandes FTP ? | ||
+ | !!! Oui. Certains paramètres individuels sont disponibles (par exemple, dirlist_enable) mais vous pouvez également spécifier un ensemble complet de commandes autorisées à l'aide de " | ||
+ | |||
+ | ??? Puis-je changer le port sur lequel fonctionne vsftpd ? | ||
+ | !!! Oui, si vous utilisez vsftpd en mode autonome, utilisez la directive " | ||
+ | !!! Oui. Si vous exécutez vsftpd à partir d'un programme inetd ou xinetd, cela devient un problème inetd ou xinetd. Vous devez modifier les fichiers de configuration inetd ou xinetd (peut-être / | ||
+ | |||
+ | ??? Will vsftpd authenticate against an LDAP server? What about a MySQL server? | ||
+ | !!! Yes. vsftpd uses PAM for authentication, | ||
+ | |||
+ | ??? Does vsftpd support per-IP limits? | ||
+ | !!! Yes. If you are running vsftpd standalone, there is a " | ||
+ | !!! Yes. If you are running vsftpd via xinetd, there is an xinetd config variable " | ||
+ | |||
+ | ??? Does vsftpd support bandwidth limiting? | ||
+ | !!! Yes. See vsftpd.conf.5 man page and investigate settings such as " | ||
+ | |||
+ | ??? Does vsftpd support IP-based access control? | ||
+ | !!! Yes. vsftpd can integrate with tcp_wrappers (if built with this support). It is enabled with the setting " | ||
+ | !!! Yes. vsftpd can be run from xinetd, which supports tcp_wrappers integration. | ||
+ | |||
+ | ??? Does vsftpd support IPv6? | ||
+ | !!! Yes, as of version 1.2.0. Read the vsftpd.conf.5 man page. | ||
+ | |||
+ | ??? vsftpd doesn' | ||
+ | !!! Install the libcap package and retry the build. Seems to affect Debian users a lot. | ||
+ | !!! Install the libcap-devel. This certainly affects Fedora. | ||
+ | |||
+ | ??? I've put settings in / | ||
+ | !!! This is affecting some RedHat users - some RedHat versions put the config file in / | ||
+ | |||
+ | ??? vsftpd doesn' | ||
+ | !!! Your system probably doesn' | ||
+ | |||
+ | ??? I'm getting messages along the lines of 500 OOPS: vsf_sysutil_bind when trying to do downloads (particularly lots of small files). | ||
+ | !!! vsftpd-1.2.1 should sort this out. | ||
+ | |||
+ | ??? Does vsftpd support hiding or denying certain files? | ||
+ | !!! Yes. Look at the hide_file and deny_file options in the manual page. | ||
+ | |||
+ | ??? Does vsftpd support FXP? | ||
+ | !!! Yes. An FTP server does not have to do anything special to support FXP. However, you many get tripped up by vsftpd' | ||
+ | |||
+ | ??? I'm getting the error "426 Failure writing network stream." | ||
+ | !!! You shouldn' | ||
+ | |||
+ | ??? I'm using the pam_userdb login module and the login hangs. | ||
+ | !!! This could be a bad interaction with glibc version 2.3 and PAM. A Debian user reported this. The initial report is here: http:// | ||
+ | |||
+ | ??? Does vsftpd support large files (>2Gb?). | ||
+ | !!! Yes, it does. | ||
+ | |||
+ | ??? Well, large file support doesn' | ||
+ | !!! Large file support first appeared in v1.1.0. | ||
+ | !!! Solaris large file support wasn't fixed until v1.2.2. | ||
+ | !!! FreeBSD large file support wasn't fixed until v1.2.2. | ||
+ | !!! The early Linux 2.6 kernels had a bug in this area - use v2.6.6 or newer. | ||
+ | !!! Are you sure your FTP _client_ correctly supports large files? | ||
+ | |||
+ | ??? The built-in vsftpd listener is hanging or crashing! | ||
+ | !!! A bug in this area is fixed in vsftpd v1.2.2. The problem has always existed but seems to frequently trigger only on certain platforms. For example, Fedora Core 1 - the suspected trigger is a glibc-2.3 platform, possibly in combination with a NPTL-enabled kernel. | ||
+ | |||
+ | ??? I'm using Solaris / Veritas and vsftpd is hanging! | ||
+ | !!! Suspected bug with the Solaris / Veritas combination. With vsftpd-1.2.3 there is a possible workaround: no_log_lock=YES in your vsftpd.conf.5. | ||
+ | |||
+ | ??? Does vsftpd support SSL / TLS based encryption? | ||
+ | !!! Yes, as of v2.0.0, this is supported for the control and data connections (hurrah). You need a build of vsftpd with this support enabled, and then you need to activate the ssl_enable setting. NOTE there are security considerations with this support. Please make sure to read the ssl_enable section in the vsftpd.conf.5 man page thoroughly before using. | ||
+ | |||
+ | ??? I'm using FlashFXP and getting truncated files on download. | ||
+ | !!! FlashFXP is buggy - particularly with SSL transfers. Upgrade to v3.0RC4 or newer, which is reported to be fixed. | ||
+ | |||
+ | ??? I'm trying to build vsftpd, and I get an error along the lines of " | ||
+ | !!! Yes, seems to be a problem with some RedHat setups. See http:// | ||
+ | |||
+ | ??? I'm getting the error "OOPS: capset" | ||
+ | !!! This is an issue with SELinux enabled distributions. The solution is to make sure the capability kernel module is loaded. | ||
+ | |||
+ | ??? I'm getting the error "ftp: netin: Interrupted system call". | ||
+ | !!! Seems to be a bug in ftp-tls, particularly with SSL transfers with bandwidth limiting in effect. | ||
+ | |||
+ | ??? When trying SSL transfers, users log in and are no longer restricted to their home directory! They can browse the entire filesystem! | ||
+ | !!! Most likely, your FTP client is in fact using the SSH protocol rather than the FTP protocol - so sshd is in control and not vsftpd! | ||
+ | !!! Of course, make sure you turn on the chroot_local_user option!! | ||
+ | |||
+ | ??? I'm getting connections dropped whilst using gFTP for an SSL | ||
+ | !!! The version of gFTP on my Fedora Core 10 installation appears to send the " | ||
+ | |||
+ | ??? SSL data connections are not working. | ||
+ | !!! As of v2.1.0, vsftpd only accepts data connections that are reused sessions of the control connection. This is a security measure. Unfortunately, | ||
+ | |||
+ | ??? My LDAP / mysql / etc. authentication and / or username lookup are failing! | ||
+ | !!! As of v2.2.0, the built-in sandboxing uses network isolation on Linux. This may be interfering with any module that needs to use the network to perform operations or lookups. Try changing isolate_network to NO. | ||
+ | ===== Voir aussi ===== | ||
+ | |||
+ | * **(fr)** [[http:// | ||
+ | * **(en)** [[http:// | ||
+ | |||
+ | ---- | ||
+ | //Basé sur << [[http:// |