Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     18 Jan 2006  17:53:26
 To : Dmitry Kolvakh
 Subject : геморройная задача
 -------------------------------------------------------------------------------- 
 
 
 18 Jan 06, Dmitry Kolvakh writes to Dmitriy Kirhlarov:
 
  >>> Все хуже. В любой момент времени часть компов должна работать через
  >>> один канал, а часть - через другой. А потом приходит тетенька, и
  >>> жмаком на вебморде некоторые компы переподключает.
 
  DK>> С точки зрения системы.
  DK>> запускается некий скрипт который перегенерирует файлы с IP-адресами,
 
  DK>> на сквиде у тебя настроены политики для этих файлов
 
  DK> Вот таким вот образом?
  DK> tcp_outgoing_address 1.1.1.1 good_users_acl
  DK> tcp_outgoing_address 2.2.2.2 !good_users_acl
 
  DK> Ух ты, а я не знал, что оно так может! Эта штука ИМХО посильнее, чем
  DK> "Фауст" Гёте^H^H^H^H^H^H^H^H^H чем fwd в ipfw.
 
  DK>>  и, после
  DK>> перегенерации, нужно всего лишь передернуть сквида.
 
 Hет.
 
 #       acl aclname external class_name [arguments...]
 #         # external ACL lookup via a helper class defined by the
 #         # external_acl_type directive.
 #
 
 #  TAG: external_acl_type
 #       This option defines external acl classes using a helper program
 #       to look up the status
 #
 #         external_acl_type name [options] FORMAT.. /path/to/helper [helper
 arguments..]
 #
 #       Options:
 #
 #         ttl=n         TTL in seconds for cached results (defaults to 3600
 #                       for 1 hour)
 #         negative_ttl=n
 #                       TTL for cached negative lookups (default same
 #                       as ttl)
 #         children=n    Number of acl helper processes spawn to service
 #                       external acl lookups of this type.
 #         concurrency=n concurrency level per process. Use 0 for old style
 #                       helpers who can only process a single request at a
 #                       time.
 #         cache=n       result cache size, 0 is unbounded (default)
 #         grace=n       Percentage remaining of TTL where a refresh of a
 #                       cached entry should be initiated without needing to
 #                       wait for a new reply. (default 0 for no grace period)
 #
 #       FORMAT specifications
 #
 #         %LOGIN        Authenticated user login name
 #         %IDENT        Ident user name
 #         %SRC          Client IP
 #         %SRCPORT      Client source port
 #         %DST          Requested host
 #         %PROTO        Requested protocol
 #         %PORT         Requested port
 #         %PATH         Requested URL path
 #         %METHOD       Request method
 #         %MYADDR       Squid interface address
 #         %MYPORT       Squid http_port number
 #         %USER_CERT_xx SSL User certificate attribute xx
 #         %USER_CA_xx   SSL User certificate CA attribute xx
 #         %{Header}     HTTP request header
 #         %{Hdr:member} HTTP request header list member
 #         %{Hdr:;member}
 #                       HTTP request header list member using ; as
 #                       list separator. ; can be any non-alphanumeric
 #                       character.
 #
 #       In addition, any string specified in the referencing acl will
 #       also be included in the helper request line, after the specified
 #       formats (see the "acl external" directive)
 #
 #       The helper receives lines per the above format specification,
 #       and returns lines starting with OK or ERR indicating the validity
 #       of the request and optionally followed by additional keywords with
 #       more details.
 #
 #       General result syntax:
 #
 #         OK/ERR keyword=value ...
 #
 #       Defined keywords:
 #
 #         user=         The users name (login)
 #         password=     The users password (for login= cache_peer option)
 #         message=      Message describing the reason. Available as %o
 #                       in error pages
 #         tag=          Apply a tag to a request (for both ERR and OK results)
 #                       Only sets a tag, does not alter existing tags.
 #         log=          String to be logged in access.log. Available as
 #                       %ea in logformat specifications
 #
 #       Keyword values need to be enclosed in quotes if they may
 #       contain whitespace, or the whitespace escaped using \. Any
 #       quotes or \ characters within the keyword value must be \
 #       escaped.
 #
 #Default:
 # none
 
 ... Ошибка пpи загpузке? Hе обpащайте внимания.
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 14:08:36 
 геморройная задача   Andrey Ostanovsky   18 Jan 2006 13:25:06 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 17:25:48 
 Re: геморройная задача   Dmitriy Kirhlarov   18 Jan 2006 16:37:25 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 19:37:18 
 геморройная задача   Slawa Olhovchenkov   18 Jan 2006 17:53:26 
 Re: геморройная задача   Eugene Grosbein   18 Jan 2006 20:31:35 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 19:38:28 
 Re: геморройная задача   Eugene Grosbein   18 Jan 2006 23:56:44 
 геморройная задача   Dmitry Kolvakh   19 Jan 2006 13:32:10 
 Re: геморройная задача   Eugene Grosbein   19 Jan 2006 17:57:09 
 геморройная задача   Andrey Ostanovsky   19 Jan 2006 00:55:30 
 геморройная задача   Dmitry Kolvakh   19 Jan 2006 13:47:38 
 Re: геморройная задача   Dmitrij Lystsov   18 Jan 2006 16:48:33 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 19:37:56 
 Re: геморройная задача   Dmitry Moraru   18 Jan 2006 14:34:16 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 17:23:26 
 геморройная задача   Alex Mogilnikov   18 Jan 2006 18:11:26 
 геморройная задача   Dmitry Kolvakh   18 Jan 2006 18:32:20 
 Re: геморройная задача   Spartak Radchenko   18 Jan 2006 19:02:29 
 геморройная задача   Dmitry Kolvakh   19 Jan 2006 13:29:38 
 Re: геморройная задача   Mykola Dzham   18 Jan 2006 20:30:55 
 геморройная задача   Dmitry Kolvakh   19 Jan 2006 13:36:24 
 Re: геморройная задача   Mykola Dzham   19 Jan 2006 19:04:50 
 геморройная задача   Stas Degteff   19 Jan 2006 01:06:40 
 геморройная задача   Dmitry Kolvakh   19 Jan 2006 13:38:36 
 Re: геморройная задача   Valentin Davydov   19 Jan 2006 13:00:29 
Архивное /ru.unix.bsd/222143ce4917.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional