Search squid archive

Re: Frustrated/Centos 5.2 minimal i386 box giving me such a password problem/WILLING TO PAY FOR HELP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, to reexplain, here is what i did.

I got a vps, got a bunch of ips from my host, had them assigned to my
vps, and I put centos 5.2 minimal i386 on it.

I install squid (squid-3.0.STABLE13).

I set up my squid.conf like this (examples only not actual ips, and
only essential parts shown/yes, ncsa auth)

acl username1 proxy_auth  username1
acl  username2 proxy_auth  username2

tcp_outgoing_address 77.242.48.151 username1
tcp_outgoing_address 77.242.48.152  username2

http_access allow  username1
http_access allow  username2

After this I :qw to get out of vi and back to the regular ssh part.

I then htpasswd -c /etc/squid/squid_passwd username1

(-c is to create the password file)

Then I add additional users like this (since there's a bunch, I end up
at like username81):
htpasswd /etc/squid/squid_passwd username2

Finally, I restart squid and NORMALLY it works fine.  "Works fine"
means I do this in Firefox:

Tools -> Options
Then click the Advanced Icon
Then the “Network” tab, then "Settings..." button
Then click the “manually configure proxies” radio button, and enter
the proxy address and port in the HTTP Proxy area., OK, OK,
then go to www.whatismyip.org, a new window will pop up, enter
username and password provided, and then see if the proxy is now my
new IP.

PROBLEM:  Normally this works but for some odd reason on my new vps,
it will only allow the FIRST ip i set up (meaning the one i used the
command :htpasswd -c /etc/squid/squid_passwd username1") and the rest
it simply rejects the username/password combo.  WHY???

This is the problem, please respond with your solutions.

Thanks!

On Mon, Mar 30, 2009 at 12:41 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
> Eric Valencia wrote:
>>
>> I need someone's help with squid- even to the point im willing to pay.
>>  Hit me up on gmail at ericlvalencia@xxxxxxxxx to gmail chat.
>>
>> The problem is this, i am using this
>>
>> http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/squid-3.0.STABLE13-1.fc11.src.rpm.
>>  mmmkay?
>>
>> I completely install it into a Centos 5.2 minimal i386 vps.  It's got
>> unmetered bandwith and 1gb ram with 10 gb disc space.  Totally enough.
>>
>> So, when I restart squid after installing, it will only accept the
>> FIRST ip i entered.  The rest?  Will NOT accept the login.
>>
>> So I contact my linux expert buddy who tests on his end and he is able
>> to login totally fine.  OMG.
>>
>> Then I login and it works.  I look dumb.  He thinks im crazy.
>>
>> 1 hour later?  Same problem, every ip will not login except the 1st
>> one I entered.  And yes I -c to create the squid password file.
>>
>> I mean, the password prompt comes up for all the other ips, but when I
>> enter the password it rejects the username/password combo.  WHY??
>>
>> Please PLEASE somebody help me.
>
> We can but try.
>
> Sorry, I don't quite understand what you mean by login.
> Are you:
>  - logging in to the proxy, to use it from a different PC?
>  - logging in to some website through the proxy?
>
> Also, what is your squid.conf config (without the comment lines) please?
>
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
>  Current Beta Squid 3.1.0.6
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux