PHC -Leigh-
Eternal Poster
Meron na po akong squid server installed sa D.O server ko..pero gusto ko po sana na maging 407 Authentication Required ang status pag di po naglagay ng USERNAME at PASSWORD sa Squid Proxy sa HTTP INJECTOR or any TUNNELING APP.
Napapagana ko po ang paglabas ng Basic Authentication ng Squid Proxy pag ang Squid Proxy ay direct na ginagamit na proxy sa mga browser like chrome ..nagpapromt nga po ng USERNAME at PASSWORD ang squid sa pag vivisit ng website sa browser pero po pag sa HTTP INJECTOR or Any Tunneling App pag ginamit na STATUS 200 na agad kahit wala kang nilagay USERNAME at PASSWORD para sa Squid Proxy..
Ubuntu po pla ang gamit kong server :
Heto po ang script na gamit ko sa Basic Authentication (part ng squid.conf )
########### Editing the squid.conf ####################
### We are inside the squid.conf
## line 989: add follows for Basic auth
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/.htpasswd
auth_param basic children 2
auth_param basic realm Squid Basic Authentication Asked by PHC-Leigh-of-PHCorner
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
acl password proxy_auth REQUIRED
http_access allow password
################ End of the squid.conf ################
Napapagana ko po ang paglabas ng Basic Authentication ng Squid Proxy pag ang Squid Proxy ay direct na ginagamit na proxy sa mga browser like chrome ..nagpapromt nga po ng USERNAME at PASSWORD ang squid sa pag vivisit ng website sa browser pero po pag sa HTTP INJECTOR or Any Tunneling App pag ginamit na STATUS 200 na agad kahit wala kang nilagay USERNAME at PASSWORD para sa Squid Proxy..
Ubuntu po pla ang gamit kong server :
Heto po ang script na gamit ko sa Basic Authentication (part ng squid.conf )
########### Editing the squid.conf ####################
### We are inside the squid.conf
## line 989: add follows for Basic auth
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/.htpasswd
auth_param basic children 2
auth_param basic realm Squid Basic Authentication Asked by PHC-Leigh-of-PHCorner
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
acl password proxy_auth REQUIRED
http_access allow password
################ End of the squid.conf ################