🔒 Closed How to make status 407 authentication required on a squid proxy when you used http injector

Status
Not open for further replies.

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 ################
 
Please help on the attached how can I get the pass and username like on the attached I'm still a beginner
 

Attachments

  • Screenshot_20200725_053842.webp
    Screenshot_20200725_053842.webp
    50.2 KB · Views: 13
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 1K
    Views
  • 2
    Participants
Last reply from:
Mbite

Online now

Members online
847
Guests online
936
Total visitors
1,783

Forum statistics

Threads
2,276,095
Posts
28,967,564
Members
1,231,118
Latest member
czardinas
Back
Top