ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Вячеслав <slchess@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] wwwoffle и сеть
Date: Thu, 25 Jun 2009 08:51:00 +0300
Message-ID: <200906250851.00584.slchess@gmail.com> (raw)
In-Reply-To: <4A40D820.20703@gmail.com>

On Tuesday 23 June 2009 16:26:56 Occisor wrote:
> Agat Arnet пишет:
> > Завелося у меня в дополнеие к стационарному десктопу ноутбук. Так как
> > давно и успешно использую wwwoffle решил я его использовать через сеть и
> > для ноута. Так раньше с сетями дела не имел полистал инет обжал кабель
> > соединил. В винде на ноуте прописал айпи и все вроде работает пинги
> > ходят альтератор через сеть ткрывается. А вот этот самый wwwoffle фиг.
> > Ни прописывание в качестве прокси ни просто заход на ip:десктопа:8080
> > эффекта не дают. Вот и возник вопрос что делать, проверить, прочитать.
> > Дополнительную информацию смогу дать только звтра когда доберусь до
> > десктопа.
>
> Нашлось ли решение? Пару дней назад начал изпользовать wwwoffle и так же
> получается с локальной машины все работает (за исключением https), а по
> сети ни в какую прокся не отвечает на попытку соедениться. Погуглил,
> ничего толкового не нашел, подмогните.

Использовал долго и давно и в связки wwwoffle -> squid и наоборот все 
работало, и с авторизацией и без, c ssl проблем никогда не было, 
вот куски конфига может помогут.

StartUp
{
 bind-ipv4         = 0.0.0.0
 bind-ipv6         = none

 http-port         = 8080
 wwwoffle-port     = 8081

 spool-dir         = /var/cache/wwwoffle

 run-uid           = wwwoffle
 run-gid           = wwwoffle

 use-syslog        = yes

 password          = none

 max-servers       = 48
 max-fetch-servers = 4
}

SSLOptions
{
 enable-caching = yes
 allow-tunnel = *:443
}

LocalHost
{
 home.homenet.local.
 localhost
 127.0.0.1
 10.1.20.20
 ::ffff:127.0.0.1
 ip6-localhost
 ::1
#### Example ####
# The server is on www.foo.com, with IP address 11.22.33.44.
# www.foo.com
# 11.22.33.44
}
LocalNet
{
#### Example ####
# The local domain is foo.com so don't cache any hosts in it.
# *.foo.com
*.homenet.local
10.1.20.0/24
127.0.0.0/24
}
AllowedConnectHosts
{
#### Example ####
# Only allow connections from hosts in the foo.com domain.
# *.foo.com
#*.homenet.local
127.0.0.1
10.1.20.20
10.1.20.22
10.1.20.34
10.1.20.50
10.1.20.100
}
#если с авторизацие то имя:пароль
AllowedConnectUsers
{
#### Example ####
# Only allow connections from this one user.
# andrew:password
}
#это если wwwoffle -> squid + можно через авторизацию в squid/или другой 
#прокси
Proxy
{
 <http://*> proxy = none

#### <*://*> proxy = 10.1.20.20:3128
#### <*://*> auth-username = xxx
#### <*://*> auth-password = pass

#### Example ####
# Use www.foo.com as a default http proxy server on port 8080
# Except for the foo.com domain which has no proxy.
# <http://*>    proxy = www.foo.com:8080
# <*://foo.com> proxy = none
}

дальше пошло около 870 строчек фильтрации резки банеров редеиректов ну т.д.

-------------------------------------------------------------
Умение пресечь состоит в том, чтобы определить состояние.

  reply	other threads:[~2009-06-25  5:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 12:38 Agat Arnet
2009-06-23 13:26 ` Occisor
2009-06-25  5:51   ` Вячеслав [this message]
2009-06-26 22:10     ` Occisor
2009-06-26 22:47       ` Occisor
2009-06-27  7:03         ` Occisor
2009-06-30  6:50     ` Il'ya
2009-06-30 11:24       ` Вячеслав

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906250851.00584.slchess@gmail.com \
    --to=slchess@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git