![]() |
|
This is my General purpose public notes, google notebook is new, so I'm not sure how to use it yet, but I do think this is another cool google idea :-)
 |
| Catalyst switch calculations, 2 ports saved for ha supervisor, rest have FE ports 1st go if(B3="5509", 7*24,(if (B3="6509", 7*24, (if B3="5505", 3*24, ERROR)))) Doh... doesn't work,
2nd go !
F3 = 24 (So I can swap between 24 & 48 port blades)
=IF(B3=5509,7*F3,"") - Basic if, then =IF(B3=5509,7*F3,(IF(B3=6509,7*F3,""))) - 1st nested.. =IF(B3=5509,7*F3,IF(B3=6509,7*F3,IF(B3=5505,3*F3,""))) ah, got it now :-)
=IF(B3=5509,7*F3,IF(B3=6509,7*F3,IF(B3=5505,3*F3,IF(B3=5500,10*F3,"")))) - Works :-D |
Evolution Tip
Turn spam filtering off. I used to think that it's a problem with gmail that fetching mail over POP3 takes like 10 seconds per mail. Well, it's Evo being stupid and spam-checking each mail before fetching the next one. Turning Evo spam checking off gives me back all my CPU cycles as well as speeding up mail fetching to multiple messages per second. linux email
How do I log a gnome-terminal session to a file?
I converted to my Ubuntu laptop for work and am missing one key feature. I often capture ssh session logs for support reasons (dumps from routers/switches/hosts) to text files. How do I do that with gnome-terminal? All I want to do is turn logging on... capture text... turn it off... have the text file to manipulate/email etc...
Thanks in advance
John
Thanks for the question.
You can use the command 'script' for this. Use 'man script' for the full options.
You can just start it with script <logfilename>, and end it with ctrl-d
I hope this helps.
|
|
| Headline |
wr mem fails due to snmp config; Error: (Configuration line too long) |
| Product |
pix-asa |
| Feature |
Flash Filesystem
Components
|
Duplicate
of |
|
| Severity |
3 Severity help |
Status |
Verified Status help |
| First
Found-in Version |
7.2(2), 7.2(1.25) |
First Fixed-in
Version |
7.2(2.2), 8.0(0.141) Version help |
Release Notes Symptom: If snmp-server commands are configured, in a rare corner case the configuration might fail to save to flash and give the error like below:
pix# wr mem Cryptochecksum: ee8f5816 e1ce1ad7 83151424 f1a3b6fc %Error reading system:/running-config (Configuration line too long) Error executing command [FAILED] Conditions: The firewall must have snmp-server commands configured and running version 7.2(1)25 or greater (includes 7.2(2)).
Workaround: Remove the snmp-server commands from the configuration -or- downgrade to a version of code previous to 7.2(1)25 | | |
Google Desktop Search Operators
You can use the following advanced search operators when
doing a desktop search. Example queries are surrounded by
[ ]s, which should not be typed when doing actual search
queries.
- Phrase search
If you enclose all or part of your query in quotation marks, Desktop
will only return items that contain that exact quoted phrase. For
example, if your query is ["Copyright 2006"], Desktop only returns items containing exactly that phrase. An item containing that phrase's words only in the sentence "In 2006, I filed for copyright" will not be returned.
- "-" search
When put directly in front of a word, the - operator causes searches to not return items that contain that word. For example, results for the search [bats -baseball] would include all items in the Desktop cache that contain the word "bats," except for the items that also contain the word "baseball".
- "site:" search
If you include the site: operator in your
query, Desktop will only return results from the
website you specify. For instance, a Desktop query of
[help site:www.google.com] will return only
pages you've seen from www.google.com that contain the
word "help". Note: there can be no space between the
"site:" operator and the specified website.
- "filetype:" search
You can restrict what type of files Desktop returns via the filetype:
operator and an argument of either a file type extension or the full
name of an Office application. For instance, if you search for [tax filetype:xls] or [tax filetype:excel],
your search results will only contain Excel files that have the word
"tax" in them. If you search for [filetype:abc],
your results will only contain files with a .abc file extension. As with the site: operator, do not put
any spaces between filetype: and its extension or type argument.
- "under:" search
The under: operator lets you restrict what
folder your file search results can come from.
For instance, if you search for [basketball under:"C:\Documents and Settings\username\My Documents"],
your search results will only include files found in the "C:\Documents and Settings\username\My Documents" folder.
- "machine:" search
If you have turned on the Search Across Computers feature
and set up multiple computers, the machine:
operator lets you restrict which computer your search
results are from. For example, if you search for [reports
machine:WORK-COMPUTER], your results will only
contain items from the computer named "WORK-COMPUTER."
- Advanced email search
You can restrict your search to look for matches within email message headers. The available email search operators are:
- Subject:
- To:
- From:
- Cc:
- Bcc:
Sample usage:
- [subject:spirit] returns all emails with the word "spirit" in the Subject: field.
- [subject:"Will Eisner"] returns all emails with the exact phrase "Will Eisner" in the Subject: field.
- [subject:(spirit eisner)] returns all emails with both words "spirit" and "eisner" in the Subject: field. Both words must be present in the Subject: field, but they can be in any order and do not have to be next to each other.
- [subject:spirit eisner] returns all
emails with the word "spirit" in the Subject:
field and the word "eisner" anywhere in the email, including the body.
You can combine multiple email header restrictions in one query. For example, a search on [subject:spirit from:denny] will return only messages that have both "spirit" in their Subject: field and "denny" in their From: field. As with the other operators, you cannot have a space between any email header operator and its related search term.
You can also combine either or both the phrase search
operator and the - operator with any of the
site:, filetype:, machine:, under: or
email header operators. For
example, a query for ["graphic novel" -comics
from:denny]
will only return those emails containing the exact phrase "graphic
novel", not including the word "comics", and that have the word "denny"
in their From: header.
Note: You cannot combine the site:, filetype:, and/or email header operators in a single query. Why? Because the site:
operator can only return web history results, the filetype: operator
can only return file results, and the email header operators can only
return email results. If a query's operators require different result
types, nothing can successfully match your entire query.
How to create Firefox extensions
Windows 2000 and later can serve as an NTP server. Other machines on the network can then use the NTP server to synchronize their time. To enable an NTP server, perform the following steps:
- Start a registry editor (e.g., regedit.exe).
- Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters registry subkey.
- From the Edit menu, select New, DWORD Value.
- Enter the name LocalNTP, then press Enter.
- Double-click the new value, set it to 1 to enable or 0 to disable, then click OK.
- Restart the computer for the change to take effect.
To configure other network computers to use the new NTP server, you must set their NtpServer registry value, which is located under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parametersregistry subkey, to point to the NTP server.
Google Browser Sync for Firefox is an extension that continuously synchronizes your browser settings
| Solution ID: #sk30571 |
 |
|
Product: VPN-1 Pro (VPN-1/FW-1)
Version: NG, NG AI, NGX
Last Modified: 04-Jun-2006
|
|
 |
 |
 |
 |
| Solution |
 |
 |
 |
A VPN-1/FireWall-1 backup includes all the installation files and can be used to fully restore your firewall. There is also the option to utilize two ISP's or implement fault tolerance, as in High Availability or VRRP. These methods would also ensure a backup method of operation in the event of a single hardware failure.
The type of backup focused on here is backing up the VPN-1/FireWall-1 installation for possible "disaster" recovery.
There are several means of creating a backup, from manually copying files in Explorer to using scheduled tape backup software. Different operating systems have different means of creating backups, some are explained with more detail below.
- UPGRADE _EXPORT
- MANUAL BACKUP OF $FWDIR
- NOKIA
- SECUREPLATFORM
UPGRADE _EXPORT
The import and export tools can be used to create a compressed backup file, or tgz, which can then be used to restore a firewall configuration on a fresh install of VPN-1/FireWall-1. During the installation process, there is an option called Installation using Imported Configuration. At this point, you can select the previously exported tgz file to import, and then automatically installs the new software and utilizes the imported .tgz configuration file.
You can log in to SmartDashboard and install an existing Security Policy without having to reset SIC. This process minimizes downtime in the event of catastrophic system failure.
Import and Export tools are located under $/FWDIR/bin/upgrade_tools or on the installation CD-ROM. The Upgrade Utilities documentation is included in the Upgrade Guide and the release notes are included in the Suite Release Notes. The IMPORT/EXPORT utilities and information are located here:
Upgrade Utility
MANUAL BACKUP OF $FWDIR
The VPN-1/Firewall-1 installation creates a directory structure under the $FWDIR and the CPShared. When creating a manual backup of the critical directories, the $FWDIR structure contains the primary configuration files including the Security Policy files, user database information, objects, groups, and others. As a minimum backup, which can be used to restore a firewall configuration to a new installation of VPN-1 FireWall-1, the $FWDIR should be saved to a safe location.
This directory structure includes the following directories:
/bin
/conf
/database
/lib
/log
/state
The directories listed above are the minimum requirements for creating a manual backup. If, for example, your hard drive failed and you had the above list of directories copied to a safe location outside of the FW1 directory structure, you could restore to a new hard drive, with a fresh install of the OS and VPN-1/FireWall-1 with the same patch level, just by copying the directories over, re-establishing SIC, and installing a policy.
NOKIA
The Nokia IP series appliance comes with an option in Voyager to perform a backup. This will backup and restore the configuration for both Nokia IPSO and firewall packages. The files backed up when using the Nokia Voyager's Backup and Restore function are listed below.
Under the $FWDIR, the following files are backed up during the backup process:
$FWIR/conf/*
$FWDIR/state/*
$FWDIR/database/*
$FWDIR/lib/user.def
$FWDIR/lib/control.map
$FWDIR/etc
Under the $CPDIR, the following files are backed up during the backup process:
$CPDIR/conf/*
$CPDIR/database/*
$CPDIR/registry/*
$CPDIR/etc/*
SECUREPLATFORM
SecurePlatform NG with Application Intelligence and NGX provides a command line or Web GUI capability for conducting backups of your system settings and products configuration. The backup utility can store backups either locally on the SecurePlatform machine hard drive or remotely to a TFTP server or SCP server. The backup can be performed on request, or can be scheduled to take place at set intervals.
The backup files are kept in tar gzipped format (.tgz). Backup files saved locally are kept in /var/CPbackup/backups. The restore command line utility is used for restoring SecurePlatform settings and/or Product configuration from backup files.
See the SecurePlatform documentation for exact syntax for the backup command.
You can choose to export the existing Check Point configuration of your machine (including which Check Point products are installed, and all their configuration files). This can be later used to import to a clean machine (any Check Point supported OS), enabling you to replace an existing machine with another (with an identical Check Point configuration).
The exported file is saved in the /var/tmp/cpexport file. You can use TFTP to transfer it to a TFTP server (use the 'sysconfig' utility, "Export Setup"). The "Import" option can only be accomplished on a clean machine. Install SecurePlatform, and use the shell for the initial setup (through 'sysconfig').
The first time installation wizard will offer to get an imported file from a TFTP server, and later will invoke the Check Point upgrade wrapper that will allow you to import the configuration from that file.For full documentation of these features, refer to the Upgrade Guide.
| | |
Why doesn't this work :-@
[nick@HOME ~]$ sudo /usr/sbin/tripwire --init Please enter your local passphrase: Parsing policy file: /etc/tripwire/tw.pol Generating the database... *** Processing Unix File System *** ### Warning: File system error. ### Filename: /dev/kmem ### No such file or directory ### Continuing... ### Warning: File system error. ### Filename: /proc/ksyms ### No such file or directory ### Continuing... ### Warning: File system error. ### Filename: /proc/scsi ### No such file or directory ### Continuing... ### Warning: File system error. ### Filename: /usr/sbin/fixrmtab ### No such file or directory ### Continuing... ### Error: File could not be read. ### Filename: /usr/bin/gdb ### Input/output error ### Exiting...
rpm --addsign gyum-2.0-5.FC3.i386.rpm
Command line reference for Oracle,
Windows, Linux and OS X
Tripwire 2.3 Portions copyright 2000 Tripwire, Inc. Tripwire is a registered
trademark of Tripwire, Inc. This software comes with ABSOLUTELY NO WARRANTY;
for details use --version. This is free software which may be redistributed
or modified only under certain conditions; see COPYING for details.
All rights reserved.
Integrity check complete.
We can check the report of the tripwire --check command. Each tripwire --check command writes a .twr file with a specific timestamp. So in the following command, substitute appropriate timestamp.
# /usr/sbin/twprint -m r --twrfile /var/lib/tripwire/report/yourmachinename-date-time.twr | less
If any violation reported is due to normal system activities, you should examine the policy file, twpol.txt, and make the appropriate changes. However there may be violations due user activities. To fix these kind of violations, you have to run an update. The following command updates the database so that all files will have updated values. Subsequent use of tripwire --check won't report those files as violations.
# /usr/sbin/tripwire --update --twrfile /var/lib/tripwire/report/yourmachinename-date-time.twr
You can change the way that Tripwire software scans the system by changing the rules in the policy file and then update the database without a complete re-initialization. This saves a significant amount of time and preserves security by keeping the policy file synchronized with the database it uses. To do this,
# /usr/sbin/tripwire --update-policy /etc/tripwire/twpol.txt
Windows Messenger Emoticons Smiley Keyboard Short Cuts ! :-)
http://anon.free.anonymizer.com/http://toolbar.google.com/firefox/extensions/toolbar/google-browsersync.xpi
CONFIGURATION EXAMPLES
Note that although there are password declarations in a good many
of the examples below, this is mainly for illustrative purposes.
We recommend stashing account/password pairs in your $HOME/.netrc
file, where they can be used not just by fetchmail but by ftp(1) and
other programs.
Basic format is:
poll SERVERNAME protocol PROTOCOL username NAME password PASSWORD
Example:
poll pop.provider.net protocol pop3 username "jsmith" password "secret1"
Or, using some abbreviations:
poll pop.provider.net proto pop3 user "jsmith" password "secret1"
Multiple servers may be listed:
poll pop.provider.net proto pop3 user "jsmith" pass "secret1"
poll other.provider.net proto pop2 user "John.Smith" pass "My^Hat"
Here’s a version of those two with more whitespace and some noise words:
poll pop.provider.net proto pop3
user "jsmith", with password secret1, is "jsmith" here;
poll other.provider.net proto pop2:
user "John.Smith", with password "My^Hat", is "John.Smith" here;
poll mail.host.com proto imap
user "correia" password "secret" ssl
Ghostzilla is a Web browser like Firefox, but it
shows up and disappears instantly, discreetly,
blended with your application --
any application -- so the Web pages look like part of it and not like the Web at all.
stop bad ware link http://www.google.com/search?q=list+keygen+mirc
TrueCrypt - Free Open-Source On-The-Fly Disk Encryption Software for Windows XP/2000 and Linux
www.truecrypt.org/
| T r u e C r y p t |
Free open-source disk encryption software for Windows XP/2000/2003 and Linux |
<?php
/*
This function takes a whole number
($intnumber)
and then displays a message depending
on whether
it is odd or even
*/
function OddOrEven($intNumber)
{
if ($intNumber % 2 == 0 )
{
//your number is even
echo "Your number is even<br>";
}
else
{
//your number is odd
echo "Your number is odd<br>";
}
}
//test the function with 2 values
40 and 3
OddOrEven(40);
OddOrEven(3);
?>
aircrack is the 802.11 WEP and WPA-PSK keys cracking program that can recover this keys once enough encrypted packets have been captured with airodump. This part of the aircrack-ng suite can perform various statistical attacks to discover WEP keys with small amounts of captured data. For cracking WPA-PSK bruteforce and dictionary methods are included.
Instructions on Password Recovery (takes about 10 minutes)
Fedora Core 6 provides basic support for encrypted swap partitions
and non-root file systems. To use it, add entries to
/etc/crypttab and reference the created devices in
/etc/fstab.
 |
Encrypted FS Support Unavailable During Install |
Enable file system encryption after installation. Anaconda does
not have support for creating encrypted block devices.
|
The following example shows an /etc/crypttab entry for a
swap partition:
my_swap /dev/hdb1 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
This creates an encrypted block device /dev/mapper/my_swap, which can be
referenced in /etc/fstab. The next example
shows an entry for a filesystem volume:
my_volume /dev/hda5 /etc/volume_key cipher=aes-cbc-essiv:sha256
The /etc/volume_key file contains a plaintext
encryption key. You can also specify none as the
key file name, and the system instead asks for the encryption key
during boot.
The recommended method is to use
LUKS for file system volumes:
Create the encrypted volume using cryptsetup
luksFormat
Add the necessary entry to /etc/crypttab
Set up the volume manually using cryptsetup
luksOpen or reboot
Create a filesystem on the encrypted volume
Set up an /etc/fstab entry
Ext2 Installable File System For Windows
What's unique about this software?
It provides Windows NT4.0/2000/XP with full access to Linux Ext2 volumes (read access and write access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer.
The "Ext2 Installable File System for Windows" software is freeware.
If you currently have Windows running and you realize that you need some files for your work which you have stored on an Ext2 volume of your Linux installation, you no longer have to shut down Windows and boot Linux!
Furthermore, Windows will now be able to handle floppy disks which have been formatted with an Ext2 file system.
Linux Ext3 volumes can also be accessed. To do that, please read the FAQ section.
It installs a pure kernel mode file system driver Ext2fs.sys, which actually extends the Windows NT/2000/XP operating system to include the Ext2 file system. Since it is executed on the same software layer at the Windows NT operating system core like all of the native file system drivers of Windows (for instance NTFS, FASTFAT, or CDFS for Joliet/ISO CD-ROMs), all applications can access directly to Ext2 volumes. Ext2 volumes get drive letters (for instance G:). Files, and directories of an Ext2 volume appear in file dialogs of all applications. There is no need to copy files from or to Ext2 volumes in order to work with them.
Welcome to 10 Minute Mail.
By clicking on the link below, you will be given a temporary e-mail address. Any e-mails sent to that address will show up automatically on the web page. You can read them, click on links, and even reply to them. The e-mail address will expire after 10 minutes.
Why would you use this? Maybe you want to sign up for a site which requires that you provide an e-mail address to send a validation e-mail to. And maybe you don't want to give up your real e-mail address and end up on a bunch of spam lists. This is nice and disposable. And it's free. Enjoy!
Lately, a few topics have been started with suggestions for preventing SPAM on phpBB boards. After reading through some very incorrect information, I present you with what I hope is a factually correct, informative and easy to follow guide. It is important to note that SPAM is not a security threat; at worst you will have to go through your board and delete some topic/users. Rather than install every MOD you come across, you should first try using the built in SPAM protection features that come with the latest version of phpBB 2.0.x. Then, if necessary, install a MOD or two until you find the combination that best works for your board.
One thing I would like to add is that you should always take other people's posts with a grain of salt. If someone writes "it doesn't work" or "my suggestions are the best", don't just assume that's the case. Not all boards get hit with the same bots and not everyone knows how to follow installation instructions 
To remove the ^M characters at the end of all lines in vi, use:
:%s/^V^M//g
The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:
:%s/^M//g
In UNIX, you can escape a control character by preceeding it with a CONTROL-V. The :%s is a basic search and replace command in vi. It tells vi to replace the regular expression between the first and second slashes (^M) with the text between the second and third slashes (nothing in this case). The g at the end directs vi to search and replace globally (all occurrences).
MOD Title: Akismet Integration
MOD Description: This MOD adds support for the Wordpress anti-spam service "Akismet" to phpBB.
MOD Version: 0.1.0
emulate a Cisco 7200 on a traditionnal PC. Now, it also supports Cisco 3600 series (3620, 3640 and 3660).
Cisco Wide Area File Services (WAFS) software overcomes WAN latency and bandwidth limitations with proprietary Cisco optimization technologies, offering users at branch offices a LAN-like experience when accessing the centralized files over the WAN.
Linux Serial Console HOWTO
by Van Emery
Introduction
Have you ever needed to connect a dumb terminal (like a Wyse 50) to a Linux host? Do you need to login
to a Linux server from a laptop to perform administrative functions, because there is no monitor or keyboard
attached to the server? If you are accustomed to administering routers, switches, or firewalls in this
manner, then you may be interested in doing the same with some of your GNU/Linux hosts. This HOWTO will
explain, step-by-step, how to setup a serial console for Red Hat 9, although most of it should apply to
other distributions as well.
Why did I write this document? Although there are lots of documents available on the Internet dealing
with Linux serial ports, most of them seemed to be either out of date, or focused on modem
dial-in/dial-out. I wanted consise documentation on how to setup simple terminal access via RS-232-C serial
ports for Red Hat 9.
How do I migrate a system from WBEL-3 (White Box Enterprise Linux) to CentOS 3?
Note: This process has been tested and reviewed on i686 platforms. I'm looking for a x86_64 tester and someone who wants to try on a i586 class system. {I tested it with x86_64 and i586, both worked ok (hughesjr)} It also works to move from RHEL-3 or Taolinux-1.0 to CentOS-3.
Migrating from WBEL-3 is a simple process. The procedures here are designed to laterally move your system from WBEL-3 to CentOS 3. The immediate benefits are numerous; timely updates of RHEL errata, developers are reachable, and active community support.
Each step below should be run as root and should be entered as a single command in a terminal window. Dynamically sized browser windows may wrap lines.
Restore Database From the Command PromptIf you are moving your data to a new server, or you have removed the old database completely you can restore it using the code below. This will only work if the database does not already exist:
mysql - u user_name -p your_password database_name < file_name.sql
Or using our example from the previous page:
mysql - u bobbyjoe -p happy234 BobsData < BobBackup.sql
If your database already exists and you are just restoring it, try this line instead:
mysqlimport -u user_name -p your_password database_name file_name.sql
Or using our example again:
mysqlimport -u bobbyjoe -p happy234 BobsData BobBackup.sql
Backup Database From the Command PromptIt is a good idea to backup your MySQL data occasionally as a precautionary measure. It is also a good idea to create a backup before making any major changes, incase something goes wrong and you need to revert to the unmodified version. Database backups can also be used to transfer your database from one server to another if you change web hosts.
From a command prompt, you can backup your entire database using this line:
mysqldump -u user_name -p your_password database_name > File_name.sql
MOD Title: AntiSpam Mod
MOD Description: Mod checks for spam patterns in new posts and edits, scores them and moves them away if a threshold is reached
MOD Version: 0.1
MOD Download: http://glendown.de/antispam.zip
Demo Board: http://glendown.de/phpBB2
Last edited by Garry on Tue Jan 02, 2007 7:47 pm; edited 1 time in total
The radio signal used to set Britain's clocks is to move from Rugby where it has been transmitted since 1927.
The new home for the signal, which is used to keep the "pips" heard on BBC radio services to time, will be in Anthorn on the west coast of Cumbri
Check out the file
/etc/security/limits.conf
This contains limits for each user or group. There you can limit some
items, such as file size, CPU time usage, etc.
You might also try running this problem program with the nice
command.
For example:
nice +19 my_command
This runs the program with a lower priority. It's likely to slow down the
program a bit, but will (hopefully) let your other apps run more smoothly.
___________________________
Registered Linux User # 373325
Enigform: The OpenPGP Firefox Extension
by Arturo Busleiman, in Editorials - Sat, Apr 14th 2007 00:00 PDT
We all know about the benefits of digitally signing email messages using
OpenPGP-based software like GnuPG (or its older commercial counterpart,
PGP). Imagine the same benefits applied to the world of the World Wide
Web.
Amit Sinha, a wireless security expert at security consultants AirDefense, dismisses many of the security features - such as MAC address filtering and hiding the name of a home wireless network -offered by wireless routers, because these can be circumvented in seconds by anyone using tools such as Aircrack-ng.
|