Gentoo Archives: gentoo-dev

From: "Conny R. Landstedt" <connyl@×××××××.se>
To: kn@××××××××××.dk, gentoo-dev@g.o
Subject: [gentoo-dev] Gentoo Linux Security Guide
Date: Sun, 23 Jun 2002 20:50:44
Message-Id: 000501c21b21$8e944e70$0d00a8c0@onis
1 To Kim Nielsen & Gentoo-dev
2
3 In the "Gentoo Linux Security Guide"
4 >Code listing 64: /etc/init.d/firewall
5 > #Incoming traffic
6 > einfo "Creating incoming ssh traffic chain"
7 > $IPTABLES -N allow-ssh-traffic-in
8 > $IPTABLES -F allow-ssh-traffic-in
9 > $IPTABLES -A allow-ssh-traffic-in -p tcp --sport ssh -j ACCEPT
10
11 I'm not absolutely certain, but shouldn't it be "--dport" instead of
12 "--sport"?
13
14 Reg. Conny

Replies

Subject Author
Re: [gentoo-dev] Gentoo Linux Security Guide Kim Nielsen <kn@××××××××××.dk>
Re: [gentoo-dev] Gentoo Linux Security Guide "Miguel S. Filipe" <m3thos@×××××××.pt>