[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Testbed-admins] pcapper not listening...
On Mon, Nov 30, 2009 at 10:20:45AM -0600, Eric Hall wrote:
> Mike Hibler wrote:
> >In fact, we did recently see this. You can download:
> >
> > http://www.emulab.net/downloads/pcapper.diff
>
> hmmm... my browser can't seem to find that file...
>
That is because I didn't make it readable! Try now.
> >The relevant part of the patch is this:
> >
> > /*
> > * Create a socket to listen on, so that we can tell remote
> > * applications about the counts we're getting.
> > */
> >- proto = getprotobyname("TCP");
> >- sock = socket(AF_INET,SOCK_STREAM,proto->p_proto);
> >+ sock = socket(AF_INET, SOCK_STREAM, 0);
> >
> >which gets rid of the call to getprotobyname (yes, it is hanging in there).
> >Let me know if the patch works for you.
>
> I made the above change by hand, but what is the proper way to build a
> new pcapper?
>
> Thanks,
> --
> Eric
>
You have to build/install/reimage for each OS. Which means you have to
build pcapper on each client OS. See part "B" of:
http://users.emulab.net/trac/emulab/wiki/UpdateNode