Author Archive

Many say that this isn’t a legitimate way of securing your data, but my personal opinion is ‘If no-one gets your data… it’s legitimate!” Sometimes its easier to guess a persons actions than their skillz, as a results, I present the following:

Hackersafe

http://xkcd.com/916/

Comments No Comments »

DEF CON 19 will be at the Rio Hotel and Casino August 4-7, 2011! Price of admission is $150 cash at the door for the entire con.

http://www.defcon.org/

Comments No Comments »

FrOSCon, the conference for Free and Open Source Software, has announced a ‘Call for Papers’. This request is for submissions on Lectures and workshops for the 6th annual convention. FrOSCon will be held on August 20th – 21st in Sankt Augustin, Germany.

Comments No Comments »

Having started multiple blogs and not really having time for any. I found a, thus far, nice utility  for blogging. The utility is a chrome extension called ScribeFire, and it lets you post an article on multiple blogs. I fine this desirable as I have not crossed posted because of the hassle of logging into another interface, cut-n-paste, check the format, and what ever else violates my head in the process. This extension allows me to write an article, select a blog sight and add the article to the site.

This will be the first post using the extension across multiple sites. Please feel free to ask any questions.

Comments No Comments »

By default, linux reserve 5% of the hard drive in order to prevent the server from crashing. If you’ve ever seen an application lock up because your drive is at 100% and it can’t write to the logs, you’ll know what I’m talking about. Imagine the same situation, but there is no room on the disk drive… at all. That move you just tried to perform can’t happen cause there is no place for it to go.

Well, luckily we have the 5% reserved block and on your 250G drive is 12.5G. Well, from what I’ve read this is way to much for this. I can’t find a definitive amount, but a lot of articles suggest going down to 3% or even 1%.

This is how you ‘set’ the size at file-system creation:

# mkfs.ext3 -m 1/dev/sda1 (replace sda1 with your partition name)

The above command creates a file system with only 1% of its space reserved for the root user. To ‘change’ the reserved blocks after the file-system creation, you can use tune2fs utility:

# tune2fs -m 1 /dev/sda1 (replace sda1 with your partition name)

Further reading

Comments No Comments »

In information technology, a wrapper is data that precedes or frames the main data or a program that sets up another program so that it can run successfully.

  1. On the Internet, “http://” and “ftp://” are sometimes described as wrappers for the Internet addresses or Uniform Resource Locator URL that follow. A set of bracketing symbols (such as < and >, used here to wrap the word “and”) are also sometimes referred to as wrappers .
  2. In programming, a wrapper is a program or script that sets the stage and makes possible the running of another, more important program.
  3. In data transmission, a wrapper is the data that is put in front of or around a transmission that provides information about it and may also encapsulate it from view to anyone other than the intended recipient. A wrapper often consists of a header that precedes the encapsulated data and the trailer that follows it.
  4. In database technology, a wrapper can be used to determine who has access to look at or change the data that is wrapped.

Comments No Comments »

APPLIES TO:

  • Parallels Plesk Panel for Linux/Unix

Symptoms

The following error occurs during domain deleting in Plesk CP:

ERROR: PleskUtilException webstatmng is failed –unset-config –domain-name=domain.tld –stat-prog=

or during domain page accessing:

 

Error: Unable to update hosting preferences: hosting update is failed: webstatmng is failed –unset-config –domain-name=guide2care.com –stat-prog=

Cause

This error means that incorrect value was specified in the ‘webstat’ field of the ‘hosting’ table in ‘psa’ database.

Resolution

The ‘webstat’ field can be set to ‘none’,'webalizer’ or ‘awstats’ values. To solve this problem, update ‘webstat’ field in ‘psa.hosting’ table for the problem ‘DOMAIN’ with the query like:

mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` psa -e 'update domains d, hosting h set h.webstat="none" where h.dom_id=d.id and d.name="DOMAIN"'

Note, “DOMAIN” should be replaced with the real domain name.

Note, if you use MySQL 3.x, the query should be spilt in two:

select id from domains where name="DOMAIN";
update hosting set webstat="none" where dom_id="DOMAIN_ID";

Where DOMAIN_ID is the number that you get after the first query.

Backup domains statistics directory (HTTPD_VHOSTS_D/DOMAIN/statistics/).

After that you will be able to delete domain or access it through Plesk CP and manage webstat on the domain’s hosting setup page.

http://kb.parallels.com/1726

Comments No Comments »

Rackspace Hosting joins with Akamai CDN to help deliver their Cloud Files solution for their customers. Lew Moorman, president, cloud and chief strategy officer for Rackspace states:

“The next decade presents new opportunities for two industry leaders, Rackspace and Akamai, to better help customers succeed with their cloud strategies, especially around feature-rich content, SaaS applications, and dynamic websites,”

The partnership offers many benefits for Rackspace customers. Here are few listed on the Rackspace website:

  • Improved Application Performance
  • Ensured Application Availability
  • Reduced Support Costs
  • Enhanced Security
  • Pay as You Grow

Further Reading:

Comments No Comments »

Sometimes it becomes necassary to test a link from a particular referrer. This is easily done with the following curl statement:

curl -I -H “Referer: http://your_referrer_here” http://lwww.somewhere.com/link/to/file

The ‘-I’ is used to display header information and the ‘-H’ is used to specify other header information. Lets take a look at the header information of a normal curl:

[user@8bitpipe.com ~]$ curl -I http://www.magicdeckvortex.com/images/article_images/sarpadian_empires/MindstabThrull3.jpg
HTTP/1.1 200 OK
Date: Mon, 03 Jan 2011 14:17:13 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.12
Last-Modified: Mon, 18 May 2009 06:30:44 GMT
ETag: “40003d-1060c-46a29ef124d00″
Accept-Ranges: bytes
Content-Length: 67084
Content-Type: image/jpeg

As you can see, this is returning an image file as it should. Now lets specify a referrer (basically making it look like some other website is hotlinking their image).


[user@8bitpipe.com ~]$ curl -I -H “Referer: http://www.8bitpipe.com”

http://www.magicdeckvortex.com/images/article_images/sarpadian_empires/MindstabThrull3.jpg

HTTP/1.1 403 Forbidden
Date: Mon, 03 Jan 2011 14:32:24 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.12
Content-Type: text/html; charset=iso-8859-1

As you can see, the server has denied our request. Hopefully this will help trouble shoot issues.

Comments No Comments »

Hoping that everyone has a prosperous and eventful new year. I endeavor to increase my blog time and hopefully put out more articles this year.

Comments No Comments »