Author |
|
thor erik
Joined: 01 Aug 2006 Posts: 6 Location: Oslo
|
Posted: Thu 03 Aug '06 22:46 Post subject: Routing all traffic ? |
|
|
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
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
|
Posted: Thu 03 Aug '06 23:15 Post subject: |
|
|
Have you looked into using Mod_Security?
..
. |
|
Back to top |
|
thor erik
Joined: 01 Aug 2006 Posts: 6 Location: Oslo
|
Posted: Thu 03 Aug '06 23:25 Post subject: |
|
|
well it's not for a webserver but for a laptop |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 04 Aug '06 9:20 Post subject: |
|
|
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
|
Posted: Fri 04 Aug '06 23:46 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 05 Aug '06 10:50 Post subject: |
|
|
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. |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Mon 07 Aug '06 12:41 Post subject: |
|
|
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 |
|