Page 1 of 2

Xampp TCP wrappers

PostPosted: 06. March 2009 16:56
by merlin214365
Does anyone know how I can run xampp in a tcp wrapper.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 17:26
by Nobbie
>Does anyone know how I can run xampp in a tcp wrapper.

Yes, Google knows. Simply look for "tcp wrapper apache".

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 18:10
by Wiedmann
how I can run xampp in a tcp wrapper.

You mean Apache with XAMPP (XAMPP is a bundle of three independent servers)?
--> Not possible.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 19:54
by merlin214365
Yes is just didn’t know if there was an easy way to add all the services without adding each on separately by using /opt/lamp/lamp as the service or something

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:00
by merlin214365
Oh and thanks Noobie for taking your time to answer my question in such a friendly and detailed manner. I didn’t know this forum was such a friendly place. I thought this forum was for support I don’t know it was called you’re an idiot for asking a question. Please forgive me.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:04
by Wiedmann
just didn’t know if there was an easy way to add all the services

Hm, an "/opt/lamp/lamp start" starts all 3 servers at once.

Maybe you want read this?
http://www.apachefriends.org/en/faq-xam ... x.html#fsl

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:36
by merlin214365
Xampp boots at startup but is not in a TCP wrapper. Should this be since it does start at boot time ?

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:46
by Wiedmann
but is not in a TCP wrapper.

Correct. The script just starts 3 servers.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:56
by merlin214365
So I would have to wrap each service in a tcp wrapper separately?
and thank you for taking you time to answer my questions i really do appreciate it I know this might seam trivial to some.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 20:58
by Wiedmann
So I would have to wrap each service in a tcp wrapper separately?

No. You can't wrap a service in a tcp-wrapper, if this service (server) does not have support for tcp-wrappers.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 21:00
by merlin214365
So is apache in xampp compiled to be used with tcp wrappers?

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 21:10
by Wiedmann
So is apache in xampp compiled to be used with tcp wrappers?

You can't compile Apache2 with support for tcp wrappers.

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 21:15
by merlin214365
If I want to block hosts I can only do this with iptables then?

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 21:19
by Wiedmann
If I want to block hosts I can do this with iptables then?

That's possible.

(Or just read the Apache manual (Authentication, Authorization, and Access Control).)

Re: Xampp TCP wrappers

PostPosted: 06. March 2009 21:25
by merlin214365
Trying to stop a DOS attack which is using a SYN flood using apache to block ip address will still give a SYN ACK and will not be effective :(