<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>FEJFs Blog</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/" />
    <link rel="self" type="application/atom+xml" href="http://www.fejf.de/blog/fejf/fejfs_blog/atom.xml" />
    <id>tag:www.fejf.de,2010-03-07:/blog/fejf/fejfs_blog//2</id>
    <updated>2010-03-09T22:29:44Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 5.01</generator>

<entry>
    <title>New, New, New...</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2010/03/new-new-new.html" />
    <id>tag:www.fejf.de,2010:/blog/fejf/fejfs_blog//2.30</id>

    <published>2010-03-07T13:55:34Z</published>
    <updated>2010-03-09T22:29:44Z</updated>

    <summary>New server, new MT version, new theme (which I don&apos;t like as much as the old one, but I didn&apos;t find the old one ;) and one new entry to tell you this :P...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Misc" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>New server, new MT version, new theme (which I don't like as much as the old one, but I didn't find the old one ;) and one new entry to tell you this :P</p>]]>
        
    </content>
</entry>

<entry>
    <title>PDF QuickSplit v0.2</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2009/03/pdf-quicksplit-v02.html" />
    <id>tag:www.fejf.de,2009:/blog/fejf/fejfs_blog//2.29</id>

    <published>2009-03-15T22:33:42Z</published>
    <updated>2010-03-07T15:55:05Z</updated>

    <summary>I had to fix some issues of my initial 0.1 release that bugged me. First off there is now the possibility to start pdf.quicksplit without a filename. It then shows a FileDialog in which you can specify a PDF file...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="PDF QuickSplit" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>I had to fix some issues of my initial 0.1 release that bugged me. First off there is now the possibility to start pdf.quicksplit without a filename. It then shows a FileDialog in which you can specify a PDF file to split. It's also possible to right-click on a PDF file an select "Open with" -> Browse -> (select the pdf.quicksplit.exe). You can see this on the new <a href="http://www.fejf.de/software/pdf.quicksplit/screenshots/"> screenshots</a>.</p>

<p>There are two other fixes:<br />
- if there are already temporary files: ask the user if we should delete them<br />
- show error dialog if user selects a pdf file with only 1 page (or if there was an error while extracting pages - e.g. corrupt PDF file)</p>

<p>And there's one annoying bug (under windoze) left which I don't know how to fix: if pdf.quicksplit.exe is put in a path which contains spaces it doesn't find the other exe-tools (like pdftk.exe, ...).</p>

<p>The new version can be downloaded here:</p>

<p><a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.2-src.tar.gz">PDF QuickSplit v0.2 Source Code</a><br />
<a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.2-lin.tar.gz">PDF QuickSplit v0.2 Linux Version</a><br />
<a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.2-win.zip">PDF QuickSplit v0.2 Windoze Version</a></p>

<p><br />
Btw: if you want to help improve pdf.quicksplit please contact me (email is in the source and perhaps it's best to transfer the source to sourceforge or sth. similar before we start coding in different directions ;).</p>]]>
        
    </content>
</entry>

<entry>
    <title>PDF QuickSplit v0.1</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2009/03/pdf-quicksplit-v01.html" />
    <id>tag:www.fejf.de,2009:/blog/fejf/fejfs_blog//2.28</id>

    <published>2009-03-12T20:21:10Z</published>
    <updated>2010-03-07T15:55:49Z</updated>

    <summary>Some days ago I wanted to finish (read: &quot;bring it in an usable state ;) a project which I started some months ago: a program for splitting PDF files. I know that there are many programs out there which can...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="PDF QuickSplit" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>Some days ago I wanted to finish (read: "bring it in an usable state ;) a project which I started some months ago: a program for splitting PDF files. I know that there are many programs out there which can do this but I searched hours for a program which serves the purpose of splitting a PDF in a fast way by showing you a preview of the pages. So PDF QuickSplit isn't able to automatically split a PDF file into single pages or on every N pages (you can accomplish this much easier by using something like <blockquote>for i in `seq 1 1 15`; do pdftk input.pdf cat ${i}-${i} output output.${i}-${i}.pdf; done;</blockquote> or using <a href="http://www.paehl.de/pdf/gui_pdftk.html">GUI for PDFTK</a>).<br />
PDF QuickSplit is for users who have one of those fancy ADF scanners and just put a bunch of documents on it which get put into a single PDF file. The GUIs I saw are very discomforting when I try to split the PDF file into the single documents because some of them only have one page, some have a double page and finally there are multiple pages which you want to keep into one file. So you need an easy tool to set cut-markers. For that you need a window with a preview of the PDF pages. And that's exactly what PDF QuickSplit does (under Windoze and Linux):<br />
<a href="http://www.fejf.de/software/pdf.quicksplit/screenshots/0.1-start.png"><img src="http://www.fejf.de/software/pdf.quicksplit/screenshots/0.1-start-mini.png"></a></p>

<p>A final word: the state of the program is something like an alpha1 (or as KDE developers would call it: v4.2.1 rock-stable without bugs... - but that's another story...). The code is pretty ugly (static char[] stuff etc) - so it's main purpose is to show programmers how _not_ to code ;) But you are free to send me patches... The following downloads include the source code which can be compiled on linux and windoze (dependencies: gtk, pdftk, ghostscript, imagemagick - for windoze you need the mingw-versions), the linux binary and the windoze binary with it's dependencies. So finally here are the downloads:</p>

<p><a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.1-src.tar.gz">PDF QuickSplit v0.1 Source Code</a><br />
<a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.1-lin.tar.gz">PDF QuickSplit v0.1 Linux Version</a><br />
<a href="http://www.fejf.de/software/pdf.quicksplit/pdf.quicksplit-0.1-win.zip">PDF QuickSplit v0.1 Windoze Version (with all necessary dlls)</a></p>

<p>And if you like my program soooo much that you need to buy an ADF scanner immediately (or something else ;) from Amazon please click on the following link to support me :)<br />
<a href="http://www.amazon.de/exec/obidos/redirect-home?tag=wwwfejfde-21&site=home"><img src="http://g-ecx.images-amazon.com/images/G/03/general/de-logo-153x37._V46914763_.gif" alt="Amazon.de"></a></p>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle ODBC Connection for VMware VirtualCenter</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2008/11/oracle-odbc-connection-for-vmware-virtualcenter.html" />
    <id>tag:www.fejf.de,2008:/blog/fejf/fejfs_blog//2.27</id>

    <published>2008-11-30T14:37:31Z</published>
    <updated>2010-03-07T15:55:57Z</updated>

    <summary>I had to struggle to get my Oracle ODBC connection to work with the Oracle Instant Client - the full-install worked out-of-the-box, but who the faq wants to install 700MB of unneeded software if there&apos;s an &quot;only-what-I-need&quot; Oracle Instant Client...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="VMware" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>I had to struggle to get my Oracle ODBC connection to work with the Oracle Instant Client - the full-install worked out-of-the-box, but who the faq wants to install 700MB of unneeded software if there's an "only-what-I-need" Oracle Instant Client available ;). I created a complete howto which is online now as <a href="http://www.fejf.de/software/vmware/oracle.odbc.for.vc.installation.with.oracle.instant.client.odt">OpenOffice Writer (odt) document here</a> and as <a href="http://www.fejf.de/software/vmware/oracle.odbc.for.vc.installation.with.oracle.instant.client.pdf">PDF file here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>VMware Virtual Center Error 25003 (Oracle DB)</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2008/11/vmware-virtual-center-error-25003-oracle-db.html" />
    <id>tag:www.fejf.de,2008:/blog/fejf/fejfs_blog//2.26</id>

    <published>2008-11-19T19:03:22Z</published>
    <updated>2010-03-07T13:40:13Z</updated>

    <summary>After some days of struggling with a VMware VirtualCenter installation I wanted to share some information on the Error-Message 25003 which the VC-setup gave me while trying to recreate/update the VC-Database. The solution in my environment (VC-2.5.0u3 + Oracle 10.2.0.3...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="VMware" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>After some days of struggling with a VMware VirtualCenter installation I wanted to share some information on the Error-Message 25003 which the VC-setup gave me while trying to recreate/update the VC-Database. The solution in my environment (VC-2.5.0u3 + Oracle 10.2.0.3 with Oracle Instant Client 10.2.0.4 + Oracle Instant Client ODBC Addon 10.2.0.4) was simple (but very difficult to find ;):</p>

<p>I only got the problem if there was still an active VC connected to my OracleDB while trying to recreate/update the VC-Database. This happened because I tried to reproduce another error. So I still had a VM with VC running while I tried to install a new VC with the same DB in a different VM. Simply shutting down the VM with the old (outdated) VC solved the error.</p>

<p>So in short: if you get the Error 25003 while trying to install VMware VirtualCenter check if there's still another connection to the database in which you try to install VC.</p>]]>
        
    </content>
</entry>

<entry>
    <title>VMware ESX Server Service Console Commands QuickRef Card v0.1</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2008/07/vmware-esx-server-service-console-commands-quickref-card-v01.html" />
    <id>tag:www.fejf.de,2008:/blog/fejf/fejfs_blog//2.25</id>

    <published>2008-07-27T10:07:09Z</published>
    <updated>2010-03-07T15:56:05Z</updated>

    <summary>For some time I wanted to write a quick reference card for the service console commands of VMware&apos;s ESX Server Service Console. While I was about finishing it VMware released ESX3.5.0-Update2. So this may be already outdated ;) Nevertheless you...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="VMware" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>For some time I wanted to write a quick reference card for the service console commands of VMware's ESX Server Service Console. While I was about finishing it VMware released ESX3.5.0-Update2. So this may be already outdated ;) Nevertheless you can download my QuickRef card <a href="http://www.fejf.de/software/esx.sc.quickref/esx.sc.quickref.pdf">here</a>. The latex source code is also available <a href="http://www.fejf.de/software/esx.sc.quickref/esx.sc.quickref.tex">here</a>. If you want to use it (e.g. to create a quickref card sorted by topic rather than alphabetically) you can use if you keep me as origin somewhere in the fine-print ;)</p>]]>
        
    </content>
</entry>

<entry>
    <title>Matrica Moneyplex, Kobil KAAN Advanced and 64Bit Debian SID</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2008/07/matrica-moneyplex-kobil-kaan-advanced-and-64bit-debian-sid.html" />
    <id>tag:www.fejf.de,2008:/blog/fejf/fejfs_blog//2.24</id>

    <published>2008-07-27T09:40:44Z</published>
    <updated>2010-03-07T13:40:13Z</updated>

    <summary>After struggling with several problems when installing a 64Bit Linux for the first time I want to write down the problems for which I didn&apos;t find a solution by using google. Two problems were related to Matrica Moneyplex. The first...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>After struggling with several problems when installing a 64Bit Linux for the first time I want to write down the problems for which I didn't find a solution by using google. Two problems were related to Matrica Moneyplex. The first problem was that it didn't find my kobil chipcard-reader.<br />
The solution in short is: follow the official docs from matrica on how to setup the necessary stuff (<em>apt-get install pcscd pcsc-tools</em>). Do NOT install the <em>openct</em> package! Then install the driver for your chipcardreader by downloading the necessary libct.zip from <a href="http://www.kobil.de">www.kobil.de</a> and run the <em>install64</em>-script as <em>root</em> AND the <em>installuser64</em>-script as normal user. In the moneyplex settings select the <em>libproxy-kobil.so</em> as driver for the chipcard-reader.<br />
Now the problem started: I wasn't able to access my reader. After some investigation I saw the following error messages when starting moneyplex in the console:</p>

<p><strong>fejf@fejfs:[~/moneyplex] > ./start<br />
=================================================<br />
32<->64 bit CTAPI-Proxy library.<br />
(C) 2007 Martin Preuss <martin@aquamaniac.de><br />
=================================================<br />
*** glibc detected *** <unknown>: double free or corruption (fasttop): <br />
0x0000000000604e50 ***<br />
[...]<br />
</strong></p>

<p>This took me some time but the solution is simple: add a <em>export MALLOC_CHECK_=0</em> to the moneyplex start-script (normally <em>~/moneyplex/start</em>) right after the other export-statement(s).</p>

<p>After that my chipcard-reader worked as user <strong>root</strong>. But when I tried to access it as normal user I still got error messages. The solution was simple again (after hours of finding it ;): I didn't have the right .CT_devices file in my home. I don't know why I got the wrong version (the <em>installuser64</em>-script from the kobil-installer should copy a new version!) but I could fix this problem by copying the file from root's home to mine (replace fejf with your username...):</p>

<p><strong>cp /root/.CT_devices ~fejf<br />
chown fejf:fejf ~fejf/.CT_devices<br />
</strong><br />
FYI: the .CT_devices file should contain only ONE Port#-Line which should look like this one:</p>

<p><strong>Port1=PCSC;[IDX="1"];3;0;reader via PCSC [IDX="1"]: transparent</strong></p>]]>
        
    </content>
</entry>

<entry>
    <title>Matrica Moneyplex and Kobil KAAN</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2007/09/matrica-moneyplex-and-kobil-kaan.html" />
    <id>tag:www.fejf.de,2007:/blog/fejf/fejfs_blog//2.23</id>

    <published>2007-09-03T19:54:35Z</published>
    <updated>2010-03-07T15:56:49Z</updated>

    <summary>Starting with linux kernel 2.6.22 Kobil doesn&apos;t support the Kobil KAAN Standard Plus USB Card Reader anymore. That means that i couldn&apos;t do any bank transfers if i wanted to upgrade to a post 2.6.21 kernel. The only way to...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>Starting with linux kernel 2.6.22 Kobil doesn't support the Kobil KAAN Standard Plus USB Card Reader anymore. That means that i couldn't do any bank transfers if i wanted to upgrade to a post 2.6.21 kernel. The only way to fix this remedy is to get a new card reader - the Kobil KAAN Advanced USB Card Reader ("they know how to make money" crosses my mind...). Anyway, they changed the usage of the new card reader and i counldn't access the card reader from within moneyplex. After contacting Matrica they instantly tried to support me and sent a howto for OpenSuSE which was a good starting point - but i still use Gentoo ;) So to give something back: here's the Gentoo Version.</p>

<p><a href="http://www.fejf.de/tips/moneyplex.kobil.howto.pdf">Download here.</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>.vimrc Files</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2007/04/vimrc-files.html" />
    <id>tag:www.fejf.de,2007:/blog/fejf/fejfs_blog//2.22</id>

    <published>2007-04-27T13:32:19Z</published>
    <updated>2010-03-07T15:57:12Z</updated>

    <summary>As requested: my .vimrc files. If you use a light background then edit the .vimrc file and change the set background setting line to: set background=lightDownload hier....</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="netlogix.de" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>As requested: my .vimrc files. If you use a light background then edit the .vimrc file and change the set background setting line to: <blockquote>set background=light</blockquote>Download <a target="_top" href="http://www.fejf.de/software/vimrc/vimrc.tar.gz">hier</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Novell SUSE Linux Enterprise Server 10 Advanced Administration (N3073) Folien Release 1</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2007/04/novell-suse-linux-enterprise-server-10-advanced-administration-n3073-folien-release-1.html" />
    <id>tag:www.fejf.de,2007:/blog/fejf/fejfs_blog//2.21</id>

    <published>2007-04-27T13:31:02Z</published>
    <updated>2010-03-07T15:57:17Z</updated>

    <summary>Einige Typos gefixed - Download hier....</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="netlogix.de" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>Einige Typos gefixed - Download <a target="_top" href="http://www.fejf.de/software/netlogix/novell/3073/3073-folien-r1.rar">hier</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Novell SUSE Linux Enterprise Server 10 Administration (N3072) Folien Release 1</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2007/03/novell-suse-linux-enterprise-server-10-administration-n3072-folien-release-1.html" />
    <id>tag:www.fejf.de,2007:/blog/fejf/fejfs_blog//2.20</id>

    <published>2007-03-23T23:28:11Z</published>
    <updated>2010-03-07T15:57:21Z</updated>

    <summary>Vier Typos gefixed - Download hier....</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="netlogix.de" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>Vier Typos gefixed - Download <a target="_top" href="http://www.fejf.de/software/netlogix/novell/3072/3072-folien-r1.rar">hier</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Bash Scripting Quick Reference</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2007/02/bash-scripting-quick-reference.html" />
    <id>tag:www.fejf.de,2007:/blog/fejf/fejfs_blog//2.19</id>

    <published>2007-02-07T16:39:21Z</published>
    <updated>2010-03-07T15:57:32Z</updated>

    <summary>I mirrored a bash scripting quick-reference-card. View or download it: bash quick reference by John McCreesh. There is also a site with links to several other quick reference cards: Quick Refs....</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>I mirrored a bash scripting quick-reference-card. View or download it:<br />
<a href="http://www.fejf.de/tips/bash.quickref.pdf">bash quick reference by John McCreesh</a>. There is also a site with links to several other quick reference cards: <a href="http://www.digilife.be/quickreferences/quickrefs.htm">Quick Refs</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Connect to Checkpoint VPN with Linux IPSec (racoon) using X.509 Certificates</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2006/11/connect-to-checkpoint-vpn-with-linux-ipsec-racoon-using-x509-certificates.html" />
    <id>tag:www.fejf.de,2006:/blog/fejf/fejfs_blog//2.18</id>

    <published>2006-11-28T22:40:39Z</published>
    <updated>2010-03-07T15:57:47Z</updated>

    <summary>It took me several days to figure out how to connect to a checkpoint vpn server with certificate-authorization. That&apos;s why i want to put some quick info here. First: you need a kernel with the ipsec-stuff (not everything shown here...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>It took me several days to figure out how to connect to a checkpoint vpn server with certificate-authorization. That's why i want to put some quick info here.</p>

<p>First: you need a kernel with the ipsec-stuff (not everything shown here is needed for checkpoint-vpns):<br />
<code><br />
Networking support (NET) [Y/n/?] y<br />
&nbsp;&nbsp;&nbsp;*<br />
&nbsp;&nbsp;&nbsp;* Networking options<br />
&nbsp;&nbsp;&nbsp;*<br />
&nbsp;&nbsp;&nbsp;PF_KEY sockets (NET_KEY) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;IP: AH transformation (INET_AH) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;IP: ESP transformation (INET_ESP) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;IP: IPsec user configuration interface (XFRM_USER) [Y/n/m/?] y<br />
Cryptographic API (CRYPTO) [Y/n/?] y<br />
&nbsp;&nbsp;&nbsp;HMAC support (CRYPTO_HMAC) [Y/n/?] y<br />
&nbsp;&nbsp;&nbsp;Null algorithms (CRYPTO_NULL) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;MD5 digest algorithm (CRYPTO_MD5) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;SHA1 digest algorithm (CRYPTO_SHA1) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;DES and Triple DES EDE cipher algorithms (CRYPTO_DES) [Y/n/m/?] y<br />
&nbsp;&nbsp;&nbsp;AES cipher algorithms (CRYPTO_AES) [Y/n/m/?] y<br />
</code> </p>

<p>(see: <a href="http://www.spenneberg.com/ipsec-2.6.pdf">http://www.spenneberg.com/ipsec-2.6.pdf</a>)</p>

<p>Second you need to install the ipsec-tools package. For Gentoo Linux this would be: emerge ipsec-tools.</p>

<p>After that you need to setup the <a href="http://www.fejf.de/software/ipsec/ipsec.conf">/etc/ipsec.conf</a> and <a href="http://www.fejf.de/software/ipsec/racoon.conf">/etc/racoon/racoon.conf</a> files. Click on the filenames for examples. As a last step you need to convert the provided p12 (pkcs12) file to pem (cert) files. This can be done with openssl (<a href="http://www.fejf.de/software/ipsec/p122pem.sh">use this little script</a>). After executing this script you get 2 .pem files. One of them named "filename.split.me.into.2.cert.files.pem". You need to edit this file and split it into two files. It contains two certificates. The vpn-ca (certification authority of the vpn-server) and the client-cert. Normally the first one is the ca-cert (look at the subject-line - the ca-cert has your vpn-domain-name as subject) and the second the client-cert (normally the subject contains the user-dn). Copy these two certs together with the key to your /etc/racoon/certs directory. Now edit your ipsec.conf and racoon.conf files.</p>

<p>Finally: Prey... ;)</p>

<p><br />
How to get info about errors (like: "racoon: ERROR: none message must be encrypted"):<br />
Check if my_identifier, encryption_algorithm, hash_algorithm, dh_group, authentication_algorithm, pfs_group and the sainfo lines are correct (examples above work for me and the checpoint vpn). Best Way is to use wireshark (formely ethereal) to check for "ISAKMP: Informational" Messages.<br />
Then click on "Internet Security Association and Management Protocol", "Notification Payload" and look at the "Message Type" line. This is the error. Best way is to google for it ;) Errors i encountered: INVALID-CERTIFICATE: export the cacert, the cert and the key from the pkcs12 file and add them to the config, INVALID-ID-INFORMATION: my_identifier is incorrect (perhaps does not match certificate?)</p>

<p><br />
Usefull links:<br />
<a href="http://felipe-alfaro.org/blog/category/ipsec/">http://felipe-alfaro.org/blog/category/ipsec/</a><br />
<a href="http://www.spenneberg.com/">http://www.spenneberg.com/</a><br />
<a href="http://www.fw-1.de/aerasec/ng/vpn-racoon/CP-VPN1-NG-Linux-racoon.html">http://www.fw-1.de/aerasec/ng/vpn-racoon/CP-VPN1-NG-Linux-racoon.html</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>Linux Administration Quick Reference Guide</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2006/11/linux-administration-quick-reference-guide.html" />
    <id>tag:www.fejf.de,2006:/blog/fejf/fejfs_blog//2.17</id>

    <published>2006-11-20T10:45:12Z</published>
    <updated>2010-03-07T15:57:52Z</updated>

    <summary>Another quick reference guide. This one has multiple pages about basic commands and files of Linux and was created by Jialong He. Download here....</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>Another quick reference guide. This one has multiple pages about basic commands and files of Linux and was created by Jialong He. Download <a href="http://www.fejf.de/tips/linux.quickref.pdf">here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Perl Regular Expressions Quick Reference</title>
    <link rel="alternate" type="text/html" href="http://www.fejf.de/blog/fejf/fejfs_blog/2006/10/perl-regular-expressions-quick-reference.html" />
    <id>tag:www.fejf.de,2006:/blog/fejf/fejfs_blog//2.16</id>

    <published>2006-10-29T19:25:34Z</published>
    <updated>2010-03-07T15:58:00Z</updated>

    <summary>I mirrored a perl regular expressions quick-reference-card. View or download it: Perl RegExp QuickRef by Iain Truskett,...</summary>
    <author>
        <name>FEJF</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.fejf.de/blog/fejf/fejfs_blog/">
        <![CDATA[<p>I mirrored a perl regular expressions quick-reference-card. View or download it:</p>

<p><a href="http://www.fejf.de/tips/perl.regexp.quickref.pdf">Perl RegExp QuickRef by Iain Truskett</a>,</p>]]>
        
    </content>
</entry>

</feed>

