Monday, July 20, 2015

Ocho apellidos vascos

This Spanish romantic comedy plays on the stereotypes in Spain that consider Andalucians as 'dolce far niente' types while Basques are supposed to be 'frank and rude' and, of course, nearly all members of ETA, a terrorist organization.

A Basque opinion on Andalucians


The story is amusing: an Andalucian guy meets a Basque girl in Sevilla  (Andalucia) and falls in love, although the girl leggged it before he can make a move. He follows her to the Basque country. Since he knows Basques despise Andalucians, he tries to pretend that he is Basque, adopting the local dress, accent etc. At one point, when questioned by his hoped-for father in law, he proves his Basque ancestry by citing 8 pure Basque surnames  of his ancestors, hence the title.

All in all, a good comedy well worth watching.

☆☆☆



Setting up a local VNC server on Ubuntu 14.04

All of the information below can be found on the web. However, there are also many pages that describe methods that are more complicated than necessary, at least for Ubuntu 14.04. For instance, there is no need to install any new packages to get VNC working since both the server (Vino) and the client (Remmina) are already installed by default.

Configuring and starting the  VNC server is done by simply finding, and clicking on, 'desktop share' in the dash.
 
Clicking on 'Desktop Sharing' yields a window with some configuration options for the vino VNC server.

 
Note that all the security checkboxes have been unchecked. The idea is to make the machine running the  VNC server available to all the machines on the local area network. All the machines on the LAN are trusted, so there is no need for passwords etc. 

Once this configuration window is closed, the vino server is started. Since there seems to be no service associated with it, the easiest way to stop it -- if needed -- is to issue a 

     pkill vino-server

command. 

Next we use iptables to insert three "firewall" rules that prevent access to the port used by the VNC server, which defaults to 5900.

sudo iptables -A INPUT --protocol tcp --dport 5900 --source 192.168.1.0/24 -jACCEPT
sudo iptables -A INPUT --protocol tcp --dport 5900 --source 127.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT --protocol tcp --dport 5900 -j DROP

Iptables requires administrative privileges, so each incantation is preceded by sudo. The 
"-A INPUT" option indicates that the rule applies to packets that arrive to the  VNC server while 
"--protocol tcp" and "--dport 5900" specify further restrictions to protocol and destination port (5900, the default port used by the VNC server). 

The first rule specifies the target action ACCEPT for packets that, in addition, come from a machine on the local area network. Such machines usually have an address of the form 192.168.0.N or 192.168.1.N where N is some small number. Thus --source 192.168.1.0/24 represents these subnet addresses using a mask. In short, packets that originated in the local network and are destined for the VNC server are accepted.

The second rule expresses that also packets from the server machine itself (the so-called localhost) are accepted. 

The third and final rule says that any other (i.e. packets that were not allowed in by the previous rules, that is why the order of the rules is important) packets for the  VNC server will be quietly dropped.

To see what rules are currently in use:

prompt> sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  192.168.1.0/24       anywhere             tcp dpt:5900
ACCEPT     tcp  --  127.0.0.0/8          anywhere             tcp dpt:5900
DROP       tcp  --  anywhere             anywhere             tcp dpt:5900

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
prompt>

It is possible to delete rules using a command like

  sudo iptables -D INPUT 3

which would delete the third (DROP) rule for INPUT packets. 


Saturday, July 11, 2015

Contes Immoraux

An embarrassingly silly soft-porn (very soft) film. It dates from 1974, when hair (pubic or other) was left in its original state on actors and actresses. It consists of a number of disjoint stories, all of them boring. I found the one featuring a young Fabrice Luchini explaining the physics of tides to a girl, while said girl is performing some sexual acts on him, rather funny though.



Another story describes the crimes of Elizabeth Báthory, not sure how that could be erotic.


All in all: perhaps of historic interest but otherwise very boring and a waste of time.





Friday, July 10, 2015

Tu dors Nicole?

This black and white film is set in the French speaking part of Canada. While I have no problem understanding other Canadian French spoken films, such as the delightful 'Les invasions barbares', I could not follow the dialogues in this one at all. Luckily, there were English subtitles.

The story describes how a young girl spends her summer, dividing her time between a boring job, her brother and his friends and her own best friend. Nothing much happens. That should not be a problem as many excellent French films, such as the ones by Éric Rohmer, rely on atmosphere alone to provide a memorable viewing experience. However, in this case, it did not work. At least not for me, the film seems to have had mostly very good reviews, see some of them at Rotten Tomatoes. I think most of the characters were boring and unsympathetic while the language they spoke sounded very unpleasant as well. Too bad.

☆☆



Wednesday, July 8, 2015

Le belle vie

French film (2014) about a real story. A father kidnaps his 2 small sons to avoid leaving them with his estranged wife. The three of them live as fugitives for more than 10 years in different rural areas of France. The film describes the last phase, when the older of the -- by now almost grown up -- boys disappears to try to get his own life. On top of that, the younger one discovers the opposite sex and, after some hesitation, also decides to leg it. In the end, he reunites with his older brother and they get to see their mother. Not a great film but very watchable.

Who needs girls? Stay with your dad!

On the other hand..
You can read about how it turned out in the real world here.

☆☆☆