alguém?

2013/6/4 Mauro Collin <[email protected]>

> Boa noite galera!
>
> Seguinte, ja personalizei a pagina de bloqueio do squid, soh que eu queria
> que aparecesse o nome do usuario que esta sendo bloqueado.
>
> tipo:
>
> Olá "FULANINHO" você foi bloqueado segundo as regras da
> empresa....etc...etc...
>
> Um amigo já fez isso numa empresa e sei que tem correlação com o
> /etc/hosts pois foi eu que configurei o hosts assim:
>
> 192.168.0.1 fulaninho fulaninho.dominio
> 192.168.0.2 beltraninho beltrano.dominio
>
> alguém ai pode dar uma luz? abaixo segue os codigos que o squid retorna em
> html. Abs e obrigado!
>
>
> %a User identity %B URL with FTP %2f hack %cSquid error code %d seconds
> elapsed since request received (not yet implemented) %D
> Squid-generated error details. May contain other error page formating
> codes. Currently only SSL connection failures are detailed. For example, %D
> in a customized*ERR_SECURE_CONNECT_FAIL* response may be expanded into
> "The host name you are connecting to (foo.com) does not match any of the
> certificate names (foo.org, foo.net)..."). Supported since Squid
> v3.2.0.4. See also: application-level error code (%x) and system level
> error code/detail (%e/%E).
> %e errno %Estrerror() %f FTP request line %FFTP reply line %g FTP server
> message %hcache hostname %H server host name %iclient IP address %I
> server IP address (NP: upper case *i*)
> %l
> Local site CSS stylesheet. (Squid-3.1 and later) (NP: lower case *L*)
> %L
> contents of *err_html_text* config option
> %M Request Method %mError message returned by external auth helper %o Message
> returned by external acl helper %pURL port \# %P Protocol %RFull HTTP
> Request %S squid default signature. (Squid prior to 3.1 automatically add
> unless %s is used.) %s caching proxy software with version %tlocal time %T
> UTC %UURL without password %u URL with password. (Squid-2.5 and later
> only.) %WExtended error page data URL-encoded for mailto links. %w cachemgr
> email address %xApplication-level error name or identifier (e.g.,
> X509_V_ERR_UNABLE_TO_GET_CRL). Currently only supported for SSL certificate
> validation errors. See also: system-level error code/detail (%e/%E) and
> application-level error detail (%D). %z DNS server error message %ZMessage
> generated during the process which failed. May be ASCII-formatted. Use
> within HTML PRE tags.
>
> Att.
>
> Mauro Collin.
> Analista de Suporte Pleno.
> TI-Infraestrutura / Rede / Servidores Linux/Windows.
> Skype: mauro.collin
>
>


-- 
Att.

Mauro Collin.
Analista de Suporte Pleno.
TI-Infraestrutura / Rede / Servidores Linux/Windows.
Skype: mauro.collin
Cel: 21 8728-5445 (Oi).
Cel: 21 8055-3606 (Tim).
Cel: 21 9600-5348 (Vivo).

Responder a