SUS Commander - PowerPoint PPT Presentation

About This Presentation
Title:

SUS Commander

Description:

Department of Natural Resources uses a Software Update Server to update the user's PCs. ... 204.89.222.92 80 HEAD /selfupdate/AU/x86/W2K/en/wuaucomp.cab 0411290012 200 ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 18
Provided by: S488
Category:
Tags: sus | au | commander | natural

less

Transcript and Presenter's Notes

Title: SUS Commander


1
SUS Commander
  • Sean Merritt

2
Background
  • Department of Natural Resources uses a Software
    Update Server to update the users PCs.
  • The log files are cryptic
  • Need a way to evaluate the log files
  • Generating reports would prove how useful the
    system is.

3
Goals
  • Design and implement a system that will decipher
    the log files and provide helpful feedback to the
    server administrators.
  • Make the system dynamic so anyone using a
    Software Update Server can use it.

4
SUS Commander
  • Ability to import entire directories of log
    files.
  • Reads relevant information into an Access
    database.
  • Allows for the creation of custom logical WANs
    for sorting.
  • Exports HTML or Plain Text reports from
    user-specified queries.

5
Data
  • The log files.
  • The custom wan configuration.
  • Stored in a scripting like format
  • The database.
  • Contains all of the extracted information from
    the log files
  • Registry keys to store important information on
    file locations.

6
Example of a Days Log File
  • Software Microsoft Internet Information
    Services 5.0
  • Version 1.0
  • Date 2004-11-29 000002
  • Fields date time c-ip cs-username s-ip s-port
    cs-method cs-uri-stem cs-uri-query sc-status
    cs(User-Agent)
  • 2004-11-29 000002 204.126.118.185 -
    204.89.222.92 80 GET /wutrack.bin
    V2U4ebd9c766be10a43b16b975d41400fa7CiuAnI
    DP5.0.893.2.0.1.0Len-USSsE00000000MX
    041129115959691 200 IndustryUpdateControl
  • 2004-11-29 000002 204.126.118.185 -
    204.89.222.92 80 GET /wutrack.bin
    V2U4ebd9c766be10a43b16b975d41400fa7CiuAnI
    DP5.0.893.2.0.1.0Len-USSsE00000000MX
    041129120000032 200 IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 HEAD /iuident.cab 0411290012 200
    IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 GET /iuident.cab 0411290012 200
    IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 HEAD /selfupdate/AU/x86/W2K/en/wuaucomp.cab
    0411290012 200 IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 GET /selfupdate/AU/x86/W2K/en/wuaucomp.cab
    0411290012 200 IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 HEAD /iuident.cab 0411290012 200
    IndustryUpdateControl
  • 2004-11-29 001101 146.63.96.98 - 204.89.222.92
    80 GET /wutrack.bin V2U9a8eec4e9adc7043b45ba833
    addf8410CiuAnIDP5.0.893.2.0.1.0Len-US
    SsE00000000MX041129001255852 200
    IndustryUpdateControl
  • (continues for thousands of lines..)

7
Wan Configuration File
  • DNR
  • Anchorage
  • this is a comment. Ignore me
  • Atwood
  • first 4 numbers are the
    base ip and the last number defines the range
  • 6th floor (146 63 110 35 126)
  • 7th floor (204 89 222 1 254)
  • 9th floor (146 63 111 31 112)
  • 10th floor (146 63 110 166 254)
  • 12th floor (204 17 169 100 254)
  • 13th floor (146 63 165 50 126)
  • 14th floor (204 126 118 50 254)
  • OPMP
  • DGGS
  • TLO (146 63 116 160 182)

8
More on the WAN Config File
  • The data between each parenthesis is a branch in
    a tree.
  • Recursive function used to load and save the
    data.
  • Comments are ignored when loading.
  • Easy to edit by hand if necessary.

9
Architecture
10
Final Product
11
Notes on the Main Window
  • When starting, everything is loaded
    automatically.
  • Custom WAN
  • Database information
  • Directory and file paths
  • Gives access to the other windows.
  • Is in charge of communicating with the database.

12
Log File Import Tool
  • Can import directories of log files
  • Capable of a full replacement
  • Will query the DNS server for computer names

13
Wan Configuration
  • Creates a logical WAN to sort the IP addresses
  • Dynamic so not every entry needs an IP range
  • Can delete entire branches or single entries

14
Difficulties
  • Time management
  • Taking 19 credits and working.
  • Creating a recursive function to build sql
    queries from the tree (the main form).
  • Coming up with a way to store the WAN
    configuration.
  • Writing my own date and ip classes suited more
    for my needs.

15
What I Learned
  • How to connect to, read from, and write to an
    Access database in C.
  • Registry manipulation (creating keys, saving
    values to them, etc.).
  • How some of the more complex C forms work
    (TreeView for example).
  • Having a better design document would have saved
    me time.

16
Conclusion
  • SUS Commander will allow for better monitoring of
    SUS activity.
  • The DNS lookups will help us pinpoint possible
    weak spots.
  • Report generation will provide data that can be
    valuable for future upgrades and security
    meetings.
  • HTML reports can help technicians make sure that
    remote offices are being updated while on site.

17
Questions?
Write a Comment
User Comments (0)
About PowerShow.com