LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-27-2003, 04:03 PM   #16
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30

Quote:
Before you bother going in depth with Sendmail, I'd remove all traces of it and install a replacement, such as Postfix or Qmail
hihi...
I already made peace with postfix...and don't plan to use sendmail on my public server ^^
but I'm getting bored and need to learn something =P
one who never set up sendmail can't call himself an admin...
one who sets it up twice is an...
hehe

Last edited by poison; 12-27-2003 at 04:04 PM.
 
Old 01-01-2004, 03:40 PM   #17
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Re: HOWTO: Secure and stealth your Linux Box!

Quote:
Originally posted by techchiq
STEP 3: Masking Reverse DNS lookup

Wherever you go on the internet, you're machine name (or rather your ISP's machine name which looks like a URL path of some kind) is given out. Clever people could use that to personally identify you, I think the GRC.com site says. By not allowing your system to give this away, you further can protect your privacy. To do this, type at the shell prompt:

# echo "1" > /procs/sys/net/ipv4/ip_forward
What does enabling IP forwarding have to do with masking reverse DNS?
 
Old 01-01-2004, 10:56 PM   #18
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Re: Re: HOWTO: Secure and stealth your Linux Box!

Quote:
Originally posted by stickman
What does enabling IP forwarding have to do with masking reverse DNS?
Furthermore, you cannot control your own reverse DNS, your ISP does. That one kind of had me scratching my head, too.
 
Old 01-06-2004, 11:39 AM   #19
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I've been working on my own (personal) firewall, but I'd have a question about the "STEP2: Stopping pings" (in the first post): if I disable answering to pings, how does it affect a dialup connection? Let's take irc, for example: if I use irc, the server pings my client continuously (I think it's because some clients "die" for a reason or another, and keeping "dead" nicknames is not sensible so if a client won't answer to a ping, the nick (connection?) is removed as dead).

Now if I disable ping-stuff and go irc'ing, will this step cause my client to die immediately after a certain (short) period of time, if the server can't catch my ping reply? This isn't good, because that would mean that either I can't be on irc or then I'll have to restart it every two minutes when it dies...

And if there are other services like irc which use ping to determine if a client is there, will they too "throw me out" just because of a non-answered ping? And is there a way to accept ping'ing from a certain server, but at the same time be stealthed to others? How is this done?

Please clear my thoughts.... I'm not a professional on these things, just learning, so I'd appreciate a "pro" (OR _anyone_ who knows something!) telling me how this thing goes?

I'm using iptables-based firewall, if you need to know.

Thanks for any information / assistance.

Last edited by b0uncer; 01-06-2004 at 11:41 AM.
 
Old 01-06-2004, 01:15 PM   #20
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
In the case of IRC, I think it uses something called a CTCP PING, which to my knowledge does not use ICMP like the "normal" ping. The ping utility that comes with most major operating systems uses ICMP echo requests and listens for a response. If you block ICMP, you will just diable responding to ICMP echos (as well as some other features of ICMP, such as MTU discovery).

I'm fairly certain that IRCs PINGs are built into the IRC protocol that runs on the TCP transport.
 
Old 01-07-2004, 10:44 AM   #21
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ok, thanks for infomation.. I'd still like to know if there are any "serious" problems after disabling the answering to ICMP echo request, in other words, do some services need it in order to work?

btw. after checking out, you were right about the irc's "own" ping-system.. I just didn't think about it as I haven't been studying these things so deeply inside irc..just the word "ping" catched my eye..
 
Old 01-07-2004, 03:01 PM   #22
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Somethings rely on ICMP, since it's quite literally Internet Control Message Protocol. Things like path MTU discovery rely on ICMP, and it's also used for things like source quench request, etc... I'd do some Googling for: +icmp +uses, or +icmp +functions, etc...
 
Old 01-09-2004, 02:20 PM   #23
katmai90210
Member
 
Registered: Nov 2003
Location: Romania
Distribution: Redhat Linux , Fedora & SuSe
Posts: 46

Rep: Reputation: 15
Question still blurred

umm ... i am interested in 1 thing ... to make my server truly stealth to out scanners such as nmap ... or nikto or nsat .... i upgraded all services but the firewall thing is killing me ... can u show me a working iptables firewall that really makes you stealth but still does not block you ??
 
Old 01-11-2004, 08:31 AM   #24
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I haven't solved this one...the grc tests show my machine completely stealth (that's not hard to do), but using nmap's port scan it tells me I've got closed ports - they are still visible.

Hopefully some advanced iptapbles-person can help..I'm just a beginner, as I said, and many things still give me a headache here
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"stealth" routing HOWTO Soulstealer Linux - Networking 9 04-18-2005 07:06 AM
making, checking secure linux box archish Linux - Security 8 05-11-2004 02:29 AM
Want to secure your linux box..then read this? blessen Linux - Security 6 03-15-2004 11:50 PM
Howto setup two stage firewall? Linux and router-in-a-box? drdirt Linux - Security 5 01-10-2004 02:51 AM
how do you set up your Linux box to route secure wifi? richard3403 Linux - Wireless Networking 0 11-15-2003 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration