You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2002/07/10 15:18:36 UTC

proxy debug messages and passwords :)

I overlaid the actual logged password with ******** in the messages
below.

Maybe proxy should contruct a printable URL for use in debug messages,
where the optional password has been replaced with ? or some other
character?

[Wed Jul 10 09:14:31 2002] [debug] proxy_ftp.c(193): proxy: FTP: canonicalising URL //trawick:********@192.168.1.1/
[Wed Jul 10 09:14:31 2002] [debug] mod_proxy.c(461): Trying to run scheme_handler
[Wed Jul 10 09:14:31 2002] [debug] proxy_http.c(1036): proxy: HTTP: declining URL ftp://trawick:********@192.168.1.1/
[Wed Jul 10 09:14:31 2002] [debug] proxy_connect.c(144): proxy: CONNECT: declining URL ftp://trawick:********@192.168.1.1/
[Wed Jul 10 09:14:31 2002] [debug] proxy_ftp.c(823): proxy: FTP: serving URL ftp://trawick:********@192.168.1.1/
[Wed Jul 10 09:14:31 2002] [debug] proxy_ftp.c(916): proxy: FTP: connecting ftp://trawick:********@192.168.1.1/ to 192.168.1.1:21
[Wed Jul 10 09:14:31 2002] [debug] proxy_util.c(988): proxy: checking remote machine [192.168.1.1] against [192.168.1.1]
[Wed Jul 10 09:14:31 2002] [warn] proxy: connect to remote machine 192.168.1.1 blocked: name 192.168.1.1 matched
[Wed Jul 10 09:14:31 2002] [error] [client 192.168.1.1] proxy: Connect to remote machine blocked returned by ftp://trawick:********@192.168.1.1/

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Re: proxy debug messages and passwords :)

Posted by Graham Leggett <mi...@sharp.fm>.
Jeff Trawick wrote:

> Maybe proxy should contruct a printable URL for use in debug messages,
> where the optional password has been replaced with ? or some other
> character?

I think proxy did at one stage, I recall seeing a function in there to 
strip passwords out. Will take a look in the next day or two (drowning 
in panic).

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm 
	"There's a moon
					over Bourbon Street
						tonight..."