Samba adalah himpunan aplikasi yang bertujuan agar komputer dengan sistem operasi Linux, BSD ( atau UNIX lainnya) dapat bertindak sebagai file dan print server yang berbasis protokol SMB (session message block). Jaringan yang semacam ini biasa dijumpai pada Windows workgroup atau Windows NT Domain. Samba juga dilengkapi dengan beberapa program bantu sehingga sistem operasi Linux (dan UNIX lainnya) bisa mengakses resources yang ada pada jaringan Windows yang telah ada. Bisa dikatakan, Samba adalah jembatan penghubung antara Windows dan UNIX.
Samba terdiri atas dua program yang berjalan di background: SMBD dan NMBD. Secara singkat dapat disebutkan bahwa SMBD adalah file server yang akan menghasilkan proses baru untuk setiap client yang aktif sementara NMBD bertugas mengkonversi nama komputer (NetBIOS) menjadi alamat IP sekaligus juga memantau share yang ada di jaringan. Kerja SMBD sendiri diatur melalui file konfigurasi /etc/samba/smb.conf. Dengan membuat file konfigurasi yang tepat, Samba dapat dijadikan file server, print server, domain controller, dan banyak fungsi lainnya.
Berikut ini adalah cara mengkonfigurasi Samba Server Sebagai PDC :
1. pertama dowload program samba dan accesorisnya :
apt-get install samba samba-common samba-doc libcupsys2-gnutls10 libkrb53 winbind smbclient
2. Konfigurasi /etc/samba/smb.conf sebagai berikut :
[global]
workgroup = ubuntudk.com --> ubah sesuain yang kita mau
netbios name = ubuntuserver --> ubah sesuain yang kita mau
server string = %h server (Samba, Ubuntu) --> ubah sesuain yang kita mau
passdb backend = tdbsam
security = user
username map = /etc/samba/smbusers
name resolve order = wins bcast hosts
domain logons = yes
preferred master = yes
wins support = yes
# Useradd scripts
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 15000-20000
idmap gid = 15000-20000
# sync smb passwords woth linux passwords
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
passwd chat debug = yes
unix password sync = yes
# set the loglevel
log level = 3
[homes]
comment = Home
valid users = %S
read only = no
browsable = no
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = Administrator
valid users = %U
read only = no
[profile]
comment = User profiles
path = /home/samba/profiles
valid users = %U
create mode = 0600
directory mode = 0700
writable = yes
browsable = no
3. Buat beberapa direktori berikut sebagai domain logon dan profile :
mkdir /home/samba
mkdir /home/samba/netlogon
mkdir /home/samba/profiles
mkdir /var/spool/samba
chmod 777 /var/spool/samba/
chown -R root:users /home/samba/
chmod -R 771 /home/samba/
4. Lalu restart samba
/etc/init.d/samba restart
5. Ubah pada bagian /etc/nsswitch.conf, pada baris :
hosts: files dns
menjadi :
hosts: files wins dns
6. tambahkan beberapa pc clinet pada /etc/hosts :
127.0.0.1 localhost
192.168.0.136 ubuntuserver.dk.co.id ubuntuserver.dk.co.id
192.168.0.131 ciko
192.168.0.133 dian
192.168.0.135 gustin
7. Tambahkan user root kedalam user samba :
smbpasswd -a root
New SMB password:
Retype new SMB password:
8. buat file /etc/samba/smbusers lalu jalankan :
echo "root = Administrator" > /etc/samba/smbusers
mengartikan bahwa user root = user administrator pada windows
9. Test drive, apakah settingan kita dah benar :
smbclient -L localhost -U%
akan menghasilkan output :
Domain=[UBUNTUDK.COM] OS=[Unix] Server=[Samba 3.0.22]
Sharename Type Comment
--------- ---- -------
netlogon Disk Network Logon Service
allusers Disk All Users
IPC$ IPC IPC Service (ubuntuserver server (Samba, Ubuntu))
ADMIN$ IPC IPC Service (ubuntuserver server (Samba, Ubuntu))
Domain=[UBUNTUDK.COM] OS=[Unix] Server=[Samba 3.0.22]
Server Comment
--------- -------
UBUNTUSERVER ubuntuserver server (Samba, Ubuntu)
Workgroup Master
--------- -------
UBUNTUDK.COM UBUNTUSERVER
10. lalu kita setup domain group untuk windows, jalankan perintah :
net groupmap modify ntgroup="Domain Admins" unixgroup=root
net groupmap modify ntgroup="Domain Users" unixgroup=users
net groupmap modify ntgroup="Domain Guests" unixgroup=nogroup
11. tambah user linux dan user samba dengan cara :
user linux :
useradd ciko -m -G users
user samba :
smbpasswd -a ciko
12. Sekarang tambahan direktori share yang akan dipakai oleh seluruh user :
mkdir -p /home/shares/allusers
chown -R root:users /home/shares/allusers/
chmod -R ug+rwx,o+rx-w /home/shares/allusers/
13. Ubah juga pada /etc/samba/smb.conf, tambahkan baris berikut :
[allusers]
comment = All Users
path = /home/shares/allusers
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
writable = yes
14. lalu restart samba kembali :
/etc/init.d/samba restart
15. Langkah Yang terakhir dalah dengan menjoinkan mesin windows ke pdc linux kita, dengan cara : ( Testing Dengan Windows XP )
- click kanan pada mycomputer
- pilih computer name lalu change
- masukan domain PDC pada bagisn domain
- akan muncul windows yang meminta memasukan user dan password, pada langkah ini masukan user root dan password samba untuk user root
- OK
- Akan muncul bahwa kita sukses menjoinkan mesin windows ke PDC linux
Nb :
Ubuntu Server 6.06
Windows Xp SP2 ( Client )
Referensi :
http://howtoforge.com/
http://ariya.pandu.org/linux/feature/pdc/pdc.htm
Saturday, March 21
Wednesday, March 18
Ms Office 2007 on ubuntu
Wouldn’t it be lovely to have a nice, clean installation of Microsoft’s Office 2007 Suite to run on your Ubuntu Linux Distribution? For some people, this is the only thing that truly holds them back from an all-Linux environment… But not anymore! We have compiled a nice, concise set of instructions to help guide you along.
Install Wine:
WINE (Wine Is Not an Emulator) is an application layer for Linux that interprets the Windows API and DLLs into native Linux commands. This allows for programs made for Windows to be run in Linux!
In order to run Office 2007, Wine 1.1.9 (or newer) is required. It is currently in a development release. If you don’t have it installed already (this is very likely), go ahead and type the following commands, which will set it up for you:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
sudo apt-get install wine cabextract
NOTE: On non-Debian based systems, this will not work. Please refer to this site for installation instructions.
You should now have an installation of Wine 1.1.9 installed on your system. To confirm the version of Wine installed, type the following:
wine --version
Install winetricks:
Winetricks is a small SH script which will go on the internet and automatically fetch and install Microsoft DLLs and Libraries into Wine with almost no hassle at all! To download it directly, type the following commands:
wget http://www.kegel.com/wine/winetricks
chmod +x ./winetricks
Utilize winetricks:
This will setup all necessary libraries and DLLs that Office 2007 will need to run properly:
./winetricks gdiplus riched20 riched30 msxml3 msxml4 msxml6 corefonts tahoma vb6run vcrun6 msi2
Please be patient while the downloads complete. This script is working hard and is saving hours of your time.
Insert Office 2007 Disk and Run Setup!
Now that we have all of the DLLs necessary to run the Installer, let us do so!
wine pathToCD/setup.exe
From here on out, you should be good to go! The installer should run and install everything just as if it was a Windows system!
If you have any problems, ask, and we’ll try to help you out as much as possible!
Install Wine:
WINE (Wine Is Not an Emulator) is an application layer for Linux that interprets the Windows API and DLLs into native Linux commands. This allows for programs made for Windows to be run in Linux!
In order to run Office 2007, Wine 1.1.9 (or newer) is required. It is currently in a development release. If you don’t have it installed already (this is very likely), go ahead and type the following commands, which will set it up for you:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
sudo apt-get install wine cabextract
NOTE: On non-Debian based systems, this will not work. Please refer to this site for installation instructions.
You should now have an installation of Wine 1.1.9 installed on your system. To confirm the version of Wine installed, type the following:
wine --version
Install winetricks:
Winetricks is a small SH script which will go on the internet and automatically fetch and install Microsoft DLLs and Libraries into Wine with almost no hassle at all! To download it directly, type the following commands:
wget http://www.kegel.com/wine/winetricks
chmod +x ./winetricks
Utilize winetricks:
This will setup all necessary libraries and DLLs that Office 2007 will need to run properly:
./winetricks gdiplus riched20 riched30 msxml3 msxml4 msxml6 corefonts tahoma vb6run vcrun6 msi2
Please be patient while the downloads complete. This script is working hard and is saving hours of your time.
Insert Office 2007 Disk and Run Setup!
Now that we have all of the DLLs necessary to run the Installer, let us do so!
wine pathToCD/setup.exe
From here on out, you should be good to go! The installer should run and install everything just as if it was a Windows system!
If you have any problems, ask, and we’ll try to help you out as much as possible!
Tuesday, March 17
Ericsson pushes VDSL2 data transfers above 500Mbps
FOR FURTHER INFORMATION, PLEASE CONTACT
Ericsson Corporate Public & Media Relations
Phone: +46 10 719 69 92
E-mail: press.relations@ericsson.com
Ericsson has achieved data transfer rates of more than 500Mbps in what it said is the world's first live demonstration of a new VDSL2-based technology.
The demonstration achieved data rates of more than 0.5 Gbps over twisted copper pairs using "vectorised" VDSL2, the latest technology for line bonding and crosstalk cancellation.
It showed aggregated rates of above 0.5Gbps at 500 metres, bonding six lines.
Vectorised VDSL2 is said to enable extremely high end-to-end transmission rates, improving VDSL2 performance by reducing noise originating from the other copper pairs in the same cable bundle.
This increases capacity and reach, boosting the number of customers that can be connected.
Vectoring technology also decouples the lines in a cable (from an interference point of view), substantially improving power management, which can reduce power consumption.
Standards for VDSL2 and line bonding are available today. The standardisation of vectoring is ongoing and is expected by the end of 2009.
VDSL2-based technology offers unprecedented speeds on existing copper lines, opening up new opportunities for operators to provide customers with broadband services such as IPTV. It also makes it possible to use existing copper networks as a backhaul for radio base stations, accelerating future rollout of HSPA and LTE-based high-speed mobile broadband services, according to Ericsson CTO HÃ¥kan Eriksson.
But don't expect it to be a technology of choice for Australia's National Broadband Network (NBN).
Colin Goodwin, strategic market manager for Ericsson Australia said the technology offers incredible speeds, but over relatively short distances.
"Its speed is best over thye hundreds of metres," he said. "But beyond 1km you will find that ADSL2+ is actually faster."
The technology might have been applicable to improving last mile speeds in a Fibre-to-the-Node deployment, he said, but Australian homes do not tend to have a great deal of spare copper in the last mile to fuse together.
"Relatively few residential subscribers would have the opportunity of having multiple copper pairs to their homes," he said.
The technology would also be irrelevant to Fibre-to-the-Home deployments, as fibre tends to be cheaper than copper for new roll-outs.
Where the technology does have great applications is among Fibre-to-the-Building deployments in commercial areas.
"You might have fibre connected from the DSLAM to the basement of an office building," Goodwin said. "You can then run bonded VDSL2+ up into all the other floors."
Ericsson Corporate Public & Media Relations
Phone: +46 10 719 69 92
E-mail: press.relations@ericsson.com
Ericsson has achieved data transfer rates of more than 500Mbps in what it said is the world's first live demonstration of a new VDSL2-based technology.
The demonstration achieved data rates of more than 0.5 Gbps over twisted copper pairs using "vectorised" VDSL2, the latest technology for line bonding and crosstalk cancellation.
It showed aggregated rates of above 0.5Gbps at 500 metres, bonding six lines.
Vectorised VDSL2 is said to enable extremely high end-to-end transmission rates, improving VDSL2 performance by reducing noise originating from the other copper pairs in the same cable bundle.
This increases capacity and reach, boosting the number of customers that can be connected.
Vectoring technology also decouples the lines in a cable (from an interference point of view), substantially improving power management, which can reduce power consumption.
Standards for VDSL2 and line bonding are available today. The standardisation of vectoring is ongoing and is expected by the end of 2009.
VDSL2-based technology offers unprecedented speeds on existing copper lines, opening up new opportunities for operators to provide customers with broadband services such as IPTV. It also makes it possible to use existing copper networks as a backhaul for radio base stations, accelerating future rollout of HSPA and LTE-based high-speed mobile broadband services, according to Ericsson CTO HÃ¥kan Eriksson.
But don't expect it to be a technology of choice for Australia's National Broadband Network (NBN).
Colin Goodwin, strategic market manager for Ericsson Australia said the technology offers incredible speeds, but over relatively short distances.
"Its speed is best over thye hundreds of metres," he said. "But beyond 1km you will find that ADSL2+ is actually faster."
The technology might have been applicable to improving last mile speeds in a Fibre-to-the-Node deployment, he said, but Australian homes do not tend to have a great deal of spare copper in the last mile to fuse together.
"Relatively few residential subscribers would have the opportunity of having multiple copper pairs to their homes," he said.
The technology would also be irrelevant to Fibre-to-the-Home deployments, as fibre tends to be cheaper than copper for new roll-outs.
Where the technology does have great applications is among Fibre-to-the-Building deployments in commercial areas.
"You might have fibre connected from the DSLAM to the basement of an office building," Goodwin said. "You can then run bonded VDSL2+ up into all the other floors."
He Never Forgets: Meet the Super-Memory Man
Feb. 18, 1981 was the day Bob Petrella met his friend Susan Angelo.
"It was a Wednesday," he said.
Go inside the mind of a man who remembers everything.
He remembers. She doesn't.
In 1976, Petrella met his friend Tom Challis.
"I remember the first time we really talked, though, was New Year's Day 1978 when we watched Oakland and Denver," Petrella said. "It was over at Patty's house."
For the average person, the ability to recall the odd date -- a birthday, anniversary or reunion -- might not be that impressive. But Petrella has a different gift. He remembers almost everything.
Impressive Memory Surprises Friends
Petrella, 58, is only the fourth person in the United States discovered to have what has been described as a super-autobiographical memory. Give him a date or event and he's likely to remember it. Sometimes he remembers more about his friends' lives than they remember about their own.
"He called me, I swear, six years after I had met him," said Angelo. "I got a telephone message from him one day. He said happy anniversary, we met six years ago today."
"This guy's from another planet," said Challis. "Like '74 ... when Nixon was impeached, I think about ... graduating from high school. This guy, he remembers [that] it hailed one day in July or something that same year."
"It's Thursday when [Nixon] announced it," Patrella said.
"See what I'm saying," said Challis.
Petrella lives a fairly normal life, working in Los Angeles as a producer for the Tennis Channel on cable television. Some people who have known him for years are still stunned by his memory.
The day Princess Diana was killed?
"That was a Saturday and it was Aug. 30, 1997," he said. "I just remember sitting at home and turning [on] CNN or whatever. It was all over the news ... and then the next day the Steelers lost to Dallas, 37-7, which was Aug. 31."
March 30, 1981?
"Reagan was shot, and that night Indiana beat North Carolina for the NCAA championship. Isaiah Thomas played for Indiana and James Worthy and Sam Parkins played for North Carolina. It was a year before Michael Jordan joined the team."
Aug. 15, 1969?
"That was Woodstock. That was a Friday," he said.
Memory Potential Is Infinite
Petrella's memory is a mixture of personal experiences and verifiable public events. He leans toward sports, but historical dates are embedded in his brain as well.
It's a mystery how he does it.
"We don't know how it works, and we would like to know how it works," said Dr. James McGaugh, the founding director of the Center for the Neurobiology of Learning and Memory at the University of California, Irvine.
Petrella and the three others with super memory have been the subjects of study at the center.
"These are not learning machines. These are not people with so-called photographic memory," said McGaugh. "These are people who learn certain things about their lives and don't forget."
The doctors have screened about 2,000 people with 60 questions that only those with super memory have a chance of answering.
Petrella got 30 of 60 dead right. The best known of the four super-memory people is Jill Price, also of Los Angeles, who wrote a book called "The Woman Who Can't Forget."
"I always explain to people [that it's] like I'm walking around with a video camera on my shoulder and every day is a videotape," Price told ABC News last year. "So if you throw a date out at me, it's as if I pulled the videotape out, put it in the VCR and just watched the day as it happened, like from my point of view."
Doctors are just beginning to observe, let alone understand, this phenomenon.
"First, three of our four top subjects are left-handed, and our fourth has strong tendencies to be left-handed [but] uses a right hand in writing," said McGaugh. "They all have slightly obsessive tendencies. They save a lot of things. They keep a lot of things. Salvation Army will never get rich off these people because they keep it, and so they covet collections the way they covet their memories. We find that interesting."
Also, it turns out certain parts of the super-autobiographical memory subjects' brains are larger than they are in people who don't have super-autobiographical memory. Also, their potential to store information appears infinite.
"There's no capacity limitation on what we can learn," said McGaugh, "no limit to our capacity to learn."
Memory: 'It's Like a Hard Drive'
The remembering also is completely unintentional.
Petrella remembers schoolboy sports events in Pennsylvania and that he got glasses in 1956. He remembers all but two of his birthdays since he turned 5. He recalls where he was and what he did with high school buddies. Grainy images of the 1970s are vivid pictures in his head. "I remember all my ATM codes," he said. "I remember people's numbers. [I] lost my cell phone Sept. 24, 2006. A lot of people, if they lost their cell phone, they would panic because they have all these numbers. I didn't have any numbers in my cell phone because I know everybody's numbers up here [in my head]."
"It's like a hard drive," he said. "You want to throw some of these dates in the trash and put more, maybe some creative things on -- because they are some inane things, a lot of things. Sometimes that's a bad thing, because when I am going through ... a bad situation or a bad circumstance. And then I go back and I go, 'boy, this is how I felt on, say, May 3, 1986."
At the same time, Petrella has the kind of forgetfulness anyone can have. He'll walk into another room and forget why he entered. Or he'll forget that he left his car in a tow zone.
Petrella is most astounding at sports events. If shown a freeze frame from a game 35 years ago, he'll recall details of the sporting event.
And he knows just about everything when it comes to his beloved Pittsburgh Steelers.
"Oh, that was my most memorable Super Bowl," he said when asked about the Steelers' third Super Bowl win. "Jan. 21, 1979, 35-31, over Dallas. Terry Bradshaw was the most valuable player. Threw for 318 yards and four touchdowns."
"It was a Wednesday," he said.
Go inside the mind of a man who remembers everything.
He remembers. She doesn't.
In 1976, Petrella met his friend Tom Challis.
"I remember the first time we really talked, though, was New Year's Day 1978 when we watched Oakland and Denver," Petrella said. "It was over at Patty's house."
For the average person, the ability to recall the odd date -- a birthday, anniversary or reunion -- might not be that impressive. But Petrella has a different gift. He remembers almost everything.
Impressive Memory Surprises Friends
Petrella, 58, is only the fourth person in the United States discovered to have what has been described as a super-autobiographical memory. Give him a date or event and he's likely to remember it. Sometimes he remembers more about his friends' lives than they remember about their own.
"He called me, I swear, six years after I had met him," said Angelo. "I got a telephone message from him one day. He said happy anniversary, we met six years ago today."
"This guy's from another planet," said Challis. "Like '74 ... when Nixon was impeached, I think about ... graduating from high school. This guy, he remembers [that] it hailed one day in July or something that same year."
"It's Thursday when [Nixon] announced it," Patrella said.
"See what I'm saying," said Challis.
Petrella lives a fairly normal life, working in Los Angeles as a producer for the Tennis Channel on cable television. Some people who have known him for years are still stunned by his memory.
The day Princess Diana was killed?
"That was a Saturday and it was Aug. 30, 1997," he said. "I just remember sitting at home and turning [on] CNN or whatever. It was all over the news ... and then the next day the Steelers lost to Dallas, 37-7, which was Aug. 31."
March 30, 1981?
"Reagan was shot, and that night Indiana beat North Carolina for the NCAA championship. Isaiah Thomas played for Indiana and James Worthy and Sam Parkins played for North Carolina. It was a year before Michael Jordan joined the team."
Aug. 15, 1969?
"That was Woodstock. That was a Friday," he said.
Memory Potential Is Infinite
Petrella's memory is a mixture of personal experiences and verifiable public events. He leans toward sports, but historical dates are embedded in his brain as well.
It's a mystery how he does it.
"We don't know how it works, and we would like to know how it works," said Dr. James McGaugh, the founding director of the Center for the Neurobiology of Learning and Memory at the University of California, Irvine.
Petrella and the three others with super memory have been the subjects of study at the center.
"These are not learning machines. These are not people with so-called photographic memory," said McGaugh. "These are people who learn certain things about their lives and don't forget."
The doctors have screened about 2,000 people with 60 questions that only those with super memory have a chance of answering.
Petrella got 30 of 60 dead right. The best known of the four super-memory people is Jill Price, also of Los Angeles, who wrote a book called "The Woman Who Can't Forget."
"I always explain to people [that it's] like I'm walking around with a video camera on my shoulder and every day is a videotape," Price told ABC News last year. "So if you throw a date out at me, it's as if I pulled the videotape out, put it in the VCR and just watched the day as it happened, like from my point of view."
Doctors are just beginning to observe, let alone understand, this phenomenon.
"First, three of our four top subjects are left-handed, and our fourth has strong tendencies to be left-handed [but] uses a right hand in writing," said McGaugh. "They all have slightly obsessive tendencies. They save a lot of things. They keep a lot of things. Salvation Army will never get rich off these people because they keep it, and so they covet collections the way they covet their memories. We find that interesting."
Also, it turns out certain parts of the super-autobiographical memory subjects' brains are larger than they are in people who don't have super-autobiographical memory. Also, their potential to store information appears infinite.
"There's no capacity limitation on what we can learn," said McGaugh, "no limit to our capacity to learn."
Memory: 'It's Like a Hard Drive'
The remembering also is completely unintentional.
Petrella remembers schoolboy sports events in Pennsylvania and that he got glasses in 1956. He remembers all but two of his birthdays since he turned 5. He recalls where he was and what he did with high school buddies. Grainy images of the 1970s are vivid pictures in his head. "I remember all my ATM codes," he said. "I remember people's numbers. [I] lost my cell phone Sept. 24, 2006. A lot of people, if they lost their cell phone, they would panic because they have all these numbers. I didn't have any numbers in my cell phone because I know everybody's numbers up here [in my head]."
"It's like a hard drive," he said. "You want to throw some of these dates in the trash and put more, maybe some creative things on -- because they are some inane things, a lot of things. Sometimes that's a bad thing, because when I am going through ... a bad situation or a bad circumstance. And then I go back and I go, 'boy, this is how I felt on, say, May 3, 1986."
At the same time, Petrella has the kind of forgetfulness anyone can have. He'll walk into another room and forget why he entered. Or he'll forget that he left his car in a tow zone.
Petrella is most astounding at sports events. If shown a freeze frame from a game 35 years ago, he'll recall details of the sporting event.
And he knows just about everything when it comes to his beloved Pittsburgh Steelers.
"Oh, that was my most memorable Super Bowl," he said when asked about the Steelers' third Super Bowl win. "Jan. 21, 1979, 35-31, over Dallas. Terry Bradshaw was the most valuable player. Threw for 318 yards and four touchdowns."
Sunday, March 15
If Hacker get Accident

The story behind this is that Jerry had a motorcycle accident last May and lost a finger. When the doctor working on the artificial finger heard he is a hacker, the immediate suggestion was to embed a USB "finger drive" to the design. Now he carries a Billix Linux distribution and the Freddy Got Fingered movie as part of his hand.
Saturday, March 14
Differences between IE8 Compatibility View and IE7
Microsoft or IE8 Teams need feedback from you or community if finding broken site.
at this time.some differences has found between IE7 and IE8.
Cross Document Communication
Hacks enabling cross-domain, cross-document communication have been disabled for security reasons.
SOLUTION: Use Cross Document Messaging (XDM) to work around this change.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
Extending the Event Object
IE exposes new properties for certain AJAX features such as Cross Document Messaging (XDM), even in Compatibility View. Adding custom properties to the Event object can conflict with these new properties, such as "source".
event.source = myObject; // Read-only in IE8
SOLUTION: Change the names of conflicting custom properties to avoid collision.
event.mySource = myObject
Attribute Ordering
The ordering of attributes has changed, affecting the attributes collection as well as the values of innerHTML and outerHTML. Pages depending on a specific attribute ordering may break.
attr = elm.attributes[1]; // May differ in IE8
SOLUTION: Reference attributes by name as opposed to their position within the attributes collection.
attr = elm.attributes["id"];
Setting Unsupported CSS Values
Assigning CSS values that were unsupported in IE7 but are supported in IE8 Standards Mode will not generate exceptions in IE8 Compatibility View. Some sites use these exceptions to determine if a particular value for a CSS property is supported or not.
try {
elm.style.display = "table-cell";
} catch(e) {
// This executes in IE7,
// but not IE8, regardless of mode
}
SOLUTION: Short of version detection, this is a difficult issue to work around. If this behavior is essential to a page, updating the page to run in IE8 Standards Mode may be the best approach.
at this time.some differences has found between IE7 and IE8.
Cross Document Communication
Hacks enabling cross-domain, cross-document communication have been disabled for security reasons.
SOLUTION: Use Cross Document Messaging (XDM) to work around this change.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
Extending the Event Object
IE exposes new properties for certain AJAX features such as Cross Document Messaging (XDM), even in Compatibility View. Adding custom properties to the Event object can conflict with these new properties, such as "source".
event.source = myObject; // Read-only in IE8
SOLUTION: Change the names of conflicting custom properties to avoid collision.
event.mySource = myObject
Attribute Ordering
The ordering of attributes has changed, affecting the attributes collection as well as the values of innerHTML and outerHTML. Pages depending on a specific attribute ordering may break.
attr = elm.attributes[1]; // May differ in IE8
SOLUTION: Reference attributes by name as opposed to their position within the attributes collection.
attr = elm.attributes["id"];
Setting Unsupported CSS Values
Assigning CSS values that were unsupported in IE7 but are supported in IE8 Standards Mode will not generate exceptions in IE8 Compatibility View. Some sites use these exceptions to determine if a particular value for a CSS property is supported or not.
try {
elm.style.display = "table-cell";
} catch(e) {
// This executes in IE7,
// but not IE8, regardless of mode
}
SOLUTION: Short of version detection, this is a difficult issue to work around. If this behavior is essential to a page, updating the page to run in IE8 Standards Mode may be the best approach.
Sunday, March 8
Cable Companies Target Commercials to Audience
The advertiser’s dream of sending a particular commercial to a specific consumer is one step closer to reality as Cablevision Systems plans to announce the largest project yet using targeted advertising on television.
Beginning with 500,000 homes in Brooklyn, the Bronx and some New Jersey areas, Cablevision will use its targeting technology to route ads to specific households based on data about income, ethnicity, gender or whether the homeowner has children or pets.
The technology requires no hardware or installation in a subscriber’s home, so viewers may not realize they are seeing ads different from a neighbor’s. But during the same show, a 50-something male may see an ad for, say, high-end speakers from Best Buy, while his neighbors with children may see one for a Best Buy video game.
“We have, as an industry, been talking about this since the beginning of time,” said Matt Seiler, the global chief executive of the media firm Universal McCann, a part of the Interpublic Group. “Now we’ve got it in 500,000 households. This is real.”
The potential of customized ads worries some privacy advocates, despite the assurance of cable companies that they maintain anonymity about the households.
“We don’t have an objection to advertising that is targeted to demographics,” said Marc Rotenberg, the executive director of the Electronic Privacy Information Center, a civil liberties group in Washington. But, he said, there is a need to show “that they can’t be reverse-engineered to find the names of individuals that were watching particular shows.”
Cablevision says it segments its subscribers only by demographics, so that an advertiser can divide ads among various groups: General Motors, for example, could send an ad for a Cadillac Escalade to high-income houses, a Chevrolet to low-income houses, and one in Spanish to Hispanic consumers.
Cablevision matches households to demographic data to divide its customers, using the data-collection company Experian.
Experian has data on individuals that it collects through public records, registries and other sources. It matches the name and address of the subscriber to what it knows about them, and assigns demographic characteristics to households. (The match is a blind one: advertisers do not know what name and address they are advertising to, Cablevision executives said.)
Advertisers can also give their existing customer lists to Experian, and Experian can make matches — so G.M., for example, could direct an ad based on who already owns a G.M. car.
Advertisers are willing to pay premiums for ads that go only to audiences they have selected.
Cablevision tested the technology by promoting its own services with targeted and untargeted ads. In the eight-month test, the targeted ads brought in new subscriptions at a significantly higher rate than untargeted ads.
“The revenue opportunity for the various constituents within television is enormous,” said Irwin Gotlieb, the global chief executive of GroupM, the media division of WPP Group. (WPP is an investor in the targeting companies Visible World and the Invidi Technologies Corporation.)
That is money the cable companies are eager to have. “Penetrations have flattened out, and cable companies need a way to grow,” said David L. Kline, the president of the Rainbow Advertising Sales Corporation, Cablevision’s ad unit.
Cablevision has been testing the system in about 100,000 Brooklyn households over the last year and a half. By summer, Cablevision plans to have it in 500,000 households, and, if the introduction goes smoothly, to extend it to all 3.1 million of its cable subscribers.
Visible World, the New York-based company working on the Cablevision project, was founded in 2000. It initially worked on showing versions of ads based on the weather or general location. Then, Visible World began working on the capability of sending different ads to specific households, starting with Brooklyn.
Cablevision is not notifying customers about the targeted advertising specifically. It last sent its privacy policy, which included information about ad targeting, last May, said a spokesman, Jim Maiella. The privacy policy is also available online.
Jeffrey Chester, the executive director of the privacy group Center for Digital Democracy, said this was not enough. “They need to be very clear to the consumer what’s being collected,” he said. “Give people a choice.”
One thing Cablevision will not be doing is sending ads based on what shows a consumer is watching.
But a competitor of Visible World, Invidi, is conducting a test with the cable company Comcast and will soon work with Verizon. It uses data from remote controls to follow what a person is watching, then matches that with ratings information and program guides to infer that person’s gender and age. It can use census data or data sources like Experian for further refining. Then, it shows an appropriate commercial.
Eventually, said Michael Kubin, the executive vice president of Invidi, the company will be able to identify who is watching based not just on what they are viewing, but also how they watch it: whether they channel change frequently or not at all, or immediately turn to CNN or to Bravo. That will help it show the right ads in households where multiple people watch television.
Mr. Kubin said Invidi did not have the capability to store any data, and could not, even if subpoenaed, tell what programs someone was watching.
But Invidi’s access to data has raised some concerns among even its advertisers. In late 2008, Invidi began conducting a test in Baltimore with Comcast, with about 70,000 households.
Comcast sent letters to all households in the trial area when the test began, alerting them to the trial and giving them an option to decline participation.
Advertisers wanted even more caution. While Invidi could have used the remote-control data to target ads, Starcom MediaVest Group, a media unit of Publicis Group, asked it not to.
“We want to make sure that we took a very conservative approach toward data usage until we have an opportunity as an industry to understand the consumer’s desire for more relevant advertising,” said Tracey Scheppach, senior vice president and video innovations director at Starcom Worldwide.
While advertisers are pushing the cable industry to begin offering targeted advertising, it has been a slow process. Cable companies control only a portion of advertising — the bulk is sold by the networks, like ESPN or MTV.
To coordinate their efforts, last year the six largest cable companies announced they had created an entity called Canoe Ventures. It is trying to get national distribution for the targeting technologies, to ensure the networks support targeted ad sales, and to come up with industry standards.
“Television was always big and dumb,” said Seth Haberman, the chief executive of Visible World. “Now, hopefully, we can be big and slightly smarter.”
Beginning with 500,000 homes in Brooklyn, the Bronx and some New Jersey areas, Cablevision will use its targeting technology to route ads to specific households based on data about income, ethnicity, gender or whether the homeowner has children or pets.
The technology requires no hardware or installation in a subscriber’s home, so viewers may not realize they are seeing ads different from a neighbor’s. But during the same show, a 50-something male may see an ad for, say, high-end speakers from Best Buy, while his neighbors with children may see one for a Best Buy video game.
“We have, as an industry, been talking about this since the beginning of time,” said Matt Seiler, the global chief executive of the media firm Universal McCann, a part of the Interpublic Group. “Now we’ve got it in 500,000 households. This is real.”
The potential of customized ads worries some privacy advocates, despite the assurance of cable companies that they maintain anonymity about the households.
“We don’t have an objection to advertising that is targeted to demographics,” said Marc Rotenberg, the executive director of the Electronic Privacy Information Center, a civil liberties group in Washington. But, he said, there is a need to show “that they can’t be reverse-engineered to find the names of individuals that were watching particular shows.”
Cablevision says it segments its subscribers only by demographics, so that an advertiser can divide ads among various groups: General Motors, for example, could send an ad for a Cadillac Escalade to high-income houses, a Chevrolet to low-income houses, and one in Spanish to Hispanic consumers.
Cablevision matches households to demographic data to divide its customers, using the data-collection company Experian.
Experian has data on individuals that it collects through public records, registries and other sources. It matches the name and address of the subscriber to what it knows about them, and assigns demographic characteristics to households. (The match is a blind one: advertisers do not know what name and address they are advertising to, Cablevision executives said.)
Advertisers can also give their existing customer lists to Experian, and Experian can make matches — so G.M., for example, could direct an ad based on who already owns a G.M. car.
Advertisers are willing to pay premiums for ads that go only to audiences they have selected.
Cablevision tested the technology by promoting its own services with targeted and untargeted ads. In the eight-month test, the targeted ads brought in new subscriptions at a significantly higher rate than untargeted ads.
“The revenue opportunity for the various constituents within television is enormous,” said Irwin Gotlieb, the global chief executive of GroupM, the media division of WPP Group. (WPP is an investor in the targeting companies Visible World and the Invidi Technologies Corporation.)
That is money the cable companies are eager to have. “Penetrations have flattened out, and cable companies need a way to grow,” said David L. Kline, the president of the Rainbow Advertising Sales Corporation, Cablevision’s ad unit.
Cablevision has been testing the system in about 100,000 Brooklyn households over the last year and a half. By summer, Cablevision plans to have it in 500,000 households, and, if the introduction goes smoothly, to extend it to all 3.1 million of its cable subscribers.
Visible World, the New York-based company working on the Cablevision project, was founded in 2000. It initially worked on showing versions of ads based on the weather or general location. Then, Visible World began working on the capability of sending different ads to specific households, starting with Brooklyn.
Cablevision is not notifying customers about the targeted advertising specifically. It last sent its privacy policy, which included information about ad targeting, last May, said a spokesman, Jim Maiella. The privacy policy is also available online.
Jeffrey Chester, the executive director of the privacy group Center for Digital Democracy, said this was not enough. “They need to be very clear to the consumer what’s being collected,” he said. “Give people a choice.”
One thing Cablevision will not be doing is sending ads based on what shows a consumer is watching.
But a competitor of Visible World, Invidi, is conducting a test with the cable company Comcast and will soon work with Verizon. It uses data from remote controls to follow what a person is watching, then matches that with ratings information and program guides to infer that person’s gender and age. It can use census data or data sources like Experian for further refining. Then, it shows an appropriate commercial.
Eventually, said Michael Kubin, the executive vice president of Invidi, the company will be able to identify who is watching based not just on what they are viewing, but also how they watch it: whether they channel change frequently or not at all, or immediately turn to CNN or to Bravo. That will help it show the right ads in households where multiple people watch television.
Mr. Kubin said Invidi did not have the capability to store any data, and could not, even if subpoenaed, tell what programs someone was watching.
But Invidi’s access to data has raised some concerns among even its advertisers. In late 2008, Invidi began conducting a test in Baltimore with Comcast, with about 70,000 households.
Comcast sent letters to all households in the trial area when the test began, alerting them to the trial and giving them an option to decline participation.
Advertisers wanted even more caution. While Invidi could have used the remote-control data to target ads, Starcom MediaVest Group, a media unit of Publicis Group, asked it not to.
“We want to make sure that we took a very conservative approach toward data usage until we have an opportunity as an industry to understand the consumer’s desire for more relevant advertising,” said Tracey Scheppach, senior vice president and video innovations director at Starcom Worldwide.
While advertisers are pushing the cable industry to begin offering targeted advertising, it has been a slow process. Cable companies control only a portion of advertising — the bulk is sold by the networks, like ESPN or MTV.
To coordinate their efforts, last year the six largest cable companies announced they had created an entity called Canoe Ventures. It is trying to get national distribution for the targeting technologies, to ensure the networks support targeted ad sales, and to come up with industry standards.
“Television was always big and dumb,” said Seth Haberman, the chief executive of Visible World. “Now, hopefully, we can be big and slightly smarter.”
Why Tv Lost
About twenty years ago people noticed computers and TV were on a collision course and started to speculate about what they'd produce when they converged. We now know the answer: computers. It's clear now that even by using the word "convergence" we were giving TV too much credit. This won't be convergence so much as replacement. People may still watch things they call "TV shows," but they'll watch them mostly on computers.
What decided the contest for computers? Four forces, three of which one could have predicted, and one that would have been harder to.
One predictable cause of victory is that the Internet is an open platform. Anyone can build whatever they want on it, and the market picks the winners. So innovation happens at hacker speeds instead of big company speeds.
The second is Moore's Law, which has worked its usual magic on Internet bandwidth. [1]
The third reason computers won is piracy. Users prefer it not just because it's free, but because it's more convenient. Bittorrent and YouTube have already trained a new generation of viewers that the place to watch shows is on a computer screen. [2]
The somewhat more surprising force was one specific type of innovation: social applications. The average teenage kid has a pretty much infinite capacity for talking to their friends. But they can't physically be with them all the time. When I was in high school the solution was the telephone. Now it's social networks, multiplayer games, and various messaging applications. The way you reach them all is through a computer. [3] Which means every teenage kid (a) wants a computer with an Internet connection, (b) has an incentive to figure out how to use it, and (c) spends countless hours in front of it.
This was the most powerful force of all. This was what made everyone want computers. Nerds got computers because they liked them. Then gamers got them to play games on. But it was connecting to other people that got everyone else: that's what made even grandmas and 14 year old girls want computers.
After decades of running an IV drip right into their audience, people in the entertainment business had understandably come to think of them as rather passive. They thought they'd be able to dictate the way shows reached audiences. But they underestimated the force of their desire to connect with one another.
Facebook killed TV. That is wildly oversimplified, of course, but probably as close to the truth as you can get in three words.
___
The TV networks already seem, grudgingly, to see where things are going, and have responded by putting their stuff, grudgingly, online. But they're still dragging their heels. They still seem to wish people would watch shows on TV instead, just as newspapers that put their stories online still seem to wish people would wait till the next morning and read them printed on paper. They should both just face the fact that the Internet is the primary medium.
They'd be in a better position if they'd done that earlier. When a new medium arises that's powerful enough to make incumbents nervous, then it's probably powerful enough to win, and the best thing they can do is jump in immediately.
Whether they like it or not, big changes are coming, because the Internet dissolves the two cornerstones of broadcast media: synchronicity and locality. On the Internet, you don't have to send everyone the same signal, and you don't have to send it to them from a local source. People will watch what they want when they want it, and group themselves according to whatever shared interest they feel most strongly. Maybe their strongest shared interest will be their physical location, but I'm guessing not. Which means local TV is probably dead. It was an artifact of limitations imposed by old technology. If someone were creating an Internet-based TV company from scratch now, they might have some plan for shows aimed at specific regions, but it wouldn't be a top priority.
Synchronicity and locality are tied together. TV network affiliates care what's on at 10 because that delivers viewers for local news at 11. This connection adds more brittleness than strength, however: people don't watch what's on at 10 because they want to watch the news afterward.
TV networks will fight these trends, because they don't have sufficient flexibility to adapt to them. They're hemmed in by local affiliates in much the same way car companies are hemmed in by dealers and unions. Inevitably, the people running the networks will take the easy route and try to keep the old model running for a couple more years, just as the record labels have done.
A recent article in the Wall Street Journal described how TV networks were trying to add more live shows, partly as a way to make viewers watch TV synchronously instead of watching recorded shows when it suited them. Instead of delivering what viewers want, they're trying to force them to change their habits to suit the networks' obsolete business model. That never works unless you have a monopoly or cartel to enforce it, and even then it only works temporarily.
The other reason networks like live shows is that they're cheaper to produce. There they have the right idea, but they haven't followed it to its conclusion. Live content can be way cheaper than networks realize, and the way to take advantage of dramatic decreases in cost is to increase volume. The networks are prevented from seeing this whole line of reasoning because they still think of themselves as being in the broadcast business—as sending one signal to everyone. [4]
___
Now would be a good time to start any company that competes with TV networks. That's what a lot of Internet startups are, though they may not have had this as an explicit goal. People only have so many leisure hours a day, and TV is premised on such long sessions (unlike Google, which prides itself on sending users on their way quickly) that anything that takes up their time is competing with it. But in addition to such indirect competitors, I think TV companies will increasingly face direct ones.
Even in cable TV, the long tail was lopped off prematurely by the threshold you had to get over to start a new channel. It will be longer on the Internet, and there will be more mobility within it. In this new world, the existing players will only have the advantages any big company has in its market.
That will change the balance of power between the networks and the people who produce shows. The networks used to be gatekeepers. They distributed your work, and sold advertising on it. Now the people who produce a show can distribute it themselves. The main value networks supply now is ad sales. Which will tend to put them in the position of service providers rather than publishers.
Shows will change even more. On the Internet there's no reason to keep their current format, or even the fact that they have a single format. Indeed, the more interesting sort of convergence that's coming is between shows and games. But on the question of what sort of entertainment gets distributed on the Internet in 20 years, I wouldn't dare to make any predictions, except that things will change a lot. We'll get whatever the most imaginative people can cook up. That's why the Internet won.
Notes
[1] Thanks to Trevor Blackwell for this point. He adds: "I remember the eyes of phone companies gleaming in the early 90s when they talked about convergence. They thought most programming would be on demand, and they would implement it and make a lot of money. It didn't work out. They assumed that their local network infrastructure would be critical to do video on-demand, because you couldn't possibly stream it from a few data centers over the internet. At the time (1992) the entire cross-country Internet bandwidth wasn't enough for one video stream. But wide-area bandwidth increased more than they expected and they were beaten by iTunes and Hulu."
[2] Copyright owners tend to focus on the aspect they see of piracy, which is the lost revenue. They therefore think what drives users to do it is the desire to get something for free. But iTunes shows that people will pay for stuff online, if you make it easy. A significant component of piracy is simply that it offers a better user experience.
[3] Or a phone that is actually a computer. I'm not making any predictions about the size of the device that will replace TV, just that it will have a browser and get data via the Internet.
[4] Emmett Shear writes: "I'd argue the long tail for sports may be even larger than the long tail for other kinds of content. Anyone can broadcast a high school football game that will be interesting to 10,000 people or so, even if the quality of production is not so good."
Thanks to Sam Altman, Trevor Blackwell, Nancy Cook, Michael Seibel. Emmett Shear, and Fred Wilson for reading drafts of this.
What decided the contest for computers? Four forces, three of which one could have predicted, and one that would have been harder to.
One predictable cause of victory is that the Internet is an open platform. Anyone can build whatever they want on it, and the market picks the winners. So innovation happens at hacker speeds instead of big company speeds.
The second is Moore's Law, which has worked its usual magic on Internet bandwidth. [1]
The third reason computers won is piracy. Users prefer it not just because it's free, but because it's more convenient. Bittorrent and YouTube have already trained a new generation of viewers that the place to watch shows is on a computer screen. [2]
The somewhat more surprising force was one specific type of innovation: social applications. The average teenage kid has a pretty much infinite capacity for talking to their friends. But they can't physically be with them all the time. When I was in high school the solution was the telephone. Now it's social networks, multiplayer games, and various messaging applications. The way you reach them all is through a computer. [3] Which means every teenage kid (a) wants a computer with an Internet connection, (b) has an incentive to figure out how to use it, and (c) spends countless hours in front of it.
This was the most powerful force of all. This was what made everyone want computers. Nerds got computers because they liked them. Then gamers got them to play games on. But it was connecting to other people that got everyone else: that's what made even grandmas and 14 year old girls want computers.
After decades of running an IV drip right into their audience, people in the entertainment business had understandably come to think of them as rather passive. They thought they'd be able to dictate the way shows reached audiences. But they underestimated the force of their desire to connect with one another.
Facebook killed TV. That is wildly oversimplified, of course, but probably as close to the truth as you can get in three words.
___
The TV networks already seem, grudgingly, to see where things are going, and have responded by putting their stuff, grudgingly, online. But they're still dragging their heels. They still seem to wish people would watch shows on TV instead, just as newspapers that put their stories online still seem to wish people would wait till the next morning and read them printed on paper. They should both just face the fact that the Internet is the primary medium.
They'd be in a better position if they'd done that earlier. When a new medium arises that's powerful enough to make incumbents nervous, then it's probably powerful enough to win, and the best thing they can do is jump in immediately.
Whether they like it or not, big changes are coming, because the Internet dissolves the two cornerstones of broadcast media: synchronicity and locality. On the Internet, you don't have to send everyone the same signal, and you don't have to send it to them from a local source. People will watch what they want when they want it, and group themselves according to whatever shared interest they feel most strongly. Maybe their strongest shared interest will be their physical location, but I'm guessing not. Which means local TV is probably dead. It was an artifact of limitations imposed by old technology. If someone were creating an Internet-based TV company from scratch now, they might have some plan for shows aimed at specific regions, but it wouldn't be a top priority.
Synchronicity and locality are tied together. TV network affiliates care what's on at 10 because that delivers viewers for local news at 11. This connection adds more brittleness than strength, however: people don't watch what's on at 10 because they want to watch the news afterward.
TV networks will fight these trends, because they don't have sufficient flexibility to adapt to them. They're hemmed in by local affiliates in much the same way car companies are hemmed in by dealers and unions. Inevitably, the people running the networks will take the easy route and try to keep the old model running for a couple more years, just as the record labels have done.
A recent article in the Wall Street Journal described how TV networks were trying to add more live shows, partly as a way to make viewers watch TV synchronously instead of watching recorded shows when it suited them. Instead of delivering what viewers want, they're trying to force them to change their habits to suit the networks' obsolete business model. That never works unless you have a monopoly or cartel to enforce it, and even then it only works temporarily.
The other reason networks like live shows is that they're cheaper to produce. There they have the right idea, but they haven't followed it to its conclusion. Live content can be way cheaper than networks realize, and the way to take advantage of dramatic decreases in cost is to increase volume. The networks are prevented from seeing this whole line of reasoning because they still think of themselves as being in the broadcast business—as sending one signal to everyone. [4]
___
Now would be a good time to start any company that competes with TV networks. That's what a lot of Internet startups are, though they may not have had this as an explicit goal. People only have so many leisure hours a day, and TV is premised on such long sessions (unlike Google, which prides itself on sending users on their way quickly) that anything that takes up their time is competing with it. But in addition to such indirect competitors, I think TV companies will increasingly face direct ones.
Even in cable TV, the long tail was lopped off prematurely by the threshold you had to get over to start a new channel. It will be longer on the Internet, and there will be more mobility within it. In this new world, the existing players will only have the advantages any big company has in its market.
That will change the balance of power between the networks and the people who produce shows. The networks used to be gatekeepers. They distributed your work, and sold advertising on it. Now the people who produce a show can distribute it themselves. The main value networks supply now is ad sales. Which will tend to put them in the position of service providers rather than publishers.
Shows will change even more. On the Internet there's no reason to keep their current format, or even the fact that they have a single format. Indeed, the more interesting sort of convergence that's coming is between shows and games. But on the question of what sort of entertainment gets distributed on the Internet in 20 years, I wouldn't dare to make any predictions, except that things will change a lot. We'll get whatever the most imaginative people can cook up. That's why the Internet won.
Notes
[1] Thanks to Trevor Blackwell for this point. He adds: "I remember the eyes of phone companies gleaming in the early 90s when they talked about convergence. They thought most programming would be on demand, and they would implement it and make a lot of money. It didn't work out. They assumed that their local network infrastructure would be critical to do video on-demand, because you couldn't possibly stream it from a few data centers over the internet. At the time (1992) the entire cross-country Internet bandwidth wasn't enough for one video stream. But wide-area bandwidth increased more than they expected and they were beaten by iTunes and Hulu."
[2] Copyright owners tend to focus on the aspect they see of piracy, which is the lost revenue. They therefore think what drives users to do it is the desire to get something for free. But iTunes shows that people will pay for stuff online, if you make it easy. A significant component of piracy is simply that it offers a better user experience.
[3] Or a phone that is actually a computer. I'm not making any predictions about the size of the device that will replace TV, just that it will have a browser and get data via the Internet.
[4] Emmett Shear writes: "I'd argue the long tail for sports may be even larger than the long tail for other kinds of content. Anyone can broadcast a high school football game that will be interesting to 10,000 people or so, even if the quality of production is not so good."
Thanks to Sam Altman, Trevor Blackwell, Nancy Cook, Michael Seibel. Emmett Shear, and Fred Wilson for reading drafts of this.
Saturday, March 7
Ten Ways Hackers Breach Security
1-800-COURSES www.globalknowledge.com
Introduction
Hacking, cracking, and cyber crimes are hot topics these days and will continue to be for the foreseeable future.
However, there are steps you can take to reduce your organization's threat level. The first step is to understand
what risks, threats, and vulnerabilities currently exist in your environment. The second step is to learn as much
as possible about the problems so you can formulate a solid response. The third step is to intelligently deploy
your selected countermeasures and safeguards to erect protections around your most mission-critical assets. This
white paper discusses ten common methods hackers use to breach your existing security.
1. Stealing Passwords
Security experts have been discussing the problems with password security for years. But it seems that few
have listened and taken action to resolve those problems. If your IT environment controls authentication using
passwords only, it is at greater risk for intrusion and hacking attacks than those that use some form of multifactor
authentication.
The problem lies with the ever-increasing abilities of computers to process larger amounts of data in a smaller
amount of time. A password is just a string of characters, typically only keyboard characters, which a person
must remember and type into a computer terminal when required. Unfortunately, passwords that are too complex
for a person to remember easily can be discovered by a cracking tool in a frighteningly short period of
time. Dictionary attacks, brute force attacks, and hybrid attacks are all various methods used to guess or crack
passwords. The only real protection against such threats is to make very long passwords or use multiple factors
for authentication. Unfortunately, requiring ever longer passwords causes a reversing of security due to the
human factor. People simply are not equipped to remember numerous long strings of chaotic characters.
But even with reasonably long passwords that people can remember, such as 12 to 16 characters, there are
still other problems facing password-only authentication systems. These include:
• People who use the same password on multiple accounts, especially when some of those accounts are
on public Internet sites with little to no security.
• People who write their passwords down and store them in obvious places. Writing down passwords is
often encouraged by the need to frequently change passwords.
• The continued use of insecure protocols that transfer passwords in clear text, such as those used for
Web surfing, e-mail, chat, file transfer, etc.
• The threat of software and hardware keystroke loggers.
• The problem of shoulder surfing or video surveillance.
James Michael Steward, Global Knowledge Instructor
Ten Ways Hackers Breach Security
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 2
Password theft, password cracking, and even password guessing are still serious threats to IT environments.
The best protection against these threats is to deploy multifactor authentication systems and to train personnel
regarding safe password habits.
2.Trojan Horses
A Trojan horse is a continuing threat to all forms of IT communication. Basically, a Trojan horse is a malicious
payload surreptitiously delivered inside a benign host. You are sure to have heard of some of the famous
Trojan horse malicious payloads such as Back Orifice, NetBus, and SubSeven. But the real threat of Trojan horses
is not the malicious payloads you know about, its ones you don't. A Trojan horse can be built or crafted by
anyone with basic computer skills. Any malicious payload can be combined with any benign software to create
a Trojan horse. There are countless ways of crafting and authoring tools designed to do just that. Thus, the real
threat of Trojan horse attack is the unknown.
The malicious payload of a Trojan horse can be anything. This includes programs that destroy hard drives, corrupt
files, record keystrokes, monitor network traffic, track Web usage, duplicate e-mails, allow remote control
and remote access, transmit data files to others, launch attacks against other targets, plant proxy servers, host
file sharing services, and more. Payloads can be grabbed off the Internet or can be just written code authored
by the hacker. Then, this payload can be embedded into any benign software to create the Trojan horse.
Common hosts include games, screensavers, greeting card systems, admin utilities, archive formats, and even
documents.
All a Trojan horse attack needs to be successful is a single user to execute the host program. Once that is
accomplished, the malicious payload is automatically launched as well, usually without any symptoms of
unwanted activity. A Trojan horse could be delivered via e-mail as an attachment, it could be presented on a
Web site as a download, or it could be placed on a removable media (memory card, CD/DVD, USB stick, floppy,
etc.). In any case, your protections are automated malicious code detection tools, such as modern anti-virus
protections and other specific forms of malware scanners, and user education.
3. Exploiting Defaults
Nothing makes attacking a target network easier than when that target is using the defaults set by the vendor
or manufacturer. Many attack tools and exploit scripts assume that the target is configured using the default
settings. Thus, one of the most effective and often overlooked security precautions is simply to change the
defaults.
To see the scope of this problem, all you need to do is search the Internet for sites using the keywords "default
passwords". There are numerous sites that catalog all of the default user names, passwords, access codes, settings,
and naming conventions of every software and hardware IT product ever sold. It is your responsibility to
know about the defaults of the products you deploy and make every effort to change those defaults to nonobvious
alternatives.
But it is not just account and password defaults you need to be concerned with, there are also the installation
defaults such as path names, folder names, components, services, configurations, and settings. Each and every
possible customizable option should be considered for customization. Try to avoid installing operating systems
into the default drives and folders set by the vendor. Don't install applications and other software into their
"standard" locations. Don't accept the folder names offered by the installation scripts or wizards. The more
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 3
you can customize your installations, configurations, and settings, the more your system will be incompatible
with attack tools and exploitation scripts.
4. Man-in-the-Middle Attacks
Every single person reading this white paper has been a target of numerous man-in-the-middle attacks. A
MITM attack occurs when an attacker is able to fool a user into establishing a communication link with a server
or service through a rogue entity. The rogue entity is the system controlled by the hacker. It has been set up
to intercept the communication between user and server without letting the user become aware that the misdirection
attack has taken place. A MITM attack works by somehow fooling the user, their computer, or some
part of the user's network into re-directing legitimate traffic to the illegitimate rogue system.
A MITM attack can be as simple as a phishing e-mail attack where a legitimate looking e-mail is sent to a user
with a URL link pointed towards the rogue system instead of the real site. The rogue system has a look-alike
interface that tricks the user into providing their logon credentials. The logon credentials are then duplicated
and sent on to the real server. This action opens a link with the real server, allowing the user to interact with
their resources without the knowledge that their communications have taken a detour through a malicious
system that is eavesdropping on and possibly altering the traffic.
MITM attacks can also be waged using more complicated methods, including MAC (Media Access Control)
duplication, ARP (Address Resolution Protocol) poisoning, router table poisoning, fake routing tables, DNS
(Domain Name Server) query poisoning, DNS hijacking, rogue DNS servers, HOSTS file alteration, local DNS
cache poisoning, and proxy re-routing. And that doesn't mention URL obfuscation, encoding, or manipulation
that is often used to hide the link misdirection.
To protect yourself against MITM attacks, you need to avoid clicking on links found in e-mails. Furthermore,
always verify that links from Web sites stay within trusted domains or still maintain SSL encryption. Also,
deploy IDS (Intrusion Detection System) systems to monitor network traffic as well as DNS and local system
alterations.
5.Wireless Attacks
Wireless networks have the appeal of freedom from wires - the ability to be mobile within your office while
maintaining network connectivity. Wireless networks are inexpensive to deploy and easy to install.
Unfortunately, the true cost of wireless networking is not apparent until security is considered. It is often the
case that the time, effort, and expense required to secure wireless networks is significantly more than deploying
a traditional wired network.
Interference, DOS, hijacking, man-in-the-middle, eavesdropping, sniffing, and many more attacks are made simple
for attackers when wireless networks are present. That doesn't even mention the issue that a secured
wireless network (802.11a or 802.11g) will typically support under 14 Mbps of throughput, and then only
under the most ideal transmission distances and conditions. Compare that with the standard of a minimum of
100 Mbps for a wired network, and the economy just doesn't make sense.
However, even if your organization does not officially sanction and deploy a wireless network, you may still
have wireless network vulnerabilities. Many organizations have discovered that workers have taken it upon
themselves to secretly deploy their own wireless network. They can do this by bringing in their own wireless
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 4
access point (WAP), plugging in their desktop's network cable into the WAP, then re-connecting their desktop
to one of the router/switch ports of the WAP. This retains their desktop's connection to the network, plus it
adds wireless connectivity. All too often when an unapproved WAP is deployed, it is done with little or no
security enabled on the WAP. Thus, a $50 WAP can easily open up a giant security hole in a multi-million dollar
secured-wired network.
To combat unapproved wireless access points, a regular site survey needs to be performed. This can be done
with a notebook using a wireless detector such as NetStumbler or with a dedicated hand-held device.
6. Doing their Homework
I don't mean that hackers break into your network by getting their school work done, but you might be surprised
how much they learn from school about how to compromise security. Hackers, especially external
hackers, learn how to overcome your security barriers by researching your organization. This process can be
called reconnaissance, discovery, or footprinting. Ultimately, it is intensive, focused research into all information
available about your organization from public and non-so-public resources.
If you've done any research or reading into warfare tactics, you are aware that the most important weapon
you can have at your disposal is information. Hackers know this and spend considerable time and effort
acquiring a complete arsenal. What is often disconcerting is how much your organization freely contributes to
the hacker's weapon stockpile. Most organizations are hemorrhaging data; companies freely give away too
much information that can be used against them in various types of logical and physical attacks. Here are just
a few common examples of what a hacker can learn about your organization, often in minutes:
• The names of your top executives and any flashy employees you have by perusing your archive of press
releases.
• The company address, phone number, and fax number from domain name registration.
• The service provider for Internet access through DNS lookup and traceroute.
• Employee home addresses, phone numbers, employment history, family members, previous addresses,
criminal record, driving history, and more by looking up their names in various free and paid background
research sites.
• The operating systems, major programs, programming languages, specialized platforms, network device
vendors, and more from job site postings.
• Physical weaknesses, vantage points, lines of sight, entry ways, covert access paths, and more from
satellite images of your company and employee addresses.
• Usernames, e-mail addresses, phone numbers, directory structure, filenames, OS type,Web server platform,
scripting languages,Web application environments, and more from Web site scanners.
• Confidential documents accidentally posted to a Web site from archive.org and Google hacking.
• Flaws in your products, problems with staff, internal issues, company politics, and more from blogs,
product reviews, company critiques, and competitive intelligence services.
As you can see, there is no end to the information that a hacker can obtain from public open sources. This list
of examples is only a beginning. Each kernel of truth discovered often leads the hacker to unearth more. Often,
a hacker will spend over 90% of their time in information-gathering activities. The more the attacker learns
about the target, the easier the subsequent attack becomes.
As for defense, you are ultimately at a loss—mainly because it is already too late. Once information is out on
the Internet, it is always out there. You can obviously clean up and sterilize any information resource currently
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 5
under your direct control. You can even contact third-party information repositories to request that they
change your information. Some online data systems, such as domain registrars, offer privacy and security services
(for a fee, of course). You can also control or limit the output of information in the future by being more
discrete in your announcements, product details, press releases, etc.
However, it is the information that you can't change or remove from the Internet that will continue to erode
your security. The only way to manage uncontrollable information is to alter your environment so that it is no
longer correct or relevant. Think of this as a new way to deviate from defaults or at least deviate from the previous
known.
7. Monitoring Vulnerability Research
Hackers have access to the same vulnerability research that you do. They are able to read Web sites, discussion
lists, blogs, and other public information services about known problems, issues, and vulnerabilities with hardware
and software. The more the hacker can discover about possible attack points, the more likely it is that he
can discover a weakness you've yet to patch, protect, or even become aware of.
To combat vulnerability research on the part of the hacker, you have to be just as vigilant as the hacker. You
have to be looking for the problems in order to protect against them just as intently as the hacker is looking
for problems to exploit. This means keeping watch on discussion groups and web sites from each and every
vendor whose products your organization utilizes. Plus, you need to watch the third-party security oversight
discussion groups and web sites to learn about issues that vendors are failing to make public or that don't yet
have easy solutions. These include places like securityfocus.com, US CERT, hackerstorm.com, and
hackerwatch.org.
8. Being Patient and Persistent
Hacking into a company network is not typically an activity someone undertakes and completes in a short period
of time. Hackers often research their targets for weeks or months, before starting their first tentative logical
interactions against their target with scanners, banner-grabbing tools, and crawling utilities. And even then,
their initial activities are mostly subtle probing to verify the data they gathered through their intensive
"offline" research. Once hackers have crafted a profile of your organization, they must then select a specific
attack point, design the attack, test and drill the attack, improve the attack, schedule the attack, and, finally,
launch the attack.
In most cases, a hacker's goal is not to bang on your network so that you become aware of their attacks.
Instead, a hacker's goal is to gain entry subtly so that you are unaware that a breach has actually taken place.
The most devastating attacks are those that go undetected for extended periods of time, while the hacker has
extensive control over the environment. An invasion can remain undetected nearly indefinitely if it is executed
by a hacker who is patient and persistent. Hacking is often most successful when performed one small step at
a time and with significant periods of time between each step attempt - at least up to the point of a successful
breach. Once hackers have gained entry, they quickly deposit tools to hide their presence and grant them
greater degrees of control over your environment. Once these hacker tools are planted, hidden, and made
active, the hackers are free to come and go as they please.
Likewise, protecting against a hacker intrusion is also about patients and persistence. You must be able to
watch even the most minor activities on your network with standard auditing processes as well as an auto-
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 6
mated IDS/IPS system. Never allow any anomaly to go uninvestigated. Use common sense, follow the best
business practices recommended by security professionals, and keep current on patches, updates, and system
improvements.
However, realize that security is not a goal that can be fully obtained. There is no perfectly secure environment.
Every security mechanism can be fooled, overcome, disabled, bypassed, exploited, or made worthless. Hacking
successfully often means the hacker is more persistent than the security professional protecting an environment.
Ultimately, it is an arms race to see who blinks or falls behind first. With enough time, the right tools,
sufficient expertise and skill, mounting information collection, and persistence, a hacker can and will find a
way to breach any and every security system.
9. Confidence Games
The good news about hacking today is that many security mechanisms are very effective against most hacking
attempts. Firewalls, IDSes, IPSes, and anti-malware scanners have made intrusions and hacking a difficult task.
However, the bad news is many hackers have expanded their idea of what hacking means to include social
engineering: hackers are going after the weakest link in any organization's security—the people.
People are always the biggest problem with security because they are the only element within the secured
environment that has the ability to choose to violate the rules. People can be coerced, tricked, duped, or forced
into violating some aspect of the security system in order to grant a hacker access. The age-old problem of
people exploiting other people by taking advantage of human nature has returned as a means to bypass modern
security technology.
Protection against social engineering is primarily education. Training personnel about what to look for and to
report all abnormal or awkward interactions can be effective countermeasures. But this is only true if everyone
in the organization realizes that they are a social engineering target. In fact, the more a person believes that
their position in the company is so minor that they would not be a worthwhile target, the more they are actually
the preferred targets of the hacker.
10. Already Being on the Inside
All too often when hacking is discussed, it is assumed that the hacker is some unknown outsider. However,
studies have shown that a majority of security violations actually are caused by internal employees. So, one of
the most effective ways for a hacker to breach security is to be an employee. This can be read in two different
ways. First, the hacker can get a job at the target company and then exploit that access once they gain the
trust of the organization. Second, an existing employee can become disgruntled and choose to cause harm to
the company as a form of revenge or retribution.
In either case, when someone on the inside decides to attack the company network, many of the security
defenses erected against outside hacking and intrusion are often ineffective. Instead, internal defenses specific
to managing internal threats need to be deployed. This could include keystroke monitoring, tighter enforcement
of the principle of least privilege, preventing users from installing software, not allowing any external
removable media source, disabling all USB ports, extensive auditing, host-based IDS/IPS, and Internet filtering
and monitoring.
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 7
Conclusion
There are many possible ways that a hacker can gain access to a seemingly secured environment. It is the
responsibility of everyone within an organization to support security efforts and to watch for abnormal events.
We need to secure IT environments to the best of our abilities and budgets while watching for the inevitable
breach attempt. In this continuing arms race, vigilance is required, persistence is necessary, and knowledge is
invaluable.
Learn More
Learn more about how you can improve productivity, enhance efficiency, and sharpen your competitive edge.
Check out the following Global Knowledge courses:
Essentials of Network Security
Certified Ethical Hacker (CEH)
Foundstone Essentials of Hacking
Foundstone Ultimate Hacking
Foundstone Ultimate Hacking: Expert
For more information or to register, visit www.globalknowledge.com or call 1-800-COURSES to speak with a
sales representative.
Our courses and enhanced, hands-on labs offer practical skills and tips that you can immediately put to use.
Our expert instructors draw upon their experiences to help you understand key concepts and how to apply
them to your specific work situation. Choose from our more than 700 courses, delivered through Classrooms,
e-Learning, and On-site sessions, to meet your IT and management training needs.
About the Author
James Michael Stewart has been working with computers and technology for more than 20 years. As a Global
Knowledge Instructor he has been teaching CEH and CHFI courses. He has also focused on Windows
2003/XP/2000, certification, and security in the classroom. In addition, Michael has authored numerous books
on security, certification, and administration topics. He is a regular instructor at Interop. Michael holds the following
certifications: CISSP, ISSAP, SSCP, MCT, CEI, CEH, CHFI, TICSA, CIW SA, Security+, MCSE+Security
Windows 2000, MCSA Windows Sever 2003, MCDST, MCSE NT & W2K, MCP+I, Network+, iNet+.
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 8
Introduction
Hacking, cracking, and cyber crimes are hot topics these days and will continue to be for the foreseeable future.
However, there are steps you can take to reduce your organization's threat level. The first step is to understand
what risks, threats, and vulnerabilities currently exist in your environment. The second step is to learn as much
as possible about the problems so you can formulate a solid response. The third step is to intelligently deploy
your selected countermeasures and safeguards to erect protections around your most mission-critical assets. This
white paper discusses ten common methods hackers use to breach your existing security.
1. Stealing Passwords
Security experts have been discussing the problems with password security for years. But it seems that few
have listened and taken action to resolve those problems. If your IT environment controls authentication using
passwords only, it is at greater risk for intrusion and hacking attacks than those that use some form of multifactor
authentication.
The problem lies with the ever-increasing abilities of computers to process larger amounts of data in a smaller
amount of time. A password is just a string of characters, typically only keyboard characters, which a person
must remember and type into a computer terminal when required. Unfortunately, passwords that are too complex
for a person to remember easily can be discovered by a cracking tool in a frighteningly short period of
time. Dictionary attacks, brute force attacks, and hybrid attacks are all various methods used to guess or crack
passwords. The only real protection against such threats is to make very long passwords or use multiple factors
for authentication. Unfortunately, requiring ever longer passwords causes a reversing of security due to the
human factor. People simply are not equipped to remember numerous long strings of chaotic characters.
But even with reasonably long passwords that people can remember, such as 12 to 16 characters, there are
still other problems facing password-only authentication systems. These include:
• People who use the same password on multiple accounts, especially when some of those accounts are
on public Internet sites with little to no security.
• People who write their passwords down and store them in obvious places. Writing down passwords is
often encouraged by the need to frequently change passwords.
• The continued use of insecure protocols that transfer passwords in clear text, such as those used for
Web surfing, e-mail, chat, file transfer, etc.
• The threat of software and hardware keystroke loggers.
• The problem of shoulder surfing or video surveillance.
James Michael Steward, Global Knowledge Instructor
Ten Ways Hackers Breach Security
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 2
Password theft, password cracking, and even password guessing are still serious threats to IT environments.
The best protection against these threats is to deploy multifactor authentication systems and to train personnel
regarding safe password habits.
2.Trojan Horses
A Trojan horse is a continuing threat to all forms of IT communication. Basically, a Trojan horse is a malicious
payload surreptitiously delivered inside a benign host. You are sure to have heard of some of the famous
Trojan horse malicious payloads such as Back Orifice, NetBus, and SubSeven. But the real threat of Trojan horses
is not the malicious payloads you know about, its ones you don't. A Trojan horse can be built or crafted by
anyone with basic computer skills. Any malicious payload can be combined with any benign software to create
a Trojan horse. There are countless ways of crafting and authoring tools designed to do just that. Thus, the real
threat of Trojan horse attack is the unknown.
The malicious payload of a Trojan horse can be anything. This includes programs that destroy hard drives, corrupt
files, record keystrokes, monitor network traffic, track Web usage, duplicate e-mails, allow remote control
and remote access, transmit data files to others, launch attacks against other targets, plant proxy servers, host
file sharing services, and more. Payloads can be grabbed off the Internet or can be just written code authored
by the hacker. Then, this payload can be embedded into any benign software to create the Trojan horse.
Common hosts include games, screensavers, greeting card systems, admin utilities, archive formats, and even
documents.
All a Trojan horse attack needs to be successful is a single user to execute the host program. Once that is
accomplished, the malicious payload is automatically launched as well, usually without any symptoms of
unwanted activity. A Trojan horse could be delivered via e-mail as an attachment, it could be presented on a
Web site as a download, or it could be placed on a removable media (memory card, CD/DVD, USB stick, floppy,
etc.). In any case, your protections are automated malicious code detection tools, such as modern anti-virus
protections and other specific forms of malware scanners, and user education.
3. Exploiting Defaults
Nothing makes attacking a target network easier than when that target is using the defaults set by the vendor
or manufacturer. Many attack tools and exploit scripts assume that the target is configured using the default
settings. Thus, one of the most effective and often overlooked security precautions is simply to change the
defaults.
To see the scope of this problem, all you need to do is search the Internet for sites using the keywords "default
passwords". There are numerous sites that catalog all of the default user names, passwords, access codes, settings,
and naming conventions of every software and hardware IT product ever sold. It is your responsibility to
know about the defaults of the products you deploy and make every effort to change those defaults to nonobvious
alternatives.
But it is not just account and password defaults you need to be concerned with, there are also the installation
defaults such as path names, folder names, components, services, configurations, and settings. Each and every
possible customizable option should be considered for customization. Try to avoid installing operating systems
into the default drives and folders set by the vendor. Don't install applications and other software into their
"standard" locations. Don't accept the folder names offered by the installation scripts or wizards. The more
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 3
you can customize your installations, configurations, and settings, the more your system will be incompatible
with attack tools and exploitation scripts.
4. Man-in-the-Middle Attacks
Every single person reading this white paper has been a target of numerous man-in-the-middle attacks. A
MITM attack occurs when an attacker is able to fool a user into establishing a communication link with a server
or service through a rogue entity. The rogue entity is the system controlled by the hacker. It has been set up
to intercept the communication between user and server without letting the user become aware that the misdirection
attack has taken place. A MITM attack works by somehow fooling the user, their computer, or some
part of the user's network into re-directing legitimate traffic to the illegitimate rogue system.
A MITM attack can be as simple as a phishing e-mail attack where a legitimate looking e-mail is sent to a user
with a URL link pointed towards the rogue system instead of the real site. The rogue system has a look-alike
interface that tricks the user into providing their logon credentials. The logon credentials are then duplicated
and sent on to the real server. This action opens a link with the real server, allowing the user to interact with
their resources without the knowledge that their communications have taken a detour through a malicious
system that is eavesdropping on and possibly altering the traffic.
MITM attacks can also be waged using more complicated methods, including MAC (Media Access Control)
duplication, ARP (Address Resolution Protocol) poisoning, router table poisoning, fake routing tables, DNS
(Domain Name Server) query poisoning, DNS hijacking, rogue DNS servers, HOSTS file alteration, local DNS
cache poisoning, and proxy re-routing. And that doesn't mention URL obfuscation, encoding, or manipulation
that is often used to hide the link misdirection.
To protect yourself against MITM attacks, you need to avoid clicking on links found in e-mails. Furthermore,
always verify that links from Web sites stay within trusted domains or still maintain SSL encryption. Also,
deploy IDS (Intrusion Detection System) systems to monitor network traffic as well as DNS and local system
alterations.
5.Wireless Attacks
Wireless networks have the appeal of freedom from wires - the ability to be mobile within your office while
maintaining network connectivity. Wireless networks are inexpensive to deploy and easy to install.
Unfortunately, the true cost of wireless networking is not apparent until security is considered. It is often the
case that the time, effort, and expense required to secure wireless networks is significantly more than deploying
a traditional wired network.
Interference, DOS, hijacking, man-in-the-middle, eavesdropping, sniffing, and many more attacks are made simple
for attackers when wireless networks are present. That doesn't even mention the issue that a secured
wireless network (802.11a or 802.11g) will typically support under 14 Mbps of throughput, and then only
under the most ideal transmission distances and conditions. Compare that with the standard of a minimum of
100 Mbps for a wired network, and the economy just doesn't make sense.
However, even if your organization does not officially sanction and deploy a wireless network, you may still
have wireless network vulnerabilities. Many organizations have discovered that workers have taken it upon
themselves to secretly deploy their own wireless network. They can do this by bringing in their own wireless
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 4
access point (WAP), plugging in their desktop's network cable into the WAP, then re-connecting their desktop
to one of the router/switch ports of the WAP. This retains their desktop's connection to the network, plus it
adds wireless connectivity. All too often when an unapproved WAP is deployed, it is done with little or no
security enabled on the WAP. Thus, a $50 WAP can easily open up a giant security hole in a multi-million dollar
secured-wired network.
To combat unapproved wireless access points, a regular site survey needs to be performed. This can be done
with a notebook using a wireless detector such as NetStumbler or with a dedicated hand-held device.
6. Doing their Homework
I don't mean that hackers break into your network by getting their school work done, but you might be surprised
how much they learn from school about how to compromise security. Hackers, especially external
hackers, learn how to overcome your security barriers by researching your organization. This process can be
called reconnaissance, discovery, or footprinting. Ultimately, it is intensive, focused research into all information
available about your organization from public and non-so-public resources.
If you've done any research or reading into warfare tactics, you are aware that the most important weapon
you can have at your disposal is information. Hackers know this and spend considerable time and effort
acquiring a complete arsenal. What is often disconcerting is how much your organization freely contributes to
the hacker's weapon stockpile. Most organizations are hemorrhaging data; companies freely give away too
much information that can be used against them in various types of logical and physical attacks. Here are just
a few common examples of what a hacker can learn about your organization, often in minutes:
• The names of your top executives and any flashy employees you have by perusing your archive of press
releases.
• The company address, phone number, and fax number from domain name registration.
• The service provider for Internet access through DNS lookup and traceroute.
• Employee home addresses, phone numbers, employment history, family members, previous addresses,
criminal record, driving history, and more by looking up their names in various free and paid background
research sites.
• The operating systems, major programs, programming languages, specialized platforms, network device
vendors, and more from job site postings.
• Physical weaknesses, vantage points, lines of sight, entry ways, covert access paths, and more from
satellite images of your company and employee addresses.
• Usernames, e-mail addresses, phone numbers, directory structure, filenames, OS type,Web server platform,
scripting languages,Web application environments, and more from Web site scanners.
• Confidential documents accidentally posted to a Web site from archive.org and Google hacking.
• Flaws in your products, problems with staff, internal issues, company politics, and more from blogs,
product reviews, company critiques, and competitive intelligence services.
As you can see, there is no end to the information that a hacker can obtain from public open sources. This list
of examples is only a beginning. Each kernel of truth discovered often leads the hacker to unearth more. Often,
a hacker will spend over 90% of their time in information-gathering activities. The more the attacker learns
about the target, the easier the subsequent attack becomes.
As for defense, you are ultimately at a loss—mainly because it is already too late. Once information is out on
the Internet, it is always out there. You can obviously clean up and sterilize any information resource currently
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 5
under your direct control. You can even contact third-party information repositories to request that they
change your information. Some online data systems, such as domain registrars, offer privacy and security services
(for a fee, of course). You can also control or limit the output of information in the future by being more
discrete in your announcements, product details, press releases, etc.
However, it is the information that you can't change or remove from the Internet that will continue to erode
your security. The only way to manage uncontrollable information is to alter your environment so that it is no
longer correct or relevant. Think of this as a new way to deviate from defaults or at least deviate from the previous
known.
7. Monitoring Vulnerability Research
Hackers have access to the same vulnerability research that you do. They are able to read Web sites, discussion
lists, blogs, and other public information services about known problems, issues, and vulnerabilities with hardware
and software. The more the hacker can discover about possible attack points, the more likely it is that he
can discover a weakness you've yet to patch, protect, or even become aware of.
To combat vulnerability research on the part of the hacker, you have to be just as vigilant as the hacker. You
have to be looking for the problems in order to protect against them just as intently as the hacker is looking
for problems to exploit. This means keeping watch on discussion groups and web sites from each and every
vendor whose products your organization utilizes. Plus, you need to watch the third-party security oversight
discussion groups and web sites to learn about issues that vendors are failing to make public or that don't yet
have easy solutions. These include places like securityfocus.com, US CERT, hackerstorm.com, and
hackerwatch.org.
8. Being Patient and Persistent
Hacking into a company network is not typically an activity someone undertakes and completes in a short period
of time. Hackers often research their targets for weeks or months, before starting their first tentative logical
interactions against their target with scanners, banner-grabbing tools, and crawling utilities. And even then,
their initial activities are mostly subtle probing to verify the data they gathered through their intensive
"offline" research. Once hackers have crafted a profile of your organization, they must then select a specific
attack point, design the attack, test and drill the attack, improve the attack, schedule the attack, and, finally,
launch the attack.
In most cases, a hacker's goal is not to bang on your network so that you become aware of their attacks.
Instead, a hacker's goal is to gain entry subtly so that you are unaware that a breach has actually taken place.
The most devastating attacks are those that go undetected for extended periods of time, while the hacker has
extensive control over the environment. An invasion can remain undetected nearly indefinitely if it is executed
by a hacker who is patient and persistent. Hacking is often most successful when performed one small step at
a time and with significant periods of time between each step attempt - at least up to the point of a successful
breach. Once hackers have gained entry, they quickly deposit tools to hide their presence and grant them
greater degrees of control over your environment. Once these hacker tools are planted, hidden, and made
active, the hackers are free to come and go as they please.
Likewise, protecting against a hacker intrusion is also about patients and persistence. You must be able to
watch even the most minor activities on your network with standard auditing processes as well as an auto-
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 6
mated IDS/IPS system. Never allow any anomaly to go uninvestigated. Use common sense, follow the best
business practices recommended by security professionals, and keep current on patches, updates, and system
improvements.
However, realize that security is not a goal that can be fully obtained. There is no perfectly secure environment.
Every security mechanism can be fooled, overcome, disabled, bypassed, exploited, or made worthless. Hacking
successfully often means the hacker is more persistent than the security professional protecting an environment.
Ultimately, it is an arms race to see who blinks or falls behind first. With enough time, the right tools,
sufficient expertise and skill, mounting information collection, and persistence, a hacker can and will find a
way to breach any and every security system.
9. Confidence Games
The good news about hacking today is that many security mechanisms are very effective against most hacking
attempts. Firewalls, IDSes, IPSes, and anti-malware scanners have made intrusions and hacking a difficult task.
However, the bad news is many hackers have expanded their idea of what hacking means to include social
engineering: hackers are going after the weakest link in any organization's security—the people.
People are always the biggest problem with security because they are the only element within the secured
environment that has the ability to choose to violate the rules. People can be coerced, tricked, duped, or forced
into violating some aspect of the security system in order to grant a hacker access. The age-old problem of
people exploiting other people by taking advantage of human nature has returned as a means to bypass modern
security technology.
Protection against social engineering is primarily education. Training personnel about what to look for and to
report all abnormal or awkward interactions can be effective countermeasures. But this is only true if everyone
in the organization realizes that they are a social engineering target. In fact, the more a person believes that
their position in the company is so minor that they would not be a worthwhile target, the more they are actually
the preferred targets of the hacker.
10. Already Being on the Inside
All too often when hacking is discussed, it is assumed that the hacker is some unknown outsider. However,
studies have shown that a majority of security violations actually are caused by internal employees. So, one of
the most effective ways for a hacker to breach security is to be an employee. This can be read in two different
ways. First, the hacker can get a job at the target company and then exploit that access once they gain the
trust of the organization. Second, an existing employee can become disgruntled and choose to cause harm to
the company as a form of revenge or retribution.
In either case, when someone on the inside decides to attack the company network, many of the security
defenses erected against outside hacking and intrusion are often ineffective. Instead, internal defenses specific
to managing internal threats need to be deployed. This could include keystroke monitoring, tighter enforcement
of the principle of least privilege, preventing users from installing software, not allowing any external
removable media source, disabling all USB ports, extensive auditing, host-based IDS/IPS, and Internet filtering
and monitoring.
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 7
Conclusion
There are many possible ways that a hacker can gain access to a seemingly secured environment. It is the
responsibility of everyone within an organization to support security efforts and to watch for abnormal events.
We need to secure IT environments to the best of our abilities and budgets while watching for the inevitable
breach attempt. In this continuing arms race, vigilance is required, persistence is necessary, and knowledge is
invaluable.
Learn More
Learn more about how you can improve productivity, enhance efficiency, and sharpen your competitive edge.
Check out the following Global Knowledge courses:
Essentials of Network Security
Certified Ethical Hacker (CEH)
Foundstone Essentials of Hacking
Foundstone Ultimate Hacking
Foundstone Ultimate Hacking: Expert
For more information or to register, visit www.globalknowledge.com or call 1-800-COURSES to speak with a
sales representative.
Our courses and enhanced, hands-on labs offer practical skills and tips that you can immediately put to use.
Our expert instructors draw upon their experiences to help you understand key concepts and how to apply
them to your specific work situation. Choose from our more than 700 courses, delivered through Classrooms,
e-Learning, and On-site sessions, to meet your IT and management training needs.
About the Author
James Michael Stewart has been working with computers and technology for more than 20 years. As a Global
Knowledge Instructor he has been teaching CEH and CHFI courses. He has also focused on Windows
2003/XP/2000, certification, and security in the classroom. In addition, Michael has authored numerous books
on security, certification, and administration topics. He is a regular instructor at Interop. Michael holds the following
certifications: CISSP, ISSAP, SSCP, MCT, CEI, CEH, CHFI, TICSA, CIW SA, Security+, MCSE+Security
Windows 2000, MCSA Windows Sever 2003, MCDST, MCSE NT & W2K, MCP+I, Network+, iNet+.
Copyright ©2007 Global Knowledge Training LLC. All rights reserved. Page 8
Subneting Made Easy
IP subnetting is a fundamental subject that’s critical for any IP network engineer to understand, yet students have traditionally had a difficult time grasping it. Over the years, I’ve watched students needlessly struggle through school and in practice when dealing with subnetting because it was never explained to them in an easy-to-understand way. I’ve helped countless individuals learn what subnetting is all about using my own graphical approach and calculator shortcuts, and I’ve put all that experience into this article.
IP addresses and subnets
Although IP stands for Internet Protocol, it’s a communications protocol used from the smallest private network to the massive global Internet. An IP address is a unique identifier given to a single device on an IP network. The IP address consists of a 32-bit number that ranges from 0 to 4294967295. This means that theoretically, the Internet can contain approximately 4.3 billion unique objects. But to make such a large address block easier to handle, it was chopped up into four 8-bit numbers, or “octets,” separated by a period. Instead of 32 binary base-2 digits, which would be too long to read, it’s converted to four base-256 digits. Octets are made up of numbers ranging from 0 to 255. The numbers below show how IP addresses increment.
0.0.0.0
0.0.0.1
...increment 252 hosts...
0.0.0.254
0.0.0.255
0.0.1.0
0.0.1.1
...increment 252 hosts...
0.0.1.254
0.0.1.255
0.0.2.0
0.0.2.1
...increment 4+ billion hosts...
255.255.255.255
The word subnet is short for sub network–a smaller network within a larger one. The smallest subnet that has no more subdivisions within it is considered a single “broadcast domain,” which directly correlates to a single LAN (local area network) segment on an Ethernet switch. The broadcast domain serves an important function because this is where devices on a network communicate directly with each other’s MAC addresses, which don’t route across multiple subnets, let alone the entire Internet. MAC address communications are limited to a smaller network because they rely on ARP broadcasting to find their way around, and broadcasting can be scaled only so much before the amount of broadcast traffic brings down the entire network with sheer broadcast noise. For this reason, the most common smallest subnet is 8 bits, or precisely a single octet, although it can be smaller or slightly larger.
Subnets have a beginning and an ending, and the beginning number is always even and the ending number is always odd. The beginning number is the “Network ID” and the ending number is the “Broadcast ID.” You’re not allowed to use these numbers because they both have special meaning with special purposes. The Network ID is the official designation for a particular subnet, and the ending number is the broadcast address that every device on a subnet listens to. Anytime you want to refer to a subnet, you point to its Network ID and its subnet mask, which defines its size. Anytime you want to send data to everyone on the subnet (such as a multicast), you send it to the Broadcast ID. Later in this article, I’ll show you an easy mathematical and graphical way to determine the Network and Broadcast IDs.
The graphical subnet ruler
Over the years, as I watched people struggle with the subject of IP subnetting, I wanted a better way to teach the subject. I soon realized that many students in IT lacked the necessary background in mathematics and had a hard time with the concept of binary numbers. To help close this gap, I came up with the graphical method of illustrating subnets shown in Figure A. In this example, we’re looking at a range of IP addresses from 10.0.0.0 up to 10.0.32.0. Note that the ending IP of 10.0.32.0 itself is actually the beginning of the next subnet. This network range ends at the number right before it, which is 10.0.31.255.
Figure A

Note that for every bit increase, the size of the subnet doubles in length, along with the number of hosts. The smallest tick mark represents 8 bits, which contains a subnet with 256 hosts–but since you can’t use the first and last IP addresses, there are actually only 254 usable hosts on the network. The easiest way to compute how many usable hosts are in a subnet is to raise 2 to the power of the bit size minus 2. Go up to 9 bits ,and we’re up to 510 usable hosts, because 2 to the 9th is 512, and we don’t count the beginning and ending. Keep on going all the way up to 13 bits, and we’re up to 8,190 usable hosts for the entire ruler shown above.
Learning to properly chop subnets
Subnets can be subdivided into smaller subnets and even smaller ones still. The most important thing to know about chopping up a network is that you can’t arbitrarily pick the beginning and ending. The chopping must be along clean binary divisions. The best way to learn this is to look at my subnet ruler and see what’s a valid subnet. In Figure B, green subnets are valid and red subnets are not.
Figure B

The ruler was constructed like any other ruler, where we mark it down the middle and bisect it. Then, we bisect the remaining sections and with shrinking markers every time we start a new round of bisecting. In the sample above, there were five rounds of bisections. If you look carefully at the edge of any valid (green) subnet blocks, you’ll notice that none of the markers contained within the subnet is higher than the edge’s markers. There is a mathematical reason for this, which we’ll illustrate later, but seeing it graphically will make the math easier to understand.
The role of the subnet mask
The subnet mask plays a crucial role in defining the size of a subnet. Take a look at Figure C. Notice the pattern and pay special attention to the numbers in red. Whenever you’re dealing with subnets, it will come in handy to remember eight special numbers that reoccur when dealing with subnet masks. They are 255, 254, 252, 248, 240, 224, 192, and 128. You’ll see these numbers over and over again in IP networking, and memorizing them will make your life much easier.
Figure C

I’ve included three class sizes. You’ll see the first two classes, with host bit length from 0 to 16, most often. It’s common for DSL and T1 IP blocks to be in the 0- to 8-bit range. Private networks typically work in the 8- to 24-bit range.
Note how the binary mask has all those zeros growing from right to left. The subnet mask in binary form always has all ones to the left and all zeros to the right. The number of zeros is identical to the subnet length. I showed only the portion of the binary subnet in the octet that’s interesting, since all octets to the right consist of zeros and all octets to the left consist of ones. So if we look at the subnet mask where the subnet length is 11 bits long, the full binary subnet mask is 11111111.11111111.11111000.00000000. As you can see under mask octet, the subnet mask transitions from 1 to 0 in the third octet. The particular binary subnet mask translates directly to base-256 form as 255.255.248.0.
The “mask” in subnet mask
The subnet mask not only determines the size of a subnet, but it can also help you pinpoint where the end points on the subnet are if you’re given any IP address within that subnet. The reason it’s called a subnet “mask” is that it literally masks out the host bits and leaves only the Network ID that begins the subnet. Once you know the beginning of the subnet and how big it is, you can determine the end of the subnet, which is the Broadcast ID.
To calculate the Network ID, you simply take any IP address within that subnet and run the AND operator on the subnet mask. Let’s take an IP address of 10.20.237.15 and a subnet mask of 255.255.248.0. Note that this can be and often is written in shorthand as 10.20.237.15/21 because the subnet mask length is 21. Figure D and Figure E show the Decimal and Binary versions of the AND operation.
Figure D

Decimal math
Figure E

Binary math
The binary version shows how the 0s act as a mask on the IP address on top. Inside the masking box, the 0s convert all numbers on top into zeros, no matter what the number is. When you take the resultant binary Network ID and convert it to decimal, you get 10.20.232.0 as the Network ID.
One thing that’s always bothered me about the way subnetting is taught is that students are not shown a simple trick to bypass the need for binary conversions when doing AND operations. I even see IT people in the field using this slow and cumbersome technique to convert everything to binary, run the AND operation, and then convert back to decimal using the Windows Calculator. But there’s a really simple shortcut using the Windows Calculator, since the AND operator works directly on decimal numbers. Simply punch in 237, hit the AND operator, and then 248 and [Enter] to instantly get 232, as shown in Figure F. I’ll never understand why this isn’t explained to students, because it makes mask calculations a lot easier.
Figure F

Since there are 11 zeros in the subnet mask, the subnet is 11 bits long. This means there are 2^11, or 2,048, maximum hosts in the subnet and the last IP in this subnet is 10.20.239.255. You could compute this quickly by seeing there are three zeros in the third octet, which means the third octet of the IP address can have a variance of 2^3, or 8. So the next subnet starts at 10.20.232+8.0, which is 10.20.240.0. If we decrease that by 1, we have 10.20.239.255, which is where this subnet ends. To help you visualize this, Figure G shows it on my subnet ruler.
Figure G

IP classes made simple
For an arbitrary classification of IP subnets, the creators of the Internet chose to break the Internet into multiple classes. Note that these aren’t important as far as your subnet calculations are concerned; this is just how the Internet is “laid out.” The Internet is laid out as Class A, B, C, D, and E. Class A uses up the first half of the entire Internet, Class B uses half of the remaining half, Class C uses the remaining half again, Class D (Multicasting) uses up the remaining half again, and whatever is left over is reserved for Class E. I’ve had students tell me that they struggled with the memorization of IP classes for weeks until they saw this simple table shown in Figure H. This is because you don’t actually need to memorize anything, you just learn the technique for constructing the ruler using half of what’s available.
Figure H

Remember that all subnets start with EVEN numbers and all subnet endings are ODD. Note that 0.0.0.0/8 (0.0.0.0 to 0.255.255.255) isn’t used and 127.0.0.0/8 (127.0.0.0 to 127.255.255.255) is reserved for loopback addresses.
All Class A addresses have their first octet between 1 to 126 because 0 and 127 are reserved. Class A subnets are all 24 bits long, which means the subnet mask is only 8 bits long. For example, we have the entire 3.0.0.0/8 subnet owned by GE, since GE was lucky enough to get in early to be assigned 16.8 million addresses. The U.S. Army owns 6.0.0.0/8. Level 3 Communications owns 8.0.0.0/8. IBM owns 9.0.0.0/8. AT&T owns 12.0.0.0/8. Xerox owns 13.0.0.0/8. HP owns 15.0.0.0/8 and 16.0.0.0/8. Apple owns 17.0.0.0/8.
All Class B addresses have their first octet between 128 and 191. Class B subnets are all 16 bits long, which means the subnet masks are 16 bits long. For example, BBN Communications owns 128.1.0.0/16, which is 128.1.0.0 to 128.1.255.255. Carnegie Mellon University owns 128.2.0.0/16.
All Class C addresses have their first octet between 192 and 223. Class C subnets are all 8 bits long, so the subnet mask is only 24 bits long. Note that ARIN (the organization that assigns Internet addresses) will sell blocks of four Class C addresses only to individual companies and you have to really justify why you need 1,024 Public IP addresses. If you need to run BGP so you can use multiple ISPs for redundancy, you have to have your own block of IP addresses. Also note that this isn’t the old days, where blocks of 16.8 million Class A addresses were handed out for basically nothing. You have to pay an annual fee for your block of 1,024 addresses with a subnet mask of /22, or 255.255.252.0.
The concept of subnet classes can cause harm in actual practice. I’ve actually seen people forget to turn classes off in their old Cisco router and watch large subnet routes get hijacked on a large WAN configured for dynamic routing whenever some routes were added. This is because a Cisco router will assume the subnet mask is the full /8 or /16 or /24 even if you define something in between. All newer Cisco IOS software versions turn off the concept of subnet classes and uses classless routing by default. This is done with the default command “IP Classless.”
Public versus private IP addresses
Besides the reserved IP addresses (0.0.0.0/8 and 127.0.0.0/8) mentioned above, there are other addresses not used on the public Internet. These private subnets consist of private IP addresses and are usually behind a firewall or router that performs NAT (network address translation). NAT is needed because private IP addresses are nonroutable on the public Internet, so they must be translated into public IP addresses before they touch the Internet. Private IPs are never routed because no one really owns them. And since anyone can use them, there’s no right place to point a private IP address to on the public Internet. Private IP addresses are used in most LAN and WAN environments, unless you’re lucky enough to own a Class A or at least a Class B block of addresses, in which case you might have enough IPs to assign internal and external IP addresses.
The following blocks of IP addresses are allocated for private networks:
* 10.0.0.0/8 (10.0.0.0 to 10.255.255.255)
* 172.16.0.0/12 (172.16.0.0 to 172.31.255.255)
* 192.168.0.0/16 (192.168.0.0 to 192.168.255.255)
* 169.254.0.0/16 (169.254.0.0 to 169.254.255.255)*
*Note that 169.254.0.0/16 is a block of private IP addresses used for random self IP assignment where DHCP servers are not available.
10.0.0.0/8 is normally used for larger networks, since there are approximately 16.8 million IP addresses available within that block. They chop it up into lots of smaller groups of subnets for each geographic location, which are then subdivided into even smaller subnets. Smaller companies typically use the 172.16.0.0/12 range, chopped up into smaller subnets, although there’s no reason they can’t use 10.0.0.0/8 if they want to. Home networks typically use a /24 subnet within the 192.168.0.0/16 subnet.
The use of private IP addresses and NAT has prolonged the life of IPv4 for the foreseeable future because it effectively allows a single public IP address to represent thousands of private IP addresses. At the current rate that IPv4 addresses are handed out, we have enough IPv4 addresses for approximately 17 years. ARIN is much more stingy now about handing them out, and small blocks of IP addresses are relatively expensive compared to the old days, when companies like Apple were simply handed a block of 16.8 million addresses. The next version of IP addresses, called IPv6, is 128 bits long–and there are more than 79 thousand trillion trillion times more IP addresses than IPv4. Even if you assigned 4.3 billion people on the planet with 4.3 billion IP addresses each, you would still have more than 18 million trillion IPv6 addresses left!
By techrepublic
IP addresses and subnets
Although IP stands for Internet Protocol, it’s a communications protocol used from the smallest private network to the massive global Internet. An IP address is a unique identifier given to a single device on an IP network. The IP address consists of a 32-bit number that ranges from 0 to 4294967295. This means that theoretically, the Internet can contain approximately 4.3 billion unique objects. But to make such a large address block easier to handle, it was chopped up into four 8-bit numbers, or “octets,” separated by a period. Instead of 32 binary base-2 digits, which would be too long to read, it’s converted to four base-256 digits. Octets are made up of numbers ranging from 0 to 255. The numbers below show how IP addresses increment.
0.0.0.0
0.0.0.1
...increment 252 hosts...
0.0.0.254
0.0.0.255
0.0.1.0
0.0.1.1
...increment 252 hosts...
0.0.1.254
0.0.1.255
0.0.2.0
0.0.2.1
...increment 4+ billion hosts...
255.255.255.255
The word subnet is short for sub network–a smaller network within a larger one. The smallest subnet that has no more subdivisions within it is considered a single “broadcast domain,” which directly correlates to a single LAN (local area network) segment on an Ethernet switch. The broadcast domain serves an important function because this is where devices on a network communicate directly with each other’s MAC addresses, which don’t route across multiple subnets, let alone the entire Internet. MAC address communications are limited to a smaller network because they rely on ARP broadcasting to find their way around, and broadcasting can be scaled only so much before the amount of broadcast traffic brings down the entire network with sheer broadcast noise. For this reason, the most common smallest subnet is 8 bits, or precisely a single octet, although it can be smaller or slightly larger.
Subnets have a beginning and an ending, and the beginning number is always even and the ending number is always odd. The beginning number is the “Network ID” and the ending number is the “Broadcast ID.” You’re not allowed to use these numbers because they both have special meaning with special purposes. The Network ID is the official designation for a particular subnet, and the ending number is the broadcast address that every device on a subnet listens to. Anytime you want to refer to a subnet, you point to its Network ID and its subnet mask, which defines its size. Anytime you want to send data to everyone on the subnet (such as a multicast), you send it to the Broadcast ID. Later in this article, I’ll show you an easy mathematical and graphical way to determine the Network and Broadcast IDs.
The graphical subnet ruler
Over the years, as I watched people struggle with the subject of IP subnetting, I wanted a better way to teach the subject. I soon realized that many students in IT lacked the necessary background in mathematics and had a hard time with the concept of binary numbers. To help close this gap, I came up with the graphical method of illustrating subnets shown in Figure A. In this example, we’re looking at a range of IP addresses from 10.0.0.0 up to 10.0.32.0. Note that the ending IP of 10.0.32.0 itself is actually the beginning of the next subnet. This network range ends at the number right before it, which is 10.0.31.255.
Figure A
Note that for every bit increase, the size of the subnet doubles in length, along with the number of hosts. The smallest tick mark represents 8 bits, which contains a subnet with 256 hosts–but since you can’t use the first and last IP addresses, there are actually only 254 usable hosts on the network. The easiest way to compute how many usable hosts are in a subnet is to raise 2 to the power of the bit size minus 2. Go up to 9 bits ,and we’re up to 510 usable hosts, because 2 to the 9th is 512, and we don’t count the beginning and ending. Keep on going all the way up to 13 bits, and we’re up to 8,190 usable hosts for the entire ruler shown above.
Learning to properly chop subnets
Subnets can be subdivided into smaller subnets and even smaller ones still. The most important thing to know about chopping up a network is that you can’t arbitrarily pick the beginning and ending. The chopping must be along clean binary divisions. The best way to learn this is to look at my subnet ruler and see what’s a valid subnet. In Figure B, green subnets are valid and red subnets are not.
Figure B
The ruler was constructed like any other ruler, where we mark it down the middle and bisect it. Then, we bisect the remaining sections and with shrinking markers every time we start a new round of bisecting. In the sample above, there were five rounds of bisections. If you look carefully at the edge of any valid (green) subnet blocks, you’ll notice that none of the markers contained within the subnet is higher than the edge’s markers. There is a mathematical reason for this, which we’ll illustrate later, but seeing it graphically will make the math easier to understand.
The role of the subnet mask
The subnet mask plays a crucial role in defining the size of a subnet. Take a look at Figure C. Notice the pattern and pay special attention to the numbers in red. Whenever you’re dealing with subnets, it will come in handy to remember eight special numbers that reoccur when dealing with subnet masks. They are 255, 254, 252, 248, 240, 224, 192, and 128. You’ll see these numbers over and over again in IP networking, and memorizing them will make your life much easier.
Figure C
I’ve included three class sizes. You’ll see the first two classes, with host bit length from 0 to 16, most often. It’s common for DSL and T1 IP blocks to be in the 0- to 8-bit range. Private networks typically work in the 8- to 24-bit range.
Note how the binary mask has all those zeros growing from right to left. The subnet mask in binary form always has all ones to the left and all zeros to the right. The number of zeros is identical to the subnet length. I showed only the portion of the binary subnet in the octet that’s interesting, since all octets to the right consist of zeros and all octets to the left consist of ones. So if we look at the subnet mask where the subnet length is 11 bits long, the full binary subnet mask is 11111111.11111111.11111000.00000000. As you can see under mask octet, the subnet mask transitions from 1 to 0 in the third octet. The particular binary subnet mask translates directly to base-256 form as 255.255.248.0.
The “mask” in subnet mask
The subnet mask not only determines the size of a subnet, but it can also help you pinpoint where the end points on the subnet are if you’re given any IP address within that subnet. The reason it’s called a subnet “mask” is that it literally masks out the host bits and leaves only the Network ID that begins the subnet. Once you know the beginning of the subnet and how big it is, you can determine the end of the subnet, which is the Broadcast ID.
To calculate the Network ID, you simply take any IP address within that subnet and run the AND operator on the subnet mask. Let’s take an IP address of 10.20.237.15 and a subnet mask of 255.255.248.0. Note that this can be and often is written in shorthand as 10.20.237.15/21 because the subnet mask length is 21. Figure D and Figure E show the Decimal and Binary versions of the AND operation.
Figure D
Decimal math
Figure E
Binary math
The binary version shows how the 0s act as a mask on the IP address on top. Inside the masking box, the 0s convert all numbers on top into zeros, no matter what the number is. When you take the resultant binary Network ID and convert it to decimal, you get 10.20.232.0 as the Network ID.
One thing that’s always bothered me about the way subnetting is taught is that students are not shown a simple trick to bypass the need for binary conversions when doing AND operations. I even see IT people in the field using this slow and cumbersome technique to convert everything to binary, run the AND operation, and then convert back to decimal using the Windows Calculator. But there’s a really simple shortcut using the Windows Calculator, since the AND operator works directly on decimal numbers. Simply punch in 237, hit the AND operator, and then 248 and [Enter] to instantly get 232, as shown in Figure F. I’ll never understand why this isn’t explained to students, because it makes mask calculations a lot easier.
Figure F
Since there are 11 zeros in the subnet mask, the subnet is 11 bits long. This means there are 2^11, or 2,048, maximum hosts in the subnet and the last IP in this subnet is 10.20.239.255. You could compute this quickly by seeing there are three zeros in the third octet, which means the third octet of the IP address can have a variance of 2^3, or 8. So the next subnet starts at 10.20.232+8.0, which is 10.20.240.0. If we decrease that by 1, we have 10.20.239.255, which is where this subnet ends. To help you visualize this, Figure G shows it on my subnet ruler.
Figure G
IP classes made simple
For an arbitrary classification of IP subnets, the creators of the Internet chose to break the Internet into multiple classes. Note that these aren’t important as far as your subnet calculations are concerned; this is just how the Internet is “laid out.” The Internet is laid out as Class A, B, C, D, and E. Class A uses up the first half of the entire Internet, Class B uses half of the remaining half, Class C uses the remaining half again, Class D (Multicasting) uses up the remaining half again, and whatever is left over is reserved for Class E. I’ve had students tell me that they struggled with the memorization of IP classes for weeks until they saw this simple table shown in Figure H. This is because you don’t actually need to memorize anything, you just learn the technique for constructing the ruler using half of what’s available.
Figure H
Remember that all subnets start with EVEN numbers and all subnet endings are ODD. Note that 0.0.0.0/8 (0.0.0.0 to 0.255.255.255) isn’t used and 127.0.0.0/8 (127.0.0.0 to 127.255.255.255) is reserved for loopback addresses.
All Class A addresses have their first octet between 1 to 126 because 0 and 127 are reserved. Class A subnets are all 24 bits long, which means the subnet mask is only 8 bits long. For example, we have the entire 3.0.0.0/8 subnet owned by GE, since GE was lucky enough to get in early to be assigned 16.8 million addresses. The U.S. Army owns 6.0.0.0/8. Level 3 Communications owns 8.0.0.0/8. IBM owns 9.0.0.0/8. AT&T owns 12.0.0.0/8. Xerox owns 13.0.0.0/8. HP owns 15.0.0.0/8 and 16.0.0.0/8. Apple owns 17.0.0.0/8.
All Class B addresses have their first octet between 128 and 191. Class B subnets are all 16 bits long, which means the subnet masks are 16 bits long. For example, BBN Communications owns 128.1.0.0/16, which is 128.1.0.0 to 128.1.255.255. Carnegie Mellon University owns 128.2.0.0/16.
All Class C addresses have their first octet between 192 and 223. Class C subnets are all 8 bits long, so the subnet mask is only 24 bits long. Note that ARIN (the organization that assigns Internet addresses) will sell blocks of four Class C addresses only to individual companies and you have to really justify why you need 1,024 Public IP addresses. If you need to run BGP so you can use multiple ISPs for redundancy, you have to have your own block of IP addresses. Also note that this isn’t the old days, where blocks of 16.8 million Class A addresses were handed out for basically nothing. You have to pay an annual fee for your block of 1,024 addresses with a subnet mask of /22, or 255.255.252.0.
The concept of subnet classes can cause harm in actual practice. I’ve actually seen people forget to turn classes off in their old Cisco router and watch large subnet routes get hijacked on a large WAN configured for dynamic routing whenever some routes were added. This is because a Cisco router will assume the subnet mask is the full /8 or /16 or /24 even if you define something in between. All newer Cisco IOS software versions turn off the concept of subnet classes and uses classless routing by default. This is done with the default command “IP Classless.”
Public versus private IP addresses
Besides the reserved IP addresses (0.0.0.0/8 and 127.0.0.0/8) mentioned above, there are other addresses not used on the public Internet. These private subnets consist of private IP addresses and are usually behind a firewall or router that performs NAT (network address translation). NAT is needed because private IP addresses are nonroutable on the public Internet, so they must be translated into public IP addresses before they touch the Internet. Private IPs are never routed because no one really owns them. And since anyone can use them, there’s no right place to point a private IP address to on the public Internet. Private IP addresses are used in most LAN and WAN environments, unless you’re lucky enough to own a Class A or at least a Class B block of addresses, in which case you might have enough IPs to assign internal and external IP addresses.
The following blocks of IP addresses are allocated for private networks:
* 10.0.0.0/8 (10.0.0.0 to 10.255.255.255)
* 172.16.0.0/12 (172.16.0.0 to 172.31.255.255)
* 192.168.0.0/16 (192.168.0.0 to 192.168.255.255)
* 169.254.0.0/16 (169.254.0.0 to 169.254.255.255)*
*Note that 169.254.0.0/16 is a block of private IP addresses used for random self IP assignment where DHCP servers are not available.
10.0.0.0/8 is normally used for larger networks, since there are approximately 16.8 million IP addresses available within that block. They chop it up into lots of smaller groups of subnets for each geographic location, which are then subdivided into even smaller subnets. Smaller companies typically use the 172.16.0.0/12 range, chopped up into smaller subnets, although there’s no reason they can’t use 10.0.0.0/8 if they want to. Home networks typically use a /24 subnet within the 192.168.0.0/16 subnet.
The use of private IP addresses and NAT has prolonged the life of IPv4 for the foreseeable future because it effectively allows a single public IP address to represent thousands of private IP addresses. At the current rate that IPv4 addresses are handed out, we have enough IPv4 addresses for approximately 17 years. ARIN is much more stingy now about handing them out, and small blocks of IP addresses are relatively expensive compared to the old days, when companies like Apple were simply handed a block of 16.8 million addresses. The next version of IP addresses, called IPv6, is 128 bits long–and there are more than 79 thousand trillion trillion times more IP addresses than IPv4. Even if you assigned 4.3 billion people on the planet with 4.3 billion IP addresses each, you would still have more than 18 million trillion IPv6 addresses left!
By techrepublic
make cgi work on your apache
addit your httpd.conf.
put this
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
cd /path/to/your/cgi-bin/yourcgi
Now you will want to create a .htaccess file to password protect the yourcgi interface.
chown www .htaccess (you may need to change the chown to either "nobody", "apache" or "www" etc., depending on what user your installation of Apache is running as)
edit .htaccess
AuthType Basic
AuthUserFile /path/to/where/you/want/to/store/the/password/file/.htpasswd
AuthName username
require valid-user
satisfy any
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
chmod 644 .htaccess
restart apache
put this
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
cd /path/to/your/cgi-bin/yourcgi
Now you will want to create a .htaccess file to password protect the yourcgi interface.
chown www .htaccess (you may need to change the chown to either "nobody", "apache" or "www" etc., depending on what user your installation of Apache is running as)
edit .htaccess
AuthType Basic
AuthUserFile /path/to/where/you/want/to/store/the/password/file/.htpasswd
AuthName username
require valid-user
satisfy any
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
chmod 644 .htaccess
restart apache
what is MPLS
Copyright ©2009 Global Knowledge Training LLC All rights reserved.
J.D. Wegner, Global Knowledge Instructor, Certified Cisco Instructor
Introduction
Multiprotocol Label Switching (MPLS) began life as a way for routers to short-cut the time-consuming process
of treating each packet independently, looking up the target IP address each time and in every router along
the path. In an MPLS network, the ingress router does a standard lookup and assigns a numeric label to the
packet. Core routers then examine the label and forward the packet according to the label. All packets with the
same label are forwarded the same way. This relieves the core routers of much processing, making the overall
network more efficient.
Because the labels are just numbers, they can be assigned according to any criteria the router software supports.
This feature give MPLS an extraordinary ability to support many networking applications. Some examples of
MPLS applications, in addition to basic IP destination-based routing, including
• VPN membership
• QoS
• Traffic Engineering
• Emulation of any Layer-2 technology
Service providers and enterprises are implementing MPLS to provide their customers with flexible networking
services.
What Is MPLS?
Traditional routers forward packets by examining the network-layer header (typically the destination IP address),
searching for the best matching entry in the routing table, and forwarding the packet through the specified
interface to the next hop router. This process is time-consuming and is repeated for each packet at each router
along the path. Because no state is maintained from packet to packet, the system is highly scalable, but inefficient.
MPLS streamlines the packet forwarding process by introducing a label into the packet. The MPLS label is assigned
by the ingress edge router based on a Forwarding Equivalence Class (FEC) which represents a series of
packets to be forwarded in the same manner, over the same path, to the same destination. In basic IP routing,
for example, a label is assigned to each target IP network that the MPLS domain knows about. An FEC could
also be associated with specific classes of service for QoS processing, or with a VPN. The beauty of MPLS is that
the label itself has no meaning other than what the software gives it. Therefore, the label can be used to imple-
Copyright ©2009 Global Knowledge Training LLC All rights reserved. 3
ment any forwarding treatment that comes to mind. By allowing multiple labels to be stacked within a packet,
MPLS permits multiple applications, such as QoS and VPNs, to be combined. Once a packet has entered the
MPLS domain, the routers use a simple and fast label lookup process to forward the packet to its next hop. In
the Cisco implementation, MPLS leverages the Cisco Express Forwarding (CEF) feature to optimize label lookup
and forwarding.
For MPLS to operate, labels must be generated, stored, and distributed. The Label Distribution Protocol (LDP)
handles the generation and distribution of labels for basic IP forwarding and other applications, and the Label
Information Base (LIB) stores the labels generated locally and received from LDP neighbors. LDP is generally
enabled on each MPLS interface. Other labels, as required by various applications, are generated and distributed
through other protocols. For example, Multi-Protocol Border Gateway Protocol (MP-BGP) assigns and distributes
labels used for VPN forwarding, and the Resource Reservation Protocol (RSVP) does the same for traffic
engineering.
What Does MPLS Do for Me?
MPLS began life as Tag Switching, a method to decrease processing load and therefore, latency, in the core routers
of a network. Since then, router vendors have implemented technologies such as Cisco’s Express Forwarding
(CEF) to allow for wire-speed processing at layers two and three. Today, these technologies provide much more
of a performance boost than Tag Switching or MPLS can give. The main reason to implement MPLS today is to
provide a foundation upon which you can build services to offer your customers.
Service Providers
For networking service providers, moving to MPLS is a clear win.
Simplified Architecture. The service providers’ networks can be simplified to a two-level hierarchy. Edge
routers are the work-horses of the network. They exchange routing updates with the customer edge routers,
communicate those customer routes to other edge routers using BGP, and exchange internal routes typically using
OSPF or IS-IS with the core routers. When encountering IP traffic, they perform traditional routing table lookups
and either impose or strip off the MPLS labels. The core routers have a simpler task. They merely exchange
internal routes with other core and edge routers. For traffic forwarding, they use pure MPLS label lookup.
Ease of Provisioning. In a traditional Frame-Relay network, the provider must configure each and every
router that participates in the path of a Virtual Circuit. Since MPLS networks participate in customer routing,
the customers have optimal site-to-site routing in a full mesh by default. To provision MPLS VPNs, the provider
need merely to configure the participating edge routers. This gives the providers the ability to respond quickly to
customer requests and spend fewer resources provisioning and maintaining customer connectivity.
Additional Services. Once a provider builds out the MPLS network, additional services and applications can
be built on top of it relatively easily. Customers are needful of, and will pay for, services such as QoS, Service-
Level Agreements (SLAs), Virtual Private LAN Services (VPLS), pseudowires, and others.
Copyright ©2009 Global Knowledge Training LLC All rights reserved. 4
Enterprise Networks
Designers of large enterprise networks are considering MPLS for the same reasons as service providers – ease of
design and provisioning, and added value for the network users.
A common misconception occurs, however, when enterprises choose to use MPLS-based service providers.
That misconception is that such an enterprise needs to implement MPLS in its own routers. This is not the case.
One of the goals of the MPLS working group was to make the experience of transitioning from Frame Relay or
other WAN technologies as easy as possible for the customer. In fact, the customer can use any existing Layer 2
technology to connect to the MPLS provider. As noted_ above, there may indeed be sound reasons to implement
MPLS in the enterprise network, but it is not necessary to do so.
The one change most MPLS providers insist on today is that the customer use BGP to pass routes to other
sites. This is not strictly required by MPLS, but since the providers themselves use BGP to pass customer routes
through their internal networks, there is less opportunity for miscommunication of routing policies if the
customer uses BGP. Often, this means the customer must brush up on their BGP skills. Global Knowledge has
developed a course aimed specifically at this need. The Enterprise Networks Over Service Provider MPLS course
spends three days on BGP essentials, one day on MPLS concepts, and one day on QoS concepts and configuration.
MPLS Architecture
Figure 1: Basic MPLS Architecture
Figure 1 above shows the basic elements of an MPLS network. Inside the cloud (the MPLS domain), you see
Label Edge Routers (LERs, also sometimes referred to as Provider Edge or PE) that connect to the Customer Edge
Routers (CEs). Interconnecting the LERs are Provider Routers (P, or core routers).
Customer routes are delivered by the MPLS network as follows.
Copyright ©2009 Global Knowledge Training LLC All rights reserved. 5
• CE routers, typically using BGP, peer with the PE router at the provider’s nearest Point of Presence
(POP). This is a standard external BGP session where the customer’s routing updates are passed on to
the provider. The BGP updates contain path attributes that allow the customer to express routing policies.
Of course, support for these policies depends on the capabilities of the provider.
• The provider, using Multiprotocol internal BGP (MP-iBGP), distributes the customer’s routes to other PE
routers in the MPLS domain. There, the PE routers pass the updates on to the other CE router(s). Not
shown in Figure 1 is the fact that the MPLS domain keeps the routing updates from each customer
separate by using a parameter called the Route Distinguisher (RD), assigned and configured by the
provider.
• Note also that the provider uses its own routing protocol (Internal Gateway Protocol, IGP) which does
not carry the customers’ routes, solely to establish connectivity through the core to the PEs. LDP serves
to distribute the MPLS labels within the domain.
Actual user traffic from the customer sites enters the domain are forwarded as follows.
• A normal (unlabeled) IP packet enters the MPLS domain at the ingress PE router. Depending on the
MPLS applications in use, one or more labels is inserted or pushed into the packet. These labels can
be found between the Data Link and Network Layer headers when viewed by a protocol analyzer. The
outer label corresponds to the egress PE router and tells the core routers how to forward the packet.
The core is where the most performance boost is realized.
• When core router receives a labeled packet, a simple, fast lookup is performed to tell the router which
exit interface should be used and how to re-write the Data Link Layer header, if needed.
• When the packet reaches the egress PE, any remaining labels are removed and a standard IP forwarding
lookup is performed to send the packet to the proper CE router.
Summary
MPLS is a foundational technology that allows service providers and enterprise architects to offer state-of-the
art networking to their customers. MPLS allows the network operator to guarantee network performance and
offer simplified connectivity options.
Learn More
Learn more about how you can improve productivity, enhance efficiency, and sharpen your competitive edge.
Check out the following Global Knowledge courses:
MPLS--Implementing Cisco MPLS
MPLST--MPLS Traffic Engineering and Other Features
MPLS ENT--Enterprise Networks Over Service Provider MPLS
AMPLS--Advanced Implementing and Troubleshooting MPLS VPN Networks
For more information or to register, visit www.globalknowledge.com or call 1-800-COURSES to speak with a
sales representative.
Copyright ©2009 Global Knowledge Training LLC All rights reserved. 6
Our courses and enhanced, hands-on labs offer practical skills and tips that you can immediately put to use. Our
expert instructors draw upon their experiences to help you understand key concepts and how to apply them to
your specific work situation. Choose from our more than 700 courses, delivered through Classrooms, e-Learning,
and On-site sessions, to meet your IT and management training needs.
About the Author
J.D. Wegner is a Certified Cisco Instructor and has taught for Global Knowledge since 1995. His career spans
from the beginnings of the ARPANET and core-memory-based computers to design, installation, and troubleshooting
of large-scale BGP and MPLS networks.
Tuesday, March 3
Ed Boyden, brain hacker

Posted by David Pescovitz, March 2, 2009 2:41 PM | permalink
Ed Boyden is an MIT brain hacker who has been involved in various Institute for the Future workshops over the years. He always, er, blows my mind with his scientific creativity, curiosity, and unusual ideas about how we might reprogram or reengineer our brains. Over at Wired, Quinn Norton introduces Ed and several other fascinating researchers in her article about "the new science of neuroengineering." From Wired.com:
Images Article Full 2009 02 Laser1 630XBoyden directs MIT's Neuroengineering and Neuromedia Lab, part of the MIT Media Lab. He explains the mission of neuroengineering this way: "If we take seriously the idea that our minds are implemented in the circuits of our brains, then it becomes a top priority to understand how to engineer brains for the better..."
"Early in life, I wanted to be a mathematician," he says. He walked the path of the quantitative universe, studying math, then physics, then electrical engineering, trying to understand the universe — trying to change it in precise ways. But it was birds and serendipity that brought him to the messy human brain.
"I decided to go to Bell Labs and learn lasers," Boyden says, "but the person I wanted to work with was going home to Germany, so I ended up working with his neighbor, Michael Fee, who was analyzing how the bird brain generated birdsong. That experience was my first work in biology or neuroscience." Boyden had a new all-consuming passion.
Not long after he found himself in the Stanford University lab of Dr. Karl Deisseroth, combining his abilities as an engineer with his new calling as a neuroscientist. There, Boyden was part of a team that invented a new way of controlling brain cells. Employing molecular biology, genetic engineering, surgery, fiber optics and lasers, they created a kind of "light switch" which was then used to control a group of neurons.
Dr. Ed Boyden is showing off his lab's equipment with naked delight. We've whizzed past a laser table, a 3-D printer and some rattling biological shakers, and come to rest beside a water cutter.
Boyden picks up a piece of scrap metal and demonstrates how the cutter uses a powerful stream of water and fine bits of garnet (nearly as hard as diamond) to slice precisely through almost any material. It can be used to build nearly anything. He pauses, and considers. "We're probably the only lab in the world that uses a water cutter to build neural interfaces."
Boyden directs MIT's Neuroengineering and Neuromedia Lab, part of the MIT Media Lab. He explains the mission of neuroengineering this way: "If we take seriously the idea that our minds are implemented in the circuits of our brains, then it becomes a top priority to understand how to engineer brains for the better."
Here, neuroscience is not merely studied, it is applied. Which is why we're off again, to see the molecular engineer's microscope, the viral growing area, and the machine where they cut micron-thin slices of mouse brains in order to evaluate what changes they've made using the rest of the equipment.
Human beings worked out a few thousand years ago that the brain is where the action is. Since then we've been trying to get it to do what we want it to.
Like a computer, the power of the brain arises out of how the many parts constantly and quickly talk to each other. But unlike the electrical circuits in a computer, brain cells aren't physically connected to one another. Neurons communicate across tiny empty spaces, called synapses, that lie between the tendrils of neuronal cell bodies. This almost-but-not-quite touching is what gives them such flexibility as those connections form and fade throughout our lives.
Most of what we think of as our ability to learn and change comes from the pattern of those synapses. In a way, history is the story of trying to manipulate those patterns through learning, faith, love, drugs, food, exercise — in short, anything and everything. We have spent thousands of years working out indirect ways of changing the contours of our brains to change the shape of our minds.
Neuroengineers, on the other hand, take a pragmatic and direct approach. They are trying to change brains by going in and just changing them.
Boyden, a bespectacled professor with a soft smile, speaks rapidly and expansively. He has been a polymath all his life, plunging into one discipline after another. It's hard to imagine there was ever a time when he wasn't moving.
"Early in life, I wanted to be a mathematician," he says. He walked the path of the quantitative universe, studying math, then physics, then electrical engineering, trying to understand the universe — trying to change it in precise ways. But it was birds and serendipity that brought him to the messy human brain.
"I decided to go to Bell Labs and learn lasers," Boyden says, "but the person I wanted to work with was going home to Germany, so I ended up working with his neighbor, Michael Fee, who was analyzing how the bird brain generated birdsong. That experience was my first work in biology or neuroscience." Boyden had a new all-consuming passion.
Not long after he found himself in the Stanford University lab of Dr. Karl Deisseroth, combining his abilities as an engineer with his new calling as a neuroscientist. There, Boyden was part of a team that invented a new way of controlling brain cells. Employing molecular biology, genetic engineering, surgery, fiber optics and lasers, they created a kind of "light switch" which was then used to control a group of neurons.
Subscribe to:
Posts (Atom)