This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

proftpd: warning: can't verify hostname

File transfer protocol.
Forum rules
Set-Up GuideFAQsForum Rules
d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

proftpd: warning: can't verify hostname

Post by d3st1ny »

Hello all! Nas4free 9.0.0.1. Sorry for my bad english.
I have some trouble with FTP.
Firewall turn off.
In HOSTS:

Code: Select all

#ftpd  : ALL : allow
#sshd : .example.com : deny
#in.tftpd : xxx.xxx.xxx.xxx : deny
#bsnmpd : xxx.xxx.xxx.xxx : deny
ALL : ALL : allow
From local NET all work, from WAN client have error:

Code: Select all

[R] USER user
[R] 331 Password required for user
[R] PASS (hidden)
[R] 530 Access denied
[R] Connection failed
in log:

Code: Select all

proftpd: warning: can't verify hostname: getaddrinfo(119.128.140.158.supernet.net, AF_INET) failed
proftpd[4135]: 10.100.19.240 (119.128.140.158[119.128.140.158]) - mod_wrap/1.2.4: refused connection from ::ffff:158.140.128.119
How can this be repaired?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by raulfg3 »

Please post a jpg of your ftp config
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by d3st1ny »

raulfg3 wrote:Please post a jpg of your ftp config
1. Image
2. Image

Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by Kiss239 »

Hi!

I've got the same trouble with FTP.

All is working from LAN and online ftp-clients (for example that).

But from another computer (but the same provider) i've got errors in "FileZilla" and "CuteFTPPro":

Code: Select all

[16.07.2012 19:48:02] Получение списка ""...
[16.07.2012 19:48:02] Подключение к FTP-серверу... xx.xxx.xxx.xx:2021 (ip = xx.xxx.xxx.xx)...
[16.07.2012 19:48:02] Сокет подключен. Ожидание сообщения с приветствием...
[16.07.2012 19:48:12] 220 ProFTPD 1.3.4a Server (nasbox FTP Server) [192.168.0.3]
[16.07.2012 19:48:12] Подключено. Проверка подлинности...
[16.07.2012 19:48:12] USER User
[16.07.2012 19:48:12] 331 Password required for User
[16.07.2012 19:48:12] PASS *****
[16.07.2012 19:48:12] 530 Access denied
[16.07.2012 19:48:12] Вход не выполнен.
Can anybody help us?

P.S.: port 2021 is external and forwarding by router to internal 21.
Medical student trying to grasp the IT-Zen.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by raulfg3 »

Please confirm if you use DHCP IP, I remember that a Fixed IP is needed to gain permission over the Wan ( but I don't remember why).

If dhcp, change to fixed IP and try it.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by d3st1ny »

I have not changed anything, but ftp started working properly :shock:

d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by d3st1ny »

Kiss239 wrote:Hi!

I've got the same trouble with FTP.

All is working from LAN and online ftp-clients (for example that).

But from another computer (but the same provider) i've got errors in "FileZilla" and "CuteFTPPro":

Code: Select all

[16.07.2012 19:48:02] Получение списка ""...
[16.07.2012 19:48:02] Подключение к FTP-серверу... xx.xxx.xxx.xx:2021 (ip = xx.xxx.xxx.xx)...
[16.07.2012 19:48:02] Сокет подключен. Ожидание сообщения с приветствием...
[16.07.2012 19:48:12] 220 ProFTPD 1.3.4a Server (nasbox FTP Server) [192.168.0.3]
[16.07.2012 19:48:12] Подключено. Проверка подлинности...
[16.07.2012 19:48:12] USER User
[16.07.2012 19:48:12] 331 Password required for User
[16.07.2012 19:48:12] PASS *****
[16.07.2012 19:48:12] 530 Access denied
[16.07.2012 19:48:12] Вход не выполнен.
Can anybody help us?

P.S.: port 2021 is external and forwarding by router to internal 21.
You may need to set the passive ports (min-max) in nas4free and open them in your firewall
http://doc.freenas.org/index.php/FTP

d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by d3st1ny »

:(
again does not work

Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by Kiss239 »

d3st1ny wrote: You may need to set the passive ports (min-max) in nas4free and open them in your firewall
It means, that I have to set redirecting for thouse ports [min,...,max] in router's DNAT config?
raulfg3 wrote: Please confirm if you use DHCP IP, I remember that a Fixed IP is needed to gain permission over the Wan ( but I don't remember why).

If dhcp, change to fixed IP and try it.
I use router's DHCP (IP is reserved by MAC) in "my own little LAN", and my provider use DHCP (auth by MAC) too, and he gives me external IP (xxx.xxx.xxx.73) for my router and NAS4Free server includingl; the same provider gives external IP (xxx.xxx.xxx.143) to another computer (client), which is not in "my own little LAN".
In settings of FileZilla (on a client computer) I've used option "use external IP", but error haven't gone.

May be I haven't understood something?
Medical student trying to grasp the IT-Zen.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by raulfg3 »

try to assing a fixed IP to your NAS (It can be the same that actually have , but fixed, not asigned by dhcp), and try if works.

PD: revise this [howto] : viewtopic.php?f=71&t=560
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

d3st1ny
NewUser
NewUser
Posts: 8
Joined: 26 Jun 2012 21:21
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by d3st1ny »

i added record to file HOSTS: MY_HOME_IP MY_COMP_NAME
nas4free said:

Code: Select all

root: hosts service executed
and ftp began work :?
i don't understand anything

Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by Kiss239 »

My NAS4Free server have got fixed external IP-port combinations via DNAT from router and fixed internal IP in my home LAN.

All adresses are fixed and permanent. Becouse of it I don't know what to do with this problem... (
Medical student trying to grasp the IT-Zen.

davidb
Starter
Starter
Posts: 55
Joined: 05 Jul 2012 17:51
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by davidb »

On a related problem, i was getting some weird errors when i set up the ftp on my NAS4Free box:

proftpd: warning: host name/address mismatch: 192.168.XX.XXX != anothercomputer.my.domain
proftpd[2244]: 192.168.XX.XXX (192.168.XX.XXX[192.168.XX.XXX]) - mod_wrap/1.2.4: refused connection from ::ffff:192.168.XX.XXX

Turned out there was an old DNS entry in my domain controller for the IP i got via DHCP. Once i cleared that out it worked fine.
Seems that the RDNS lookup is still taking place even when not checked on the config page?

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

I'm having the same problem.
Could this http://www.proftpd.org/docs/contrib/mod_wrap.html#FAQ help us?

infinion
Starter
Starter
Posts: 41
Joined: 22 Aug 2012 22:11
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by infinion »

I Fixed this error with adding the external hostname and internet ip in -> GUI -> Network -> Hosts. Make a new entry with your Hostname and IP. Save and you should be able to connect.

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

I've set my dyndns name and my public ip address, Is it correct?

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

I can't find my old file as I think I'm having problem both on OS (on usb key) and raid

infinion
Starter
Starter
Posts: 41
Joined: 22 Aug 2012 22:11
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by infinion »

That sounds correct, i did the same.

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

planetcaravan wrote:I've set my dyndns name and my public ip address, Is it correct?
Can someone help me, please?

nicolap8
Starter
Starter
Posts: 74
Joined: 26 Jun 2012 01:02
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by nicolap8 »

I think that here is the solution: add to Auxiliary Parameters the "DynMasqRefresh" directive!
http://www.proftpd.org/docs/contrib/mod_dynmasq.html

But is needed a recompilation of ProFTPd!
In past I already tried to request this change but "they" (I dont remember who) sayd "NO"...

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

So is not possible to recompile ftp server in NAS4Free?

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

Hi there!
Can somebody help us?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by alexey123 »

What problem recompille any service?
Create jail , than

Code: Select all

portsnap fetch extract
cd /usr/ports/ftp/proftpd
Then as in handbook
Recommended Test Ordering
  • make install
    make package
    make deinstall
    pkg_add package-name
    make deinstall
    make reinstall
    make package
Package can be installed on base system - new buillding must replace binaries.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

yozh
Starter
Starter
Posts: 15
Joined: 16 Jul 2012 18:15
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by yozh »

I had to manually # comment out the :

Code: Select all

# <IfModule mod_wrap.c>
#  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
#  TCPAccessSyslogLevels info warn
#  TCPServiceName ftpd
# </ifModule>
then from command line -HUP the proftp process... If you do it from GUI it puts the commands back, probably easier way to do this, but need a quick fix....

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

yozh wrote:I had to manually # comment out the :

Code: Select all

# <IfModule mod_wrap.c>
#  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
#  TCPAccessSyslogLevels info warn
#  TCPServiceName ftpd
# </ifModule>
then from command line -HUP the proftp process... If you do it from GUI it puts the commands back, probably easier way to do this, but need a quick fix....
Where did you find this file?

yozh
Starter
Starter
Posts: 15
Joined: 16 Jul 2012 18:15
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by yozh »

planetcaravan wrote:
yozh wrote:I had to manually # comment out the :

Code: Select all

# <IfModule mod_wrap.c>
#  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
#  TCPAccessSyslogLevels info warn
#  TCPServiceName ftpd
# </ifModule>
then from command line -HUP the proftp process... If you do it from GUI it puts the commands back, probably easier way to do this, but need a quick fix....
Where did you find this file?
/var/etc/proftpd.conf

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by alexey123 »

yozh wrote: /var/etc/proftpd.conf
This file rebuild every reboot from your config.xml and /etc/rc.d/proftpd script.
Last edited by alexey123 on 27 Sep 2012 16:46, edited 1 time in total.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

Hi,

I've changed the file as you've done, but I'm still having the same problem CAUSE each time I restart FTP service, nas4free eliminates comment on configuration's file!

yozh
Starter
Starter
Posts: 15
Joined: 16 Jul 2012 18:15
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by yozh »

planetcaravan wrote:Hi,

I've changed the file as you've done, but I'm still having the same problem CAUSE each time I restart FTP service, nas4free eliminates comment on configuration's file!
Yes thats why I said you have to -HUP

planetcaravan
Starter
Starter
Posts: 29
Joined: 14 Aug 2012 13:03
Status: Offline

Re: proftpd: warning: can't verify hostname

Post by planetcaravan »

:roll: Sorry!

So what we're gonna do?

Post Reply

Return to “FTP”