

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This project requires you to build two COM out-of-process servers that scan certain machine conditions periodically, with dormant periods between scans. We will refer to them as sniffers, for reasons that become apparent, below. You will also build a client of these servers that, when run, query the sniffers, to retrieve information about their scans. One sniffer scans for currently running processes, and keeps a persistent collection of the names of all the processes it has seen. For each process it maintains a property that records if the client has indicated it to be a safe process. On command it will disclose to the client the list of unsafe processes or a list of all the processes. With each entry it lists the last date the process was active. On command it will mark any group of processes as safe. The other sniffer scans all machine ports from 0 to 9999. It observes all ports currently hosting a connection. It too maintains a list of all ports on which it has observed connections, and for each such port a property that records if the client has indicated it to be safe. On command it will disclose to the client all unsafe or all port connections and which are listeners, with the last date on which the connection was observed. On command it marks any group of ports as safe. You are asked to build one of the sniffers using straight C++, using either OutOfProc1 or OutOfProc3b as a prototype. You are also asked to use ATL to build the other sniffer. Please also use C# to build the client interface, which queries sniffers and indicates safe entries.
CSE775 – Distributed Objects Spring 2005