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 1Lc1T4-00068Q-9D for garchives@archives.gentoo.org; Tue, 24 Feb 2009 17:53:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFEB0E05ED; Tue, 24 Feb 2009 17:53:16 +0000 (UTC) Received: from dcnode-02.unlimitedmail.net (smtp.unlimitedmail.net [94.127.184.242]) by pigeon.gentoo.org (Postfix) with ESMTP id 9680DE05ED for ; Tue, 24 Feb 2009 17:53:16 +0000 (UTC) Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by dcnode-02.unlimitedmail.net (8.14.3/8.14.3) with ESMTP id n1OHr5Sj011277 for ; Tue, 24 Feb 2009 18:53:06 +0100 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: {OT} TCP or UDP? Date: Tue, 24 Feb 2009 18:51:31 +0100 User-Agent: KMail/1.9.9 References: <49bf44f10902240839v1cfe2e16ia9d5a91c1ffb7e17@mail.gmail.com> <49A42C8A.70704@f_philipp.fastmail.net> In-Reply-To: <49A42C8A.70704@f_philipp.fastmail.net> 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902241851.31645.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Spam-Status: No X-Archives-Salt: d19888a8-a5eb-4ff0-b3b5-f7c0c35d2908 X-Archives-Hash: 82f00d140eacfd222e124eb1275e4b0f On Tuesday 24 February 2009, 18:21, Florian Philipp wrote: > 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. Or even sniff the traffic and see which protocols are used.