ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Serge V Kompan <skompan@kspu.kr.ua>
To: sisyphus@altlinux.ru
Subject: [sisyphus] iptables - segmentation failed
Date: Sun, 15 Aug 2004 10:01:23 +0300
Message-ID: <413050500.20040815100123@kspu.kr.ua> (raw)


Есть:
[root@shadow root]# rpm -q iptables
iptables-1.2.11-alt1                 
[root@shadow root]# rpm -q libiptables
libiptables-1.2.8-alt0.1                  
Есть файл с правилами iptables
В нем такие правила:

for nameserver in $NAMESERVERS
do                                                                              
$IPTABLES -A INPUT  -i $LAN_1 -p udp -s $nameserver --sport  53 -d $LAN_1_IPADDR --dport 53 -j ACCEPT
$IPTABLES -A OUTPUT -o $LAN_1 -p udp -s $LAN_1_IPADDR --sport 53 -d $nameserver --dport 53 -j ACCEPT
done
Если в правилах встречпается явное имя хоста (компьютер где
выполняются правила iptables выдает сабж (даже если указываю имя хоста с доменом)
Подскажите как быть!
Заранее благодарю

./iptabl.sh: line 1214:  8317 Segmentation fault      $IPTABLES -A INPUT -i $LAN
_1 -p tcp -s $lan --sport $UNPRIVPORTS -d shadow --dport 80 -j ACCEPT           
free(): invalid pointer 0x804bd04!                                              
./iptabl.sh: line 1214:  8319 Segmentation fault      $IPTABLES -A INPUT -i $LAN
_1 -p tcp -s $lan --sport $UNPRIVPORTS -d shadow --dport 80 -j ACCEPT           
free(): invalid pointer 0x804bd04!                                              
./iptabl.sh: line 1214:  8321 Segmentation fault      $IPTABLES -A INPUT -i $LAN
_1 -p tcp -s $lan --sport $UNPRIVPORTS -d shadow --dport 80 -j ACCEPT           
free(): invalid pointer 0x804bd04!                                              
./iptabl.sh: line 1214:  8323 Segmentation fault      $IPTABLES -A INPUT -i $LAN
_1 -p tcp -s $lan --sport $UNPRIVPORTS -d shadow --dport 80 -j ACCEPT           
free(): invalid pointer 0x804bd04!                                              
-- 
С уважением,
 Serge                          mailto:skompan@kspu.kr.ua



             reply	other threads:[~2004-08-15  7:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15  7:01 Serge V Kompan [this message]
2004-08-15  7:16 ` Alexey Voinov
2004-08-15  7:32   ` Alexey Voinov
2004-08-15  9:42     ` [sisyphus] " Michael Shigorin

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=413050500.20040815100123@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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