LinuxQuestions.org
Visit Jeremy's Blog.
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 07-01-2004, 03:31 AM   #16
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50

Tcpwrappers come by default with RH9.

you need to edit /etc/hosts.allow and /etc/hosts.deny.
 
Old 07-01-2004, 11:23 AM   #17
scuffell
Member
 
Registered: Jun 2004
Location: Reading, UK
Distribution: SUSE 9.1, SUSE 9.2, SUSE 9.3, Knoppix 3.8, Gentoo 2005.0, cygwn, colinux
Posts: 100

Rep: Reputation: 15
If you want to protect it slightly more, change your root password to something more secure, and make sure only you know it.
 
Old 07-01-2004, 02:31 PM   #18
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Also, you need to keep up to date with the security patches from Red Hat and now the Fedora legacy project. Red Hat 9 is fairly old now, and a number of vulnerabilities have been found in the system and application software. I find that the easiest way to keep up with this is to install and configure apt4rpm and do an apt-get upgrade periodically (of course, I also watch the mailing lists for fresh vulnerabilities).
 
Old 07-01-2004, 02:57 PM   #19
furfurdemon666
Member
 
Registered: Mar 2004
Posts: 171

Rep: Reputation: 30
Quote:
Originally posted by ppuru
hope you have not already connected to the internet without configuring firewall / tcpwrappers.
I'm curious. If one were not running any services and just running a desktop Linux box for casual internet use, aside from a hardware and/or software firewall, is it safe to disable inetd or xinetd completely and forget about tcpwrappers? What would the purpose be for keeping inetd or xinetd running with tcpwrappers configured when no services would be used by the outside anyway? Why not just stop inetd or xinetd from running completely in this situation? You agree/disagree? I appreciate any helpful replies. Thanks for reading.
 
Old 07-01-2004, 03:19 PM   #20
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
a little advice for future, if u get into any condition like this

always check ur /etc/passwd
and /etc/shadow

hacker may have made any fake account with uid and gid 0 for future use.
 
Old 07-01-2004, 10:10 PM   #21
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Quote:
furfurdaemon woteat post #19
If one were not running any services and just running a desktop Linux box for casual internet use, aside from a hardware and/or software firewall, is it safe to disable inetd or xinetd completely and forget about tcpwrappers?
tcpwrappers is not always associated with xinetd. You can regulate access to ssh, sendmail, samba, etc. daemons using tcpwrappers.

If (x)inetd is not running any services, it can be safely switched off.

If you do not have any services listening on the external interface, obviously your system is sort-of invisible on the net ... better still if it does not respond to echo requests.

Last edited by ppuru; 07-01-2004 at 10:14 PM.
 
Old 07-02-2004, 04:05 PM   #22
furfurdemon666
Member
 
Registered: Mar 2004
Posts: 171

Rep: Reputation: 30
Thank you ppuru for your quick and informative reply, I appreciate it.
 
  


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
thoughts beekers LinuxQuestions.org Member Intro 1 06-19-2005 03:50 PM
Thoughts on 2.6.10? scuzzman Linux - General 5 12-27-2004 07:34 AM
Just some thoughts neocookie General 29 05-12-2004 02:39 PM
Need Some Thoughts Please!!! blmartin777 Debian 9 04-23-2004 05:14 PM
Your thoughts... bkeating General 21 12-09-2002 11:07 AM

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

All times are GMT -5. The time now is 04:09 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