[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwknop-discuss
Subject:    Re: [Fwknop-discuss] trouble with FreeBSD fwknop-2.0.4 install
From:       Michael Rash <mbr () cipherdyne ! org>
Date:       2013-08-30 1:22:52
Message-ID: 20130830012252.GA20802 () cipherdyne ! org
[Download RAW message or body]

On Aug 29, 2013, Mark Boolootian wrote:

> I installed fwknop-2.0.4 from ports on a FreeBSD 9.1-RELEASE box.  The
> install seemed to complete without issue, though I didn't run the test
> suite initially.
> 
> Running the client, I found I wasn't able to properly authenticate, seeing
> these errors on the server:
> 
> Aug 29 15:50:31 example fwknopd[35544]: (stanza #1) SPA Packet from IP:
> 192.168.1.1 received with access source match
> Aug 29 15:50:31 example fwknopd[35544]: (stanza #1) Error creating fko
> context: Decryption failed or decrypted data is invalid
> 
> That eventually led me to run the test suite.  I found that test #2 (make
> distcheck) was failing.  Some other tests failed too, but it seemed like
> this test needed to run successfully before I worried about any of the
> others.

The 'make distcheck' test is actually not needed to verify proper fwknop
operations, and the failure of this step normally happens around the
documentation generation stuff (as you are seeing below).  I would skip
this particular test and focus on the operational tests - assuming that
fwknop compiles properly first (or that you run the '--enable-recompile'
test suite argument).

The most important basic test to run is the complete cycle for ssh
access like this:

# ./test-fwknop.pl --include "Rijndael.*complete.*22"

Now, just to confirm, are the client and server versions the same?
2.0.4 in this case?  Or is the server more recent?

Thanks,

--Mike


> Initially the problem was that texi2dvi wasn't installed, so I fixed that
> (FreeBSD port appears to need some adjusting).  Test still failed saying
> that tex was need, so I installed that next.   Test failed again, but this
> time it's a bit messier (output is below).
> 
> Any clues on this one?
> 
> 
> Making dvi in doc
> TEXINPUTS="../../config:$TEXINPUTS"  MAKEINFO='/bin/sh
> /usr/ports/security/fwknop/work/fwknop-2.0.4/fwknop-2.0.4/config/missing
> --run makeinfo   -I ../../doc'  texi2dvi -o libfko.dvi `test -f
> 'libfko.texi' || echo '../../doc/'`libfko.texi
> /usr/local/bin/texi2dvi: texinfo.tex appears to be broken:
> This is TeX, Version 3.14159 (Web2C 7.2)
> (txiversion.tex
> (/usr/ports/security/fwknop/work/fwknop-2.0.4/fwknop-2.0.4/config/texinfo.tex
> Loading texinfo [version 2012-03-11.15]: pdf, fonts, markup, glyphs,
> page headings, tables, conditionals, indexing, sectioning, toc,
> environments,
> ! Font \circle=lcircle10 not loadable: Metric (TFM) file not found.
> <to be read again>
>                    \global
> \alloc@ #1#2#3#4#5->\global
>                             \advance \count 1#1by\@ne \ch@ck#1#4#2\allocati...
> l.6284 \newdimen\circthick
> 
> ?
> ! Emergency stop.
> <to be read again>
>                    \global
> \alloc@ #1#2#3#4#5->\global
>                             \advance \count 1#1by\@ne \ch@ck#1#4#2\allocati...
> l.6284 \newdimen\circthick
> 
> No pages of output.
> Transcript written on txiversion.log.
> kpathsea: Running mktextfm  lcircle10
> mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input lcircle10
> This is METAFONT, Version 2.718 (Web2C 7.2)
> kpathsea: Running mktexmf  lcircle10
> 
> ! I can't find file `lcircle10'.
> <*> ...jfour; mag:=1; nonstopmode; input lcircle10
> 
> Please type another input file name
> ! Emergency stop.
> <*> ...jfour; mag:=1; nonstopmode; input lcircle10
> 
> Transcript written on mfput.log.
> mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input lcircle10' failed.
> kpathsea: Appending font creation commands to missfont.log.
> /usr/local/bin/texi2dvi: quitting.
> *** [libfko.dvi] Error code 1

> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

> _______________________________________________
> Fwknop-discuss mailing list
> Fwknop-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic