Re: Portage rsync security

Mario Koppensteiner <[email protected]> Thu, 20 Mar 2008 12:31:27 +0000
Newsgroups gmane.linux.gentoo.security
Message-ID <[email protected]>
On Thu, Mar 20, 2008 at 07:49:12AM -0400, Mansour Moufid wrote:

[...]

> for i in $IP
> do
>   $IPT -A OUTPUT -o $EXTIF -p tcp -s $EXTIP -d $i --dport $RSYNC --syn
> -m state --state NEW -j ACCEPT
>   $IPT -A INPUT  -i $EXTIF -p tcp -s $i -d $EXTIP --sport $RSYNC --syn
> -m state --state NEW -j ACCEPT

I think the last rule is useless. You should not get a respone from a
host which is "NEW", because it belongs to package, which was sent out
before.

> done

best regards

Koppensteiner Mario
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFH4lkfYFxsCclCD48RAvEPAKCVJUtY2JCOvswnQV5A7J701oUGsQCeOUHx
LAxf4Ts+YzITQ5OizmKcl08=
=5qL3
-----END PGP SIGNATURE-----