The Linux Page
  • Yesterday I installed VTune on a system at one of the companies I'm working with. It worked like a charm and I could run a few analysis and see problem areas in the system.

    Later I worked on another C++ project in Linux, this morning I woke up on MS-Access, and did a little Drupal after that (PHP). I came back on Visual Studio C++ and... the VTune button is disabled! Not available at all somehow and no error message or anything!?

    Turns out, like yesterday I had to start the VTune version of Visual Studio! Without that special version, it simply doesn't work, but it still appears and ...

  • Versions 11.04, 11.10, and 12.04

    Okay! That one took me too long!?

    I was searching for "Waiting up to 60 more seconds for network configuration..." and just couldn't find where the heck that was hidden. It's in /etc/default/failsafe.conf and if you look at that file you'll see a few sleep in there.

    I'm not too sure what that's really used for, but having to wait 2 minutes for the server to boot seems dramatic when before it used to start immediately and worked just fine.

    So, edit the file, scroll down and remove the sleeps... I do not recommand you do that ...

  • Today, I noticed many entries in the log of my mail server with this error:

       warning: connect to Connection refused
       warning: connect to Connection refused

    The fact is that this does not tell you anything (duh!)

    We use postfix which runs many servers and each server talks to the other via network messages. Up to here, nothing special. The problem is whenever a server cannot connect to another, instead of telling us who, what, when, it just tells us that the connection did not happen (although there is the date, but it does not tell you when in the chain of events.)

    [toc hidden:1]
  • Somehow I receive many weird requests from one of Googlebot's. These use some very strange HTTP header, if I can even call that a header! modsecurity blocks all of them at once, but it just seems very strange since it has nothing to do with HTTP.

    The two requests I have seen go like this:

    0x16 0x03 0x01

    0x80 0x2B 0x03 0x01

    As you can see I show you the hexadecimal codes because these are controls!!! (Ctrl-V, Ctrl-C, Ctrl-A in the first request, and PAD, +, Ctrl-C, Ctrl-A)

    I just have no idea what that is. I'm glad that modsecurity kicks those request out, but I'm wondering why am I

  • An RSS feed is very common on all new websites. It has been around for years now. As of today you could listen to thousands of RSS feeds and be totally swamped by all the news...

    But what is an RSS feed?

    The way users know about RSS feed is in the form of a URL. The URL points to a file on a website that includes data. That data file uses the specific RSS or RDF format, which uses XML as the base format.

    So it is in fact very easy to generate an RSS feed. All you have to do is write an XML file with the proper tags and attri as defined on the W3C and AtomEnabled ...

  • The following command adds a rule to your iptable firewall:

    iptables -A INPUT -p icmp --icmp-type 255 -j ACCEPT

    As we can see, the rule accepts protocol ICMP and uses ICMP type 255. Only, if you look for a list of valid ICMP types, 255 is not included.

    The fact is that this rule actually says: accept any ICMP type. If you changed the ACCEPT with DROP, it would refuse all ICMP packets. In most cases, it is safe to accept ICMP packets since they do not divulge more information than necessary.

    Note that in your firewall script, you may use "any" instead of 255. That will make it ...

  • Look at the SHGetSpecialFolderPath()1 function! You can actually use names such as "My Documents" and transform them a valid path as you would expect (i.e. C:\Settings & Stuff\username\My Docs\...).

    And yes! If you have no clue about that function, that's not going to be easy to find it...

    Note that there has been talks about creating such functions under Linux. There are some but so far I have not seen too many people using

    • 1. The SH stands for Shell. The explorer windows are considered shells under MS-Windows. Nothing to do with a real good Unix shell, of course.
  • Now a day, I very often lose my Gnome settings. Most of it, I couldn't care less, but a few things are very important, especially the way my windows work: I HATE it when a window comes to the front when clicked on. It is totally crazy to work that way. Gnome supports the normal X11 way but they don't use that as the default, which is sad.

    So I wrote a little script in order to be able to reset my settings without having to open CCSM (the Gnome preference tool) although if you have a hard time finding what you are looking for, CCSM can be useful!

    There is my current script that fixes ...

  • I don't know about you, but on my end I like to use static IP addresses on my Intranet.

    But under Windows Vista and Windows 7, Microsoft have done an incredibly good job at hiding the network connections to make sure you don't temper with them.

    The path is as follow:

            Control Panel\Network and Internet\Network Connections

    Once you are in there, you can use the right mouse button to get to the usual MS-Windows settings (The one where you can click on IPv6 or IPv4 and setup the IP to static.)

  • Lately, I received emails from a customer something like 12 hours later...

    So I checked closer and could see that the email was from


    On the server, I edited my whitelist to see what was going on:

    vim /etc/postgrey/whitelist_clients.local

    Searching the list I could see, so why is it that it gets bounced with a 450 by Postgrey if it is whitelisted?

    Looking closer at the logs left behind by Postgrey, I found this line:

    Apr 23 06:33:34 m2osw postgrey[1742]: action=greylist,
Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.



Terms of Site Index

Find the page/content you are looking for with our index.


    Hyper Text Transfer Protocol Secure—The protocol used by browsers to communicate to web servers securely. The security is done with similarly to SSH. The transfer uses FTP like commands, but only one connection. Since HTTP 1.1 it is also possible to reuse the same connection for multiple files (pages, images, videos, etc.)

  • IsNull

    The Visual Basic function to check whether a value is set to Null. The PHP equivalent is is_null().

  • cl

    cl is the C and C++ compiler of Microsoft. This is the default compiler used by Visual Studio when compiling C or C++ files.

  • date
  • option