PDA

View Full Version : ispconfig vs firewall port range


H2SO4
24th May 2009, 04:13
hi

i've configured the pure-ftpd to use passive port range (49500:49750) behind firewall, but if i've tried to add this range to firewall in ispconfig then added the first port (49500) of range only to bastille config and not the range.

cat /etc/pure-ftpd/conf/PassivePortRange
49500 49750

cat /etc/Bastille/bastille-firewall.cfg |grep 49500
TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500" # MINIMAL/SAFEST

debian lenny
ispconfig 3.0.1.2

falko
24th May 2009, 21:18
What's the question?

H2SO4
24th May 2009, 23:01
What's the question?

i see in ispconfig:
20,21,22,25,53,80,110,143,443,3306,8080,49500:4975 0
i see in bastille cfg:
TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500" # MINIMAL/SAFEST
and the ftp does not working.

Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (x,x,x,x,193,127)
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing

i need to see in bastille cfg:
TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500:49750" # MINIMAL/SAFEST

this is a bug i think, but if you need a question here is a question.
where is the port range from bastille config ?

till
25th May 2009, 11:23
If you want to report a bug that shall be reviewed, please do that in the bugtracker:

http://bugtracker.ispconfig.org

H2SO4
29th May 2009, 12:39
added http://bugtracker.ispconfig.org/index.php?do=details&task_id=748&project=3