LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-07-2004, 02:45 PM   #1
housemusic42
Member
 
Registered: Dec 2003
Location: St. Louis
Distribution: redhat 9
Posts: 31

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Curl under PHP ttxmika Slackware 11 05-31-2005 11:24 AM
Curl and PHP...? hurieka Linux - Software 6 09-28-2004 11:14 PM
Compile PHP to use Curl pimp1911 Linux - Software 3 09-24-2004 08:56 AM
php and curl Risen Linux - Software 0 09-02-2003 03:41 PM
PHP and CURL install on Mandrake 9 dmcentire Linux - Distributions 0 10-21-2002 07:55 PM


All times are GMT -5. The time now is 02:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration