From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] запретить протокол AIM/HTTP на squid
Date: Thu, 18 Dec 2003 08:48:40 +1000
Message-ID: <20031218084840.49c84833.dima@sakhalin.ru> (raw)
In-Reply-To: <200312171737.47996.combr@vesna.ru>
On Wed, 17 Dec 2003 17:37:47 +0400
Mike Lykov <combr@vesna.ru> wrote:
> В сообщении от Среда 17 Декабрь 2003 17:16 Mike Lykov написал:
>
> > пробовал:
> >
> > acl noicq req_mime_type -i ^AIM/HTTP$
> > acl noicq2 req_mime_type -i ^AIM/HTTP$
>
> точнее
> acl noicq2 rep_mime_type -i ^AIM/HTTP$
>
> отличается тем, что первый смотрит в запрос, второй в ответ
>
> причем там точно есть :
> (ответ сервера iht-d01.icq.com)
> Server: AIM HTTP/1.0 (aim_http_proxy) Content-Type: AIM/HTTP
Дык если я всё правильно понял, ответ сервера не подходит под
твой regexp. '^AIM/HTTP$' означает: "искать строку, состоящуюю
_только_ из AIM/HTTP".
man 7 regex
--
WBR, Dmitry Lebkov
Hint:
echo "Server: AIM HTTP/1.0 (aim_http_proxy) Content-Type: AIM/HTTP"|grep '^AIM/HTTP$'
echo "Server: AIM HTTP/1.0 (aim_http_proxy) Content-Type: AIM/HTTP"|grep 'AIM/HTTP$'
next prev parent reply other threads:[~2003-12-17 22:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-17 13:16 Mike Lykov
2003-12-17 13:24 ` Ilia Menchikh
2003-12-17 13:28 ` Mike Lykov
2003-12-17 13:37 ` Mike Lykov
2003-12-17 22:48 ` Dmitry Lebkov [this message]
2003-12-18 4:18 ` Mike Lykov
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=20031218084840.49c84833.dima@sakhalin.ru \
--to=dima@sakhalin.ru \
--cc=community@altlinux.ru \
/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