logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Hardware & Networking View previous topic :: View next topic
Reply to topic   Topic: Routing all traffic ?
Author
thor erik



Joined: 01 Aug 2006
Posts: 6
Location: Oslo

PostPosted: Thu 03 Aug '06 22:46    Post subject: Routing all traffic ? Reply with quote

well i've had alot of attacks agains my laptop (some have suckseeded '-.-)
so the idea (read it from a computer magazine. but the script they had was cgi/php based for routers) is to make all traffic run through a php script for then to be sendt to the server i'm requesting. and that it keeps ALL ports closed except for the one it sendt a request from. and that ONLY the response from the server it sendt a request to.

i think something like this will be VERRY hard but it will increase the security Smile

any1 up to sutch a task? (it's not supposed to be a normal php scrip that is ran through a browser but ran as a service)
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Thu 03 Aug '06 23:15    Post subject: Reply with quote

Have you looked into using Mod_Security?
..
.
Back to top
thor erik



Joined: 01 Aug 2006
Posts: 6
Location: Oslo

PostPosted: Thu 03 Aug '06 23:25    Post subject: Reply with quote

well it's not for a webserver but for a laptop
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 04 Aug '06 9:20    Post subject: Reply with quote

Firewall?? If you block Port 80 for incomming requests there won't be attacks to your Apache.
What kind of attacks hit you? script based in your scripts? XSS attack?
What do you programm cgi? perl? php?
Back to top
thor erik



Joined: 01 Aug 2006
Posts: 6
Location: Oslo

PostPosted: Fri 04 Aug '06 23:46    Post subject: Reply with quote

well as i said there is no real attacks agains my apache (it's a laptop NOT a server) the scrip idea was based on a PHP script made for routers. i just wondered if there was a way to make sutch a script(CLI) for a normal Windows XP Home computer.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sat 05 Aug '06 10:50    Post subject: Reply with quote

Can you give us an url to such a script and the router config to do this?

I think you mean: a commandline php script blocks bad traffic. If yes, sure that is possible with the CLI php.exe (in earlier versions of php5 php-cli.exe)
I can't get my head around you why you want to do that on your laptop. Question
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Mon 07 Aug '06 12:41    Post subject: Reply with quote

thor erik wrote:
well it's not for a webserver but for a laptop
Looks that this topic is not related to Apache.
Back to top


Reply to topic   Topic: Routing all traffic ? View previous topic :: View next topic
Post new topic   Forum Index -> Hardware & Networking