Top 10 Technologies

Author: admin
May 30, 2008

Top 10 Technologies for the next 4 years according to Gartner.

  1. Multicore and hybrid processors
  2. Virtualization and fabric computing
  3. Social networks and social software
  4. Cloud computing and cloud/Web platforms
  5. Web mashups
  6. User Interface
  7. Ubiquitous computing
  8. Contextual computing
  9. Augmented reality
  10. Semantics

More here.



Open Source Tripwire

Author: admin
May 26, 2008

You can use Open Source Tripwire to monitor file integrity and report changes to you via email or an opensource reporting tool. Tripwire works by getting a base line of your current files and then letting you set how sensitive to changes you want the alerts to be. I have created several rules from scratch that allow me to monitor filesystem, directories, or just single files. Any time something is changed in /usr/bin I want to know about it, but don’t alert me about /var/spool changes, but go ahead and keep track of it. This can easily be written using the rules below.

-      Ignore the following properties
+     Record and check the following properties
a     Access timestamp
b     Number of blocks allocated
c     Inode timestamp (create/modify)
d     ID of device on which inode resides
g     File owner’s group ID
i     Inode number
l     File is increasing in size (a “growing file”)
m     Modification timestamp
n     Number of links (inode reference count)
p     Permissions and file mode bits
r     ID of device pointed to by inode
      (valid only for device objects)
s     File size
t     File type
u     File owner’s user ID
C     CRC-32 hash value
H     Haval hash value
M     MD5 hash value
S     SHA hash value



The Fork Bomb!

Author: admin
May 12, 2008

Most admins know about the fork bomb. A simple set of symbols that cause any computer to come to it’s knees. Well, not really any computer, if you set up your system right you can avoid this. The example below is a fork bomb for Linux, but Windoze has it’s own.

:(){ :|:& };:

In essence you are saying …

bomb() {
bomb | bomb &
}; bomb

On Linux you can limit the amount the processes a user can run at one time with /etc/security/limits.conf. The variable you want to set is “nproc - max number of processes”. This way the fork bomb is thwarted by a throttled number of processes. You can also try this with Perl. perl -e “fork while fork” &



May 12, 2008

Here is a quick and easy way to see if a process is running. If it is not running and you want it to be, then start it!

if ! ps -C zabbix_server > /dev/null
then
/etc/init.d/zabbix_server start
fi

Then just use crontab -e as root and make it happen captain.



Get Firefox        Get Thunderbird