clamtk 3.11
clamtk_3.11-1_i386.changes uploaded successfully to localhost
along with the files:
  clamtk_3.11-1.dsc
  clamtk_3.11.orig.tar.gz
  clamtk_3.11-1.diff.gz
  clamtk_3.11-1_all.deb

Greetings,

    Your Debian queue daemon

Enjoy! :)

libnet1 adopted

I've finally adopted libnet :)

The new upload carries a complete rework of the Debian package, plus some major patches:

  • 00-fix_build-process.patch added (moving from .diff.gz to a proper patch)
  • 01-fix_libnet-functions.h.3.patch added (hyphen-used-as-minus-sign)
  • 02-fix_libnet_802_1q_hdr.3.patch added (manpage-has-bad-whatis-entry)
  • 03-fix_libnet_802_1x_hdr.3.patch added (manpage-has-bad-whatis-entry)
  • 04-fix_libnet_build_ntp.patch added (Closes: #418249)
  • 05-fix_libnet_pblock_coalesce_buffer_overrun.patch added (Closes: #418975)
  • 06-fix_libnet_pblock_coalesce_leak.patch added (Closes: #418979)
  • 07-add_libnet-cq-end-loop.patch added (Closes: #497909)
  • 08-fix_libnet_checksum.c.patch added (moving from .diff.gz to a proper patch)
  • 09-fix_hurd-i386_built.patch added (fixed build on Hurd i386) (Closes: #457506)

Enjoy the new libnet :)

Benvenuto!

Benvenuto su hanskalabs.net! Questo è il mio sito web personale. Per chi non mi conoscesse, mi chiamo David Paleino, e sono conosciuto in rete anche come "hanska". Questo sito, oltre ad essere una finestra su di me, conterrà anche cose riguardanti la mia passione principale: i computer. Si parlerà quindi di programmazione, sicurezza informatica, GNU/Linux, free software, opensource e tanto altro! Stay tuned!

Posted
Prossimo rilascio di Debian GNU/Linux

Ieri è giunta una mail da Martin Schulze, che annunciava (su linux.debian.announce) il rilascio della prossima versione del sistema operativo Debian GNU/Linux, la 4.0. La prossima versione sarà la cosiddetta "etch", l'attuale testing, che diventerà stable, secondo le previsioni di Martin Schulze, entro Dicembre 2006. Nuove funzionalità includono:

  • kernel 2.6.17 installato di default, con possibilità di selezione di altri kernel;
  • supporto per l'architettura AMD64;
  • gcc (GNU Compiler Collection) 4.1;
  • X.Org sostituirà definitivamente XFree86;
  • introduzione di SecureAPT.

La nuova versione del sistema operativo sarà rilasciata in contemporanea per tutte le 11 architetture supportate. L'intero testo dell'articolo è disponibile sul sito Debian.

Goodbye eDonkey

It's news of some day ago. And it's sad. RIAA has hit the file-sharing world another time. In fact, on September 13th, eDonkey surrended to RIAA, with the closing of www.edonkey.com web site, which reports a sad message, e the non-distribution of eDonkey 2000 and Overnet clients. The reported message is

The eDonkey2000 Network is no longer available.

If you steal music or movies, you are breaking the law.

Courts around the world -- including the United States Supreme Court -- have ruled that businesses and individuals can be prosecuted for illegal downloading.

You are not anonymous when you illegally download copyrighted material. Your IP address is 82.57.104.199 and has been logged. Respect the music, download legally.

Another P2P pilaster has fallen down.

Mozilla Firefox and Debian

Someone called it "The Mozilla scandal", to let people understand the situation which involves Debian GNU/Linux and the notorious Mozilla Firefox browser. As you can read in the bug report sent by Mike Connor, there's a serious license problem as concerns the Mozilla browser. As said in the long discussion, in fact, the name "Firefox" is a Mozilla Corporation trademark, which should be used with their own artwork which are copyrighted. This is in contradiction with Debian's philosophy to use only free software (not meant as free-of-charge). Debian, in fact, has used the name "Firefox" without using Mozilla artworks. There's a condition imposed by Mozilla which states that you use both the name and the artwork, or neither.The proposal is, therefore, to rename the browser, and on some blogs some ideas were born:

  • IceWeasel;
  • FireChicken;
  • FoxFire;
  • FreeFox;
  • Fire-you-know-what;
  • Not-FireFox;
  • WaterWolf;
  • OpenFox / DebFox / PeopleFox / WorldFox;
  • PlasmaFox;
  • ... .

As you can understand, some names are highly ironic, other are more realistic for a possible renaming proposal. What will happen? Debian probably will rename the browser, or maybe they'll put it in the non-free branch, or they'll create a "Firefox Community Edition"... Let's hope they'll find a middle ground... Some links:

What is a hacker?

Some days ago, surfing the Internet, I came across a particular website, PassiveMode, who mainly deals with hacking.

Amongst the articles I found one which interested me: What is a hacker?.

It is a topic I'd like to deal with, because I noted there are misunderstangings and disinformation about this. The article opens with a piece taken from a book by the same author, Beyond Fear by Bruce Schneier:

A hacker is someone who thinks outside the box. It's someone who discards conventional wisdom, and does something else instead. It's someone who looks at the edge and wonders what's beyond. It's someone who sees a set of rules and wonders what happens if you don't follow them. A hacker is someone who experiments with the limitations of systems for intellectual curiosity.

It's evident this is not the concept of hacker claimed by media, that is the computer criminal, all alone in his room for days, trying to steal credit card numbers. No, this is not hacking. Hacking is curiosity: it is using objects in a way they were not designed for.

Some time ago, on Usenet, precisely on the alt.hackers group, I read about a "clever spoon/pen hack". "What is he talking about?" you might be asking. This is hacking.

A restaurant owner (I assume, it's not written in the post) who, to avoid people from stealing the pen which he used to sign credit cards, banded a spoon to it. Hacking is not necessarily a term concerning the world of computers. Hackers have always been there, even though the term is rather recent. Taking back Bruce Schneier's words: Galileo was a hacker. Mme. Curie was one, too. Aristotle wasn't. (Aristotle had some theoretical proof that women had fewer teeth than men. A hacker would have simply counted his wife's teeth. A good hacker would have counted his wife's teeth without her knowing about it, while she was asleep. A good bad hacker might remove some of them, just to prove a point.)

"Computer" hackers follow these guidelines. They have the same genius as Galileo had, but they use it on computers. Computers, networks in particular, are the new exploration fields. The Internet is an immense landscape of hidden and undiscovered information. The more you know, the more you can do. One shouldn't be surprised in discovering that many hackers focus on computer security. To deal with security you need a particular mindset: thinking in a non-common way, breaking the rules, exploring systems limitations. It is a challenge: the hacker finds a wall between himself and knowledge. This wall is something to be destroyed to gain knowledge. Starting once again from the original article on PassiveMode:

Hackers cheat. And breaking security regularly involves cheating. It's figuring out a smart card's RSA key by looking at the power fluctuations, because the designers of the card never realized anyone could do that. It's self-signing a piece of code, because the signature-verification system didn't think someone might try that. It's using a piece of a protocol to break a completely different protocol, because all previous security analysis only looked at protocols individually and not in pairs.

This is security hacking, breaking a system thinking in a different way.

Ndiswrapper on a 2.6.19(-rc4) Kernel

Has anyone ever tried to use the ndiswrapper module under a 2.6.19-rc4 kernel? This is the sad message appearing in `dmesg`:

Symbol usb_register_driver is being used by a non-GPL module,
which will not be allowed in the future Please see the file
Documentation/feature-removal-schedule.txt in the kernel
source tree for more details.
ndiswrapper: Unknown symbol destroy_workqueue
Symbol usb_deregister is being used by a non-GPL module,
which will not be allowed in the future Please see the file
Documentation/feature-removal-schedule.txt in the kernel
source tree for more details.
ndiswrapper: Unknown symbol __create_workqueue
ndiswrapper: Unknown symbol queue_work

How to solve this? You just need to edit a file, ./kernel/module.c, commenting the lines 1720-1:

if (strcmp(mod->name, "ndiswrapper") == 0) add_taint_module(mod, TAINT_PROPRIETARY_MODULE);

These lines just "block" a "proprietary" module which is using GPLed components (usb_register_driver and usb_deregister, as we can see from `dmesg`). Ndiswrapper, in fact, is not proprietary on his own, but it uses proprietary drivers developed for Microsoft Windows platforms. Same thing for the other program present at the same lines, driverloader.

This "hack" should work also for the stable version of the kernel.

Happy WiFi-ing!

Flash and Fonts on Debian GNU/Linux

Who has had problems in seeing fonts in flash movies on Linux using Firefox?

Here is a solution, taken from lot of googleing and several suggestions:

  1. Install xfs package, that is the X Font Server;
  2. Install the msttcorefonts package, which contains the Microsoft fonts, used by most of the flash movies;
  3. Install the ttmkfdir package, which contains the ttmkfdir and mkfontdir utilities, which we will use later.

At this point, we can proceed:

  1. mkdir -p /usr/X11R6/lib/X11/fs/
  2. ln -s /etc/X11/fs
  3. cd /usr/share/fonts/truetype/msttcorefonts
  4. ttmkfdir
  5. mkfontdir

With the last two commands, we'll create two files in /usr/share/fonts/truetype/msttcorefonts/: fonts.dir e fonts.scale. Now we can edit the /etc/X11/fs/config file (or /usr/X11R6/lib/X11/fs/config, they're the same file, as we symlinked them), adding the path of the Microsoft fonts to the catalogue line. For example (your mileage may vary, since this line depends on which fonts you've got on your system) in the case you have:

catalogue = /usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/

you'll need to edit the line so as it becomes:

catalogue = /usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/,/usr/share/fonts/truetype/msttcorefonts/

(those paths should stay on a single line)

Now we can restart Firefox, and see our flash movies! ;)

This procedure works on Debian and Debian-based systems. It should nevertheless work also on other systems, paying attention to system path differences.

Io non uso emoticon al posto del testo su MSN

Questo è quello che afferma Alessio, da Catania. Un motivo c'è, ed è valido: chi non ha mai visto frasi del genere?

Frase MSN

Ecco: una frase quasi incomprensibile. Come spiega Alessio nel suo articolo, ci sono diversi motivi per cui bisognerebbe NON utilizzare semplici lettere o combinazioni di lettere, che potrebbero trovarsi dentro qualunque parola, per mostrare degli emoticon. Per ricordare alcuni punti:

  1. le immagini non vengono visualizzate subito. Per parecchi secondi, quindi, la frase risulterà incomprensibile;
  2. le immagini hanno grandezze diverse, rendendo difficile la lettura;
  3. lo spazio occupato diventa maggiore all'interno della finestra;
  4. rallenta la connessione ad internet;
  5. può causare blocchi e malfunzionamenti;
  6. si costringe il proprio interlocutore a vedere le stesse immagini ripetute decine di volte;
  7. si aumenta il carico del pc, incrementando l'usura dei suoi componenti.

Altri motivi si possono leggere sempre nell'articolo originale. Per questo, espongo qui il banner della "protesta":

No smiles
Happy 2007!

Happy New Year 2007! I hope the new year will be better then the previous!

clamtk in Debian repositories

I just got an email confirming the acceptance and the entrance in Debian repositories of clamtk, a graphical frontend to clamav, famous antivirus for GNU/Linux platforms.

To install:

apt-get install clamtk

Enjoy it!

Let's give grep some colour

For those using GNU/Linux, grep is a fundamental utility. If you're looking for a word into a file with very long lines, how could you find the result of your search immediately? It's difficult. That's why we're going to give grep some fancy mood ;-)

First of all, let's open ~/.bashrc (or the corresponding file, if you use another shell than BASH), and put, in any point (better if at the end of the file), the following lines:

alias grep="grep --color=auto"

export GREP\_COLOR="1;33;40"

After this, let's go back to the shell and give the command source ~/.bashrc, so as to enable the new settings.

And now, the explanation. The first line tells Bash to substitute to "grep" the command "grep --color=auto". This lets grep consider the environment variable GREP_COLOR. In fact, in the second line, we export this variable with the colour we want. The "colour" format is:

  • attr is the "attribute" for the highlighted text, it can be 0 (normal), 1 *(bold)* **and so on;
  • foreground is the foreground colour of the text, and can be:
  • 30 - black
  • 31 - red
  • 32 - green
  • 33 - yellow
  • 34 - blue
  • 35 - magenta
  • 36 - cyan
  • 37 - white

  • background is the background colour, and can have values of:

    • 40 - black
    • 41 - red
    • 42 - green
    • 43 - yellow
    • 44 - blue
    • 45 - magenta
    • 46 - cyan
    • 47 - white

  • So the example written above sets the searched text in bold, in yellow with a black background. It shines on my black shell! ;-)

    Enjoy grep!

    Enclosing a string with sed

    One of the most common problems might be "enclosing" a bunch of lines with some other text. Let's do an example: we want to create some <img /> tags from files in a directory, so to easily create an "image gallery" to be put online.

    $ ls

    bar.png buz.png foo.png

    $

    How could we have a list of the files, with <img />? "Easy": use some sed magic!

    $ ls > files

    $ cat files

    bar.png

    buz.png

    foo.png

    `$ sed -i 's/^(.*)$/\1<\/img>/g' files

    $ cat files

    <img src="bar.png">bar.png</img>

    <img src="buz.png">buz.png</img>

    <img src="foo.png">foo.png</img>

    Easy, uh? :)

    New version of clamtk

    I've just packaged the latest version, 3.05, of clamtk, a GUI written in Perl and Gtk for ClamAV, for Debian. Enjoy!

    25 years of TCP/IP

    Happy New Year! Happy 2008! It's the New Year, but we have also other things to be happy for. Today, in fact, it's 25 years from adoption by ARPANET of the TCP/IP protocol as a standard. Without TCP/IP, without ArpaNet, Internet would not exist at all, and you couldn't be reading this article. Let's see how the story goes. TCP (Transmission Control Protocol) is the protocol which controls data transmission: it checks sent and received data, lost and wrong data. It also provides retransmission of data in case of faulty receiving. TCP has been engineered over the IP protocol, which doesn't guarantee packets arrival and delays, to offer a reliable communication channel between two processes, made by a bidirectional stream of bytes. *IP *(Internet Protocol) is a packet network protocol. Currently the widest used version is IPv4, distinct from the more recent IPv6, created to better handle the growing number of devices connected to the Internet and, therefore, needing an *IP address. *An IP(v4) address is composed by four groups, divided by dots (.), of decimal numbers from 000 to 255 (i.e. from 000.000.000.000 to 255.255.255.255), with a total of 32bits and 232 available addresses (which will soon be saturated). An IP(v6) address, instead, is composed by eight groups, divided by colons (:), of hexadecimal numbers from 0000 to FFFF (i.e. from 0000:0000:0000:0000:0000:0000:0000:0000 to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF), with a total of 128bits and 2128 available addresses.

    Risultato di una nottata...

    Ecco cosa ha portato la notte di Capodanno:

    The Walk

    Questa era una foto di quest'estate, all'incontro dei giovani con il Papa a Loreto 2007. Qualche modifica con Gimp... ed ecco il risultato!

    The right approach

    Le cœur a ses raisons que la raison ne connaît point.

    Blaise Pascal

    (transl. "The heart has its reasons which reason knows nothing of.")

    Useless reason

    Why using -Wl,--as-needed

    Today I was preparing a new package for Debian, pinot, a Xapian (and other engines) based full-text search engine, when I noticed of the real difference in generated dependencies passing -Wl,--as-needed to the linker (via LDFLAGS) or not. Here it is a table which summarizes the result:

    LDFLAGS="" LDFLAGS="-Wl,--as-needed"
    libatk1.0-0 (>= 1.20.0)
    libc6 (>= 2.7-1) libc6 (>= 2.7-1)
    libcairo2 (>= 1.4.0)
    libcairomm-1.0-1 (>= 1.4.0)
    libcomerr2 (>= 1.33-3)
    libcurl3 (>= 7.16.2-1) libcurl3 (>= 7.16.2-1)
    libdbus-1-3 (>= 1.1.1) libdbus-1-3 (>= 1.1.1)
    libdbus-glib-1-2 (>= 0.74) libdbus-glib-1-2 (>= 0.74)
    libfontconfig1 (>= 2.4.0)
    libfreetype6 (>= 2.3.5)
    libgcc1 (>= 1:4.1.1-21) libgcc1 (>= 1:4.1.1-21)
    libglib2.0-0 (>= 2.12.0) libglib2.0-0 (>= 2.12.0)
    libglibmm-2.4-1c2a (>= 2.14.0) libglibmm-2.4-1c2a (>= 2.14.0)
    libgmime-2.0-2 libgmime-2.0-2
    libgtk2.0-0 (>= 2.12.0) libgtk2.0-0 (>= 2.12.0)
    libgtkmm-2.4-1c2a (>= 2.12.0) libgtkmm-2.4-1c2a (>= 2.12.0)
    libidn11 (>= 0.5.18)
    libkrb53 (>= 1.6.dfsg.2)
    libldap-2.4-2 (>= 2.4.7)
    libpango1.0-0 (>= 1.19.3)
    libpng12-0 (>= 1.2.13-4)
    libsigc++-2.0-0c2a (>= 2.0.2) libsigc++-2.0-0c2a (>= 2.0.2)
    libsqlite3-0 (>= 3.5.4) libsqlite3-0 (>= 3.5.4)
    libssh2-1
    libssl0.9.8 (>= 0.9.8f-5) libssl0.9.8 (>= 0.9.8f-5)
    libstdc++6 (>= 4.2.1-4) libstdc++6 (>= 4.2.1-4)
    libtag1c2a (>= 1.4) libtag1c2a (>= 1.4)
    libtextcat0 libtextcat0
    libx11-6
    libxapian15 libxapian15
    libxml++2.6-2 (>= 2.20.0) libxml++2.6-2 (>= 2.20.0)
    libxml2 (>= 2.6.27) libxml2 (>= 2.6.27)
    libxrender1
    zlib1g zlib1g
    34 20

    We removed 14 useless dependencies!

    gthumb 2.10.9 on its way

    Well, the title says it all... I'm working on getting gthumb 2.10.9 in shape for Debian :)

    I've got quite an usable package -- I just need to make it "lintian clean". Looking forward to complete it ;)

    Ma come.. ancora?!

    Ancora David?! Ancora? Basta. Hai ricevuto tante di quelle delusioni ultimamente, che non riesci più a contarle. E oggi l'ultima. O no?

    Che ti ho fatto di male per non parlarmi più? Uno non può esprimere il proprio pensiero? Cos'è, "c'ho provato" troppo? Non mi pare.. non ti ho più chiesto di uscire da non so quanto tempo. E tu hai regolarmente rifiutato, quando te l'ho chiesto. Non mi pare assolutamente di aver esagerato..

    E meno male che di me ti fidavi, e che mi volevi bene.. spero ci risentiremo.

    Ciao, Mel.

    Here I Am! My first Meme :)

    myself

    1. Take a picture of yourself right now.
    2. Don't change your clothes, don't fix your hair -- just take a picture.
    3. Post that picture with NO editing.
    4. Post these instructions with your picture.
    The Black Mags

    This is kind of an addictive song I've been hearing lately: The Cool Kids - Black Mags.

    It really sounds like old school Hip-Hop... I definitely like it!