Hi,
The shared libraries on Mac OS X system use a different extension (.dylib vs.
.so). If you edit the test-fwknop.pl script at line xx and make change
"libfko.so" to "libfko.dylib", the test will run. However, on my Mac, when it
gets to the 'ipfw'-related tests, I get "ipfw: invalid set command X" (where X
is '1' or '2').
I had played with getting fwknopd to work on a Mac several months ago. I did
get it to work after modifying the syntax of the ipfw commands. I will see if
I can find that code and post the specifics hereā¦
Regards,
-Damien Stuart
On Jul 12, 2012, at 9:09 PM, Michael Rash wrote:
>
> On Thu, Jul 12, 2012 at 11:43 AM, rhaas <[email protected]> wrote:
> Greetings.
>
> Hello,
>
> Is there a pointer to Mac OS X specific build/install instructions for
> fwknop?
>
> Nothing specific for Mac OS X currently.
>
>
> Sorry for the noob-ish question, but a search of the list archives
> didn't turn anything up.
>
> The client and server build fine but the perl test suite aborts at the
> libfko binary check:
>
> ./test-fwknop.pl
>
> [+] Starting the fwknop test suite...
>
> args:
>
> Saved results from previous run to: output.last/
>
> [build] [client] binary
> exists......................................pass (1)
> [build security] [client] Position Independent Executable
> (PIE).....pass (2)
> [build security] [client] stack protected
> binary....................pass (3)
> [build security] [client] fortify source
> functions..................pass (4)
> [build security] [client] read-only
> relocations.....................pass (5)
> [build security] [client] immediate
> binding.........................pass (6)
> [build] [server] binary
> exists......................................pass (7)
> [build security] [server] Position Independent Executable
> (PIE).....pass (8)
> [build security] [server] stack protected
> binary....................pass (9)
> [build security] [server] fortify source
> functions..................pass (10)
> [build security] [server] read-only
> relocations.....................pass (11)
> [build security] [server] immediate
> binding.........................pass (12)
> [build] [libfko] binary
> exists......................................fail (13)
> [*] required test failed, exiting. at ./test-fwknop.pl line 1314.
>
>
> The test suite is looking for the file (usually a symbolic link)
> "../lib/.libs/libfko.so" from the test/ directory. Can you post the output
> of 'ls -l ../lib/.libs/libfko*'? It should look something like:
>
> $ ls -l ../lib/.libs/libfko*
> -rw-r--r-- 1 mbr mbr 589656 Jul 10 22:07 lib/.libs/libfko.a
> lrwxrwxrwx 1 mbr mbr 12 Jul 10 22:07 lib/.libs/libfko.la -> ../libfko.la
> -rw-r--r-- 1 mbr mbr 987 Jul 10 22:07 lib/.libs/libfko.lai
> lrwxrwxrwx 1 mbr mbr 15 Jul 10 22:07 lib/.libs/libfko.so ->
> libfko.so.0.0.3
> lrwxrwxrwx 1 mbr mbr 15 Jul 10 22:07 lib/.libs/libfko.so.0 ->
> libfko.so.0.0.3
> -rwxr-xr-x 1 mbr mbr 282950 Jul 10 22:07 lib/.libs/libfko.so.0.0.3
>
> This is on an Ubuntu system, so there may be some differences on Mac OS X
> that the test suite will need to account for.
>
> Thanks,
>
> --Mike
>
>
>
>
> ... presumably there are still some pieces to build.
>
> Thanks.
>
> --
> Richard Haas <[email protected]>
> GnuPG public key ID: 1CB7F0E2
> blog: http://richardhaas.wordpress.com
> Twitter: @rahaas
> --
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fwknop-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
>
>
>
> --
> Michael Rash | Founder
> http://www.cipherdyne.org/
> Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Fwknop-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fwknop-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss