iEntry 10th Anniversary LinuxHaxor WH MH

Testing and Optimizing Disk Performance under Linux





To test your disk’s performance, use the hdparm utility. This program’s main purpose is to display and set various ATA parameters that influence performance. The program can also run basic performance tests. The -t parameter tests disk read speed, while the -T parameter tests Linux’s disk cache performance. The cache speed is important to overall disk performance, but for purposes of testing, you don’t want the cache to interfere with raw disk performance tests. You can combine the two tests, and hdparm will apply correction factors to separate the two measures. Following the -Tt parameter, you specify the hard disk you want to test as follows:

# /sbin/hdparm -Tt /dev/hdb

2007-11-27-141732_1280x800_scrot

In order to get reliable results, you should perform these tests on a system that’s otherwise not doing much, and especially not performing any disk-intensive tasks.
What’s poor performance? This depends on the disk. You should be able to find detailed specifications for your disk on the manufacturer’s website. You need to find the specification for sustained transfer speeds to and from the disk’s media.

If you believe your disk speed is deficient, you should search for a reason for the problem. In the case of ATA disks, the -v parameter to hdparm produces a summary of disk settings:

# /sbin/hdparm -v /dev/hdb

2007-11-27-141754_1280x800_scrot

The most important setting displayed by this output is the using_dma item. This setting reveals whether the controller is using direct memory access (DMA) mode, in which the controller directly transfers data between the disk and the computer’s memory. The alternative is programmed input/output (PIO) mode, in which the computer’s CPU mediates all transfers. DMA mode is generally faster than PIO mode, and DMA transfers impose a lower CPU load, so disk accesses should not slow down CPU-intensive programs as much.

If Linux isn’t running your disks in an optimal mode, you can use hdparm to adjust its settings. In some cases, you can apply driver-specific options to your ATA driver. Finally, one issue of disk performance doesn’t relate to speed, but it is important to laptop users: energy use. You can configure the disks to spin down when they haven’t been accessed for some time, thereby saving energy.

Normally, a computer’s hard disks spin whenever the computer is turned on. This feature makes disk access swift, because there’s no need to begin spinning the disk to access a file; however, it consumes a fair amount of power. Therefore, spinning down a disk when it’s not in use is helpful. Doing so is particularly helpful on laptop computers, on which a spinning hard disk can greatly reduce battery life. hdparm supports the -S option to set this feature.

Value Meaning

0 Power-saving mode disabled; disk never goes into low-power mode.

1–240 Time in 5-second multiples; for instance, 12 means 60 seconds.

241-251 Units of 30 minutes (241), 60 minutes (242), and so on through 5.5 hours (251).

252 21 minutes.

253 Drive-specific timeout value.

255
21 minutes and 15 seconds.

For instance, to set the disk to power down after ten minutes of inactivity, you could type the following command:

# hdparm -S120 /dev/hda



Burpsuite : An integrated platform for attacking web applications


http://portswigger.net/suite/download.html

Burp suite allows an attacker to combine manual and automated techniques to enumerate, analyze, attack and exploit web applications. The various burp tools work together effectively to share information and allow findings identified within one tool to form the basis of an attack using another.

2007-11-27-105136_1280x800_scrot 2007-11-27-105213_1280x800_scrot 2007-11-27-105537_1280x800_scrot



OWASP WebScarab NG Project


http://www.owasp.org/index.php/OWASP_WebScarab_NG_Project

WebScarab-NG is a complete rewrite of the old WebScarab application, with a special focus on making the application more user-friendly. To this end, WebScarab-NG makes use of the Spring Rich Client Platform to provide the user interface features. By using the Spring Rich Client Platform, WebScarab-NG automatically gains things like default buttons, keyboard shortcuts, support for internationalisation, etc.

Another new feature is that session information is now written into a database, rather than into hundreds or thousands of individual files. This makes disk space utilisation and things like archiving of sessions a lot easier.

Ultimately, WebScarab-NG will have all the significant functionality that the old WebScarab had, although it will be reorganised quite significantly, in order to make the application more user friendly.

The user interface has changed quite a lot from the old WebScarab. Apart from the new default Look&Feel (JGoodies), you will see that the conversation viewer has changed quite a lot. The old “Raw” view is still there, but the Parsed version has changed quite dramatically – for the better, I hope you’ll agree!

The Parsed view now shows the request and response details in a tree form, rather than in individual text boxes. This makes the interface look a lot cleaner, and more importantly, is a lot more compact. It also makes it a lot easier to include features like automatically breaking out URL parameters, and multiple cookies into their own nodes, where it is a lot easier to view the individual parameters. We also show the request and the response next to each other, rather than one above the other, since most people seem to have more horizontal real-estate than vertical. The split between request and response can easily be adjusted by dragging, as can the split between the headers and the message content

2007-11-27-093117_1280x800_scrot 2007-11-27-093659_1280x800_scrot



Limit Permissions with sudo


 

One of things that seperates Ubuntu (or Debian based distribution) from other Linux distributions is that it disables the root account. For other distros such as Red Hat and SUSE, you are prompted for root password when it’s needed to perform a job or execute a command. You just log on as root or change to root with su. Since Ubuntu doesn’t have any root password by default, you use sudo to run a command as root. sudo allows access to root with controls over what a person can do as root. sudo prompts you for your password, which allows regular users to have some root access without knowing the root password.

The default sudo configuration in Ubuntu can be found in the /etc/sudoers file. It should always be edited with the visudo tool, not any standard text editor, as it perform extra validation checks for syntax errors. The default sudoers file looks like this:

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

The first rule allows root to use sudo to become any other user on the system, and the second rule allows anyone who is a member of the admin group to run any command as root. So when you want to run a command as root on a default Ubuntu system, type sudo followed by the command to run. For instance if you wanted to run apt-get update as root, you would type:

$ sudo apt-get update

To limit permissions for a user when using sudo, we can specify which applications it can run as root. For instances:

pavs ALL=(root) /usr/bin/find, /bin/rm

In this example the user pavs can only use the command “find” and “rm” as root.

However most users from other distros would probably prefer using su instead of sudo. To do that in ubuntu just set a password for root: $ sudo passwd root . Now you can log in as root or use su and sudo. You have the best of all worlds. ;)




Pages (131): « First ... « 96 97 98 [99] 100 101 102 » ... Last »
  • Buy Cheap cialis sample Online Best Prices. No Prescription Needed.
  • Buy Cheapest pain meds online with no prescription Now Online Prices For pain meds online with no prescription! Pharmacy Store.
  • Buy Cheapest cialis levitra viagra compare Online Discount Drugs At Best Online Drugstore.
  • Buy Cheap xanax generic Now Best Internet. Online Prices For xanax generic!
  • Buy Cheap prescriptions narcotic pain medication Now WorldWide Shipping. Online Prices For prescriptions narcotic pain medication!
  • Buy Cheap weight loss drug Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheapest cialis dysfunction erectile levitra viagra Online Cheap Pharmacy Online. Best Internet.
  • Buy Cheap side effects of amoxicillin Now Guaranteed Shipping. Online Medical Shop.
  • Buy Cheap 5mg cialis generic Online Pharmacy At The Best Price! Pharmacy Store.
  • Buy Cheap discount prescription medications pharmacies online Now Best Prices. The Largest Internet Pharmacy.
  • Buy Cheap ultram price Now No Prescription Needed. Online Medical Shop.
  • Buy Cheap top diet pill Online Online Prices For top diet pill! Low Prices.
  • Buy Cheapest buy cheap nexium Now Low Prices. Order Cheap Meds Without Rx.
  • Buy Cheap drugs without prescription foreign pharmacies Now WorldWide Shipping. Cheap Prescription Drugs.
  • Buy Cheap lavitra or viagra Online Cheap Pharmacy Online. Best Drugstore.
  • Buy Cheapest valium mexico online Now Pharmacy Store. Special Prices For valium mexico online!
  • Buy Cheap buy phentermine without rx Now The Largest Internet Pharmacy. Low Prices.
  • Buy Cheapest sildenafil citrate from india Now Low Prices. Discount Online Pharmacy.
  • Buy Cheap generic cialis from india Now Buy Medications Online. WorldWide Shipping.
  • Buy Cheap levitra discount presciptions Online Online Prices For levitra discount presciptions! Best Drugstore.
  • Buy Cheap klonopin vs xanax Online Online Prices For klonopin vs xanax! Low Prices.
  • Buy Cheapest pain med Online Top Online Pharmacy. Pharmacy Store.
  • Buy Cheapest amoxicillin buy Now No Prescription Needed. WorldWide Shipping.
  • Buy Cheap dosage of amoxicillin Now Pharmacy At The Best Price! Pharmacy Store.
  • Buy Cheapest vardenafil drug Now Best Online. Discount Online Pharmacy.
  • Buy Cheap buying diet pills Now Best Drugstore. Pharmacy At The Best Price!
  • Buy Cheapest tramadol without Now Best Internet. Order Cheap Meds Without Rx.
  • Buy Cheap buying codeine in canada Online 24/Internet)(safe Pharmacy. Best Online.
  • Buy Cheap cheap generic viagra online Now Buy Medications Online. Pharmacy Store.
  • Buy Cheap erectile dysfunction Online Drugs, Health And Beauty. Best Prices.
  • Buy Cheap valium sales Online Internet Prices For valium sales! Low Prices.
  • Buy Cheap effexor xr dosage Online Internet Prices For effexor xr dosage! Best Online.
  • Buy Cheap tramadol used for Online Buy Medications Online. Best Internet.
  • Buy Cheap how to burn fat Online Buy Medications Online. Best Drugstore.
  • Buy Cheapest which is better lavitra or viagra Online Low Prices. Cheap Pharmacy Online.
  • Buy Cheapest foreign prescription meds Online Best Online. Pharmacy At The Best Price!
  • Buy Cheap mexican online pharmacy Online Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap levitra on line ordering 50mg Now WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheap order viagra canada Online Discount Online Pharmacy. Best Online.
  • Buy Cheap anthelmintic treatment Now Top Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest muscle relaxant side effects Now Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheapest viagra and ejaculation Now Drugs, Health And Beauty. Best Prices.
  • Buy Cheap cheapest generic cialis Now Low Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap zoloft antidepressant Now Best Internet. Online Prices For zoloft antidepressant!
  • Buy Cheap cialis dosage dose Online Best Prices. Discount Online Pharmacy.
  • Buy Cheap buy ativan online Now Low Prices. Safe And Secure Payment System.
  • Buy list all antidepressant meds Online Without Prescription. Best Prices. Best Online.
  • Buy Cheapest generic for sleeping aid medication Online Best Prices. Guaranteed Shipping.
  • Buy Cheapest cialis website Now Top Online Pharmacy. 24/Online Pharmacy.
  • Buy Cheap buying medicine overseas Now Online Medical Shop. Guaranteed Shipping.
  • Buy Cheap no prescription weight loss online Online Cheap Online Pharmacy. Pharmacy Store.
  • Buy Cheap tramadol no prescription Online WorldWide Shipping. 24/Online Pharmacy.
  • Buy Cheap is lorazepam stronger than diazepam Online We Can Offer You Visit Our Online Pharmacy.
  • Buy Cheapest over the counter drugs Online Low Prices. Order Cheap Meds Without Rx.
  • Buy Cheap buy viagra online at Now Best Internet. 24/Internet)(safe Pharmacy.
  • Buy Cheap viagra dosage for women Online Online Prices For viagra dosage for women! Pharmacy Store.
  • Buy Cheapest trazodone used for Online Free Viagra Pills! Best Internet.
  • Buy Cheap viagra 50mg Now Pharmacy Store. The Largest Internet Pharmacy.
  • Buy Cheapest viagra erections Online Free Viagra Pills! Guaranteed Shipping.
  • Buy Cheapest fda approved us online pharmacy Online Get FDA Approved Prescription Medicines.
  • Buy Cheapest accutane and results Online Best Prices. No Prescription Needed.
  • Buy Cheap cialis female Now Online Medical Shop. Online Prices For cialis female!
  • Buy Cheap online phentermine doctor Now Best Internet. Discount Online Pharmacy.
  • Buy Cheap generic propecia canada Online Cheap Prescription Drugs. Pharmacy Store.
  • Buy Cheapest discount viagra pills Online Best Internet. Guaranteed Shipping.
  • Buy Cheapest chicago viagra Online Top Online Pharmacy. Best Online.
  • Buy Cheap online finasteride Online Best Internet. No Prescription Needed.
  • Buy Cheap cheap analgesic pain patches Online Top Online Pharmacy. Best Drugstore.
  • Buy Cheapest nexium long term Now Pharmacy Store. Cheap Pharmacy Online.
  • Buy Cheap cost of prescription for chlamydia Now Best Prices. Special Prices For cost of prescription for chlamydia!
  • Buy augmentin medicine Without Prescription Doctor. Pharmacy At The Best Price!
  • Buy Cheap vitamin shoppe coupons Online 100% Satisfaction Guaranteed. Best Prices.
  • Buy Cheap remedy for menstrual cramps Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheap generic cialis online Now Best Online. Safe And Secure Payment System.
  • Buy Cheap description codeine sulfate Online Online Medical Shop. Free Viagra Pills!
  • Buy testimonials for xenical Online Without Prescription. Best Prices. Best Online.
  • Buy dosage levitra Without Prescription Doctor. Pharmacy Store. Low Prices.
  • Buy Cheap the vitamin store Now Best Prices. Safe And Secure Payment System.
  • Buy Cheap generic viagra online Now Cheap Pharmacy Online. No Prescription Needed.
  • Buy Cheap method levitra Online Best Internet. Cheap Prescription Drugs.
  • Buy Cheapest med shop express Now 24/Online Pharmacy. Free Viagra Pills!
  • Buy Cheap cheap proscar Online Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheap gouty osteoarthritis Online Best Online. Top Online Pharmacy Supplier.
  • Buy Cheap diet medications Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheapest xanax 2mg no prescription Online Buy %items% Online Without Prescription.
  • buy viagra uk Online Without Prescription Best Internet. Low Prices.
  • Buy Cheap supplements for general health Now 100% Satisfaction Guaranteed. Pharmacy Store.
  • Buy Cheapest ultram medication Now We Can Offer You Visit Our Online Pharmacy.
  • Buy Cheapest ambien long term effects Online Best Prices. 24/Online Pharmacy.
  • Buy Cheapest severe arthritis of the neck Now 100% Satisfaction Guaranteed. Best Online.
  • Buy Cheapest discount levitra purchase Now Pharmacy Store. Internet Prices For discount levitra purchase!
  • Buy Cheapest india tadalafil Now Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheap buy viagra online without prescription Online Buy Medications Online. WorldWide Shipping.
  • Buy Cheapest ativan overnight Now Best Online. Drugs, Health And Beauty.
  • Buy Cheapest clomid and fertility Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheap discount valium online Online Pharmacy At The Best Price! Best Prices.
  • Buying Cheap buy lorazepam overseas. Offshore Rx, Good Prices. Online Medical Shop.
  • Buy Cheap zyban without a prescription Online Best Prices. Internet Prices For zyban without a prescription!
  • Buy Cheap where to get cialis Now Low Prices. FDA Approved Rx: Online Pharmacy.
  • Buy Cheap description valium Online Drugs, Health And Beauty. Low Prices.