Current lrp instances of iptraf cannot see anything, except ethernet
devices.

Since I've been working with wanpipe, I've a requirement to debug tcp
issues and want to use iptraf.

iptraf v2.5 documentations states:

``IPTraf 2 requires Linux 2.2.  It now uses the new PF_PACKET socket
family as its capture mechanism.''

``Use of the latest glibc 2.x is also recommended.  But libc5 works
fine.''

So, ostensibly, it can be compiled for current leaf/lrp distributions ;>

Nevertheless, I am getting this output:

Loki:/home/mds/iptraf-2.5.0/src# make
gcc -Wall -O2  -DWORKDIR=\"/var/local/iptraf\"
-DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\"
-I/usr/include/ncurses -DVERSION=\"2.5.0\" -DPLATFORM=\"Linux/i386\" 
-g    -c -o iptraf.o iptraf.c
gcc -Wall -O2  -DWORKDIR=\"/var/local/iptraf\"
-DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\"
-I/usr/include/ncurses -DVERSION=\"2.5.0\" -DPLATFORM=\"Linux/i386\" 
-g    -c -o itrafmon.o itrafmon.c
In file included from itrafmon.c:27:
packet.h:27: warning: `struct sockaddr_ll' declared inside parameter
list
packet.h:27: warning: its scope is only this definition or declaration,
packet.h:27: warning: which is probably not what you want.
itrafmon.c: In function `ipmon':
itrafmon.c:538: storage size of `fromaddr' isn't known
itrafmon.c:538: warning: unused variable `fromaddr'
make: *** [itrafmon.o] Error 1


What do you think?

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to