You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Preety Puri <pr...@preety.com> on 2002/07/23 21:03:46 UTC

Question regarding the Flood Utility !!

Hi ,

I was wondering if the flood utilty needs to modified 
to run for IPv6. I am aware of a flag that is used to 
enable it in the apr directory (APR_HAVE_IPV6). Is there
any other flag that needs to be enabled for the 
flood utility as such.

I need to use the utility for flooding a V6 http server and
i can't see the flood utility (*.c / *.h ) supporting it.

Any help would be appreciated.

Thanks,
Preety.


Re: Question regarding the Flood Utility !!

Posted by Justin Erenkrantz <je...@apache.org>.
On Tue, Jul 23, 2002 at 12:03:46PM -0700, Preety Puri wrote:
> Hi ,
> 
> I was wondering if the flood utilty needs to modified 
> to run for IPv6. I am aware of a flag that is used to 
> enable it in the apr directory (APR_HAVE_IPV6). Is there
> any other flag that needs to be enabled for the 
> flood utility as such.

The key is to pass the IPv6 address in the URL tag, like so:

<url>http://1080:0:0:0:8:800:200C:417A/your-path</url>

Even if this doesn't work, perhaps changing the APR_INET flag to
APR_UNSPEC in flood_net.c and getaddrinfo should figure it out.  

I don't have a IPv6-network, so I can't test it out.  If you do
figure out how to get it working, please send us patches.  -- justin