LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2002, 07:40 AM   #1
vindwar
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Rep: Reputation: 0
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]#
 
Old 09-30-2002, 09:26 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 10-01-2002, 07:24 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
There is a new .99 version out, try that one, and also a static binary is provided if you trust 'em.
 
Old 10-01-2002, 08:41 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 10-01-2002, 08:55 AM   #5
vindwar
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 10-01-2002, 09:58 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
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.
 
Old 10-01-2002, 11:45 AM   #7
vindwar
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 10-01-2002, 12:02 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.

Last edited by neo77777; 10-01-2002 at 12:11 PM.
 
Old 10-01-2002, 12:08 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Quote:
Originally posted by unSpawn
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 :-]

Sorry unSpawn I almost ignored your post, you can see the inconsistencies here in the output of ./configure run by vindwar
Quote:
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)
Really, I haven't had a chance or desire (I am so f... lazy) to look at it, I believe these variable are diclared in old versions of libpcap, and they are something else in the newer ones.
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.

Last edited by neo77777; 10-01-2002 at 12:09 PM.
 
Old 10-01-2002, 02:11 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
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.

Last edited by unSpawn; 10-01-2002 at 04:23 PM.
 
Old 10-01-2002, 07:05 PM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 10-03-2002, 12:42 PM   #12
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Rep: Reputation: 30
I tried to get firewalk to work as well with no luck is there another program that does the same thing?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewalk anamikasoni Linux - Security 4 08-24-2009 02:36 PM
Trouble with firewalk anamikasoni Linux - Security 4 04-30-2005 01:27 AM
firewalk non-installation :P Xon Linux - Security 3 03-24-2005 10:27 AM
Firewalk help anamikasoni Linux - Software 2 03-22-2005 09:45 PM
problem compileing Firewalk tied2 Linux - Software 11 03-03-2003 05:26 AM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration