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 1Lc0Zb-0000nx-4x for garchives@archives.gentoo.org; Tue, 24 Feb 2009 16:55:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E8B8E0253; Tue, 24 Feb 2009 16:55:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D593E0253 for ; Tue, 24 Feb 2009 16:55:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D5C7A64D94 for ; Tue, 24 Feb 2009 16:55:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.467 X-Spam-Level: X-Spam-Status: No, score=-3.467 required=5.5 tests=[AWL=0.132, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JRCPZY+GeH3X for ; Tue, 24 Feb 2009 16:55:50 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4C69D64DD7 for ; Tue, 24 Feb 2009 16:55:48 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lc0ZN-0004EC-O1 for gentoo-user@gentoo.org; Tue, 24 Feb 2009 16:55:46 +0000 Received: from athedsl-4363353.home.otenet.gr ([79.130.4.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2009 16:55:45 +0000 Received: from realnc by athedsl-4363353.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2009 16:55:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: {OT} TCP or UDP? Date: Tue, 24 Feb 2009 18:55:37 +0200 Organization: Lucas Barks Message-ID: References: <49bf44f10902240839v1cfe2e16ia9d5a91c1ffb7e17@mail.gmail.com> 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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-4363353.home.otenet.gr User-Agent: Thunderbird 2.0.0.19 (X11/20090215) In-Reply-To: <49bf44f10902240839v1cfe2e16ia9d5a91c1ffb7e17@mail.gmail.com> Sender: news X-Archives-Salt: c0934d02-ae7c-4e85-95f8-656aa7968dd5 X-Archives-Hash: 2f00072fc88acce69f5f58c740938ad9 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 For example, if I write some rule that applies to traffic generated by a web server and web browsers, that's TCP. If I write rules that apply to an online game's matchmaking and game discovery browser, that's UDP (but depends on the game). So you have to research a bit to see if the application uses TCP or UDP.