From: Alexey Paramonov[SMTP:abp@news.e-burg.ru]
Sent: Saturday, 4 April 1998 1:43
Subject: Can squid log ip addresses only ( not fqdn) ?
Hello All!
I wonder Is there the way to force squid to log ip address of the source of
object retrieved ?
Can't say for sure, since I'm not a Squid guru and don't know the source
that well.
But I can say for some certainty that this is not an optimal arrangement in
terms of performance. If every request requires a DNS lookup (or a look in
the FQDN cache) then it can be a very sure way of slowing Squid down a lot.
If for any reason your DNS lookups slow down, then Squid has two options,
either to slow down also, or to revert to logging FQDNs instead of IP
addresses.
If you're really worried about object source IP addresses (though I still
can't understand why you'd do this, as there is generally a lot less
information that can be immediately discovered from an IP address other than
for route blocking purposes), you might as well post-process the squid logs
to get these later on off-line (and thus not slow down Squid).
There is log_fqdn option in squid.conf but it changes clients logging only.
Is there a similar option affecting the logging of the server addresses
( I mean the address in peerhost field ).
Why put the upstream / peer information in IP form. You already KNOW where
/ who they are, because they're in the configuration file that YOU look
after. I would have though that is enough.
Cheers
Jason
begin 600 winmail.dat
M>)\^(@06`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````S@<$``8`
M%``P`````0`D`0$@@`,`#@```,X'!``&`!(`*``"``$`'`$!"8`!`"$````V
M,S<R.38T.41"0T%$,3$Q.4(P.#`P,#!&.#`S-3@P,0#A!@$$@`$`,@```%)%
M.B!#86X@<W%U:60@;&]G(&EP(&%D9')E<W-E<R!O;FQY("@@;F]T(&9Q9&XI
M(#\`;A`!#8`$``(````"``(``0.0!@`T"```(0```$``.0``X"30OF&]`0,`
M-@```````P`F```````>`'```0```"X```!#86X@<W%U:60@;&]G(&EP(&%D
M9')E<W-E<R!O;FQY("@@;F]T(&9Q9&XI(#\````"`7$``0```!L````!O5\6
M"%Y3R'MZRN@1T9J.`*`DHZ?'`*5AF'@`'@`Q0`$````5````05535$Q!3BU!
M55-44$\M3UI--#0``````P`:0``````>`#!``0```!4```!!55-43$%.+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&`%0"F%*(5(NB$@)2`(8/QG:#'1.+`#$`,@
M,@$KP<YU)*(XL"Z"=V@8T$J2_RZB,_,<L$.")3,T(37`&B#_&1!+,C]S'\`G
MT@N`-R-$$N\P%#RE!W`'@&0',`[P(0'_51`$\!E@)4$?L`-2-+)(N/\@T$2D
M$W`#H"PR`V`QL"5@40)@;V-K/H)P"'!P&F\@H2D<L$$!(&UI/TY0+9$$(#!R
M-N!9D'0M_QT`6.`GTBA#'X8E`2,@-<!_,^('D"5@"V`V82#1*`%F;"UL"X`E
M8"@N@B4@==<T9$4H+=,I,+U4488?T=Y?(9)#Y38B'W,N!:!38+\\T#&Q/')7
MX37`!"!C7H#_&Y%B$T=3(.))?B4&+;``D.]:0`M@7?%BU&$!(!Z1/H+_)8)E
MAR@E!)`X$2`Y&Q4A,/\D8`>``Y$E@B>6-C$V\`20:TX@.+%F")!L'[!@KE?_
M4"%94%TS3U!!X"H00*`M4'XO;9-32S8Q2+$W(C>A61=:$0=`0)%D&-!+3D_^
M5U`!)4)PX%`04,(8P0K`WRRA/.`R`%]`)6-Y2L(Z]7]CPEI0"'!3M&XP&)`P
M%%E\3U4ZE&C0-F$WHB1Q=?]N81-P*E`E$4XS,",T(0GPNTXR,+U#)3!/D2(,
M2D"R!2(,?7[@`$``2```X"30OF&]`0(!^3\!````8`````````#<IT#(P$(0
M&K2Y"``K+^&"`0`````````O3SU55$,O3U4]3U131U!!3TA1+T-./4U3($U!
M24P@4D5#25!)14Y44R`Q+T-./4%54U1,04XM05535%!/+4]:330T`!X`^#\!
M````$0```$%R;6ES=&5A9"P@2F%S;VX`````'@`X0`$````5````05535$Q!
M3BU!55-44$\M3UI--#0``````@'[/P$```!@`````````-RG0,C`0A`:M+D(
M`"LOX8(!`````````"]//5540R]/53U/5%-'4$%/2%$O0TX]35,@34%)3"!2
M14-)4$E%3E13(#$O0TX]05535$Q!3BU!55-44$\M3UI--#0`'@#Z/P$````1
M````07)M:7-T96%D+"!*87-O;@`````>`#E``0```!4```!!55-43$%.+4%5
M4U103RU/6DTT-`````!```<P,,#\[ZQAO0%```@P0!8C\*QAO0$>`#T``0``
M``4```!213H@`````!X`'0X!````+@```$-A;B!S<75I9"!L;V<@:7`@861D
M<F5S<V5S(&]N;'D@*"!N;W0@9G%D;BD@/P````L`*0``````"P`C```````#
M``80L;BYIP,`!Q"4!````P`0$``````#`!$0`````!X`"!`!````90```$92
M3TTZ04Q%6$594$%204U/3D]64TU44#I!0E!`3D574T4M0E521U)54T5.5#I3
M05154D1!62PT05!224PQ.3DX,3HT,U-50DI%0U0Z0T%.4U%5241,3T=)4$%$
.1%)%4U-%4T\`````M48=
`
end
Received on Mon Apr 06 1998 - 15:59:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:37 MST