Re: [Proftpd-user] Using name-based virtual hosts

Jesse Stroik via Proftp-user <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
And... nevermind.

I looked at the RFC and saw the client side requirements. I tested a few 
clients including a newer lftp and it behaves as expected.

Jesse




On 3/15/19 4:09 PM, Jesse Stroik via Proftp-user wrote:
> Apologies, I realize I didn't describe the behavior vs expected behavior 
> in the email. To ease reading the logs, there are some commands inline 
> with the log file like this:
> 
> # ftp c7test.ssec.wisc.edu
> 
> Given this command, I expected to connect to the c7test.ssec.wisc.edu 
> VirtualHost. Instead, I am served the first VirtualHost defined in the 
> config, <VirtualHost jessetest.ssec.wisc.edu>
> 
> ===========
> $ ftp c7test.ssec.wisc.edu
> Connected to c7test.ssec.wisc.edu (128.104.109.161).
> 220 ProFTPD Server (jstroik vhost) [::ffff:128.104.109.161]
> Name (c7test.ssec.wisc.edu:jstroik):
> ===========
> 
> The first giveaway is the server name. If I continue and log in 
> anonymously, I'm put into the directory defined by <VritualHost 
> [email protected]>
> 
> If i switch the order of the VirtualHosts in the config, I connect to 
> the first defined <VirtualHost> regardless of which DNS name I use to 
> reach the server.
> 
> I did also test with ServerAlias more thoroughly, but I didn't see any 
> different behavior and according to the doc setting up a named 
> VirtualHost includes a ServerAlias automatically.
> 
> Best,
> Jesse Stroik
> 
> 
> On 3/15/19 2:49 PM, Jesse Stroik via Proftp-user wrote:
>> Hi Proftpd users,
>>
>> I'm trying to set up an anonymous ftp server that allows users to 
>> access multiple different directories as different users. A 
>> requirement I've got is to avoid passwords and use host-based 
>> authentication exclusively.
>>
>> Proftpd.out is attached as well as a simplified proftpd.conf I was 
>> running on a test vm. I built RPMs out of the current git release and 
>> am running on Centos 7.
>>
>> My idea is to configure several virtualhosts corresponding to 
>> serveraliases. I don't see anything obviously wrong in this log.
>>
>> Best,
>> Jesse Stroik
>>
>>
>>
>> _______________________________________________
>> ProFTPD Users List   <[email protected]>
>> Unsubscribe problems?
>> http://www.proftpd.org/list-unsub.html
>>
> 
> 
> 
> _______________________________________________
> ProFTPD Users List   <[email protected]>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html
>

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.