I would like MC to detect all incoming connection requests,
regardless of the requested port, and respond by issuing a
message. I envision a message whose parameters contain all
available info on the connection request. If the connection
request is for a port where the stack is listening, this message
would be fired before the socket is opened. For example:
on socketRequest pPortNum, pRequestData
if pPortNum is among the lines of the permittedPorts of me
then
pass socketRequest
else
put short date && long time & tab \
& pPortNum & tab \
& digested(pRequestData) & cr \
after url "file:log"
end if
end socketRequest
Maybe it could be used to prevent the opening of an otherwise
accepting port under certain conditions, similar to the way
"closeStackRequest" can be used to prevent the closing of a stack.
This feature would enable us to build things like firewalls that
log all connection requests, whether they were honored or not.
Does this sound useful to anyone besides me?
--
Phil Davis
-----------------------------------
[EMAIL PROTECTED]
days: (503) 417-7930
eves: (503) 557-5656
-----------------------------------
Facilitator
Essentials of eBusiness Computing
Information Technology Institute
http://www.iti.com
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.