Skip to content

Instantly share code, notes, and snippets.

View fapestniegd's full-sized avatar

James S White fapestniegd

View GitHub Profile
Dear Amazon EC2 Customer,
We wanted to let you know that, starting today, we have lowered the
one-time fee for all Amazon EC2 Reserved Instances by 30%. We
continuously strive to be more efficient, and to pass cost savings on to
you in the form of lower prices. With Linux Amazon EC2 Reserved
Instances, you could reduce the cost of your instance usage by up to 56%
compared to an On-Demand instance. When using Reserved Instances, you pay
a low, one-time fee to guarantee capacity for each instance during a 1 or
3 years period. You then have the option to run that instance whenever
_ _
| | Portgroups | |
|R| +------------+| | <--> esx02lab:nic0 <-trunk[50,100,113,200]-> S1:P04
|O|:eth0 <--> | VLAN_50 ||V| <--> esx02lab:nic3 <-trunk[50,100,113,200]-> S1:P05
|U| +------------+|S| <--> esx01lab:nic0 <-trunk[50,100,113,200]-> S1:P06
|T|:eth1 <--> | VLAN_100 ||W| <--> esx01lab:nic3 <-trunk[50,100,113,200]-> S1:P07
|E| +------------+|I|
|R|:eth2 <--> | VLAN_113 ||T| <--> esx02lab:nic1 <-trunk[50,100,113,200]-> S2:P04
| | +------------+|C| <--> esx02lab:nic2 <-trunk[50,100,113,200]-> S2:P05
|V|:eth3 <--> | VLAN_200 ||H| <--> esx01lab:nic1 <-trunk[50,100,113,200]-> S2:P06
[root@hercules ~]# yum list available | grep ruby
eruby.i386 1.0.5-6.1 centos52-eftsour
eruby-devel.i386 1.0.5-6.1 centos52-eftsour
eruby-libs.i386 1.0.5-6.1 centos52-eftsour
ruby-docs.i386 1.8.5-5.el5_1.1 centos52-eftsour
ruby-mode.i386 1.8.5-5.el5_1.1 centos52-eftsour
ruby-tcltk.i386 1.8.5-5.el5_1.1 centos52-eftsour
subversion-ruby.i386 1.4.2-2.el5 centos52-eftsour
[root@hercules ~]# rpm -qa | grep ruby
ruby-libs-1.8.5-5.el5_1.1
#!/bin/bash
DEVICES=("ASA01" "ASA02" "CS-ASA01")
CYCLADES=("hydra.example.net" "hydra.example.net" "tiamat.example.net")
PORTNUMBER=("7001" "7002" "7001")
ENABLEPASS=("obfuscated" "obfuscated" "obfuscated")
PAGERCMD=("terminal pager" "terminal pager" "terminal pager")
for idx in `seq 0 $(expr ${#DEVICES[@]} - 1)`;do
cat<<EOF | /usr/bin/expect | \
awk '{ \
On Infrastructure
-----------------
There is one system, not a collection of systems.
The desired state of the system should be a known quantity.
The "known quantity" must be machine parseable.
The actual state of the system must self-correct to the desired state.
The only authoritative source for the actual state of the system is the system.
The entire system must be deployable using source media and text files.
On Buying Software
cat<<EOF|apt-key add -
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
mQGiBEno7nIRBAC6mSO5HmAC/02XTlYOaRG1E3U6FB+5HFVxN4K+m59pDKJHtVvW
9ldXTikn0csbEpDk1NDq0j1+dEMwlxABmu4TGmsmvlBalI+YRrZDvC6JYTU+CcCa
o99nmzLAkNgInWh1/iM3L3/Q0oVuwkYNLco0/eysDHlO8TCidG2fWAwq5wCgniLZ
lN8/8++vTt/n5Zz/THAkSY8D/jXL7SIvmu/Lh6P3N4jPwnXEJ2JSTvYz3Qa0aCqj
0jJAMtQ96SGz2bGc5MMGqnE+nMefDxe2TIkgnTnvjnqFv6Cwk4fuOo/mLnxMx2Zc
1hqlegIXVoQn6jq9sHiSgw3hmsVFUvigImVcSZ9JdcWAChVXmBWkS7wovK3BBSbq
=== Debian/Ubuntu ===
You will need the following packages installed for this to work properly.
echo "deb http://apt.websages.com websages main" >> /etc/apt/sources.list
apt-get install libdigest-hmac-perl libnet-amazon-s3-perl \
libclass-accessor-perl liblwp-useragent-determined-perl
libfile-mmagic-perl libcrypt-ssleay-perl
libyaml-perl libdbd-mysql-perl
s3:
bucket:
- jw.o-cas
aws_access_key_id: XXXXXXXXXXXXXXXXXXXXXXXXX
aws_secret_access_key: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
$ telnet 127.0.0.1 3128
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET http://www.hulu.com HTTP/1.1
Host www.hulu.com (then hit enter twice)
$
Licensing
Although the sensor functions without the license key, you must have a license key to obtain signature updates. To obtain a license key, you must have the following:
* Cisco Service for IPS service contract
Contact your reseller, Cisco service or product sales to purchase a contract.
* Your IPS device serial number
To find the IPS device serial number in IDM, choose Configuration > Sensor Management > Licensing, or in the CLI use the show version command.