ASA – VPN Traffic is not being encrypted (CSCsd48512)

Issue Traffic is sent out from the ASA unencrypted. Cause This can be caused by a duplicate (stale) ASP crypto table entry, this prevents the ASA encrypting any traffic destined for the remote host. There are 2 commands which shows this behaviour. They are, Interface outside:!out id=0xd616fff0, priority=70, domain=encrypt, deny=false        hits=855899, user_data=0x473ccf4, cs_id=0xd5deba08, reverse, flags=0x0, … Read more

VIM: Set the Width of a Single TAB to 4 Spaces Wide

In this extremely short article we will provide you with the steps required to make the width of a single TAB only 4 spaces wide. This especially useful when using Visual Mode within VIM , in that you can indent large portions of text. Steps Within your ~/.vimrc file add the following lines. set shiftwidth=4   … Read more

What is the Vary HTTP Header used for ?

The Vary Header The vary header is sent within the servers response to the client and instructs any intermediary caches to cache a separate instance based on the headers specified within the vary header. Encoding Headers As our example is based around the following HTTP headers, here is a quick summary of each, Content-Encoding (HTTP … Read more

How can I list all IPs relating to a single AS ?

Within this article we will show you how to list all IP`s relating to a single AS. STEPS First of all get the IP address for the domain. [root@server]$ whois 173.252.110.27 | grep OriginAS OriginAS:       AS32934 Finally run another whois against the AS to obtain a list of IPs. origin=$(whois `dig facebook.com +short | head … Read more

How to install easy_install-2.7 and pip-2.7

Within this quick tutorial we will show you the steps required to install easy_install-2.7 and pip-2.7. Install  wget –no-check-certificate tar xf distribute-0.6.35.tar.gzcd distribute-0.6.35python2.7 setup.py install easy_install-2.7 pip Confirm [root@server]# easy_install-2.7error: No urls, filenames, or requirements specified (see –help) [root@server]# pip-2.7 -Vpip 1.3.1 from /usr/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (python 2.7)

UIE Persistence Record’s Client Addr field is not Populated

Issue When viewing the UIE persistence records you observe that the Client Addr field is not populated. root@f5ltm(Active)(tmos)# show ltm persistence persist-records all-properties Sys::Persistent Connections universal – 172.16.100.200:80 – 192.168.1.31:80 ———————————————————– TMM           0 Mode          universal Key           8ffa6c0012825a76b3b68d10a9c68ad3 Age (sec.)    4 Virtual Name  VS-172.16.100.200-80 Virtual Addr  172.16.100.200:80 Node Addr     192.168.1.31:80 Pool Name     POOL-172.16.100.200-80 Client Addr   :: … Read more

SCP File Transfer Fails but No Error Message is Shown

Issue When using scp to copy a file the file fails to transfer, however there is no error message. Solution This issue can occur due echo commands within your .bashrc and how the scp program handles the output from these commands. This is a known bug within scp which can be viewed here. To resolve this … Read more

VPN Pivoting Explained

By: Ayman Hammoudeh Introduction Pivoting refers to method used by penetration testers that uses compromised systems to attack other systems on the same network to avoid restrictions such as firewall configurations, which may prohibit direct access to all machines. For example, an attacker compromises a web server on a corporate network; the attacker can then … Read more

How do I compile mod_wgsi for Python 2.7

Recently I found myself in a situation where I needed to recompile mod_wgsi against a newer version of Python. This involves recompiling Python with the correct flags, then recompiling mod_wsgi using the newly compiled Python. Below shows the steps, Check Version First of all check what version of Python mod_wsgi was compiled with. [root@server]# ldd … Read more