Re: Question about blocking IP's
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Sat, 31 Dec 2005 11:34:11 -0600
On 31 Dec 2005, in the Usenet newsgroup comp.os.linux.networking,
yas_chan wrote:
Composite reply:
In <1136021177.605623.129670@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, yas_chan"
<nestor_kun@xxxxxxxxxxx> wrote:
>Hmm I'm confused.
>
>What should I do? I don't want to disable portsentry because it stops
>the portscanners even though there is possibility that it could be used
>against me.
Why? In your mind, look at a wall that is 65 kilometers long. Every meter
along the wall, there is a number, starting at 1, and going up to 65535,
Looking at another reply (below), beneath three numbers (21, 80, and 900)
there is a door. Now, here comes the entire population of the cities of
New York, London, Moscow and Beijing, and each one goes up to the numbers
on the wall and knocks. Meanwhile, you are sitting on the other side of
the wall, drinking a cup of $BEVERAGE. Question for you; are any of the
people on the other side of the wall going to get in? How? There are only
three doors, and they are the ONLY way in. When people come through those
doors, do you allow them to do anything? So, quit worrying about people
knocking on the wall.
>I understand I had better to close the 143 port. I have no use for
>IMAP. How can I close this port?
It's not open. PortSentry is like a windoze personal firewall. Their main
use is telling the ones who use it that some host in Korea or Kenya
attempted to connect to a trojan that they don't have installed.
>Okay, I know - since we are talking about newsgroups - next reply to my
>post is going to be a slap on my face.
Well, it would be nice if you quoted some of what you are replying to,
so people can understand what you are talking about.
In article <1136021286.027899.160440@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, you
replied:
>Thanks for Security-Quickstart-HOWTO! I'm now learning it :) It's
>wonderful article!! COOOOL! ^^
There are 470+ HOWTOs, totalling nearly four million words, on the
equivalent of about twelve thousand pages of text. The documents are
there to provide information, but they can't help you unless you
actually look to see what is there.
At http://tldp.org/guides.html, there are over twentyfive books you can
download. Some of these may already be on your system, or distribution CD.
The information _is_ available.
In article <1136021803.777139.199160@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, you
replied:
>Now I understand! But let's say I want to run WWW service, and people
>from different addresses would be using my system. If hosts.deny blocks
>ALL those addresses which I didn't write to hosts.allow - how can
>someone I don't know use my system?
They can't. That's why tcp_wrappers/libwrap/hosts_access(5) isn't
always the best tool to use. For example, I used to use this to
control access to my mail server. I most certainly did NOT want just
anyone being able to connect to it. On the other hand, I use the
firewall to limit access to a few specific network blocks for another
(intentionally unnamed) service.
Who do you think is going to want access to your web server? Why? What
will you allow them to do? That is generally best controlled by setting
up the web server correctly, not depending on the firewall (other than
to block major areas, like most of Central/South America, or Asia, or
what-ever).
In article <1136024169.312068.298720@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, you
replied:
>About my ports:
>"nmap localhost" says following:
OK
>900 port is what I use for SSH connections (I wanted to change the
>default to this to block most of the attempts flowing to the default
>SSH port)
That's fine. I would have chosen a higher number - if you read the man
page for nmap (one example), or any other scanner, the better ones will
default to scanning ports 1 to 1024. Your port 900 would show up, but as
long as the server isn't showing to much of a banner, this is not a major
problem.
>I wonder what that IMAP port stuff is all about.
Their main use is telling the ones who use it that some host in Korea or
Kenya attempted to connect to a trojan that they don't have installed.
>Happy New Year!
Happy New Year to you too!
Old guy
.
- References:
- Question about blocking IP's
- From: nestor_kun
- Re: Question about blocking IP's
- From: Robert Harris
- Re: Question about blocking IP's
- From: yas_chan
- Re: Question about blocking IP's
- From: Moe Trin
- Re: Question about blocking IP's
- From: yas_chan
- Re: Question about blocking IP's
- From: yas_chan
- Re: Question about blocking IP's
- From: yas_chan
- Question about blocking IP's
- Prev by Date: Re: Question about blocking IP's
- Next by Date: W98 serial server -> Linux
- Previous by thread: Re: Question about blocking IP's
- Next by thread: Re: Question about blocking IP's
- Index(es):
Relevant Pages
|