firewalk installation
I am trying to install firewalk-0.8 on my linux machine RH 7.2. i get the follwoing error while running make. Would appreciate any help on this. Thanks in advance...
[root@dragon1 Firewalk]# make cc -O3 -funroll-loops -fomit-frame-pointer -pipe -DLINUX -D_BSD_SOURCE -D__FAV OR_BSD -c main.c -o main.o In file included from firewalk.h:37, from main.c:35: firepack.h:56: field `sin' has incomplete type main.c: In function `main': main.c:104: `O_WRONLY' undeclared (first use in this function) main.c:104: (Each undeclared identifier is reported only once main.c:104: for each function it appears in.) main.c:104: `O_CREAT' undeclared (first use in this function) main.c:104: `O_TRUNC' undeclared (first use in this function) main.c:132: `IPPROTO_UDP' undeclared (first use in this function) main.c:135: `IPPROTO_TCP' undeclared (first use in this function) main.c:245: `IPPROTO_RAW' undeclared (first use in this function) make: *** [main.o] Error 1 [root@dragon1 Firewalk]# |
I tried it once, and I believe the problem is with pcap, the firewalk relies on older version of pcap, I wouldn't suggest downgrading or getting older versions of pcap though.
|
There is a new .99 version out, try that one, and also a static binary is provided if you trust 'em.
|
hi, unSpawn, I've trried recently all of them, and 1.0 is out as well, even though it isn't compatible with libpcap shipped with modern distros, I believe firewalk is targeted more to *BSD branch.
|
Thanx guys for all your prompt responses...
Well i tried the 1.0 and 0.99 versions also but was not able to go past ./configure. 0.8 was one version which went past ./configure even i suspected that this was a problem with pcap. The README does not mention any specific version of libpcap or libnet to be used with firewalk. maybe the makefile.in needs to be tinkered for the linux environment i am not sure. if anybody knows how to do that it would be a great help |
Neo.*, any idea where compat probs are in? I remember me being able to compile it once, tho that was 2yrs ago, with an ancient release, on an ancient Linux box with an ancient libnet/pcap :-]
Vin.* Readme states clearly; libnet 1.0 or better, libpcap 0.4. |
not for the 0.8 version the other versions ie 0.99 and 1.0 state libnet 1.0 or better and libpcap 0.4 that means downgrading my libpcap version.
|
That's the versioning problem, firewalk relies on old libpcap, I think that same version is still current on *BSD flavors, so there is no problem compiling it on *BSD beast, just tried it other day on my friends machine (anyway it is not that impressive, I mean firewalk, the lst update was like a year ago or so). And yes vindwar, if you are still [sorry]anal[/sorry] about getting firewalk running on your linux box, you should downgrade libpcap, this in the turn will throw a bunch of inconsistencies as well because lots of the networking tools, including tcpdump relies on libpcap, and if it ain't the minimum required for tcpdump you would have to downgrade it as well, tcpdump is just an example (I use it all the time to see what's up on my little LAN), so in place of tcpdump wiill be ethereal, snort and bunch of others. IT AIN'T WORTH A DICE guys.
|
Quote:
Quote:
I'll take a look when I get home, all I have now is f... up RH box running annoying company's webserver without any development tools on it - they call it "security precaution" I call it "security through obscurity concept", oh well, I'll hit back when I get home. |
No, doesn't make sense. I tried including headers for signal, fnctl, libnet-headers and still this doesn't work out.
I suggest you take it up with the Firewalk authors. |
Yeah, I see your point unSpawn, but I have no answer, I tried as well, still no dice, I know it works under NetBSD that my friend owns. Damn, I guess we should e-mail to the mantainer.
|
I tried to get firewalk to work as well with no luck is there another program that does the same thing?
|
All times are GMT -5. The time now is 02:58 PM. |