2012-08-27

Linux images for Virtualization

Some notes about Linux images for Virtualization.

To test some network tools or configuration, it can be useful to use multiple virtual linux machine. They can run with as little as 256Mo RAM and even less, 64Mo have been reported to work.

There are mainly two solutions:  https://www.virtualbox.org/ (free and opensource) and VMWare Player (free but less open). Also, there are free cloud services available (Amazon EC2 is free for one year for tiny configurations).

They each have "virtual appliances" ready to use (http://virtualboxes.org/ ; VMWare-Store ...) but there are no useful way to select one interesting. I took one from http://www.thoughtpolice.co.uk/vmware/.

Here I use Ubuntu 12.04 / VMWare Player 5,  

  • Set the f## french keyboard. Run: sudo dpkg-reconfigure console-setup or sudo dpkg-reconfigure keyboard-configuration, depending on the Ubuntu version.
  • Set the f## proxy with authentication.
    • If Gnome is installed:
      • gsettings set org.gnome.system.proxy.socks host 'fckng.proxy.enterprise.com'
      • gsettings set org.gnome.system.proxy.socks port 8080
      • gsettings set org.gnome.system.proxy mode 'manual'
      • gsettings set org.gnome.system.proxy.http authentication-user 'silly'
      • gsettings set org.gnome.system.proxy.http authentication-password 'dumb'
    • Otherwise (See this forum)
      • Generally: vi /etc/environment and add http_proxy="...", https_proxy="...", no_proxy="..." ...
      • For APT: sudo gedit /etc/apt/apt.conf.d/02proxy and add the line:  Acquire::http::Proxy “http://username:password@yourproxy:yourport″;
      • For wget: use .wgetrc ...
  • Update Linux: sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get install linux;
  • Install the VMWare tools:    
    • There are some dependencies: sudo apt-get install build-essential linux linux-headers-$(uname -r)
    • In the VMWare window, there is a "Virtual Machine" menu to install a CDRom with the right tool version. Mount the CDrom and launch the installation
    • Re-run  vmware-config-tools.pl each time the kernel is upgraded.
    • Ref:  https://help.ubuntu.com/community/VMware/Tools

That it.

2012-07-11

From XML Firewall to API Server

It is very interesting to see the development of Vordel products. More precisely how they are marketing their products.

The "XML Firewall" was like a "Layer 7 Firewall", focusing on the application level.

Then it evolved to XML Gateway, SOA Gateway and now: here is how they define their "API Server": http://www.soatothecloud.com/2012/06/vordel-introduces-api-server.html.

As a side note, I can't resist a little quote against SOAP: http://www.soatothecloud.com/2012/07/what-scales-better-internet-or-esb.html

2012-07-05

TLS: Disabling legacy cipher suites

First: "A cipher suite is a named combination of authentication, encryption, and message authentication code (MAC) algorithms".

If you are using TLS (for HTTPS typicaly) you may want to remove some Cipher Suites.

You maybe a little bit less compatible, but also a bit more secure. Things will be better when TLS1.2 is implemented everywhere.

You can also claim to be FIPS 140 compliant: http://csrc.nist.gov/publications/nistpubs/800-52/SP800-52.pdf !

How to do it:

If someone knows how to do it on the IBM J9 via configuration, I am interested.

2012-03-18

Sacré Trail des Collines

Sacré Trail des Collines http://www.trailcollines.com/
Tullins
35km - 1500m D+

Almost no road. Very nice organisation. Nice gift from RaidLight too: http://www.raidlight.com/. But worse weather condition ever encountered.

The rain came much sooner than expected, along with hail, snow and some wind. It is not that high, less than 800m. I though that it was not really "mountain", so I decided to go light with only two cotton tee-shirt :-)  I didn't know I could shake like this: almost impossible to drink a cup of tea.

Lastly, I cannot exactly know my "performance", due to some bug, but around 4h30 supposedly. The nice thing is that they offered me the fee for the next year.

2012-02-19

Trail des Huiles

Belledonne Gelon Raidlight Trail - Trail des Huiles
31km ; 1100m D+

Ranked 61/109  :-(
3h40 (1h10 behind the winner)

95% in the snow, asphalt and mud for the rest.
Wheather OK, no wind, my camel back a bit too heavy ...
Very nice organization and ambiance

http://bellesgrimpes.free.fr/index.php?page=trail
http://www.laurentfabry.com/gallery.asp?gallery_id=13673&page=5


I need another hat, this one must be about 25 years old ...

2012-01-10

Identity and Authentification

Where it is going ??

Various organisation are working on the problem and its solutions. They produce specification draft, Use case studies, they try to attract members who are waiting for a solution to emerge.

Main players: OpenID & OAuth

OpenId is divided in two: OpenID 2.0 and OpenID Connect. It may be a real plus when linked with WebID, but is still experimental. The decentralized aspect is nice, but I am not sure if people are really concerned. Depending entirely on Facebook doesn't seem to bother anyone. So OAuth or even a proprietary Facebook protocol may seriously reduce OpenID success.

OpenID is supported by Google, Microsoft (LiveID = OpenID), and the US Governement (http://www.idmanagement.gov/)

OAuth 2.0 (IETF) looks like the most successful protocol. It can be used to login even if it was not its first goal.

OpenID and OAuth have a good adoption, which is critical for being relevant in the Identity space. 

The US "Federal Identity, Credential, and Access Management" (ICAM) validated OpenID 2.0 and SAML 2.0 as Trust Framework. They provide some good documents.

Experiments: WebID & BrowserID

WebID (W3C)

  • takes some idea from Microsoft InfoCard abandoned attempt (after the failed Passport attempt)
  • Avoid the hierarchical trust model used to authenticate servers
  • could moves toward a Web Of Trust, but does not even mention it.
  • Looks like it uses RDF to express Trust relationships ?

BrowserID https://browserid.org/ is a Mozilla Labs experiment with the simplified version of the "Verified Email Protocol". It is very simple and web oriented. It doesn't seems to be very successful so far.

Others ??

Usages

Identity in the Cloud (OASIS) is "just" a long and freightening list of use cases. For those who don't see the problem, it is a good read !

JSR 351 is a work in progress "to define API ... that facilitate the use of identity by applications ..." . It will bring standard Java API to well established standards: OAuth, OpenID ... and also annotations to avoid lookups.

2012-01-04

Scala, Typesafe, SBT, IntelliJ IDEA, Specs2, Play, Tests ...

Scala has a great ecosystem evolving from developers needs. 

Everything is not "IDE integrated", but I kind of hope that it will stay this way. I don't like menus that fill up the screen.

As a reminder, here is the path I followed:

  1. Go to Typesafe:
    1. Download Scala (the "Typesafe Stack").
    2. Play with the REPL (the console)
    3. Read the free e-book
  2. Download SBT, if not already done
    1. Create a project (you just have to follow the quick start)
    2. Configure the SBT project to use the sbt-idea plugin
    3. Run gen-idea to create the IDEA project files.
  3. Launch IntelliJ IDEA 
    1. Get the plugins: Scala (and optionnaly SBT, it will only display the SBT console in IntelliJ.)
    2. Open the created SBT project
  4. You are already TypeSafe, go to Test or Spec safety also
    1. There is no one true path like JUnit here, you will have to choose
    2. SBT integrates with 3 main players.
    3. I choose to go with Spec2. Simply configure SBT to use it.
  5. As for the Web frameworks, Lift and Play are kind of associated with Scala
    1. I choose Play 2.0. It is very early and lacking functinonality ! Depending on what you want to do, Play 1 has a more mature Scala Module.

So it is not obvious, but nicely incremental. The starting points are SBT and REPL. From here you choose a IDE and a testing framework.

The rest really depends on your specific needs.

Festival de la Cooperative OASIS - 2026

 https://Cooperative-OASIS.org/ Abonnement la revue Passerelle Eco    Papier . Mais les annonces sont dispo:  Revue trimestrielle de l’ Ecov...