[Case 82033] proftpd.conf is broken then "Change Site's IP Address" under certain conditions.

toyama

Member
Jun 17, 2011
21
1
53
Hello,

I was assigned xxx.xxx.xxx.1-99/24 as a pool IP address to the server.
In addition, I was assigned the xxx.xxx.xxx.114/24 as a poolIP address to the server.
I was changed to xxx.xxx.xxx.114/24 the IP address of the account that is assigned to the xxx.xxx.xxx.2/24.
Then, proftpd no longer boot setting in proftpd.conf is broken.

When the "Change Site's IP Address" is executed, the process from "IP address before the change" to replace the string to "IP address after the change" seems to have been executed on the proftpd.conf file.
But, it is also processed for this replacement process "IP address should not be replaced"
For example, xxx.xxx.xxx.20-29 also the replace in the case of xxx.xxx.xxx.2.


diff of proftpd.conf of test server is as follows:

Code:
$ diff proftpd.conf proftpd.conf.before
< <VirtualHost xxx.xxx.xxx.20>
---
> <VirtualHost xxx.xxx.xxx.1140>
591c591
< <VirtualHost xxx.xxx.xxx.21>
---
> <VirtualHost xxx.xxx.xxx.1141>
646c646
< <VirtualHost xxx.xxx.xxx.22>
---
> <VirtualHost xxx.xxx.xxx.1142>
701c701
< <VirtualHost xxx.xxx.xxx.23>
---
> <VirtualHost xxx.xxx.xxx.1143>
756c756
< <VirtualHost xxx.xxx.xxx.24>
---
> <VirtualHost xxx.xxx.xxx.1144>
811c811
< <VirtualHost xxx.xxx.xxx.25>
---
> <VirtualHost xxx.xxx.xxx.1145>
866c866
< <VirtualHost xxx.xxx.xxx.26>
---
> <VirtualHost xxx.xxx.xxx.1146>
921c921
< <VirtualHost xxx.xxx.xxx.27>
---
> <VirtualHost xxx.xxx.xxx.1147>
976c976
< <VirtualHost xxx.xxx.xxx.28>
---
> <VirtualHost xxx.xxx.xxx.1148>
1031c1031
< <VirtualHost xxx.xxx.xxx.29>
---
> <VirtualHost xxx.xxx.xxx.1149>
2356,2406d2355
< <VirtualHost xxx.xxx.xxx.114>
< ServerName ftp.example.com
< AuthUserFile /etc/proftpd/xxxxxxxx
< MaxClients 3 "Sorry, this ftp server has reached its maximum user count (%m). Please try again later"
< DirFakeGroup On ftpgroup
< DirFakeUser On ftpuser
< DefaultRoot ~
<
< <IfModule mod_tls.c>
< TLSEngine on
< TLSRequired off
< TLSRSACertificateFile /etc/ftpd-rsa.pem
< TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
< TLSVerifyClient off
< TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
< </IfModule>
<
< <Directory />
< AllowOverwrite on
< HideGroup wheel
< HideUser root
< </Directory>
< <Anonymous /home/xxxxxxxx/public_ftp>
< UseFtpUsers on
< RequireValidShell off
< UseFtpUsers on
< RequireValidShell off
< User ftp
< Group ftp
< UserAlias anonymous ftp
< DisplayLogin welcome.msg
< # DisplayChdir .message true
<
< <Limit LOGIN>
< DenyAll
< </Limit>
< <Limit WRITE>
< DenyAll
< </Limit>
<
< <Directory incoming>
< <Limit STOR>
< AllowAll
< </Limit>
< <Limit WRITE READ>
< DenyAll
< </Limit>
< </Directory>
< </Anonymous>
< </VirtualHost>
<
Environment:
CentOS6 x64
cPanel 11.38.2.12
Behavior was reproduced in the server that you set up a new cPanel.

Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
re: [Case 82033] proftpd.conf is broken then "Change Site's IP Address" under certain conditions.

Hello :)

Please open bug reports via:

Submit A Bug Report

You can post the ticket number here so we can update the thread with the outcome.

Thank you.
 

toyama

Member
Jun 17, 2011
21
1
53
re: [Case 82033] proftpd.conf is broken then "Change Site's IP Address" under certain conditions.

Hello,

I have submit a bug report.

thanks:)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
An internal case has been opened to address this issue. For reference, the case number is 82033. An estimated time on when a resolution will be pushed out is currently not available, however feel free to monitor the change log for this case number. The current workaround is to manually correct the /etc/proftpd.conf file and then restart the ProFTPd service.

Thank you.