From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lc0y9-0004v6-RZ for garchives@archives.gentoo.org; Tue, 24 Feb 2009 17:21:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCF01E0406; Tue, 24 Feb 2009 17:21:20 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id A2C18E0406 for ; Tue, 24 Feb 2009 17:21:20 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 71AC42A35B6; Tue, 24 Feb 2009 12:21:20 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 24 Feb 2009 12:21:20 -0500 X-Sasl-enc: eUtfsAI5b3rQue3jBkq8uwzl2Vq8DCaCUdMTVB+pWe0v 1235496079 Received: from [10.129.111.96] (unknown [92.116.111.96]) by mail.messagingengine.com (Postfix) with ESMTPSA id F3D5D319D8 for ; Tue, 24 Feb 2009 12:21:18 -0500 (EST) Message-ID: <49A42C8A.70704@f_philipp.fastmail.net> Date: Tue, 24 Feb 2009 18:21:14 +0100 From: Florian Philipp User-Agent: Thunderbird 2.0.0.19 (X11/20090126) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: {OT} TCP or UDP? References: <49bf44f10902240839v1cfe2e16ia9d5a91c1ffb7e17@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 7986bd0a-99d1-4bc7-b1a4-11ab58c897a4 X-Archives-Hash: 959fbc24450307cf084cd251dc81c8cc Nikos Chantziaras schrieb: > Grant wrote: >> How can I find out whether I should be specifying TCP, UDP, or both >> for iptables (shorewall) config? > > By knowing the application's protocol for which you write the rules for :P > [...] So you have to research a bit to see if the > application uses TCP or UDP. > > You can also have a look at /etc/services which lists the more common protocols and their ports.