LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-19-2010, 12:45 PM   #1
proNick
Member
 
Registered: Apr 2005
Posts: 104

Rep: Reputation: 15
Firewall problem when using Sage Pay system


hi all,

i have to setup iptables firewall on server with online shop application.

it have included sage pay system.

problem is that i don't know which port i have to open. i tryed with 443, 8080, and few others but no luck - i get blank page after entering credit card details. credit card details are not sent from server.

shopping card application is written in php. unfortunately i have only few informations about that shopping card application, because it was custom builded.

but, when firewall is down, it works ok.

can you give me some advices how to setup firewall. i guess that is only problem with few ports that have to be open.


tnx in adv!
 
Old 06-19-2010, 12:47 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by proNick View Post
problem is that i don't know which port i have to open. i tryed with 443, 8080, and few others but no luck
You can find out which port the application is listening on by running netstat as root:
Code:
netstat -pantu | grep LISTEN
 
Old 06-19-2010, 01:14 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...and using iptables "-j LOG" rules will show you what traffic goes to what remote host and which port. BTW you still need to address all replies in http://www.linuxquestions.org/questi...-check-804340/. Please take care of it now.
 
  


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
On-call pay for system administrators KGibbar General 6 09-20-2006 11:01 AM
LXer: McAfee's new security journal: Sage is not sage LXer Syndicated Linux News 0 07-17-2006 12:21 PM
LXer: Pay a little now, pay a lot later LXer Syndicated Linux News 0 07-09-2006 09:03 PM
Sage for Linux ppuddick Linux - Software 0 05-14-2004 02:26 AM
Linux Installation Problem, Can Pay! mithras Linux - Newbie 26 07-03-2003 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration