mod proxy, path rewrite, and digest authentication
Hello, Is this the right place to ask about mod proxy and digest auth with a uri change from proxy to back-end server? I'm wondering how to carry the original request-uri through to the digest stage. I spent a few hours working on this and my notes are here: http://www.docunext.com/blog/2008/03/16/digest-versus-proxy/ At the moment, it seems rather impossible, but the rfc suggests some ideas like proxy-authentication and digest-uri getting repeated when a proxy rewrites the path. I also found some comments in the mod_auth_digest.c code that suggests the code is aware that a proxy can change the path. Thanks for any thoughts. -- My Blogs: http://www.docunext.com/ http://www.albertlash.com/
Bug report for Apache httpd-1.3 [2008/03/16]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |10038|New|Min|2002-06-20|ab benchmaker hangs on 10K https URLs with keepali| |10744|New|Nor|2002-07-12|suexec might fail to open log file| |10747|New|Maj|2002-07-12|ftp SIZE command and 'smart' ftp servers results i| |10760|New|Maj|2002-07-12|empty ftp directory listings from cached ftp direc| |14518|Opn|Nor|2002-11-13|QUERY_STRING parts not incorporated by mod_rewrite| |16013|Opn|Nor|2003-01-13|Fooling mod_autoindex + IndexIgnore | |16631|Inf|Min|2003-01-31|.htaccess errors logged outside the virtual host l| |17318|Inf|Cri|2003-02-23|Abend on deleting a temporary cache file if proxy | |19279|Inf|Min|2003-04-24|Invalid chmod options in solaris build| |21637|Inf|Nor|2003-07-16|Timeout causes a status code of 200 to be logged | |21777|Inf|Min|2003-07-21|mod_mime_magic doesn't handle little gif files| |22618|New|Maj|2003-08-21|MultiViews invalidates PATH_TRANSLATED if cgi-wrap| |25057|Inf|Maj|2003-11-27|Empty PUT access control in .htaccess overrides co| |26126|New|Nor|2004-01-14|mod_include hangs with request body | |26152|Ass|Nor|2004-01-15|Apache 1.3.29 and below directory traversal vulner| |26790|New|Maj|2004-02-09|error deleting old cache file | |29257|Opn|Nor|2004-05-27|Problem with apache-1.3.31 and mod_frontpage (dso,| |29498|New|Maj|2004-06-10|non-anonymous ftp broken in mod_proxy | |29538|Ass|Enh|2004-06-12|No facility used in ErrorLog to syslog| |30207|New|Nor|2004-07-20|Piped logs don't close read end of pipe | |30877|New|Nor|2004-08-26|htpasswd clears passwd file on Sun when /var/tmp i| |30909|New|Cri|2004-08-28|sporadic segfault resulting in broken connections | |31975|New|Nor|2004-10-29|httpd-1.3.33: buffer overflow in htpasswd if calle| |32078|New|Enh|2004-11-05|clean up some compiler warnings | |32539|New|Trv|2004-12-06|[PATCH] configure --enable-shared= brocken on SuSE| |32974|Inf|Maj|2005-01-06|Client IP not set | |33086|New|Nor|2005-01-13|unconsistency betwen 404 displayed path and server| |33495|Inf|Cri|2005-02-10|Apache crashes with WSADuplicateSocket failed for| |33772|New|Nor|2005-02-28|inconsistency in manual and error reporting by sue| |33875|New|Enh|2005-03-07|Apache processes consuming CPU| |34108|New|Nor|2005-03-21|mod_negotiation changes mtime to mtime of Document| |34114|New|Nor|2005-03-21|Apache could interleave log entries when writing t| |34404|Inf|Blk|2005-04-11|RewriteMap prg can not handle fpout | |34571|Inf|Maj|2005-04-22|Apache 1.3.33 stops logging vhost| |34573|Inf|Maj|2005-04-22|.htaccess not working / mod_auth_mysql| |35424|New|Nor|2005-06-20|httpd disconnect in Timeout on CGI| |35439|New|Nor|2005-06-21|Problem with remove /../ in util.c and mod_rewri| |35547|Inf|Maj|2005-06-29|Problems with libapreq 1.2 and Apache::Cookie | |3|New|Nor|2005-06-30|Can't find DBM on Debian Sarge| |36375|Opn|Nor|2005-08-26|Cannot include http_config.h from C++ file| |37166|New|Nor|2005-10-19|Under certain conditions, mod_cgi delivers an empt| |37185|New|Enh|2005-10-20|AddIcon, AddIconByType for OpenDocument format| |37252|New|Reg|2005-10-26|gen_test_char reject NLS string | |38989|New|Nor|2006-03-15|restart + piped logs stalls httpd for 24 minutes (| |39104|New|Enh|2006-03-25|[FR] fix build with -Wl,--as-needed | |39287|New|Nor|2006-04-12|Incorrect If-Modified-Since validation (due to syn| |39937|New|Nor|2006-06-30|Garbage output if README.html is gzipped or compre| |40176|New|Nor|2006-08-03|magic and mime| |40224|Ver|Nor|2006-08-10|System time crashes Apache @year 2038 (win32 only?| |41279|New|Nor|2007-01-02|Apache 1.3.37 htpasswd is vulnerable to buffer ove| |42355|New|Maj|2007-05-08|Apache 1.3 permits non-rfc HTTP error code = 600 |
flood random profiletype?
It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1. use a requesttemplate 2. the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3. create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4. Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1. use a requesttemplate 2. the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3. create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4. Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
Well, no, because it's been submitted but not approved. But you could ask that it be approved! There needs to be a discussion about it, there is one tradeoff in the algorithm that needs to be understood. Committer-folk: see how popular this would be? Guy On Mon, 2008-03-17 at 11:04 -0700, Skye Poier Nott wrote: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1. use a requesttemplate 2. the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3. create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4. Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
Well if it helps, I'd love to see this in the SVN head branch sooner rather than later. Please hear my prayers, powers-that-be :) Thanks Skye On 17-Mar-08, at 11:09 AM, Guy Ferraiolo wrote: Well, no, because it's been submitted but not approved. But you could ask that it be approved! There needs to be a discussion about it, there is one tradeoff in the algorithm that needs to be understood. Committer-folk: see how popular this would be? Guy On Mon, 2008-03-17 at 11:04 -0700, Skye Poier Nott wrote: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1. use a requesttemplate 2. the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3. create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4. Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his mail on February 22: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/raw/[EMAIL PROTECTED]/2 Regards, Rainer Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1.use a requesttemplate 2.the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3.create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4.Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
That's the easy way. Let me know of any problems you find. Thanks, Guy On Mon, 2008-03-17 at 20:05 +0100, Rainer Jung wrote: Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his mail on February 22: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/raw/[EMAIL PROTECTED]/2 Regards, Rainer Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1.use a requesttemplate 2.the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the substitution variable, you can pick your variable names and have more than one in a URL 3.create a substitution file containing lines with the text you want substituted as (example file name mysubstfile): \n 0001\n ... \n 4.Have a config file with a subst_list entry like this subst_list subst_entry subst_varRANVAR/subst_var subst_file/path-to/mysubstfile/subst_file subst_entry subst_list The win is that the subst file can contain lots of things beyond random numbers. It's very easy to create a subst file from an access log and get very good agreement with your actual traffic. So URLs like http://example.com/?q=${QUERYFROMREALTRAFFIC} work fine. You can do port numbers too. Very large subst files work fine. Guy On Mon, 2008-03-17 at 10:43 -0700, Skye Poier Nott wrote: Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml. Hopefully your patch can do zero padding of random numbers! What's the url for the patch file? Thanks, Skye On 17-Mar-08, at 10:37 AM, Guy Ferraiolo wrote: Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/ profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250 -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch failures applying against HEAD and even the 2007-12-19 version of files (a frequent date in the diff). eg: Patching file flood-orig/flood_round_robin.c using Plan A... Hunk #1 succeeded at 55 with fuzz 3. Hunk #2 succeeded at 117 with fuzz 3. Hunk #3 succeeded at 132 with fuzz 3. Hunk #4 succeeded at 185 with fuzz 3. Hunk #5 failed at 238. Hunk #6 failed at 752. Hunk #7 succeeded at 874 with fuzz 3. Skye On 17-Mar-08, at 12:17 PM, Guy Ferraiolo wrote: That's the easy way. Let me know of any problems you find. Thanks, Guy On Mon, 2008-03-17 at 20:05 +0100, Rainer Jung wrote: Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his mail on February 22: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/raw/[EMAIL PROTECTED]/2 Regards, Rainer smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
I did it against an svn checkout from that date, or very close to it. Can you show the actual errors? or a few? Guy On Mon, 2008-03-17 at 12:40 -0700, Skye Poier Nott wrote: Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch failures applying against HEAD and even the 2007-12-19 version of files (a frequent date in the diff). eg: Patching file flood-orig/flood_round_robin.c using Plan A... Hunk #1 succeeded at 55 with fuzz 3. Hunk #2 succeeded at 117 with fuzz 3. Hunk #3 succeeded at 132 with fuzz 3. Hunk #4 succeeded at 185 with fuzz 3. Hunk #5 failed at 238. Hunk #6 failed at 752. Hunk #7 succeeded at 874 with fuzz 3. Skye On 17-Mar-08, at 12:17 PM, Guy Ferraiolo wrote: That's the easy way. Let me know of any problems you find. Thanks, Guy On Mon, 2008-03-17 at 20:05 +0100, Rainer Jung wrote: Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his mail on February 22: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/raw/[EMAIL PROTECTED]/2 Regards, Rainer -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
Nevermind, it works fine. The patch attachment I downloaded from the list archive with saved as DOS format line endings for some reason even though I'm on a BSD box :P Skye On 17-Mar-08, at 12:43 PM, Guy Ferraiolo wrote: I did it against an svn checkout from that date, or very close to it. Can you show the actual errors? or a few? Guy On Mon, 2008-03-17 at 12:40 -0700, Skye Poier Nott wrote: Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch failures applying against HEAD and even the 2007-12-19 version of files (a frequent date in the diff). eg: Patching file flood-orig/flood_round_robin.c using Plan A... Hunk #1 succeeded at 55 with fuzz 3. Hunk #2 succeeded at 117 with fuzz 3. Hunk #3 succeeded at 132 with fuzz 3. Hunk #4 succeeded at 185 with fuzz 3. Hunk #5 failed at 238. Hunk #6 failed at 752. Hunk #7 succeeded at 874 with fuzz 3. Skye smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
I submitted it as unix text. Well, I'm glad the patch applies. Let me know of any issues. Guy On Mon, 2008-03-17 at 13:01 -0700, Skye Poier Nott wrote: Nevermind, it works fine. The patch attachment I downloaded from the list archive with saved as DOS format line endings for some reason even though I'm on a BSD box :P Skye On 17-Mar-08, at 12:43 PM, Guy Ferraiolo wrote: I did it against an svn checkout from that date, or very close to it. Can you show the actual errors? or a few? Guy On Mon, 2008-03-17 at 12:40 -0700, Skye Poier Nott wrote: Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch failures applying against HEAD and even the 2007-12-19 version of files (a frequent date in the diff). eg: Patching file flood-orig/flood_round_robin.c using Plan A... Hunk #1 succeeded at 55 with fuzz 3. Hunk #2 succeeded at 117 with fuzz 3. Hunk #3 succeeded at 132 with fuzz 3. Hunk #4 succeeded at 185 with fuzz 3. Hunk #5 failed at 238. Hunk #6 failed at 752. Hunk #7 succeeded at 874 with fuzz 3. Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250
Re: flood random profiletype?
One thing I've noticed is it doesn't seem to do substitution if you specify: urlhttp://${hostname}.example.com/index.html/url but if I use this it works fine: url method=GET requesttemplate=http://${hostname}.example.com/ index.html / I'm not sure if that's intentional. Anyway, seems to work great, thanks again!! Very useful! Skye smime.p7s Description: S/MIME cryptographic signature
Re: flood random profiletype?
Yes, it has to be a requesttemplate. That allowed it to be a relatively small patch. Thanks for trying it. Guy On Mon, 2008-03-17 at 13:40 -0700, Skye Poier Nott wrote: One thing I've noticed is it doesn't seem to do substitution if you specify: urlhttp://${hostname}.example.com/index.html/url but if I use this it works fine: url method=GET requesttemplate=http://${hostname}.example.com/ index.html / I'm not sure if that's intentional. Anyway, seems to work great, thanks again!! Very useful! Skye -- Guy Ferraiolo mailto:[EMAIL PROTECTED] Performance Measurement Analysis http://CNET.com CNETtel: 1.908.541.3739 1200 Route 22 East fax: 1.908.575.7474 Bridgewater, NJ 08807 cel: 1.732.618.0250