* Which version of libipq? (or: "How to compile "OSFPE" "?)
@ 2003-02-15 11:06 Fabio Spelta
2003-02-16 9:41 ` Fabio Spelta
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Spelta @ 2003-02-15 11:06 UTC (permalink / raw)
To: netfilter-devel
...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.
--
Fabio Spelta
email: spelta@linux.it
jabber: febs@jabber.linux.it
ecdl project: http://ecdllibre.sf.net
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Which version of libipq? (or: "How to compile "OSFPE" "?)
2003-02-15 11:06 Which version of libipq? (or: "How to compile "OSFPE" "?) Fabio Spelta
@ 2003-02-16 9:41 ` Fabio Spelta
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Spelta @ 2003-02-16 9:41 UTC (permalink / raw)
To: netfilter-devel
> 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
--
Fabio Spelta
email: spelta@linux.it
jabber: febs@jabber.linux.it
ecdl project: http://ecdllibre.sf.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-16 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-15 11:06 Which version of libipq? (or: "How to compile "OSFPE" "?) Fabio Spelta
2003-02-16 9:41 ` Fabio Spelta
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.