LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-16-2004, 03:29 AM   #1
BACTRATE
Member
 
Registered: Jan 2004
Location: NORTH WEST UK
Posts: 180

Rep: Reputation: 30
ping and IP addresses


I have read that to test my machine security I should use ping from a remote computer.But how do I find the ip adddress of my own machine to enable me to do this.
Thanks in advance for any help.


Dave
 
Old 06-16-2004, 04:01 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Pinging will check for connectivity if you computer responds to pings, but it has little to do with security.
Check whether you need the services that are running. Be sure to set up the firewall in the MCC->security section. Make a habit of installing security updates. Don't run programs that are unsecure, like telnet.
There is a lot more that needs to be done to secure your machine, and it's still no guarantee, no matter which operating system you use.
 
Old 06-16-2004, 10:09 AM   #3
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
use 'ifconfig' from command line. Assuming you only have one ethernet card, it should be:

ifconfig eth0

Hope this helps
 
Old 06-16-2004, 06:49 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The chkconfig command will also provide information on which ports are open. There are tools you could use at another computer to look at your linux box. The best way to use them may be from the webmin program.

* Be sure to select good passwords.
* Check for setuid and setgid programs. Are they needed.
* Eliminate unused services.
* Limit the size of core dumps ( Done by default on Mandrake )
* Learn how encryption & authentication works so you don't install
tainted software. Hackers are now trying to compromise CVS open source repositories.
* use the msec program to warn you of bad permission setting on directories or files
and whether a program has been altered in the past 24 hours.
* Servers should be set up to run in a jail (see chroot HowTo) if possible.
* Some programs like 'mail' have escape to shell charactors which must be plugged by setting
the proper shell environment values. If it is a setuid root program, this would be very bad.
* If you have a number of computers on your network that use a gateway
computer, running 'snort' on the firewall will warn you on many kinds of
attacks.
* Monitor the security section of this website, and others.
* Don't use protocols that are found to be unsecure. The ssh2 protocol is more secure than
the ssh1 protocol. Cracking ssh1 is still very difficult, but easier than ssh2. By default, if the
calling host doesn't support ssh2, ssh1 is used as a fallback unless you set it up to only use
ssh2. The international banking network ( in the 80's before ssh ) was cracked because the
security system would fall back to an unsecure system if it couldn't make a connection. The
hackers cracked it by a denial of service attack causing the backs to use a protocol that they
knew how to hack.

There isn't one simple thing to check for and the target keeps moving. I read a book on firewalls. The author worked for a security firm, and was able to demonstrate that it was possible to read the traffic of a wireless office network from a distance of 20 miles.

A linux box used as a dedicated gateway computer for instance has
extremely little installed on it.

I hope I haven't scared you too much. Too often I will read messages from complacent users saying to install the firewall and you are completely safe.

Last edited by jschiwal; 06-16-2004 at 06:51 PM.
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Ping ip range to find live ip addresses? ginda Linux - Networking 2 07-16-2005 09:58 PM
Unable to ping web addresses, but able to resolve them? boyd98 Linux - Networking 3 03-27-2005 02:37 PM
Cant ping external ip addresses from DHCP clients!!! debloxie Linux - Networking 17 01-24-2004 03:00 AM
Can't ftp/ping external addresses from client corrierich Linux - Networking 6 04-15-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:57 AM.

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