ap_proxy_string_read->apr_bucket_read return value

2006-09-05 Thread Jon Snow
Hi, Line 2188 in proxy_util.c has: if (APR_SUCCESS != apr_bucket_read(e, (const char **)&response, &len, APR_BLOCK_READ)) { return rv; } should this be: if (APR_SUCCESS != (rv = apr_bucket_read(e, (const char **)&response, &le

Re: mod_proxy_ftp relative directory bug

2006-08-22 Thread Jon Snow
I was thinking along the lines of the following patch. The mod_proxy_ftp developer should be able to do a much better job as I am not a coder. It seems to work alright for anonymous and authenticated ftp traversal and is a good proof of concept. I can supply a patch for 2.2.3 if required but I n

Re: mod_proxy_ftp relative directory bug

2006-08-22 Thread Jon Snow
ttp GET request into an assortment of ftp commands that the origin server can understand. Regards, Jon On Wednesday 23 August 2006 00:45, Nick Kew wrote: > On Tuesday 22 August 2006 12:26, Jon Snow wrote: > > When going to an ftp site: > > > > ftp://ftp.example.com/dir1/di

mod_proxy_ftp relative directory bug

2006-08-22 Thread Jon Snow
e been returned to the browser with a trailing slash once the directory is detected. Should the ftp proxy also return a redirect with a trailing slash at the point it has determined a directory exists? e.g. ftp://ftp.example.com/dir1/dir2 -> 302 ftp://ftp.example.com/dir1/dir2/ Regards, Jon Snow

Re: High CPU utilization on using Apache as a reverse proxy

2006-08-19 Thread Jon Snow
Pradeep, HP-UX will not be affected by the SSL card issue as it was SUN hardware/driver issue that caused the CPU to spin. I would upgrade to the latest apache version 2.2.3 to eliminate any bugs that may have already been fixed. There were a couple of ssl related ones fixed in 2.0.56 for mod_

Re: High CPU utilization on using Apache as a reverse proxy

2006-08-17 Thread Jon Snow
Pradeep, I can't remember if I posted the results of the SSL issue and high CPU usage. We tracked it to a bug in the solaris driver for the Sun daughter card, some mutex issue if my memory serves me correctly. Sun confirmed and issued a patch a while ago. As discussed in the quoted post I did

Mapping proxy inbound to outbound connections

2005-10-25 Thread Jon Snow
Hi, I want to tie together the inbound and outbound connections for a forward or reverse proxy session. I figured I would add the source ports to the log which would enable me to track the connections through firewall logs etc. based on addressing/port combinations. I was looking at writing a

rproxy close_wait high cpu

2005-10-25 Thread Jon Snow
Hi, I am running solaris 8 with apache 2.0.53 over openssl 0.9.7 as a reverse proxy which terminates and reestablishes SSL to the backend. I run the worker mpm with 100 threads per process. The server has minimal load and uses a crypto card. The build is pretty minimal and runs in a gateway en

Re: mod_proxy_ftp BASE REF

2005-08-09 Thread Jon Snow
em to make sense, in normal operation, to rewrite content on a proxy overriding the client's view of the world. Any opinions on whether this would be considered a bug? Regards, Jon On Tuesday 09 August 2005 20:37, Graham Leggett wrote: > Jon Snow wrote: > > Does anyone have any i

mod_proxy_ftp BASE REF

2005-08-09 Thread Jon Snow
Does anyone have any idea why/whether the BASE HREF is required in the proxy_ftp html code returned to the client? I would like to remove it as it is breaking relative links for my client's browsers that are not using an Authorization header. I have not found anywhere in the RFCs where it is s

proxy_ftp base href breaks authorization

2005-07-28 Thread Jon Snow
Hi, I run a forward proxy using mod_ftp_proxy through a forward proxy heirarchy. The proxy in question is the last in the chain and communicates with the Internet. Mod_proxy_ftp will successfully return a directory listing after authentication to an FTP site using a user:password combination in