Squid Local Database



  • Can anyone tell me if it's possible to port my old squid users and users:password files from my DEBIAN install to my squid install within pfSense? I'd like to keep my users and their passwords without the hassle of asking them to register new passwords!

    Thanks in advance,

    Yuri E.



  • Yes, possible. Export users to config XML file /cf/conf/config.xml - section 'squidusers'

    
    		 <squidusers><config><username>Test</username>
    				<password>Test</password></config></squidusers> 
    
    

    Or enter each user/password via GUI "Proxy server: Local users"



  • @dvserg:

    Yes, possible. Export users to config XML file /cf/conf/config.xml - section 'squidusers'

    
    		 <squidusers><config><username>Test</username>
    				<password>Test</password></config></squidusers> 
    
    

    Or enter each user/password via GUI "Proxy server: Local users"

    Fisrtly, thanks for the quick answer!

    So here's my new issue.
    My previous passwords were "encrypted" using *nix crypt(), squids default behaviour in NCSA mode.
    I just checked config.xml and it holds the password as a plain text. Is there a way I coud overcome that?
    I know that if I just overwrite pfSense's squid.passwd file it will get overwritten later by config.xml infos.



  • Firstly, sorry for double posting.
    Maybe I wasn't that clear the first time. I'm not looking into cracking passwords or w/e people might have thought.

    There's no config.xml on my DEBIAN install. It wasn't pfSense based. It was a firewall-concept machine with many tools, one of them being squid.
    Is there a way to override the info from my old DEBIAN squid passwd to pfSenses squid.passwd? They have the same layout, the only issue is that pfSenses config.xml keeps overriding it.



  • HOw can the user change his own password in this Proxy server: Local users?


Log in to reply