BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} disable in bb 1.9



I've recompiled again, this time I also used -DDEBUG=1 and I'm getting lots of output in BBOUT. I'm testing by doing:

echo "disable proto.its.uwo.ca.swap 240m testing" | telnet orwell.its.uwo.pri 1984

from my desktop (my desktop is not proto) and I'm seeing this in the logs:

INCOMING CONNECTION FROM: 3271648385 - 129.100.1.195
CHECKSECUITY DEFAULT RETURNING 1
NEW INCOMING MESSAGE
about to accept()
MESSAGE LEN: 45 TOTAL: 0
REC'D: disable proto.its.uwo.ca.swap 240m hostdown

IGNORE MESSAGE from 129.100.1.195: disable proto.its.uwo.ca.swap 240m hostdown

Why is it ignoring my disable messages?

I've tried sending from various hosts but they're all ignored. The only time it isn't ignored is when I send it from the BBDISPLAY host itself, then I see nothing in the log (maybe it's just getting lost in all the noise).

I can also see in the debug info that bbd is checking to see if the disable file exists. I can even touch a file which it will see as expired and delete.

Help?



Andrew Culver wrote:
I've recompiled with the -DENABLE_DISABLE option and copied bb and bbd into place and restarted bbd. This doesn't seem to be working either. I've tried with the cgi script on the webserver and also tried doing things like:

echo "disable proto.its.uwo.ca* 240" | telnet orwell.its.uwo.pri 1984

They aren't being disabled. Am I missing something? Is any of this documented anywhere? The 1.9 manual just says to put that flag in the config and it should work.. mentions nothing about recompiling.

Thanks,
Andrew


Ryan Novosielski wrote:


You absolutely do need to recompile. You must enable it in the Makefile and then compile.

Andrew Culver wrote:

I'm trying to get my disable working under 1.9h. In bbdef-server.sh I've set

RUNOPTS="ENABLE_DISABLE NOTESMSG"

My notes works, but I can't disable anything. I've tried with a plug, with sending commands to port 1984 manually and even sending the commands from bb on the BBDISPLAY itself.

In previous versions of bb, you had to recompile to be able to disable.. do I need to recompile 1.9h? I thought I just needed RUNOPTS="ENABLE_DISABLE" but I'm starting to wonder...

Thanks


-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, or to subscribe to the bb-digest list send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or- subscribe bb-digest in the BODY of the message.



-- Andrew Culver

root@nato:~# /etc/init.d/skynet start
root@nato:~#
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index