Re: Cachemgr.cgi

From: Balint Nagy Endre <[email protected]>
Date: Fri, 8 Nov 1996 03:11:17 +0000 (GMT)

> > >Sorry for bothering, but I would like to ask you, what does 'Network =
> > >Probe Database' mean in cachemgr.cgi.
> >
> > It is work-in-progress. If you want to see something there, compile
> > Squid with -DUSE_ICMP in the Makefile.
>
> Sad but true, it doesn't work with linux. I use a 2.0.24 debian system with
> libc5.2.18. This is the message I get after compiling squid1.1.beta15:
>
> gcc -g -O -Wall -I. -I../include -I./../include -DCACHEMGR_HOSTNAME="getfullhos
> tname()" -DCACHE_HTTP_PORT=8080 -DLOG_FULL_HEADERS=1 -DUSE_ICMP=1 -c
> pinger.c -o pinger.o
> pinger.c: In function `pingerRecv':
> pinger.c:215: structure has no member named `ip_vhl'
> make[1]: *** [pinger.o] Error 1
under linux, you should use
make ICMP_OPT='-DUSE_ICMP=1 -DHAVE_IP_HL=1'
and it works fine.
(this is because of strange IP packet header structure used on linux.)
Andrew. (Endre "Balint" Nagy) <bne@CareNet.hu>
Received on Thu Nov 07 1996 - 19:22:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:30 MST