LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-21-2002, 05:14 AM   #1
malibuguy
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
Unhappy Linux behind ISA cgi script is causing error


Hello everyone,

I am new to Linux and have a problem with a Linux box that I am managing. It is running RH7.3 with Apache hosting a site. The linux box is behind an ISA server. Everything works fine except the execution of a script is reporting a hack attempt from the firewall. The maintainers of the script say "that when they instruct their secure server to post an ADD request , the
myscript.cgi script we uploaded to your cgi-bin records it as a hack attempt from IP address 192.168.1.1. This means that the firewall is preventing the needed data from getting through."

I need some help trying to diagnose this problem. The cgi bin and apache are all configured using pretty standard procedures from apache.org. The script executes fine, I am thinking is a firewall issue since the ISA swaps the IP of source OR the Linux box is not allow a POST or script execution from other than localhost.

Thanks for your help.
Chris

This is the log for that event;
---------Begin-------------------
> [Wed Dec 18 19:15:49 2002] [error] (13)Permission denied: exec of
> /var/www/domain1/cgi-bin/myscript.cgi failed
> [Wed Dec 18 19:15:49 2002] [error] [client 192.168.1.1] Premature end
> of script headers: /var/www/domain1/cgi-bin/myscript.cgi
---------------End---------------------------
 
Old 12-27-2002, 07:53 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe you'll want to check out isaserver.org for ISA related stuff.
 
  


Reply



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
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
python cgi script and premature end of script headers Neruocomp Programming 1 07-28-2005 11:43 AM
cgi-bin error regarding perl script hamish Linux - Software 11 12-09-2004 10:16 AM
cgi script trouble Michele Programming 5 05-14-2004 03:23 PM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 04:21 PM

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

All times are GMT -5. The time now is 06:03 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