Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ftp problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Jan 13, 2012 4:42 pm    Post subject: [SOLVED] ftp problem Reply with quote

I,
know anyone which kernel module filter can produce this issue with pure-ftpd connection:

Code:
ftp 192.168.0.20
Connected to 192.168.0.20 (192.168.0.20).
425 Sorry, invalid address given


???

Maurizio


Last edited by pigreco on Fri Jan 13, 2012 11:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Jan 13, 2012 5:33 pm    Post subject: Reply with quote

the flag -H in pure-ftpd.conf seems to resolve the problem, the doc say:
Code:
# -H [ By default, fully-qualified host names are logged. The '-H' flag avoids host names resolution. ]


may be that in this phase of set-up in the office lan pure-ftpd have some dns resolve problem, I'm not sure....
Back to top
View user's profile Send private message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Jan 13, 2012 7:33 pm    Post subject: Reply with quote

it don't resolve, now I got the ftp connection, the server ask me for username and password after it seems blocked until a timeout,


any ideas?
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jan 13, 2012 9:05 pm    Post subject: Reply with quote

i just gave it a try: standard config, works fine.

Code:
nico@tijakool ~ $ ftp 10.23.14.240
Connected to 10.23.14.240.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 30 allowed.
220-Local time is now 22:03. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (10.23.14.240:nobody): nico
500 This security scheme is not implemented
500 This security scheme is not implemented
SSL not available
331 User nico OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Connecting to port 55080
drwxr-xr-x    1 nico       nico              620 Jan  4 05:06 Mail
-rw-r--r--    1 nico       nico               28 Dec 31 00:19 blubb
-rw-r--r--    1 nico       nico            11985 Apr 24  2011 check_printer
-rw-------    1 nico       nico             3526 Apr 22  2011 flattened_simplified_silk2b.qtcurve
226-Options: -l
226 12 matches total
ftp> quit
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
nico@tijakool ~ $


could you post the actual 'error' or at least a login attempt?
and post your current config.

V
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Jan 13, 2012 11:14 pm    Post subject: Reply with quote

it was not a problem of kernel, they were two types of problems: dns and firewall configuration
I use this configuration for years without problem, but may be that I must write a new one

Thanks for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum