bencheung

Member
Aug 28, 2007
11
0
51
Dear All,

I am using csf and opened FTP for users. Users now can access FTP by using FileZilla or IE.

However, one of the user website is using Java in php script and cannot access FTP, unless I add his IP address to csf.allow file. What should I do?

For more information, he can connect the FTP by using IE or FileZilla even I did not add his IP to csf.allow file.

Please give me a hand. Many Thanks.

Ben
 

bencheung

Member
Aug 28, 2007
11
0
51
Need your help

Dear All,

Does anyone know about the FTP and firewall problem. Please help me... MANY THANKS~

Ben
 

bencheung

Member
Aug 28, 2007
11
0
51
Please Help

When I use the Java to FTP upload file, it got failure and here are the log messages attached here:

-------------------------------------------------------------------------------
Sep 5 19:32:04 serverhost pure-ftpd: ([email protected]) [INFO] New connection from 456.456.456.456
Sep 5 19:32:04 serverhost pure-ftpd: ([email protected]) [INFO] [email protected] is now logged in
Sep 5 19:32:04 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11770 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
Sep 5 19:32:07 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11772 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
Sep 5 19:32:13 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11774 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
Sep 5 19:32:25 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11776 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
Sep 5 19:32:49 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11778 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
Sep 5 19:33:13 serverhost sshd(pam_unix)[23208]: session opened for user root by (uid=0)
Sep 5 19:33:37 serverhost kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=123.123.123.123 DST=456.456.456.456 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11780 DF PROTO=TCP SPT=20 DPT=1087 WINDOW=5840 RES=0x00 SYN URGP=0
--------------------------------------------------------------------------------------------

Where 456.456.456.456 is outsider IP, 123.123.123.123 is cPanel IP. Can you find any problem of that? Please help...

Ben