ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Solovyov <gosha@zkb.ru>
To: Community <community@altlinux.ru>
Subject: [Comm] IPSec problems
Date: Fri, 8 Aug 2003 15:09:51 +0600
Message-ID: <20030808150951.4abd5592.gosha@zkb.ru> (raw)

Hi All!

Возникла проблема с использованием ipsec.
Между двумя организациями установлен обычный тунель:

# ifconfig tunl2
tunl2     Link encap:IPIP Tunnel  HWaddr
          inet addr:10.0.13.2  P-t-P:10.0.13.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1

Этот тунельный интерфейс и используется для ipsec:

# cat /etc/ipsec.conf
.......
config setup
        interfaces="ipsec0=tunl2"
.......

# ifconfig ipsec0
ipsec0    Link encap:IPIP Tunnel  HWaddr
          inet addr:10.0.13.2  Mask:255.255.255.255
          UP RUNNING NOARP  MTU:16260  Metric:1
.....

Установлены 5 коннектов:

# ipsec eroute
1018 192.168.10.0/24 -> 192.168.31.0/24 => tun0x100d@10.0.13.1
0    192.168.62.0/24 -> 192.168.31.0/24 => tun0x1004@10.0.13.1
0    192.168.63.0/24 -> 192.168.31.0/24 => tun0x100e@10.0.13.1
14   192.168.64.0/24 -> 192.168.31.0/24 => tun0x1008@10.0.13.1
0    192.168.65.0/24 -> 192.168.31.0/24 => tun0x100a@10.0.13.1

Все работает нормально.
Но время от времени часть соединений просто перестают работать.
Причем именно часть, а не все. Обычно 3 или 4 из 5.
Они не исчезают, их видно с помощью ipsec eroute как приведено
выше, но фактически связи между соответсвующими сетями нет.
В логах ничего криминального по этому поводу я не вижу.
Помогает только service ipsec restart.

Замечено, что перестают работать именно те коннекты, в которых
некоторое время отсутствует активность. Т.е. если через какой-
либо коннект идет работа, то он работать не перестает. 
Если же работы никакой нет, то через некоторое время этот коннект
перестает работать совсем.

Кто-нибудь боролся с таким? Помогите плиз.

-- 
Best regards!
Igor Solovyov
System/network administrator
JSC CB "Zlatkombank"


             reply	other threads:[~2003-08-08  9:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08  9:09 Igor Solovyov [this message]
2003-08-08 10:29 ` Dmitriy Gnidchenko
2003-08-08 12:32   ` Igor Solovyov
2003-08-08 12:57     ` Igor Solovyov
2003-08-08 13:46     ` artem
2003-08-08 12:52 ` Igor Solovyov
2003-08-08 13:06   ` Dmitriy Gnidchenko

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=20030808150951.4abd5592.gosha@zkb.ru \
    --to=gosha@zkb.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