Archive for the ‘Network’ Category


We’ll show you how to use the iOS 8 Hotspot and a handy new iOS 8 hotspot feature that lets you quickly connect your iPad to the iPhone and see important information like signal strength and battery life left on your iPhone.

All of the new iOS 8 hotspot features are the same on the iPhone 6, iPhone 6 Plus and older iPhones. You’ll also see similar options on an iPad with LTE connectivity.

When you upgrade your Mac to OS X Yosemite in October you’ll also benefit from the new way the iOS 8 hotspot works. The same signal and battery life information shows up in the WiFi area which is a great way to see these important details if the iPhone is still in your pocket or a backpack.

 

Learn how to use the iOS 8 hotspot and what's new in iOS 8 and OS X Yosemite.

Learn how to use the iOS 8 hotspot and what’s new in iOS 8 and OS X Yosemite.

 

Most plans support using the iPhone or iPad as a hotspot at no extra charge. You can try turning on the iOS 8 hotspot to see if it is included in your plan. If it is not you will see a number to call to turn it on. Make sure you know how much data your plan allows. Using the iPhone as a hotspot to connect portable gaming systems, iPads and laptops can use data faster than normal phone use.

A hotspot feature is not tied to a contract, so you can add it and remove it when you want. If you are on shared data it normally includes access to the iOS 8 hotspot feature.

How to Use the iOS 8 Hotspot

Here’s a look at what’s new in the iOS 8 hotspot and how you can use this great feature. Most of the iOS 8 hotspot features are the same as in iOS 7, so you’ll already be familiar with how to use it.

 

Turn on the iOS 8 Hotspot.

Turn on the iOS 8 Hotspot.

 

If you’ve never used the iOS 8 hotspot you need to turn it on before it shows up in the main settings screen. To do this go to Settings -> Cellular -> Personal Hotspot -> On. After you do this once iOS 8 adds a shortcut to the main settings menu for faster access to the iOS 8 hotspot settings and to turn the feature on and off.

All you really need to do is turn the iOS 8 hotspot on and then enter the password on the device you want to connect with and the devices will connect so you can start using it to get online.

 

Change the iOS 8 hotspot password.

Change the iOS 8 hotspot password.

 

The best thing to do is set up your iPhone hotspot with a hard to guess, but easy to remember password. Go to Settings -> Personal Hotspot -> Tap on Password -> enter a new password to change this. If you already connected you will need to enter the new pass code.

To see how much data you are using on the iOS 8 hotspot you can go to Settings -> Cellular -> Scroll Down -> Tap on System Services -> See Personal Hotspot data usage.

How to Change iOS 8 Hotspot Name

If you want to change the name of the iOS 8 hotspot you need to change the name of your iPhone. Go to Settings -> About -> Name -> type a new name. This changes the name your iPhone uses for syncing and what will show up on some Bluetooth connections as well.

 

Change the iOS 8 hotspot name.

Change the iOS 8 hotspot name.

 

That’s all there is to using the iOS 8 hotspot to get your other devices online. The new feature in iOS 8 is the ability to see the signal strength and battery life of the phone under the WiFi menu on another iOS 8 device or on a Mac running OS X Yosemite.

New iOS 8 Hotspot Feature

 

On iOS 8 devices and on a Mac with OS X Yosemite you'll see the signal strength and battery life of the device you use as an iOS 8 hotspot.

On iOS 8 devices and on a Mac with OS X Yosemite you’ll see the signal strength and battery life of the device you use as an iOS 8 hotspot.

 

The screenshot above show what this looks like on an iPad. You will see this on other devices and when the OS X Yosemite update comes next month you will see it on your Mac.

Advertisements

An RSS (Rich Site Summary) feed is an XML file used to describe the contents of your website. As your website content changes, your RSS feed changes. Other computer systems, known as ‘aggregators’ or ‘harvesters’, read your RSS feed everyt once in a while. If you have provided new information, the aggregator takes that information and sends it to readers around the world. Thus information about your site’s contents is ‘syndicated’, that is, rebroadcast to a much larger audience.

Step One: Getting Ready

Notepad: an RSS file is a plain text file. This means it can be created with any ordinary text editor. Windows Notepad will do the job. You can also use Wordpad or even MS-Word. But you will have to be sure to save your file as plain text. Any formatting breaks the RSS file. Save in plain text only. I prefer to use a text editor called NoteTab. It is a plain text editor and never surprises me with unexpected formatting. http://www.notetab.com In Linux I use Bluefish. http://bluefish.openoffice.nl/

The server: if you have a website, you have a server. The server is where your website is located. You need to be able to load files to your server. If you can put your home page on your server, you will use exactly the same process for your RSS file.

The beer: get a beer from your fridge or buy one from your local store. Open the beer.

Step Two: Find a Template

The easiest way to create an RSS file is to copy someone else’s. You don’t need to worry about this; you will be replacing all of their content, and the format of the file is freely licensed for use by anyone. Here is a short, simple template file you can use:

(Copy everything below this line, but not including this line)

 

<?xml version="1.0" encoding="ISO-8859-1" ?>
 <rss version="0.91">

 <channel>
 <title>OLDaily</title>
 <link>http://www.downes.ca/news/OLDaily.htm</link>
 <description>OLDaily - By Stephen Downes </description>
 <language>en-us</language>

 <image>
 <title>Stephen's Web</title>
 <url>http://www.downes.ca/images/rss.gif</url>
 <link>http://www.downes.ca</link>
 <width>90</width>
 <height>36</height>
 </image>

<item>
 <title>Attack Update</title>
 <link>http://www.downes.ca</link>
 <description>
 OK, here's where we stand. I have no email into
or out of downes.ca - this means that if you are sending me
email to stephen@downes.ca it will fail. It also means that
newsletter mailouts are failing (at least, I think they're
failing...). Additionally, all scheduled processes have
terminated, which means that Edu_RSS will be updated
manually. I have no tech support until at least tomorrow,
so it looks like we'll be limping along like this for a
bit. Again, please note, email sent to me at downes.ca is
not reaching me. By Stephen Downes, Stephen's Web, July
22, 2003
 </description>
 </item>
 <item>
 <title>Attack on Downes.ca</title>
 <link>http://www.downes.ca</link>
 <description>
 Downes.ca was off the air for a few days
following a denial of service attack. We are back for now
but things are still touch and go. I'll keep you posted. 
By Stephen Downes, July 21, 2003
 </description>
 </item>
 </channel>
 </rss>

(Stop copying at this line. Do not copy this line.)

Take the text you have just copied and paste it into your text editor. Save this as a new file called (say) mysite.rss – you can call your saved file anything you want, but it is a lot easier if you indicate the name of your site and use .rss as an extension, just so people can tell by looking at the title what your file does. Remember to save the file in plain text format. Take a sip of the beer. You’ve earned it.

Step Three: Defining Your Channel

Now look at the file you have just copied into your text editor. Near the top, notice that there is a line that says <channel>. The information following this tag, and above the tag that says </channel>, will be where you describe your website as a whole.

You need to enter four pieces of information. The information goes between the tags, where information about my site is currently located. Delete the information about my site and type in the information about your site. Specifically:

 

    title: this is the title of your site
    link: this is the URL to the home page of your site
    description: this is a short description of your site
    language: this is the language your site is written in (you need to use the official format for this, so if your site in English, just leave this line the way it is)

You only need to create this part once. You can change it any time you want, but you do not have to. Once this part is done, therefore, it is done forever. Take a sip of your beer. You’ve earned it.

Step Four: Your Image

This part of your RSS file is optional; you don’t have to add an image if you don’t want to. Your image will be used by some aggregators to provide some visual identity to your RSS feed.

You will need to create an image first. Use any image editor (I use PaintShop Pro – http://www.paintshoppro.com/ ). Your image should be very small: my image is 90 pixels wide by 36 inches deep. You can either create a new image for your site image or do as I did: use PaintShop Pro to capture a bit of the site that looks nice, then reduce it in size.

You can put your image anywhere you want, but I recommend uploading it to the same directory as your RSS file.

Then describe your image in just the same way you described your channel: by replacing my text and using your own.

 

    title: the title of your image, usually the title of your website. This is often used as an image ‘alt’ tag.
    url: the location of your image on the web. Use the FULL url, including the http
    link: the URL people are sent to if they click on your image. This is usually the same URL as your channel link URL
    width: the width of your image, in pixels
    height: the height of your image, in pixels

As with the channel tag, once you’ve done this step once, you never have to do it again. This was a long step, so take a couple of sips of beer.

Step Five: Defining Your Links

Your site may contain one or more articles you want readers to read. This is the part that changes from time to time. For example, Technology Source publishes a set of eight or so articles every two months. So every two months, you need to change this list, to reflect the current contents of Technology Source.

Each article is described by an <item> tag. In the example above, I have included two items. You can see that the description for each starts at the <item> tag and ends with the </item> tag.

In between the item tags are some tags containing information about the article. To create information about an article, remove the information about my articles, and replace it with your own. If you have more than two articles, copy an article tag (everything between and , including these tags) and paste it below the second item, and above the </channel> tag. Then enter your content:

 

    title: this is the title of the article
    link: this is the URL of the article itself
    description: this is a short summary of the article. Note that I use description to include information about the author and the date.

Create an item for each article. Then save your file and have a sip of your beer.

Step Six: Escape Characters

Now we come to the trickiest part of creating an RSS file.

An RSS file is an XML file. Some characters are illegal in XML. So you have to ‘escape’ them, that is, insert a text string in their place. Here is the list I use (not all of these are strictly required, but using this full list ensures maximum safety).

 

    • http://aggregator.userland.com/validator

      http://feeds.archive.org/Fvalidator/

      If your feed is valid, have a sip of your beer. Otherwise, correct the error and try again.

      Step Nine: Advertising Your Feed

      You need to tell people that your feed exists. They are not (necessarily) going to find it through Google. There are two major ways to do this.

      First, add an XML button to your home page. An XML button is a little organge image that links to your RSS file. You’ve probably seen them on other web pages. Get a copy of the image (one is located at http://www.downes.ca/images/xml.gif ) and upload it to your website.Then place the image, with a link, on your home page. For example, place the following code on your home page:

      <a href=”http://www.mysite.com/mysite.rss”><=img src=”xml.gif” width=36 height=14 alt=”RSS feed for this site” border=0></a>

      Second, you can submit your site’s RSS feed URL to various aggregators. This will tell them to start checking your RSS feed for updates. Here are some aggregators:

       

      Finish your beer. You’re done. Don’t forget to recycle the bottle.

      Note: these are instructions for creating a basic RSS feed. The RSS standard can be extended in a variety of ways. But this is a good starting point: your feed will be fully functional, and most important, it will work. Get to know and love your feed. After a time, you may want to look at the world of RSS 1.0 and RSS 2.0 and the various ways to add more information. When you add functionality, you will use the same process: find a template, apply the rules, and validate. But give it time. Be comfortable, then move on.

  • & – replace all instances of ‘&’ with the following: &amp;
    – Don’t forget the URL! Many URLs have ampersands in them.
    – If a link element is http://www.mysite.com/index.cgi?n=4&p=5 then you must change it to http://www.mysite.com/index.cgi?n=4&p=5

    – change every full quote to &quot;
    – For example: He shouted, “Fire!” becomes, He shouted, &quot;Fire!&quot;

     

    – change every apostraphe to &apos;
    – For example: It’s his bike. becomes It&apos;s his bike.

    > – change every ‘greater than’ character to &gt; – but DO NOT change them in the tags.
    – For example, <description> am > three feet tall</description> becomes <description>I am &gt; three feet tall</description>

    < – change every ‘less than’ character tag to &lt; – but DO NOT change them in the tags
    – For example: “<description>I have < five dollars</description> becomes <description>I had &lt; five dollars</description>

    Step Seven: Uploading Your File

    Upload your file to your web server. It is best to put it in the same directory as your home page, though you could place it anywhere you want.

    You now have a working RSS feed. Congratulations. Have another sip of beer.

    Step Eight: Validating Your RSS File

    Strictly speaking, this step is optional, but it is strongly recommended since it’s easy to make a mistake on step six.

    To validate your RSS file, go to an RSS validator on the Web and enter the full URL of your RSS file into the form. Click the button. If there are any errors, the validator will tell you about them. Otherwise, it will validate your file.

    Here are some validators:

     


Security researcher Phil discover a Cross-Site Scripting vulnerability exists in the “Chat Message” window in Skype 3.0.1 and earlier versions for iPhone and iPod Touch devices.

Skype uses a locally stored HTML file to display chat messages from other Skype users, but it fails to properly encode the incoming users “Full Name”, allowing an attacker to craft malicious JavaScript code that runs when the victim views the message.

XSS in Skype

To demonstrate the vulnerability, He captured a photo of a simple javascript alert() running within Skype.

Executing arbitrary Javascript code is one thing, but he found that Skype also improperly defines the URI scheme used by the built-in webkit browser for Skype. Usually you will see the scheme set to something like, “about:blank” or “skype-randomtoken”, but in this case it is actually set to “file://”. This gives an attacker access to the users file system, and an attacker can access any file that the application itself would be able to access.

File system access is partially mitigated by the iOS Application sandbox that Apple has implemented, preventing an attacker from accessing certain sensitive files. However, every iOS application has access to the users AddressBook, and Skype is no exception.

He also created a proof of concept injection and attack that shows that a users AddressBook can indeed be stolen from an iPhone or iPod touch with this vulnerability.

To further demonstrate the issue, he had recorded a video of this scenario.

Please see the video & use the comments section on his blog for your questions.

Skype Attack Message

Skype Attack Loading

Update
In case anyone is wondering, Phill disclosed the vulnerability to Skype on 8/24 & been told an update would be released early this August but no update yet.