network status monitor project

    Date: 12/14/04 (Algorithms)    Keywords: browser, html, web

    Here is the gist of some project we are working on

    1) ping defined machines

    we have a ping.c program based on stevens but slightly modified so as
    to suit our project needs , it is basic and only verbose mode has been
    provided.

    - It outputs to screen if run in verbose mode as ./ping -v localhost 32 2
    here 32 is packet length and 2 is the number of packets to be sent for
    ICMP echo reply
    -we compiled as cc ping.c -o ping

    2) portscan and portcheck

    we scan all ports via portscan.c program that will scan ports
    specified as argiments from start port to end port.
    It connects to ports and returns success else error thats all

    3) pingme file

    this has the hostnames or addresses in dot notation that define whom
    to ping upon .

    4) pinger shell script

    This shell script logs to /var/www/html and file created in pingme.html
    -executes the programs mentioned above and basically reads args from
    pingme file for the programs.
    - the output is logged to html file
    -execute as ./pinger

    5) open in browser
    we open http://localhost/pingme.html in browser



    Results is as below

    Statistics for ping on Mon Dec 13 21:57:51 IST 2004 from machine
    localhost.localdomain

    Hostname Reachable? Port 80 Port 21
    localhost: yes yes nope

    Details:
    done:
    * ping
    * portcheck
    * portscan
    * script to integrate all components
    - add html output

    todo for networking project:
    * network congestion check
    * run all periodically
    * add eye-candy to html output

    Now this is project specifications we created

    Implementation of a network status monitor that can perform these steps

    1) ping all defined machines in the network from time to time, and
    alert (by an indicator on a web page or screen) when some machine is
    down
    (2) periodically check HTTP and FTP ports of important machines (like
    your intranet server) to verify that services are running and
    responding properly
    (3) can check if there is any networking problem like ping delay or
    HTTP server responding slow
    (4) sysadmins can add custom service ports (other than HTTP/FTP) to
    their checklist
    (5) your application will then check if those ports are open from time to time

    1,2,4,5 are done so far ...for 3rd step we think some network
    congestion algorithm is needed and implementing it is needed. but
    simulation of congestion in lan is going to be tough right...any
    solutions ideas.....;)

    What more features we can add to this project to make it look l33t and
    impressive ....please do suggest some ideas.

    Deadline is approaching so please hurry....thanks again.

    Source: http://www.livejournal.com/community/algorithms/40484.html

« Search for several substrings || Minimax »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home