Which version of libipq? (or: "How to compile "OSFPE" "?)
...where OSFPE should be for "Operating System fingerprint evasion" ?
Hello All.
I got a fine (hopefully) source code of Rob Beck (which is impossible to find or to mail for asking himself), from this link ftp://ftp.ssc.com/pub/lj/listings/issue89/4750.tgz
found in a Linux journal article. (Well, that article it is really not SO more than the Fyodor one about fingerprinting with nmap, but this does not matter).
The tool should make appear "microsoft windows" if a scan that try to fingerprint the OS is executed on the machine running "osfpe", no matter which real OS is it running.
So, I got the source; and I downloaded the CVS of the userspace tools of netfilter because it needed the "libipq" library.
Too bad, as an header of libipq itself says, the library is still in development and the API too may change. Hm. (the article is of September 2001)
In fact, I got two errors, one was easy to fix, the other not:
# gcc -Inetfilter/userspace/include/libipq/ osfpe.c
fregabis.c: In function `Watch_Queue':
fregabis.c:479: too few arguments to function `ipq_create_handle'
So I changed the call
handle = ipq_create_handle(0);
to:
handle = ipq_create_handle(0,0);
Adding a COMPLETELY FAKE parameter! (oh, yes, what a lamer am I! :))
Then I tried to compile it by telling gcc to link the library too. (too bad, when I compiled the library I do not got a .o file, but only .3 and .a files. Oh, yes, what a lamer.. )
gcc -Inetfilter/userspace/include/libipq/ -lnetfilter/userspace/libipq/ osfpe.c :
/usr/bin/ld: cannot find -lnetfilter/userspace/libipq/
collect2: ld returned 1 exit status
So, to put an end, what I'd like to know from you is:
Can you tell me if there is a more suitable version of libipq that I should downgrade to, for having it to work?
Or, this one can be good but I'm a jerk and I cannot link a "simple" library? In that case, what's the damn second argument of ipq_create_handle() ?
Thank you very much!
Salutations, with lots of esteem.
Signature · 5 lines
Fabio Spelta email: [email protected] jabber: [email protected] ecdl project: http://ecdllibre.sf.net
Quoted 5 lines
gcc -Inetfilter/userspace/include/libipq/ -lnetfilter/userspace/libipq/
osfpe.c:
/usr/bin/ld: cannot find -lnetfilter/userspace/libipq/
collect2: ld returned 1 exit status
Sorry, I have forgotten to say that I _have_ compiled "libipq" with "make" before doing that. I also have installed the libreries (
# make install-devel ) But I cannot find a way to compile the tool, anyway.
Thank you guys
Signature · 5 lines
Fabio Spelta email: [email protected] jabber: [email protected] ecdl project: http://ecdllibre.sf.net