Code Monkey home page Code Monkey logo

proxy's Introduction

####################################################################
# CS:APP Proxy Server
# TEAM MEMBERS: 
# Ngan Nguyen [email protected]
# David Allen [email protected]
# Bob Makazhu [email protected]
####################################################################

This is  directory contains the files you will need for two versions of a Web proxy that logs web requests while filtering out requests/replies from potentially malicious sites. 

proxy.c
    A simple single-threaded HTTP proxy that 
        (1) accepts requests, logging each request to a text file
        (2) forwards the request to the end server unless destination is a potentially malicious site
        (3) returns the result back to the browser
    To run the proxy, type a command-line argument specifying the port number on which it should listen for its connection requests
    > ./proxy <port-number> 
conc-proxy.c
    Functions as the previous proxy version but also deas with multiple clients concurrently. It spawns separate threads to deal with each request. 
    To run the proxy, type a command-line argument specifying the port number on which it should listen for its connection requests
    > ./conc-proxy <port-number> 

Makefile
    This is the makefile that builds the proxy program.  Type "make"
    to build your solution, or "make clean" followed by "make" for a
    fresh build. 

    Type "make handin" to create the tarfile that you will be handing
    in. You can modify it any way you like. Your instructor will use your
    Makefile to build your proxy from source.

port-for-user.pl
    Generates a random port for a particular user
    usage: ./port-for-user.pl <userID>

free-port.sh
    Handy script that identifies an unused TCP port that you can use
    for your proxy or tiny. 
    usage: ./free-port.sh

driver.sh
    The autograder for Basic, Concurrency, and Cache.        
    usage: ./driver.sh

nop-server.py
     helper for the autograder.         

tiny
    Tiny Web server from the CS:APP text

proxy's People

Contributors

ngan-cassie avatar makazhubr avatar all-end avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.