FTP fails with APF running

The strange part about this is APF is configured exactly the same on several servers, and no other server has this problem.

An FTP upload will begin, but after about 1.5 Meg (varies)
it will pause for about 60 second, and then I get this error: hResRead: 0, hResWrite:80042003

Tried WS_FTP and Cuteftp

OS: Centos 4
FTP Server: Proftpd (Have also tried pureFTP)
Control Panel: cPanel
Mode: PASV (have also tried PORT)

When APF is stopped, I don't get the error,and transfers complete successfuly.


/etc/apf/conf.apf:

Code:
#!/bin/sh

DEVM="0"
FWPATH="/etc/apf"
IF="eth0"
TIF=""
LGATE_MAC=""
EN_VNET="0"
MONOKERN="0"
DEF_TOS="4"
TCP_STOP="DROP"
UDP_STOP="DROP"
DSTOP="DROP"
ICMP_LIM="14/s"
RESV_DNS="0"
RESV_DNS_DROP="1"
BLK_MCATNET="0"
BLK_PRVNET="1"
BLK_RESNET="0"
SYSCTL_CONNTRACK="34576"
SYSCTL_TCP="1"
SYSCTL_SYN="1"
SYSCTL_ROUTE="1"
SYSCTL_LOGMARTIANS="0"
SYSCTL_ECN="0"
SYSCTL_SYNCOOKIES="1"
SYSCTL_OVERFLOW="0"
CDPORTS="135_139,111,161,199,513,445,1434,1234,1524"
IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096,3306,6666"
IG_UDP_CPORTS="21,53,465,873"
IG_ICMP_TYPES="3,5,11,0,30,8"


EGF="1"
EG_TCP_CPORTS="21,25,26,37,43,53,80,110,113,465,443,873,2089,3306,1129"
EG_UDP_CPORTS="20,21,53,465,873,33434_33523,1129"
EG_ICMP_TYPES="all"
EG_TCP_UID=""
EG_UDP_UID=""

USE_DS="0"

DS_URL="feeds.dshield.org/block.txt"
DS_URL_PROT="http"
USE_AD="0"
USE_RGT="1"

GA_URL="somedomain.com/global/apf/glob_allow.rules"       
GA_URL_PROT="http"                         

GD_URL="somedomain.com/global/apf/glob_deny.rules"
GD_URL_PROT="http"

IPTLOG="/var/log/apf_log"
LGATE_LOG="0"
DROP_LOG="1"
EXLOG="0"
LRATE="45"

CNFINT="$FWPATH/internals/internals.conf"
. $CNFINT

 

 

 

 

Top