avoid Denial of Service

avoid Denial of Service

am 08.10.2009 15:36:33 von Gerardo Benitez

--001636b2b034458a9004756c8d6d
Content-Type: text/plain; charset=ISO-8859-1

Hi everybody!


I want to get some tips about how avoid a attack of Denial of service. May
be somebody can about your experience with Php o some configuration of
apache, o other software that help in these case.


Thanks in advance.


--
Gerardo Benitez

--001636b2b034458a9004756c8d6d--

Re: avoid Denial of Service

am 08.10.2009 16:10:47 von Gaurav Kumar

--0016368e26deb10d6a04756d07f1
Content-Type: text/plain; charset=ISO-8859-1

Not sure what exactly you are looking for.

Anyways, some common practice are request for API key, username / password
tokens before providing access to a service.

Thanks,

Gaurav Kumar


On Thu, Oct 8, 2009 at 7:06 PM, Gerardo Benitez wrote:

> Hi everybody!
>
>
> I want to get some tips about how avoid a attack of Denial of service. May
> be somebody can about your experience with Php o some configuration of
> apache, o other software that help in these case.
>
>
> Thanks in advance.
>
>
> --
> Gerardo Benitez
>

--0016368e26deb10d6a04756d07f1--

Re: avoid Denial of Service

am 08.10.2009 16:20:02 von Ashley Sheridan

--=-ALLrnNqHyLoQbExES4uP
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2009-10-08 at 19:40 +0530, Gaurav Kumar wrote:

> Not sure what exactly you are looking for.
>
> Anyways, some common practice are request for API key, username / password
> tokens before providing access to a service.
>
> Thanks,
>
> Gaurav Kumar
>
>
> On Thu, Oct 8, 2009 at 7:06 PM, Gerardo Benitez wrote:
>
> > Hi everybody!
> >
> >
> > I want to get some tips about how avoid a attack of Denial of service. May
> > be somebody can about your experience with Php o some configuration of
> > apache, o other software that help in these case.
> >
> >
> > Thanks in advance.
> >
> >
> > --
> > Gerardo Benitez
> >


If you are using Apache there are a bunch of different DoS modules that
you can use:

http://www.google.co.uk/search?q=apache
+dos&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&c lient=firefox-a

Also, if you are in full control of the server, you may be able to
configure firewalls for this sort of thing.

It gets more complex when you're attacked with a DDoS (Distributed
Denial of Service) as there's no real hard-and-fast way to prevent them,
as they could genuinely be legitimate requests to your server and not
attacks. As a distributed attack comes from many sources, you can't
reliably differentiate the valid requests from the malicious ones.

Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-ALLrnNqHyLoQbExES4uP--

Re: avoid Denial of Service

am 09.10.2009 10:08:19 von Peter Ford

Gerardo Benitez wrote:
> Hi everybody!
>
>
> I want to get some tips about how avoid a attack of Denial of service. May
> be somebody can about your experience with Php o some configuration of
> apache, o other software that help in these case.
>
>
> Thanks in advance.
>
>

Unplug the network cable :)

--
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re: avoid Denial of Service

am 09.10.2009 10:15:48 von Mert Oztekin

--_000_E2C046087E10D943811A0BD0A4E8316D1B57CD13B8ankaraanado lu_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

UEhQIGlzIG5vdCB0aGUgcmlnaHQgcGxhY2UgdG8gZmluZCBhbnN3ZXIgdG8g YXZvaWQgRERvUyBh
dHRhY2suIFlvdXIgc2VydmVyIGNvbmZpZ3VyYXRpb24gYW5kIGZpcmV3YWxs IHNvZnR3YXJlL2hh
cmR3YXJlIHNob3VsZCB0cnkgYXZvaWRpbmcgaXQgKGlmIHRoZXkgY2FuKQ0K DQoNCi0tLS0tT3Jp
Z2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBQZXRlciBGb3JkIFttYWlsdG86 cGV0ZUBqdXN0Y3Jv
ZnQuY29tXQ0KU2VudDogRnJpZGF5LCBPY3RvYmVyIDA5LCAyMDA5IDExOjA4 IEFNDQpUbzogcGhw
LWdlbmVyYWxAbGlzdHMucGhwLm5ldA0KU3ViamVjdDogW1BIUF0gUmU6IGF2 b2lkIERlbmlhbCBv
ZiBTZXJ2aWNlDQoNCkdlcmFyZG8gQmVuaXRleiB3cm90ZToNCj4gSGkgZXZl cnlib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gaW50ZWdyaXR5IGFuZCBjb25maWRlbnRpYWxpdHksIHZp cnVzZXMgYW5kIGFu
eSBkYW1hZ2VzIGNhdXNlZCBpbiBhbnl3YXkgdG8geW91ciBjb21wdXRlciBz eXN0ZW0uDQo=

--_000_E2C046087E10D943811A0BD0A4E8316D1B57CD13B8ankaraanado lu_--

RE: avoid Denial of Service

am 14.12.2009 13:05:36 von angelo

-----Original Message-----
From: Ashley Sheridan [mailto:ash@ashleysheridan.co.uk]
Sent: 08 October 2009 04:20 PM
To: Gaurav Kumar
Cc: Gerardo Benitez; php-general@lists.php.net
Subject: Re: [PHP] avoid Denial of Service

On Thu, 2009-10-08 at 19:40 +0530, Gaurav Kumar wrote:

> Not sure what exactly you are looking for.
>
> Anyways, some common practice are request for API key, username / password
> tokens before providing access to a service.
>
> Thanks,
>
> Gaurav Kumar
>
>
> On Thu, Oct 8, 2009 at 7:06 PM, Gerardo Benitez
wrote:
>
> > Hi everybody!
> >
> >
> > I want to get some tips about how avoid a attack of Denial of service.
May
> > be somebody can about your experience with Php o some configuration of
> > apache, o other software that help in these case.
> >
> >
> > Thanks in advance.
> >
> >
> > --
> > Gerardo Benitez
> >


If you are using Apache there are a bunch of different DoS modules that
you can use:

http://www.google.co.uk/search?q=apache
+dos&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&c lient=firefox-a

Also, if you are in full control of the server, you may be able to
configure firewalls for this sort of thing.

It gets more complex when you're attacked with a DDoS (Distributed
Denial of Service) as there's no real hard-and-fast way to prevent them,
as they could genuinely be legitimate requests to your server and not
attacks. As a distributed attack comes from many sources, you can't
reliably differentiate the valid requests from the malicious ones.



And then you don't want to block the legitimate requests as you would be
denying visitors your service...

Angelo

http://www.elemental.co.za
http://www.wapit.co.za



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php