Re: Multi-port question

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 14 Jul 2000 11:21:39 +1000

RE: Multi-port questionI'm probably out of my depth here (flames solicited), but I think you have two choices:
run two squid process (bad)
alter squid so you can check the listening port of squid in an acl, then you could do this via standard acls (better solution)

To do this you would have to
define a new acl type - something like squid_port or listening_port
write code to create the acl in memory and handle comparisons

edit your config file.

Rob
  ----- Original Message -----
  From: Li Ni
  To: Ross Sherwin C. de Claro
  Cc: squid-users@ircache.net
  Sent: Friday, July 14, 2000 10:55 AM
  Subject: Re: Multi-port question

  Thank you for you response.
  My English is not so good, you misunderstand me.

  I want to use the two port the same time.
  One port use authentication for accessing freely,
  and another port use non-authentication for accessing
  only restricted site.

  -Li Ni
    ----- Original Message -----
    From: Ross Sherwin C. de Claro
    To: 'Li Ni'
    Sent: Thursday, July 13, 2000 5:41 PM
    Subject: RE: Multi-port question

    Change the default port in squid.conf to 8080 from 3128...

    For authentication, you can use different authentication module like in my case its "MySQL_Auth"

    -----Original Message-----
    From: Li Ni [mailto:liny@nets.com.cn]
    Sent: Thursday, July 13, 2000 5:20 PM
    To: squid-users@ircache.net
    Subject: Multi-port question

    Run squid to listen in two port: 3128 and 8080
    Restrict the destination of 3128 port users,
    and use authentication on my 8080 port users who can
    surf any site.

    In other words, one port(8080) use authentication, another(3128) not.

    How can i implement above all?

    All help will be appreciated.

    -Li Ni
Received on Thu Jul 13 2000 - 19:20:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:31 MST