ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Pavel <p2n@ya.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] iptables и цель ROUTE
Date: Mon, 11 Aug 2008 11:33:20 +0500
Message-ID: <g7omdq$v7u$1@ger.gmane.org> (raw)
In-Reply-To: <489EFDF3.4020101@rambler.ru>

> Если бы не был доступен по какой-либо причине DNS, оно бы просто 
> написало "unknown host"
Да, насчет DNS я был неправ. А для root'а есть шлюз по умолчанию?

> Вы невнимательны. Правило №11,12 и 13 отрабатывают ДО 101 и 102. Они и 
> отвечают за поиск по таблице main. DNS находится в локальной сети.
> 
> # ip rule
> 0:      from all lookup local
> 11:     from all to 10.0.0.0/8 lookup main
> 12:     from all to 172.16.0.0/12 lookup main
> 13:     from all to 192.168.0.0/16 lookup main
> 101:    from all fwmark 0x1 lookup 101
> 102:    from all fwmark 0x2 lookup 102
> 32766:  from all lookup main
> 32767:  from all lookup default
Да, и тут правда ваша, проглядел я...

Быть может тогда не работает из-за невозможности или неверного 
выбора IP адреса источника? Ведь в момент его определения пакеты 
еще не помечены iptables'ом... Что если от user1, явно указав 
адрес отправителя, выполнить traceroute -s <ppp0 ip> -n ya.ru ?


-- 
Best regards, Pavel
email/xmpp: p2n-at-ya-dot-ru



  reply	other threads:[~2008-08-11  6:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 10:11 Olvin
2008-08-05 10:36 ` Serge
2008-08-05 11:08   ` Olvin
2008-08-05 12:04     ` Serge
2008-08-05 12:20       ` Olvin
2008-08-05 13:40         ` Alexander Vasiliev
2008-08-05 14:47           ` Olvin
2008-08-06  7:44         ` Pavel
2008-08-07 16:08           ` Olvin
2008-08-08  7:30             ` Pavel
2008-08-08 21:15               ` Olvin
2008-08-08 21:28                 ` Yuri Bushmelev
2008-08-08 22:00                   ` Olvin
2008-08-10 12:18                     ` Pavel
2008-08-10 14:36                       ` Olvin
2008-08-11  4:20                         ` Pavel
2008-08-10 12:39                 ` Pavel
2008-08-10 14:40                   ` Olvin
2008-08-11  6:33                     ` Pavel [this message]
2008-08-05 12:16 ` Alexander Vasiliev
2008-08-05 13:31   ` Olvin

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='g7omdq$v7u$1@ger.gmane.org' \
    --to=p2n@ya.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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