ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] xml/catalog -- libxml2 лезет в сеть (телеграфом)
Date: Tue, 4 Mar 2008 13:27:55 +0300
Message-ID: <20080304102755.GF32305@solemn.turbinal> (raw)
In-Reply-To: <47CD2134.6070305@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 2117 bytes --]

On Tue, Mar 04, 2008 at 01:15:16PM +0300, Vitaly Ostanin wrote:
> Alexey Tourbin пишет:
> > При сборке пакета perl-Image-Info я заметил что активизируется сеть.
> > Там есть тестовый SVG рисунок, в котором написано
> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> > и он при загрузке риснука лезет выкачивать этот урл и там дальше через
> > ENTITY выкачивает ещё штук 20 файлов.
> 
> Кто именно лезет? У утилит libxml2 есть переключатель --nonet,
> который запрещает entity resolver'у лазать в сеть.

Где-то во внутренностях libxml2 лезет -- разобраться нелегко.
Явно не в перловом коде, перловый код я трейсил.

$ echo ${PWD##*/}
Image-Info-1.27
$ perl -MXML::Simple -e 'XMLin(shift)' img/graph.svg              
$ sudo tail /var/log/squid/access.log
1204626173.381      0 127.0.0.1 TCP_HIT/200 3629 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-clip.mod - NONE/- text/plain
1204626173.405      0 127.0.0.1 TCP_HIT/200 4754 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-mask.mod - NONE/- text/plain
1204626173.430      1 127.0.0.1 TCP_HIT/200 27430 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-filter.mod - NONE/- text/plain
1204626173.458      0 127.0.0.1 TCP_HIT/200 2851 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-cursor.mod - NONE/- text/plain
1204626173.482      0 127.0.0.1 TCP_HIT/200 4451 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-hyperlink.mod - NONE/- text/plain
1204626173.506      0 127.0.0.1 TCP_HIT/200 2457 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-view.mod - NONE/- text/plain
1204626173.530      0 127.0.0.1 TCP_HIT/200 2404 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-script.mod - NONE/- text/plain
1204626173.555      0 127.0.0.1 TCP_HIT/200 8946 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-animation.mod - NONE/- text/plain
1204626173.581      0 127.0.0.1 TCP_HIT/200 13285 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-font.mod - NONE/- text/plain
1204626173.608      0 127.0.0.1 TCP_HIT/200 4198 GET http://www.w3.org/Graphics/SVG/1.1/DTD/svg-extensibility.mod - NONE/- text/plain
$ 

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-03-04 10:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04  3:38 Alexey Tourbin
2008-03-04  7:36 ` Alexey Rusakov
2008-03-04  8:17   ` Alexey Tourbin
2008-03-07 16:40     ` Alexey Rusakov
2008-03-04 10:15 ` Vitaly Ostanin
2008-03-04 10:27   ` Alexey Tourbin [this message]
2008-03-04 12:00     ` Vitaly Ostanin
2008-03-04 12:07       ` Alexey Tourbin

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=20080304102755.GF32305@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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