PHP/cURL
greetings!
I'm attempting to do some CC processing using cURL and PHP (requirements by the company doing the processing)
I already do CC processing with authorize.net using a PHP script they provided. That script works flawlessly.
The box I'm running the scripts from go like this:
DMZ --> Firewall --> Internet
The issue i seem to be running into is this; When ever i try to make cURL test the site, my firewall drops the request and the connection times out
-------begin log snip-------
Oct 7 12:11:12 firewall kernel: fp=FORWARD:1 a=DROP IN=eth1 OUT=eth2 SRC=192.168.x.x DST=209.189.84.130 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=44749 DF PROTO=TCP SPT=32996 DPT=443 WINDOW=5840 RES=0x00 SYN URGP=0
-------end log snip--------
What confuses me is how can i run https with authorize.net and process CC's but when i use cURL and the 3rd parties script, the firewall drops the request?
I was looking at some of cURL's options and just don't seem to be getting it. I figured if i set a proxy for cURL it would work, but (forgive i must be having a bad day) cannot get cURL to set a proxy.
breakdown:
DMZ:
RH - 7.1
PHP - 4.3.4
cURL - libcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled)
Firewall:
RH - 9
netfilter/iptables
go easy on me..i'm still so fresh n so clean.
--gomez
|