Re: Need for new openSUSE users
- From: Gary Gapinski <usenet@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Sep 2008 15:23:36 -0400
houghi wrote:
First and formost, could tell me what the hell you are replying to? I
have no idea if you are posting a new post or if this is a reply to
whatever.
Your initial post starting the thread:
Message-ID: <slrngcgh5k.1b0.houghi@xxxxxxxxxxxx>
was that to which I replied.
Note the headers in my reply, particularly the In-Reply-To, References, and Subject headers:
Path: uni-berlin.de!individual.net!not-for-mail
From: Gary Gapinski <usenet@xxxxxxxxxxxxxxxx>
Newsgroups: alt.os.linux.suse
Subject: Re: Need for new openSUSE users
Date: Thu, 11 Sep 2008 12:56:32 -0400
Organization: We've heard of it
Lines: 5
Message-ID: <6it0tlFdgueU1@xxxxxxxxxxxxxxxxxx>
References: <slrngcgh5k.1b0.houghi@xxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net S2zrQtHZzNA4iG1VYoQsKQbbG9k/ExIEvQAD/eEqxlOpVBXlfi
Cancel-Lock: sha1:URagHPeDp/l3Q1ktRxmGPzbf0X8=
User-Agent: Thunderbird 2.0.0.14 (X11/20080421)
In-Reply-To: <slrngcgh5k.1b0.houghi@xxxxxxxxxxxx>
Xref: uni-berlin.de alt.os.linux.suse:295128
Perhaps your news reader (slrn?) does not thread properly? My reply, its referent, and your rejoinder, look properly threaded in my news reader (Thunderbird). Perhaps worthy of note, this message is in reply to Message-ID: <slrngcilf8.372.houghi@xxxxxxxxxxxx>, which contained the References but not the In-Reply-To header.
I believe http://tools.ietf.org/html/rfc2076#section-3.6 is pertinent here, and in turn http://tools.ietf.org/html/rfc822#section-4.6.2.
Secondly, if you think it is a good idea, please elaborate. I looked at
those lines and I saw niothing that had anything to do with what this
tread is talking about.
SuSEfirewall2 now allows an easy way to specify rate limiting for arbitrary protocols. Rather than bolting on some additional software, one may wish to try specifying (e.g., for ssh) that rate limiting is to be applied by modifying the /etc/sysconfig/SuSEfirewall2 configuration file.
One can, for example, observe line 416 and then change line 422 to read
FW_SERVICES_ACCEPT_EXT="0/0,tcp,22,,hitcount=3,blockseconds=60,recentname=ssh"
which will cause SSH TCP connect attempts (TCP SYNs to port 22), originating anywhere, in excess of 3 within the prior 60 seconds, to be dropped. This works quite well against brute force attacks.
Due to a shortcoming in the script, I think that ssh should _not_ also appear in FW_CONFIGURATIONS_EXT.
Lines 414-422 are, at least on my openSUSE v11 system, as follows:
# Example:
# Allow max three ssh connects per minute from the same IP address:
# "0/0,tcp,22,,hitcount=3,blockseconds=60,recentname=ssh"
#
# The special value _rpc_ is recognized as protocol and means that dport is
# interpreted as rpc service name. See FW_SERVICES_EXT_RPC for
# details.
#
FW_SERVICES_ACCEPT_EXT=""
which, while perhaps less than totally obvious, seems as well not entirely devoid of information.
Thridly, this thread is not about securing ssh or re-configuring ssh. It
could just as well be about ftp or any other login service.
The thread, which you started, seemed to address blocking unwanted network connections, using ssh as an example. Rate limiting based on iptables' "recent" capability seemed pertinent, and protocol agnostic, particularly since Herr Nussel has been kind enough to make it very easily configurable using the standard openSUSE firewall (see http://archive.cert.uni-stuttgart.de/suse-security/2008/03/msg00005.html for more context).
.
- Follow-Ups:
- Re: Need for new openSUSE users
- From: houghi
- Re: Need for new openSUSE users
- References:
- Need for new openSUSE users
- From: houghi
- Re: Need for new openSUSE users
- From: Gary Gapinski
- Re: Need for new openSUSE users
- From: houghi
- Need for new openSUSE users
- Prev by Date: Re: sar on Open SuSe 11.0
- Next by Date: Re: Need for new openSUSE users
- Previous by thread: Re: Need for new openSUSE users
- Next by thread: Re: Need for new openSUSE users
- Index(es):
Relevant Pages
|