blog.dewendra.com.np

June 20, 2009

Setup a transparent proxy with Squid in three easy steps

Filed under: Uncategorized — Tags: , , , — dewendra5 @ 12:43 pm

Setup a transparent proxy with Squid in three easy steps

Main benefit of setting transparent proxy is you do not have to setup up individual browsers to work with proxies.

My Setup:

i) System: MSI Core 2 DUO CPU system with 4 GB RAM .
ii) Eth0: IP:192.168.0.2
iii) Eth1: IP: 192.168.1.1 (192.168.1.0/24 network (around 50 windows XP systems))
iv) OS: Red Hat Enterprise Linux 5.1 (Following instruction should work with Debian and all other Linux distros)

Eth0 connected to internet and eth1 connected to local lan i.e. system act as router.

Server Configuration

  • Step #1 : Squid configuration so that it will act as a transparent proxy
  • Step #2 : Iptables configuration
    • a) Configure system as router
    • b) Forward all http requests to 3128 (DNAT)
  • Step #3: Run scripts and start squid service

First, Squid server installed (use up2date squid) and configured by adding following directives to file:
# vi /etc/squid/squid.conf

Modify or add following squid directives:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.0.2 192.168.1.0/24
http_access allow localhost
http_access allow lan

Where,

  • httpd_accel_host virtual: Squid as an httpd accelerator
  • httpd_accel_port 80: 80 is port you want to act as a proxy
  • httpd_accel_with_proxy on: Squid act as both a local httpd accelerator and as a proxy.
  • httpd_accel_uses_host_header on: Header is turned on which is the hostname from the URL.
  • acl lan src 192.168.0.2 192.168.1.0/24: Access control list, only allow LAN computers to use squid
  • http_access allow localhost: Squid access to LAN and localhost ACL only
  • http_access allow lan: — same as above –

Here is the complete listing of squid.conf for your reference (grep will remove all comments and sed will remove all empty lines, thanks to David Klein for quick hint ):
# grep -v "^#" /etc/squid/squid.conf | sed -e '/^$/d'

OR, try out sed (thanks to kotnik for small sed trick)
# cat /etc/squid/squid.conf | sed '/ *#/d; /^ *$/d'

Output:
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl CONNECT method CONNECT
cache_mem 1024 MB
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl lan src 192.168.1.1 192.168.2.0/24
http_access allow localhost
http_access allow lan
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname myclient.hostname.com
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
coredump_dir /var/spool/squid

Iptables configuration

Next, I had added following rules to forward all http requests (coming to port 80) to the Squid server port 3128 :
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j DNAT –to 192.168.1.1:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3128

Here is complete shell script. Script first configure Linux system as router and forwards all http request to port 3128 (Download the fw.proxy shell script):
#!/bin/sh
# squid server IP
SQUID_SERVER=“192.168.0.2″
# Interface connected to Internet
INTERNET=“eth0″
# Interface connected to LAN
LAN_IN=“eth1″
# Squid port
SQUID_PORT=“3128″
# DO NOT MODIFY BELOW
# Clean old firewall
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
# Load IPTABLES modules for NAT and IP conntrack support
modprobe ip_conntrack
modprobe ip_conntrack_ftp
# For win xp ftp client
#modprobe ip_nat_ftp
echo 1 > /proc/sys/net/ipv4/ip_forward
# Setting default filter policy
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
# Unlimited access to loop back
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
# Allow UDP, DNS and Passive FTP
iptables -A INPUT -i $INTERNET -m state --state ESTABLISHED,RELATED -j ACCEPT
# set this system as a router for Rest of LAN
iptables --table nat --append POSTROUTING --out-interface $INTERNET -j MASQUERADE
iptables --append FORWARD --in-interface $LAN_IN -j ACCEPT
# unlimited access to LAN
iptables -A INPUT -i $LAN_IN -j ACCEPT
iptables -A OUTPUT -o $LAN_IN -j ACCEPT
# DNAT port 80 request comming from LAN systems to squid 3128 ($SQUID_PORT) aka transparent proxy
iptables -t nat -A PREROUTING -i $LAN_IN -p tcp --dport 80 -j DNAT --to $SQUID_SERVER:$SQUID_PORT
# if it is same system
iptables -t nat -A PREROUTING -i $INTERNET -p tcp --dport 80 -j REDIRECT --to-port $SQUID_PORT
# DROP everything and Log it
iptables -A INPUT -j LOG
iptables -A INPUT -j DROP

Save shell script. Execute script so that system will act as a router and forward the ports:
# chmod +x /etc/fw.proxy
# /etc/fw.proxy
# service iptables save
# chkconfig iptables on

Start or Restart the squid:
# /etc/init.d/squid restart
# chkconfig squid on

Desktop / Client computer configuration

Point all desktop clients to your eth1 IP address (192.168.1.2) as Router/Gateway (use DHCP to distribute this information). You do not have to setup up individual browsers to work with proxies.

How do I test my squid proxy is working correctly?

See access log file /var/log/squid/access.log:
# tail -f /var/log/squid/access.log

Above command will monitor all incoming request and log them to /var/log/squid/access_log file. Now if somebody accessing a website through browser, squid will log information.

Problems and solutions

(a) Windows XP FTP Client

All Desktop client FTP session request ended with an error:
Illegal PORT command.

I had loaded the ip_nat_ftp kernel module. Just type the following command press Enter and voila!
# modprobe ip_nat_ftp

Please note that modprobe command is already added to a shell script (above).

(b) Port 443 redirection

I had block out all connection request from our router settings except for our proxy (192.168.1.1) server. So all ports including 443 (https/ssl) request denied. You cannot redirect port 443, from debian mailing list, “Long answer: SSL is specifically designed to prevent “man in the middle” attacks, and setting up squid in such a way would be the same as such a “man in the middle” attack. You might be able to successfully achive this, but not without breaking the encryption and certification that is the point behind SSL“.

Therefore, I had quickly reopen port 443 (router firewall) for all my LAN computers and problem was solved.

(c) Squid Proxy authentication in a transparent mode

You cannot use Squid authentication with a transparently intercepting proxy.

March 16, 2009

Hello world!

Filed under: Uncategorized — dewendra5 @ 12:11 pm

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

December 17, 2007

MSN Block Checker

Filed under: DEV_General, DEV_Information, DEV_Technology — Tags: , , , , , , , , — on3droprul3 @ 2:32 pm

 

Hi frens, this is a simple msn block checker application…

Click here to enjoy…

DEV

December 16, 2007

Have a look::Using BCC

Filed under: DEV_General, DEV_Information, DEV_Technology — Tags: , , , , , , , , — on3droprul3 @ 5:58 am

People have become hypersensitive about their privacy during the last few years. They now expect that their details will be used only for the purposes for which they have been provided and not shared by original trustees. This is especially true of email addresses because of the huge volume of unsolicited commercial email (spam) circulating the web. Despite this, numbers of people using email unwittingly reveal the email addresses of other people to whom they are sending email.

Blind Carbon Copy

The term Blind Carbon Copy is a hangover from the dim, dark ages before word processors when we used typewriters (some of you have probably never seen a typewriter).
It was a somewhat messy, but proficient process. When one wanted to send an original letter to one person and copies to several other people without showing each recipient who the other recipients were, a BCC annotation was made on the original. Each copy displayed only the name and address of the individual recipient, but the BCC notation on the original showed to whom the copies had been mailed.
Some email programs allow you to enter email addresses into the BCC field and send them. When you do that each recipient receives your message, but the names of other recipients are not displayed.

That is why they are called ‘blind’ – they are not seen.

By using the BCC feature you preserve the identities of those who are on your mailing list and ensure that anyone receiving your email cannot email your list or harvest their email addresses and sell them.

Please Remember:

It is Important to remove all personal email when forwarding items from this, or any other list to individuals or other discussion groups (unless the message asks readers to contact them via email or phone).

Remember, a lot of us have a great deal of information in our sigs (signature files) that appear at the bottom of many of our messages.

E-mailers should also cut out email addresses from forwards when forwarding the message on. I know I have received unsolicited emails from individuals who have gotten my address via a forwarded message from this group. Although more annoying than serious, it could have been worse.

iT’S TRUE - IF YOU CARE ABOUT YOUR FRIENDS, CHANGE HOW YOU SEND E-MAIL. THIS IS A TRUE CONCERN OF MANY PEOPLE.

PAY ATTENTION, READ TO THE END.

Many times friends on e-mail ask me about me using the Bcc address on e-mails and commenting about my e-mails not ha ng long lists of other e-mail addresses where the e-mail had been sent prior to me receiving it.

Please read all of this and you will understand why I do things the way I do. Also this is not a fake or ridiculous idea from a crank.

Do you wonder why you get viruses or junk mail? Do you hate it?

Every time you forward an e-mail there is information left over from the people that got the message before you - namely their e-mail addresses. As the messages get forwarded along, the list of addresses builds, and builds, and builds, and all it takes is for some poor sap to get a virus, and his computer can send that virus to every e-mail address that has come across his computer.

Or, someone can take all of those addresses and sell them or send junk mail to them in the hopes that you will go to the site and he will make five cents.

That’s right, all of that inconvenience over a nickel.

How do you stop it?

Well, there are two easy steps:

1) When you forward an email, DELETE all of the other addresses that appear in the body of the message.

That’s right, delete them. Highlight them; then delete them, backspace them, whatever it is you know how to do. It only takes a second.

2) Whenever you send an e-mail, don’t use the “To:” or “Cc:” columns for adding email addresses. Use the “Bcc:” or “blind carbon copy” column for sending the message. This way the people that you send to only see their own email address.

If you don’t see your “Bcc:” option, click on where it says “To:” and your address list will appear. Highlight the address and click “Bcc:”. When you “select recipients” you can put the recipients in the “Bcc” box instead of the “To” box.

And that’s it - it’s that easy

This should be forwarded (MINUS my email address!) to everyone on your e-mail list who does not use “Bcc.” And this should also confirm why you >should “clean-up” your e-mails.

Knowledge comes, but Wisdom lingers

Reference:

http://www.marketingsource.com/articles/view/3331

http://www.trendmicro.com/vinfo/hoaxes/hoaxDetails.asp?HName=Using+BCC+when+Forwarding+Emails+Hoax

DEV

December 7, 2007

zindagi pehle kabhi + Prashant Tamang

Filed under: DEV_Hindi Tabs — Tags: , , , , , , , — on3droprul3 @ 4:02 pm

Original song starts from A… But I used to play this song on my own scale…

G
Zindagi Phele kabhi
Am
Itni hasin kahan
G
Raste hai sab wohin
Am
Badla hai bas jahan
G
Raat to guzar gai hai
Am
Aa gai subhah
G
Kisko khabar thi yeh humme
Am
Le aayengi yahan

Em                                 D
Dil mein tamanao ko liye
Em
Chahaton ki khatir ‘
D
Humto jeeye

Em                    D

Tanhan akele chalte rahein

Em                        D

Diye zindagi ke jalte rahe
C                              G

ho ho Aise achanak sab mil gaya

C                                G

Tofan ko sahil jaise mil gaya

—Rest of the song is similar…Wish this help you.

If mistakes, comment meh.

Zindagi Phele kabhi
Itni hasin kahan
Raste hai sab wohin
Badla hai bas jahan

Raat to guzar gai hai
Aa gai subhah

Kisko khabar yeh humme
Le aayengi yahan

Humne suna tha abb yeh jaane
Kushiya to dundhe bas bahane
Kitne hai jaane kitne ajanne
Kuch kho gaye sapne Kuch hai paane

Hum to kisiko na bhoola payenge
Chahe yeh duniya bhi bhool jaye

Zindagi Phele kabhi
Itni hasin kahan
Raste hai sab wohin
Badla hai bas jahan

Raat to guzar gai hai
Aa gai subha
Kisko khabar thi yeh humme
Le aayengi yahan

Kuch dooryan kuch fasle
Jeevan mein hai yahan
Koi ddoor hokar paas hai
Samjha koi kahan
Har rang har roop mein
Dekha hai yeh jahan
Armaan hai bas sako mile sab kuch mile yahan

Kitne hi din aur kitne raatein
Yaaad rahengi kuch baatien
Yaadon ko dil mein hum sajaye

Yeh Zindagi yuhi chalti jaye
Muskil hai sab kuch samjah pana
Mane ya na Mane humne mana

Kuch dooryan kuch fasle
Jeevan mein hai yahan
Koi ddoor hokar paas hai
Samjha koi kahan
Har rang har roop mein
Dekha hai yeh jahan
Armaan hai bas sako mile sab kuch mile yahan

Zindagi Phele kabhi
Itni hasin kahan
Raste hai sab wohin
Badla hai bas jahan

Raat to guzar gai hai
Aa gai subhah

Kisko khabar thi yeh humme
Le aayengi yahan

Prashant Tamang -> DEBUT SONG

Filed under: DEV_General — Tags: , , , , — on3droprul3 @ 9:32 am

Prashant Tamang -> DEBUT SONG-Zindagi Pehle kabhi itnii hashin kahan…

[youtube=http://www.youtube.com/watch?v=hQAV8qZ2uKQ&rel=1]

DHANYABAD PRASHANT TAMANG

Filed under: DEV_General, DEV_Information — Tags: , , , , , — on3droprul3 @ 9:17 am


Watch Nepali songs- Bir Gorkhali & Nepali Ho by Prashant

[youtube=http://www.youtube.com/watch?v=Siw-mrQS6l0&rel=1]

November 28, 2007

Economy Picking

Filed under: DEV_General, Dev_Guitar_tabs — Tags: , — on3droprul3 @ 10:32 am

Introduction

Problem.
Most guitar players think the basis of real speed is a good fret hand (generally: left hand) technique. If your left hand is fast, you will be able to play fast. So, many players train mainly their left hand, and the right hand is kind of left behind. Players who then discover that they need to improve their pick hand (generally: right hand) technique, go to their favorite guitar webpage (U-G.com), only to discover very little information (or lots of information scattered all over the entire webpage) about a better and faster right hand technique.

An example: the lesson “All The Aspects Of Picking,” concludes that a picking technique called “economy picking” is the best and fastest picking style. I found this lesson very informative, because I already knew what economy picking actually is. After reading this lesson, I immediately started practising economy picking, and in a couple of days, I succeded in playing fragments of Yngwie Malmsteen’s Blitzkrieg! A little slower than himself, but still… I noticed, however, that players who don’t know what economy picking is, can’t learn a damn thing from this otherwise very informative lesson!

Solution.
I’ve gathered a lot of information scattered all over various lessons on UG, added some of my own experiences from my last week of intensive “economy training”, and out of all this information I’ve created this lesson, for all you players who want to play real fast but don’t know how! Believe me, a week ago, I was one of you. This is a guide to the best and fastest right hand picking technique: economy picking, the key to real speed!

What Is Economy Picking

As I have already said, economy picking is the best picking technique there is. It’s fast, it looks mighty fine, and it requires very little effort (once you have mastered it of course). But to experience the comfort of economy picking, you must first understand the concept of it. To keep a long story short: economy picking is a mixture of firstly, alternate picking, and secondly, sweep picking. Now the explanation of these two techniques:

1. Alternate Picking.
A basic technique. Most of you players will be familiar with it (unless you’re still a beginning player). Alternate picking means: constantly switching between down- and upstrokes with your pick (to make things easier: down-up-down-up-down-up-…) This technique doubles the speed you reach by only down- or upstroking.

2. Sweep Picking.
This is a more advanced technique, used to play notes that are on strings next to each other (like arpeggios, see arpeggio lessons), rather than notes on the same string. You actually “sweep” your pick over the strings, as if you were strumming a chord, but you don’t let the notes ring as if you were playing a chord. You play each note individually (if you still don’t understand the concept of sweep picking, I refer to one of the sweep picking lessons on UG).

Now that you know both techniques, you might ask the question: how is economy picking related to these techniques? To answer this question, I will use a small exercise as an example. Firstly, I will show you how this pattern would be played if you used alternate picking (like most guitar players).

d = downstroke
u = upstroke

 

   d u d u d u d u d u d u d u d u d u
E|-------------------------------0-0-0-|
B|-------------------------0-0-0-------|
G|-------------------0-0-0-------------|
D|-------------0-0-0-------------------|
A|-------0-0-0-------------------------|
E|-0-0-0-------------------------------|

You can see clearly, you constantly alternate between down- and upstrokes. Now I will show you the same pattern, played with economy picking:

 

   d u d d u d d u d d u d d u d d u d
E|-------------------------------0-0-0-|
B|-------------------------0-0-0-------|
G|-------------------0-0-0-------------|
D|-------------0-0-0-------------------|
A|-------0-0-0-------------------------|
E|-0-0-0-------------------------------|

Like alternate picking, economy picking consists of alternating down- and upstrokes, except when changing strings. You use the “sweeping” motion for this: if you move a string down (e.g. from the 6th to the 5th string), you use downstrokes (for the sweeping motion, use your wrist movement)þ If moving up, you use all upstrokes, like this:

 

   u d u u d u u d u u d u u d u u d u
E|-0-0-0-------------------------------|
B|-------0-0-0-------------------------|
G|-------------0-0-0-------------------|
D|-------------------0-0-0-------------|
A|-------------------------0-0-0-------|
E|-------------------------------0-0-0-|

Practise these patters as much as you can, and try to play the notes as even as possible. Many players who start practising economy picking complain that the notes sound uneven or that it doesn’t go faster than alternate picking. Believe me, it does. You just have to master it properly to play even and fast (don’t go and try to master it in one week like me! I don’t want to brag but I usually get the hang of things very quickly, so take your time. Try to do it properly instead of trying to do it quickly).

Exercises

Now that you know what economy picking is, you can grab your guitar and start exercising. I don’t like to do exercises myself, but I do them anyway. And that’s what you should do, if you want to master economy picking and play real fast real easy! I will give a couple of exercises as examples, but you can of course invent your own exercises if you want! Or play existing songs as an exercise (like I usually do).

Exercise Set #1

 

   d u d d u d d u d d u d d u d d u d
E|-------------------------------0-0-0-|
B|-------------------------0-0-0-------|
G|-------------------0-0-0-------------|
D|-------------0-0-0-------------------|
A|-------0-0-0-------------------------|
E|-0-0-0-------------------------------|

   u d u u d u u d u u d u u d u u d u
E|-0-0-0-------------------------------|
B|-------0-0-0-------------------------|
G|-------------0-0-0-------------------|
D|-------------------0-0-0-------------|
A|-------------------------0-0-0-------|
E|-------------------------------0-0-0-|

These are the patterns I used above. I repeat them because they are so important: before playing anything fast, use these exercises (and the exercises below) as a warmup! You should use Exercise Set 1 to train speed, and to play every note evenly and smoothly.Exercise Set #2

 

   d u d d u d d u d d u d d u d d u d
E|-------------------------------5-6-5-|
B|-------------------------5-6-5-------|
G|-------------------5-6-5-------------|
D|-------------5-6-5-------------------|
A|-------5-6-5-------------------------|
E|-5-6-5-------------------------------|

   u d u u d u u d u u d u u d u u d u
E|-5-6-5-------------------------------|
B|-------5-6-5-------------------------|
G|-------------5-6-5-------------------|
D|-------------------5-6-5-------------|
A|-------------------------5-6-5-------|
E|-------------------------------5-6-5-|

   d u d d u d d u d d u d d u d d u d
E|-------------------------------5-7-5-|
B|-------------------------5-7-5-------|
G|-------------------5-7-5-------------|
D|-------------5-7-5-------------------|
A|-------5-7-5-------------------------|
E|-5-7-5-------------------------------|

   u d u u d u u d u u d u u d u u d u
E|-5-7-5-------------------------------|
B|-------5-7-5-------------------------|
G|-------------5-7-5-------------------|
D|-------------------5-7-5-------------|
A|-------------------------5-7-5-------|
E|-------------------------------5-7-5-|

   d u d d u d d u d d u d d u d d u d
E|-------------------------------5-8-5-|
B|-------------------------5-8-5-------|
G|-------------------5-8-5-------------|
D|-------------5-8-5-------------------|
A|-------5-8-5-------------------------|
E|-5-8-5-------------------------------|

   u d u u d u u d u u d u u d u u d u
E|-5-8-5-------------------------------|
B|-------5-8-5-------------------------|
G|-------------5-8-5-------------------|
D|-------------------5-8-5-------------|
A|-------------------------5-8-5-------|
E|-------------------------------5-8-5-|

These exercises are based on the first exercise set, but I added left hand fingerings too. The exercises in Set 2 are therefore used to train the synchronous movement of fret and pick hand. This is very important if you want to play fast! Do these exercises every day!Note: you might have noticed that in every exercise, there are 3 notes per string. This is because economy picking is easier when playing an odd number of notes per string. When you have to play an even number of notes, use 1 (or 3, or 5, …) hammer-ons or pull-offs, so that you have to do an odd number of picks. Example:

H = hammer-on
P = pull-off

 

   d u d H d u d H d u d H d u d H d u d H d u d H
E|-----------------------------------------5-6-5-6-|
B|---------------------------------5-6-5-6---------|
G|-------------------------5-6-5-6-----------------|
D|-----------------5-6-5-6-------------------------|
A|---------5-6-5-6---------------------------------|
E|-5-6-5-6-----------------------------------------|

   d u d P d u d P d u d P d u d P d u d P d u d P
E|-----------------------------------------6-5-6-5-|
B|---------------------------------6-5-6-5---------|
G|-------------------------6-5-6-5-----------------|
D|-----------------6-5-6-5-------------------------|
A|---------6-5-6-5---------------------------------|
E|-6-5-6-5-----------------------------------------|

So, in these two exercises, there are 4 notes per string, but you do only 3 picks per string, and 1 hammer-on/pull-off.

Speed

Economy picking is the key factor of speed. But still, there are guitar players using economy who still aren’t able to play fast. Why is that? Is it because of a slow left hand? Or is there still a problem with their picking technique? As I’ve already said, the left hand is usually more than fast enought. You can try this yourself: give your right arm a rest, and use only your left hand. Try to play a fast guitar riff (for example, a major scale, see scales lessons) with only your left hand. You don’t have to hear the notes: just try to get the left hand fingerings right. It goes much faster than you would be able to play with both hands, doesn’t it? This means, there’s still a problem with the right hand picking technique. I Will explain these issues in the following sections.

What Part Of The Pick Is Used To Pick With

The pick is approximately 3 cm long and 2, 5 cm wide. You use the sharp pointed side to pick the strings with. I guess many people are rolling on the floor laughing their asses off while reading this. I know, it’s the basic of all basics, but there’s more. You know that you have to pick with the sharp edge of the pick, but do you know what part of the pick actually touches the string, in order to achieve maximum speed? The trick is to touch the strings with the tip of the pick. I mean, the very tip of the pick. Only the slightest touch of the string with the pick is enough to produce a clear sound. Most players really “pluck” the strings with their picks, mostly because their right arm muscles are overstrained. If you relax, you will find this subtle string touching much easier!

Knowing this, and combining it with economy picking, allows you to play real fast! Economy is based on smooth right hand movement, but if you “pluck” your strings instead of just slightly touching them, this smooth movement is impossible. So, relax, touch your strings slightly instead of plucking them, and you will play fast in no time!

Pick Angle

When alternate picking, the pick stands straight up (seen from the surface of the guitar body). But when “sweeping” up or down, your pick should be held at a certain angle, so that you don’t “pluck” the strings as I have described in the previous section. When moving down, the sharp edge of the pick should point slightly up. When moving up, the sharp edge of the pick should point slightly down. To hold your pick at an angle, use your wrist movement.

Why is this? Well, if you hold your pick at the described angle while moving over the strings, you “stroke” them instead of plucking them, resulting in a much smoother movement. And like I’ve already said: economy picking is based on a smooth right hand movement.

Note: when moving up, the sharp edge of your pick should point down. This may feel uncomfortable for your wrists at first, but after some exercising it shouldn’t be a problem.

A Speed Riff

As a conclusion, I’m going to let you play the riff that I’ve played for so many times now, the riff that I have used to learn economy picking. It’s a fragment out of Malmsteen’s Blitzkrieg.

 

E|----------------------------------|----------------------------------|
B|----------------------------------|----------------------------------|
G|----------------------3-2---------|----------------------5-4---------|
D|----2-5-3-2---------2-----5-3-2---|----3-7-5-3---------4-----7-5-4---|
A|--3---------5-3-2-4-------------4-|--5---------7-5-4-6-------------6-|
E|----------------------------------|----------------------------------|

|----------------------------------|---------------------------------------|
|----------------------------------|---------------------------------------|
|----------------------7-6---------|-------------------------9-8-----------|
|----6-9-7-6---------6-----9-7-6---|----7-11-9-7-----------8-----11-9-8----|
|--7---------9-7-6-8-------------8-|--9----------11-9-8-10--------------10-|
|----------------------------------|---------------------------------------|

|--------------------------------------------------|
|--------------------------------------------------|
|--------------------------------11-10-------------|
|-----10-13-11-10-------------10-------13-11-10----|
|--11-------------13-11-10-12-------------------12-|
|--------------------------------------------------|

|--------------------------------------------------|------------|
|--------------------------------------------------|------------|
|--------------------------------13-12-------------|------------|
|-----11-15-13-11-------------12-------15-13-12----|------------|
|--13-------------15-13-12-14-------------------14-|-15~--------|
|--------------------------------------------------|------------|

Note: I’m not adding right hand fingerings, you should be able to find out for yourself by now!

Conclusion

I would like to thank the players who have made the lessons before me; they have taught me a lot and they made this lesson possible. To all players who have learned from this lesson: I hope my lesson was of some use to you all, and I hope many people will learn from it and maybe write their own lessons about it someday!

All The Aspects Of Picking. Part 2

Filed under: DEV_General, Dev_Guitar_tabs — Tags: , — on3droprul3 @ 10:30 am

If you didn’t yet read the first lesson please do so before moving on to this one. There was a great response from the first lesson on picking and technique, so I decided to submit part II and elaborate somewhat on the economy side of things.

I have gotten countless e-mails asking about the specifics of economy picking and some people seemed a little confused.

Economy picking has one simple rule: When you move to a new string ALWAYS pick “into” or twards the string (if your moving to a string closer to the floor pick down. If your moving to a string closer to your face or the sky, then pick up) this goes for adjacent strings as well as skipping strings.

So, economy picking is basically just a rule that whenever you move to a new string while playing anything, you pick in the direction of that new string instead of going under the string and picking up, or instead of going over the string and picking down. This way it uses the kenetic energy already established with the last picking motion used. In other words, it saves time and energy, which means faster playing with less effort, physical effort that is. It does require a lot of mental work to get used to this type of picking.

Here is an example to make sure everyone gets it right this time. I feel bad for not explaining it in more detail on the last lesson:

d= downpick to the ground
u= uppick to the sky

If you were to play this using alternate picking the ups and down picks would work this way if you started on a downstroke…

 

|-------------------------------3-4-5---------------------------------|
|-------------------------3-4-5-------3-4-5---------------------------|
|-------------------3-4-5-------------------3-4-5---------------------|
|-------------3-4-5-------------------------------3-4-5---------------|
|-------3-4-5-------------------------------------------3-4-5---------|
|-3-4-5-------------------------------------------------------3-4-5---|
  d u d u d u d u d u d u d u d u d u d u d u d u d u d u d u d u d

Now I will underline where you are wasting energy by moving around the string just to keep with the alternate picking pattern.

 

|-------------------------------3-4-5---------------------------------|
|-------------------------3-4-5-------3-4-5---------------------------|
|-------------------3-4-5-------------------3-4-5---------------------|
|-------------3-4-5-------------------------------3-4-5---------------|
|-------3-4-5-------------------------------------------3-4-5---------|
|-3-4-5-------------------------------------------------------3-4-5---|
  d u d u d u d u d u d u d u d u d u d u d u d u d u d u d u d u d

Now I will write the down and up strokes how they would be for economy picking and underline the spots where picking will be easier and faster than economy (based on the laws of physics, which seem to superseed the laws of “but this cool guitarist does it this way” etc).

 

|-------------------------------3-4-5---------------------------------|
|-------------------------3-4-5-------3-4-5---------------------------|
|-------------------3-4-5-------------------3-4-5---------------------|
|-------------3-4-5-------------------------------3-4-5---------------|
|-------3-4-5-------------------------------------------3-4-5---------|
|-3-4-5-------------------------------------------------------3-4-5---|
  d u d d u d d u d d u d d u d d u d u d u u d u u d u u d u u d u
  - - - - - - - - - - * - - - - - - - -

In this one above I marked off with an * where there is wasted motion, because of the ammount of notes on this string. But that could easily be fixed by placing the note that is causing the problem on the next string and only having 2 notes on the high e string, or simply add a note so it’s 4 notes, like this:

 

|-------------------------------3-4-5-0---------------------------------|
|-------------------------3-4-5---------3-4-5---------------------------|
|-------------------3-4-5---------------------3-4-5---------------------|
|-------------3-4-5---------------------------------3-4-5---------------|
|-------3-4-5---------------------------------------------3-4-5---------|
|-3-4-5---------------------------------------------------------3-4-5---|
  d u d d u d d u d d u d d u d d u d u u d u u d u u d u u d u u d u
  - - - - - - - - - - - - - - - - - - - -

Now every underlined note is economical and uses the least posible energy and time while playing, hence making it faster because an object in motion tends to stay in motion, also the shortest distance is a straight line, etc. So I hope those examples help you out if not here is one last version in short:

 

|------3| |------3|
|3-5-7--| |3-5-7--|
 d u d u   d u d d

And for all the wise asses who say “but that’s only starting on a downstroke,” ok then here it is starting on an upstroke:

 

|------3| |----2-3|
|3-5-7--| |3-5----|
 u d u d   u d d u

See how there is always a way to make it economical.The trouble with economy is that a lot of players starting out on it usually play a little loose time wise on the string changes or with a picking that’s either too loud or too soft. So make sure to pay good attention to the tempo and dynamics of your string changes in economy.

The exercises you used for alternate picking can and should be repracticed using economy. I suggest practicing alternate picking even if your planning on using strictly economy picking like myself. By practicing alternate still, you are actually making yourself work harder, so when you do play economy it will be that much easier on you (and faster).

Here are some more licks/exercises to work on for your economy picking, remember to do them as alternate picking too. This is all economy picking friendly. Starts off in major and decends with some scale alterations:

 

|----------------------------------------------------------|
|----------------------------------------------------------|
|----------------------------------------------------11-12-|
|-------------------------------11-12-------11-14-12-------|
|----------10-12-------10-14-12-------14-12----------------|
|-10-14-12-------14-12-------------------------------------|

|-------------------------------------12-14----------------|
|----------------12-14-------12-15-14-------15-14-12-------|
|-------11-14-12-------14-12-------------------------15-14-|
|-14-12----------------------------------------------------|
|----------------------------------------------------------|
|----------------------------------------------------------|

|---------------------------------------------------------------14-12----|
|-15-12------------------------------------------------------10----------|
|-------------15-12---------------------------------------11-------------|
|-------14-11-----------------------11-14--------------12-------------12-|
|-------------------14-10-12-----------------------12--------------------|
|-----------------------------14-12-------12-10-14-----------------------|

This one is harmonic minor based:

 

|-------------------------------------------------------|
|----------------------------------------11-12-14-15-14-|
|--------------------------------9-11-12----------------|
|-------------------8-9-11-12-11------------------------|
|------------7-9-10-------------------------------------|
|-6-7-9-10-9--------------------------------------------|

|-12-14-15-------------------------------------|
|----------15-14-12----------------------------|
|-------------------11-1214--------------------|
|---------------------------14-12-11-----------|
|-------------------------------------7-9-10---|
|--------------------------------------------7-|

This is actually the blues scale, however it is played in such a way to make it sound a little odd. The rolling of the fretting fingers is tough to get perfect but will help you out with sweep arpeggios later on:

 

|----------------------------12-15-------------------------------------------|
|-------------------------12-------15-------12-------------------------------|
|-------------------14-12-------------15-12----12-------14-------------------|
|-------12-14----14-------------------------------12-14----14-------12-13----|
|----12-------14----------------------------------------------14-12----------|
|-12----------------------------------------------------------------------12-|

This is a Wholetone scale pattern:

 

|----------------------------------------------|
|----------------------------------------------|
|----------------------------------------------|
|-------------------14-16-18-------------------|
|----------13-15-17-------------------15-17-19-|
|-12-14-16-------------------14-16-18----------|

|-------------------------------------18-20-22-|
|----------------------------------------------|
|-------------19-21----------19-21-23----------|
|-16-18-------------18-20-22-------------------|
|-------17-19----------------------------------|
|----------------------------------------------|

This is E-blues based:

 

|----------------------------------17-15-12----------|
|-------------------12-15-17-15-12----------15-14-12-|
|----------------------------------------------------|
|----------12-14-17----------------------------------|
|----------------------------------------------------|
|-12-15-17-------------------------------------------|

|-------------------------------------------------|
|-------------------------------------------------|
|-15-14-12----------------------------------------|
|----------12-14-17-------------------------------|
|-------------------17-14-12-14-13-12-10----------|
|----------------------------------------12-10-12-|

Guide To Sweep Picking

Filed under: DEV_General, Dev_Guitar_tabs — Tags: , , — on3droprul3 @ 10:29 am

Hi, welcome to my second lesson, this time on the extremely popular (and feared) technique known as sweep picking (or simply known as sweeping). I’m going to try to keep this simple and leave as much terminology out as possible (I think that it is better if you practice sweep picking with distortion turned on, that way you can hear where you are screwing up).

Defining Sweep Picking

What is sweep picking? First off, sweep picking is a technique which involves the use of the same picking direction to play three or more notes on adjacent strings. Sweep picking allows you to play a large amount of notes at blazingly fast speeds. Players such as Yngwie Malmsteen (Arpeggios From Hell) and JerryC (Canon Rock, Sweeping From Heaven) use this technique all the time to shred through arpeggios. While commonly used for playing arpeggios, once you get it down, sweep picking is actually a very economical technique. Sweep picking is one of those techniques that once you get it down it is relatively easy to do, but getting it down is the hardest part because there are a few tough hurdles you have to jump. For instance, you may have your right(picking) hand’s technique perfect, but your left hand is still holding the chords down, or you may have the hand rolling (left hand tech.) down perfectly, but you are picking each individual note, which is a big no no. But either way, sweep picking takes a lot of practice and can become very frustrating to learn at times, but once you know it you’ll be glad you did.

Proper Picking Hand Technique

Okay, first things first. You need to get the picking hand used to gliding over the strings. Think of it as a “controlled strum” or a “really slow chord,” just say “controlled strum”. Either way, I found a video on the net that will briefly show you the proper right hand technique. It is a pretty small file, only 43 kb or something. It is uploaded to a server in Germany, but do not worry it is a fast and safe server. Click here for the 3 second explanation. Okay, you’ve watched the video now. Really what you should try is placing your left hand over the 12th fret (to mute it) and then use the technique shown in the video to try and get six consecutive “clicks”. Like the exercise below.

 

   U U U D D D U U U D D D U U U D D D
e|-----x-x---------x-x---------x-x-----|
b|---x-----x-----x-----x-----x-----x---|
g|-x---------x-x---------x-x---------x-|
d|-------------------------------------|
a|-------------------------------------|
E|-------------------------------------|

Note that not only does this exercise get your picking hand at a proper rythm, but it also teaches up and down strokes, which are pretty self explanatory anyway. When playing this exercise, try to increase your picking speed while still keeping it in time. Make sure you aren’t “picking” each string, but gliding, or sweeping over them. Once you have gotten this exercise down and are confident that your right hand has adapted to “sweeping” over the strings and not picking them then you can move onto the left hand rolling technique.

Left Hand Rolling

Rolling? What the hell are you talking about? Remember earlier when I mentioned that you don’t want all of your notes to run together? Left hand rolling(which will be referred to as rolling from now on) is a technique which makes a sweep a sweep instead of a chord. When a note is struck, you lift the finger that was holding that note. It should look something like this file: Left Hand Rolling. So with these two techniques combined you get the sound and look of a sweep. Now that you know these two core techniques, we can start some basic arpeggios/triads.

String Arpeggios

I find that to start the Dm shape is the easiest to start with, so first try this simple upstroke. U=upstroke, D=downstroke:

 

    U  U  U
e|--------12--|
b|-----13-----|
g|--14--------|
d|------------|
a|------------|
E|------------|

Pretty simple, eh? Well try slowly increasing your speed; start off playing it slow and then increase your speed. Yet again, watch out for a few things. 1)Make sure you’re not picking the notes individually; 2) Make sure that you’re rolling your left hand; 3) Another hurdle: make sure that your left and right hands are synchronized. This will take some practice, but after you do the exercise again and again it will come to you naturally. There’s really no other way to fix this problem except through practice. Anyway, play that exercise until you can play it clean, then concentrate on playing it fast. Once you have speed and accuracy down we can move onto the downstroke.

 

     D  D  D
e|--12--------|
b|-----13-----|
g|--------14--|
d|------------|
a|------------|
E|------------|

Do the same error checks that you did for the upstroke and yet again, work on playing it clean first, then work on speed, once you have achieved speed and accuracy we can combine the up and down strokes to create a decent sounding arpeggio lick.

 

     U  U  U  D  D  D    U  U  U  D  D  D
e|--------12--12--------------12--12--------|
b|-----13--------13--------13--------13-----|
g|--14--------------14--14--------------14--|
d|------------------------------------------|
a|------------------------------------------|
E|------------------------------------------|

While it’s not too hard, it is a somewhat challenging lick at first. Yet again, run through the same error checks as before (I just realized that I am talking like a programmer, error checks). Ugh, anyway, work on your accuracy and then build up your speed to where there is barely a second in between notes. Once you can do that, building up speed on the larger arpeggios won’t be even half as hard. Anyway, once you have mastered the basic 3 string sweep, why don’t we add in some hammer ons and pulloffs?

 

e|-----------12H15P12----------------12H15P12--------|
b|--------13----------13----------13----------13-----|
g|--12H14----------------14P12H14----------------14~~|
d|---------------------------------------------------|
a|---------------------------------------------------|
E|---------------------------------------------------|

Nothing too fancy, but it sounds cool and it adds some variety to what you’re playing, plus it puts your dexterity and accuracy to the test. Once you have mastered this little trick, you should be able to mix things up a little with not problem. Like below:

 

     U  U  U   D  D  D  U  U  U   D  D  D   U
e|--------12--14--------------12--14------------|
b|-----13--------13--------13--------13---------|
g|--14--------------12--14--------------12--14~~|
d|----------------------------------------------|
a|----------------------------------------------|
E|----------------------------------------------|

This lick’ll really test your dexterity and your accuracy. Yet again, try and play this as clean as you can, and then try and play this lick as fast as you can. Once you can, try this next lick out.

 

Suggested fingering:
     3  2  1  3  2  1  3  2  1  3  2  1  3  2  1  etc...
e|--------12H14-------------12H14-------------13H15-------------14H16----
b|-----13-------13-------13-------13-------14-------14-------15-------15-
g|--14-------------12H14-------------12H15-------------13H16-------------
d|-----------------------------------------------------------------------
a|-----------------------------------------------------------------------
E|-----------------------------------------------------------------------

e|----------15H17-------------16H18-------------17H19-------------16H18-
b|-------16-------16-------17-------17-------18-------18-------17-------
g|-14H17-------------15H18-------------16H19-------------17H18----------
d|----------------------------------------------------------------------
a|----------------------------------------------------------------------
E|----------------------------------------------------------------------

e|-------------15H17-------------14H16-------------13H15-------------12H
b|-17-------16-------16-------15-------15-------14-------14-------13----
g|----16H17-------------15H16-------------14H15-------------13H14-------
d|----------------------------------------------------------------------
a|----------------------------------------------------------------------
E|----------------------------------------------------------------------

e|14---------|
b|---13------|
g|------12~~~|
a|-----------|
E|-----------|

Lengthy, I know, but trust me once you can play it accurately quickly it sounds really really cool and it’ll impress more people than you thought. From here on in, doing 4, 5 and 6 string sweeps will be no trouble at all.

String Sweeps

 

     1  4  3  2  1  3  1  2  3  4  1
e|--------------12H15P12--------------|
b|-----------13----------13-----------|
g|--------14----------------14--------|
d|--12H15----------------------15P12--|
a|------------------------------------|
E|------------------------------------|

The only real challenge here is using the pinky finger, while it’s a no brainer for most people, some people get stuck in the habit of never using their pinky, so you need to get out of that habit if you wish to be a decent guitarist! Okay, anyway. So that’s 4 string sweeps, not too difficult, though they’re not too common either.

String Sweeps

Perhaps the most common sweep, along with the 6 string sweeps of course, 5 string sweeps are relatively easy and are almost dare I say it fun to do. Here is an example of a 5 string sweep:

 

     1  3  3  1  2  1  3  1  2  1  2  3  1
e|-----------------12H15P12-----------------|
b|--------------13----------13--------------|
g|-----------12----------------12-----------|
d|--------14----------------------14--------|
a|--12H15----------------------------15P12--|
E|------------------------------------------|

A C Major Arpeggio, one of my personal favorites, next to the Am triad. Pretty simple huh? Well try and do this next one.

 

     1  3  2  2  2  1  3  1  2  2  2  3  1
e|-----------------12H17P12-----------------|
b|--------------14----------14--------------|
g|-----------14----------------14-----------|
d|--------14----------------------14--------|
a|--12H16----------------------------16P12--|
E|------------------------------------------|

Tricky, tricky huh? Can’t play that without those three notes running together can you? Well there is one more technique that you must now, it is a different type of rolling. It is called “finger rolling” which is different from hand rolling. In finger rolling, you literally ROLL your finger accross the strings.

Finger Rolling

I guess the best way to explain it is:

1) you push the tip of your finger down on the 4th string, strike the note.
2) release the tip of the finger and push the middle part of your finger(adjacent to the middle of the fingernail), strike the note.
3) release the middle of the finger and push the end part of you finger, the first joint from the nail, down.
4) Release the finger and continue the sweep.
5) To go back simply reverse the process; it will take some practice. Actually it will take a lot of practice, and it is a pain in the ass to learn and be able to pull it off clean, but it is much more efficient and looks better.

String Sweeps

Here is an example of a 6 string sweep tap, though to be honest it is very similar to 5 string sweeps, if not identical. But either way, here is an example.

 

     1  2  3  2  1  1  3  1  1  2  3  2  1
e|-----------------12H16P12-----------------|
b|--------------12----------12--------------|
g|-----------13----------------13-----------|
d|--------14----------------------14--------|
a|-----14----------------------------14-----|
E|--12----------------------------------12--|

See how similar it is to the 5 string sweep? Now one last thing: Sweep Tapping.

Sweep Tapping

Sweep tapping is nothing special really, it sounds and looks cool, but it’s not all that hard to do. Here is an example of a sweep tap.

 

                          T
e|-----------------12H17-19P17P12-----------------|
b|--------------14----------------14--------------|
g|-----------14----------------------14-----------|
d|--------14----------------------------14--------|
a|--12H16----------------------------------16P12--|
E|------------------------------------------------|

See, not too difficult! By now you should be able to sweep fairly well, so I leave you with this final lick.

 

e|--------------------------------------------------------------------12H15
b|--------------------------------------------------12H15-------12H15------
g|--------------------------------12H14-------12H14-------12H14------------
d|--------------12H14-------12H14-------12H14------------------------------
a|--------12H14-------12H14------------------------------------------------
E|--12H15------------------------------------------------------------------

e|P12-------------------12H14-------------13H15-------------14H16---------
b|----15P12----------13-------13-------14-------14-------15-------15------
g|----------14P12H14-------------12H15-------------13H16-------------14H17
d|------------------------------------------------------------------------
a|------------------------------------------------------------------------
E|------------------------------------------------------------------------

e|-----15H17-------------14H16-------------13H15-------------12H14---------
b|--16-------16-------15-------15-------14-------14-------13-------13------
g|--------------15H16-------------14H15-------------13H14-------------12H14
d|-------------------------------------------------------------------------
a|-------------------------------------------------------------------------
E|-------------------------------------------------------------------------
                                T        T          T
e|-----12H14-------------12H14-16P12H14-17P12H15---17P12H15P12-------------
b|--13-------13-------13---------------------------------------13----------
g|--------------12H14---------------------------------------------12-------
d|-------------------------------------------------------------------14----
a|----------------------------------------------------------------------15P
E|-------------------------------------------------------------------------

e|-----------------12H15P12-----------------|-----------------12H16P12----
b|--------------13----------13--------------|--------------12----------12-
g|0----------12----------------12-----------|-----------13----------------
d|0-------14----------------------14--------|--------14-------------------
a|--12H15----------------------------15P12--|-----14----------------------
E|------------------------------------------|--12-------------------------

e|--------------|-----------------12H17P12------------------|
b|--------------|--------------14----------14---------------|
g|-13-----------|-----------14----------------14-----------0|
d|----14--------|--------14----------------------14--------0|
a|-------14-----|--12H16----------------------------16P12---|
E|----------12--|-------------------------------------------|

Congratulations, now you can(or should be able to) sweep pick. So this concludes my second lesson, I hope that it was useful to you and you enjoyed doing it as much as I enjoyed writing it!

Older Posts »

Powered by WordPress