If you are in a situation where you’d like to add a static route to you Mac OS X machine, you could issue:
$ sudo route add 10.0.0.0/8 192.168.1.1
This commands tells the TCP/IP stack to sent traffic with the destination 10.*.*.* via 192.168.1.1. But, this command is only active after issuing it and before the next [...]
| Popular Categories |
|---|
Here is a shell script to see how many (kilo-, mega-, giga-, terra-) bytes pass a network interface. The output looks like this:
$ ./network-traffic.sh –help
Usage: ./network-traffic.sh [-i INTERFACE] [-s INTERVAL] [-c COUNT]
-i INTERFACE
The interface to monitor, default is eth0.
-s INTERVAL
The time to wait in seconds between measurements, default is 3 seconds.
-c COUNT
The number of times [...]
For everybody how has worked with Nagios; it logs (/var/log/nagios.log) the date in a timestamp! Quite annoying so here is how to convert it to a normal date format:
cat /var/nagios/nagios.log | while read date rest ; do timestamp=$(echo $date | sed ’s/\[//;s/\]//’); echo $(date -d “1970-01-01 $timestamp sec GMT+1″) $rest ; done
To setup a Windows machine to run cron.php at a specific time follow the specific instructions below. This can be useful if you are not familiar with Linux/Unix, or if your web host does not offer the ability to run cron jobs; you can run them remotely from your own computer.
Note: These instructions were written [...]
Gmail Backup is the tool that allow Gmail user to regular backup of their mail and restore when necessary. Gmail backup will backup all the mail including the mail information such as labels, date, from and etc. It using the Gmail built in IMAP capability to backup the email and save the messages in Microsoft [...]
If you are Gmail and Firefox users, the good news is the new Firefox 3 allows users to configure and set Gmail as a default email client. This latest Firefox 3 comes with support YahooMail as default email client. For Gmail users, some setting needs to be done to edit the “mailto” application handler.
At the [...]
How to retrieve Yahoo Mail using email programs such as Microsoft Outlook, Eudora, Outlook Express, etc
Email No Comments »If you are using Yahoo mail and plan to retrieve your messages using email programs such as Microsoft Outlook, Eudora, Outlook Express, etc, you might be a bit disappointed. Yahoo only allows customers of its Yahoo Mail Plus service to download their email via POP3.
you can still use your favorite email program to retrieve your [...]
In Microsoft Outlook, to enable delay sending of emails at a specified time and date later than current time, or postponing the delivery date and time, use following steps:
In the Message window (where you type your email content), click the Options button. Alternatively, click on View -> Options.
In the Message Options dialog window, select and [...]
This is a snippet for the Cisco Pix firewall that create a ‘limited user’ account on the firewall itself. That user will have access to all ’show’ diagnostic commands, as well as the ability to clear the error/usage counters on interfaces and to ping other devices.
This configuration does the following things:
Defines two user levels, ’show’ [...]
Mail is a command to send and receive mail in Unix, Linux and BSD operating system. To initiate a mail sending process, just type in the following command:
mail recipient@domain.com
Obviously, replace recipient@domain.com with a valid email address.
The system will prompt for a subject of the email before allowing user to type in the mail message body.
# [...]
This is a snippet for the Cisco ASA firewall that permits active FTP sessions to pass through. This is the equivalent to the ‘fixup ftp’ commands of the previous PIX OS versions. For whatever reason this functionality was no longer enabled by default in my Cisco ASA 5510 [Cisco Adaptive Security Appliance Software Version 7.0(5)].
If [...]






























