Questions!!

Thursday, October 1, 2009
@ Sowmya and group:
 
1. How is IP a connectionless protocol? Agreed that data can be transmitted without the consent of the reciever, but its not a rule which it follows always.
 
@ Rajani and group :
 
1.How secure is reverse proxy mechanisim? Consider google itself , if they use a combination of servers under same ip to handle the requests anybody else can do the same and pretend to be google right? This applies for any scenario where we can pretend to be some other standard servers? Is it possible? How secure is proxy mechanism?



--
Sahana

Video of protocol stack data transmission

Group cc01:
rashmi kamat
roopavani.r
soumya.v.n
suma.p

video of protocol stack data transmission:

Questions on 29th september presentations

Wednesday, September 30, 2009
question on proxy server:
 what is PAC (proxy auto config) file?

question for protocol stacking?
how different are transport layers of TCP and UDP?

submitted by CC16
darshan thappa
priya m.s.
satchidanand das
karthik k.

Questions by CC10

Tuesday, September 29, 2009
HTTP Proxy Server:
How did the proxyfire select the 17 proxies?

Protocol Stack and Addressing:
Consider a system with a DSL modem/router and a wifi router. The modem connects to the router through the WAN port on the router. Assume that DHCP is enabled on both. The ip range for DHCP is 192.168.0.X to 192.168.0.Y on the modem and on the router. There is a machine which is connected to the router through the LAN port and a system that accesses the internet wirelessly. If the two machines want to access the network resources simultaneously, will there be a conflict? If yes, why and how to resolve it. If no, why not?

--
Srikanth.V.Goutham
Surakshith.B
Shreyas.V
Amith Nayaka T.E

Questions by CC4

What is the difference between wan IP and local IP?
How HTTP is different from SOCKS?

BY CC4

Presentation by CC15

To view the pdf or download please follow the link below:
http://www.keepandshare.com/doc/view.php?id=1419143&da=y

QUESTIONS by CC19

HTTP PROXY SERVER
1)How to block some IP addresses of users so that they cann't access some defined sites by use of Webmin in Squid Server(access contol) ?
2)What is Proxy Chaining?
PROTOCOL STACK
1)What is ISDN protocol stack?

2)What Network Management Protocol does the OSI Protocol Stack use?

Question:CC20

QUESTIONS:- HTTP PROXY SERVER:

1. what is inbound/netbound traffic and how is it recognised in reverse proxy?


QUESTION:-IP ADDRESSING AND PROTOCOL STACK:

1. what is cataloging in enterprise ip address manager
a.what is hop?
b.what is classless addressing

TEAM MEMBERS:- CC20
1.swetha.m
2.shilpa.s
3.padma.b.s
4.shruthi.k.n

Question on http proxy server

Explain more about transparent server?

from cc11
Shreyas.H.D
Prabhakara.S.H
Vijay.S.S
Sharath.S

Questions by CC9

Question for Proxy Servers:

Why use a proxy server to get a different IP when you can simply mask it?

Question for Protocol Stack:

How does Real Hide IP protect from hackers?


Team members:

Rajavardhan
Rishikesh
Siddharth
Sriniketan
Rishabh

Questions for Sessions on 29th September by CC6

Monday, September 28, 2009
# HTTP Proxy Server :
1) How HTTP proxy server keeps system as anonymous?
2) What is secure socket layer (SSL)?
3) How is Proxy Server different from Open DNS?

# Protocol Stack:
1)Wat is the role of presentation layer in transfer of data?
2) How does routing selection happen in network layer?

# Questions by-
Team Noesis (CC 6)

# Members-
  • Sourav
  • Renuka
  • Siddesh
  • Masoud

An introduction to TCP/IP utilities

 

Transmission Control Protocol/Internet Protocol is the basic communication language or protocol of the Internet. It can also be used as a communications protocol in a private network (either an intranet or an extranet). When you are set up with direct access to the Internet, your computer is provided with a copy of the TCP/IP program just as every other computer that you may send messages to or get information from also has a copy of TCP/IP.

TCP/IP is a two-layer program. The higher layer, Transmission Control Protocol, manages the assembling of a message or file into smaller packets that are transmitted over the Internet and received by a TCP layer that reassembles the packets into the original message. The lower layer, Internet Protocol, handles the address part of each packet so that it gets to the right destination. Each gateway computer on the network checks this address to see where to forward the message. Even though some packets from the same message are routed differently than others, they'll be reassembled at the destination.

TCP/IP uses the client/server model of communication in which a computer user (a client) requests and is provided a service (such as sending a Web page) by another computer (a server) in the network. TCP/IP communication is primarily point-to-point, meaning each communication is from one point (or host computer) in the network to another point or host computer. TCP/IP and the higher-level applications that use it are collectively said to be "stateless" because each client request is considered a new request unrelated to any previous one (unlike ordinary phone conversations that require a dedicated connection for the call duration). Being stateless frees network paths so that everyone can use them continuously. (Note that the TCP layer itself is not stateless as far as any one message is concerned. Its connection remains in place until all packets in a message have been received.)

Many Internet users are familiar with the even higher layer application protocols that use TCP/IP to get to the Internet. These include the World Wide Web's Hypertext Transfer Protocol (HTTP), the File Transfer Protocol (FTP), Telnet (Telnet) which lets you logon to remote computers, and the Simple Mail Transfer Protocol (SMTP). These and other protocols are often packaged together with TCP/IP as a "suite."

Personal computer users with an analog phone modem connection to the Internet usually get to the Internet through the Serial Line Internet Protocol (SLIP) or the Point-to-Point Protocol (PPP). These protocols encapsulate the IP packets so that they can be sent over the dial-up phone connection to an access provider's modem.

Protocols related to TCP/IP include the User Datagram Protocol (UDP), which is used instead of TCP for special purposes. Other protocols are used by network host computers for exchanging router information. These include the Internet Control Message Protocol (ICMP), the Interior Gateway Protocol (IGP), the Exterior Gateway Protocol (EGP), and the Border Gateway Protocol (BGP).
 
The common TCP/IP utilities are as follows:
 
  • ARP
ARP stand for Address Resolution Protocol. This provides IP to Ethernet addresses. Each hardware card has an address coded in. This allows deletion and addition to the ARP cache.
 
  • Nbtstat
This is a very useful little tools if networked and/or using Win servers or Lmhost file. It displays TCP/IP connections using netbios.  The switches to be used will be shown if typing nbtstat from the command prompt.
 
  • Netstat
This utility provides the connection both the local and remote, ports and the state of the connection. It has several switches which maybe found by typing netstat /? from the command prompt. It provides the IP addresses and the ports of the remote computer(S) to which the socket is connected. It shows the the port numbers as well as IP address for the local computer.
 
  • Ping
This is a simple diagnostic tool to verify connection and also used quite frequently as a troubleshooting tools. The available switches can be obtained by typing ping from command prompt.
 
  • Route
This command is very useful if using networking. It allows you to view and manipulate the routing tables. It is a very useful tool for diagnosing and modifying networking routing issues.
 
  • Tracert
This is a utility which allows you to see the route taken by packages from yourself to a destination. It also show the time it takes. It can also be used to determined the IP address of a service were you only know the name.
 
  • Winipcfg
A very useful little utility. Use Start ---->Run and type in winipcfg. It will tell you your present IP address and your subnet mask.
 
By-CC 18
1.Sharath babu
2.Vatsal. Doshi
3.Sushma Rao
4.Rakshita shetty
5.Sahana. P
 

Network Protocol Analyzer by CC12

Tuesday, September 22, 2009

NETWORK PROTOCOL ANALYZER

The packet analyzer (also known as a network analyzer, protocol analyzer or sniffer, or for particular types of networks, an Ethernet sniffer or wireless sniffer) is computer software or computer hardware that can intercept and log traffic passing over a digital network or part of a network. As data streams flow across the network, the sniffer captures each packet and eventually decodes and analyzes its content according to the appropriate RFC or other specifications.

USES:

The versatility of packet sniffers means they can be used to:

Analyze network problems

Detect network intrusion attempts

Gain information for effecting a network intrusion

Monitor network usage

Gather and report network statistics

Filter suspect content from network traffic

Spy on other network users and collect sensitive information such as passwords (depending on any content encryption methods which may be in use)

Reverse engineer proprietary protocols used over the network

Debug client/server communications

Debug network protocol implementations

    NOTABLE PACKET ANALYZERS:

WIRESHARK:

Wireshark is a free packet analyzer computer application. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, in May 2006 the project was renamed Wireshark due to trademark issues.

Wireshark is a network packet analyzer. A network packet analyzer will try to capture network

packets and tries to display that packet data as detailed as possible.

You could think of a network packet analyzer as a measuring device used to examine what's going

on inside a network cable, just like a voltmeter is used by an electrician to examine what's going on

inside an electric cable (but at a higher level, of course).

In the past, such tools were either very expensive, proprietary, or both. However, with the advent of Wireshark, all that has changed.

Wireshark is perhaps one of the best open source packet analyzers available today.

SOME INTENDED PURPOSES:

Here are some examples people use Wireshark for:

• network administrators use it to troubleshoot network problems.

• network security engineers use it to examine security problems.

• developers use it to debug protocol implementations.

• people use it to learn network protocol internals.

The following are some of the many features Wireshark provides:

• Available for UNIX and Windows.

• Capture live packet data from a network interface.

• Display packets with very detailed protocol information.

• Open and Save packet data captured.

• Import and Export packet data from and to a lot of other capture programs.

• Filter packets on many criteria.

• Search for packets on many criteria.

• Colorize packet display based on filters.

• Create various statistics.

By CC-12
Raksha.J
Sahana.P.Shankar
Sai Janaki tejaswi p
Shruthi raghavan

Stop & Wait by CC3

STOP AND WAIT

Design and Implementation

Assumption: Error free communication channel

The sender in this protocol simply retrieves a packet from the network layer, copies it into a frame, and then transmits it. After transmission, the sender busy waits until an acknowledgement is received from the receiver, then the loop starts over again.

The receiver simply busy waits until a frame is received. Once a frame is received it passes the data packet to the network layer and sends an acknowledgement for the frame it just received. It then loops back to busy waiting and the process continues until the End of File is reached.

In this protocol, there can only be one outstanding frame at a time so no sequence numbers are required and the acknowledgement the receiver sends back to the sender is nothing more than an empty frame, as there is no other possibility then acknowledging the only frame sent. Another frame will not be sent until this acknowledgement is received.

Performance

The Stop and Wait protocol was very easy to implement and runs very quickly and efficiently. It solves the problem of congestion, as only one frame is outstanding at any time, frames cannot be lost due to congestion and the receiver will not be swamped by the sender.

Point of failure

The problem with it is that it assumes an error free communication channel and in the real world, such a channel does not exist. It is easy to see that if a frame or an acknowledgement gets lost or damaged, a deadlock situation will occur where neither the sender or receiver can advance, and they will be thrown into infinite loops.

Arpith Uttarkar

Proxy Servers by CC09

Proxy Servers

In computer networks, a proxy server is a server (a computer system or an application program) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. The proxy server evaluates the request according to its filtering rules. For example, it may filter traffic by IP address or protocol. If the request is validated by the filter, the proxy provides the resource by connecting to the relevant server and requesting the service on behalf of the client. A proxy server may optionally alter the client's request or the server's response, and sometimes it may serve the request without contacting the specified server. In this case, it 'caches' responses from the remote server, and returns subsequent requests for the same content directly.

A proxy server has two purposes:

To keep machines behind it anonymous (mainly for security).
To speed up access to a resource (via caching). It is commonly used to cache web pages from a web server.
A proxy server that passes requests and replies unmodified is usually called a gateway or sometimes tunneling proxy.

A proxy server can be placed in the user's local computer or at various points between the user and the destination servers or the Internet. A reverse proxy is a proxy used as a front-end to accelerate and cache in-demand resources (such as a web page).

Team CC09:
Rajavardhan
Rishikesh
Siddharth
Sriniketan
Rishabh

Remote Login- CC4

What is Remote login?

Hello friends in this post i am going to tell you one of the most important concepts of networking that is Remote Login. Here in this post i will tell you what the Remote Login is, how it works and many other things related to it.

In simple words Remote Login means to access other computers on the network or on the other network by the use of telnet or rlogin command. In other words we can also say that Remote Login means to access native computer from the other computer on the network when you are connected to the internet. Generally there are two protocols that are used for Remote Login:
1.RLOGIN Protocol Overview
2.TELNET Protocol Overview

For using the TELNET command for remote login the syntax is:

-->telnet hostname

After connecting with the remote host, you will be prompted for your login id and your password just as if you were logging on via a terminal on that system.


For using the RLOGIN command for remote login the syntax is:

-->rlogin hostname

This command provides an advantage over the telnet command that is here in this command you can specify a username on the command line, and can set it up so that when you rlogin to a host you will not be prompted for a password. Rlogin assumes you wish to login to an account with the same name as the account you are presently logged in as. If you wish to change this, use the -l option.

How Desktop Sharing Works

*

Remote Login

Let's say you're preparing a huge PowerPoint presentation for a big meeting on Friday. All of the PowerPoint files and PDFs and images that you want to use in your presentation are saved on the hard drive of your work computer. Thursday rolls around and you wake up with a nasty stomach virus. You don't feel well enough to go to the office, but you need to finish that presentation. Here's where remote login can help.

Until recently, virtual private networks (VPN) were the only way to remotely access work files from home. But VPN access isn't the same as accessing the hard drive of your work computer. VPN gives you access to the local area network (LAN) at your office. With VPN, you're only able to access your PowerPoint presentation files if you've saved them on the network, not just on your computer's hard drive.

Remote login, however, uses simple desktop sharing software to give you a "remote control" for accessing your computer -- and all of its software and hard drive files -- from any Internet-connected device anywhere in the world.

Remote login works exactly the same way as desktop sharing. In desktop sharing, there are two separate parties: the host computer and the remote user. To share a desktop, the host computer allows a remote user to view the contents of the host computer's desktop over the Internet. The host computer can also hand over keyboard and mouse controls to the remote user. With remote log-in, your home or work computer is the host and you (in this case) are the remote user.

Remote login requires three basic components:

1. Software download

2. Internet connection

3. Secure desktop sharing network

Proxy Servers by CC7

Proxy servers have two main purposes:

  • Improve Performance: Proxy servers can dramatically improve performance for groups of users. This is because it saves the results of all requests for a certain amount of time. Consider the case where both user X and user Y access the World Wide Web through a proxy server. First user X requests a certain Web page, which we'll call Page 1. Sometime later, user Y requests the same page. Instead of forwarding the request to the Web server where Page 1 resides, which can be a time-consuming operation, the proxy server simply returns the Page 1 that it already fetched for user X. Since the proxy server is often on the same network as the user, this is a much faster operation. Real proxy servers support hundreds or thousands of users. The major online services such as America Online, MSN and Yahoo, for example, employ an array of proxy servers.
  • Filter Requests: Proxy servers can also be used to filter requests. For example, a company might use a proxy server to prevent its employees from accessing a specific set of Web sites.
  • by group CC7

    Question For Wireshark

    QUESTION:

    1. how ethernet helps in this wireshark? what is the purpose of using this?


    TEAM MEMBERS:
    1.Swetha.M
    2.Shruthi.K.N
    3.Baharan
    4.Malihe

    Question for transmission media:

    QUESTIONS:
    1. how the cross talk is done? reason for crosstalk?
    2.what is repeater? what is purpose of using it?


    TEAM MEMBERS:
    Swetha.M
    Shruthi.K.N
    Baharan
    Malihe

    Protocol Stack & Addressing

    Monday, September 21, 2009
    Layer 1: Physical Layer
    The Physical Layer defines the electrical and physical specifications for devices. In particular, it defines the relationship between a device and a physical medium. This includes the layout of pins, voltages, cable specifications, Hubs, repeaters, network adapters, Host Bus Adapters (HBAs used in Storage Area Networks) and more.

    To understand the function of the Physical Layer in contrast to the functions of the Data Link Layer, think of the Physical Layer as concerned primarily with the interaction of a single device with a medium, where the Data Link Layer is concerned more with the interactions of multiple devices (i.e., at least two) with a shared medium. The Physical Layer will tell one device how to transmit to the medium, and another device how to receive from it (in most cases it does not tell the device how to connect to the medium). Standards such as RS-232 do use physical wires to control access to the medium.

    The major functions and services performed by the Physical Layer are:

    * Establishment and termination of a connection to a communications medium.
    * Participation in the process whereby the communication resources are effectively shared among multiple users. For example, contention resolution and flow control.
    * Modulation, or conversion between the representation of digital data in user equipment and the corresponding signals transmitted over a communications channel. These are signals operating over the physical cabling (such as copper and optical fiber) or over a radio link.

    Parallel SCSI buses operate in this layer, although it must be remembered that the logical SCSI protocol is a Transport Layer protocol that runs over this bus. Various Physical Layer Ethernet standards are also in this layer; Ethernet incorporates both this layer and the Data Link Layer. The same applies to other local-area networks, such as Token ring, FDDI, ITU-T G.hn and IEEE 802.11, as well as personal area networks such as Bluetooth and IEEE 802.15.4.


    Layer 2: Data Link Layer


    The Data Link Layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the Physical Layer. Originally, this layer was intended for point-to-point and point-to-multipoint media, characteristic of wide area media in the telephone system. Local area network architecture, which included broadcast-capable multiaccess media, was developed independently of the ISO work, in IEEE Project 802. IEEE work assumed sublayering and management functions not required for WAN use. In modern practice, only error detection, not flow control using sliding window, is present in modern data link protocols such as Point-to-Point Protocol (PPP), and, on local area networks, the IEEE 802.2 LLC layer is not used for most protocols on Ethernet, and, on other local area networks, its flow control and acknowledgment mechanisms are rarely used. Sliding window flow control and acknowledgment is used at the Transport Layer by protocols such as TCP, but is still used in niches where X.25 offers performance advantages.

    The ITU-T G.hn standard, which provides high-speed local area networking over existing wires (power lines, phone lines and coaxial cables), includes a complete Data Link Layer which provides both error correction and flow control by means of a selective repeat Sliding Window Protocol.

    Both WAN and LAN services arrange bits, from the Physical Layer, into logical sequences called frames. Not all Physical Layer bits necessarily go into frames, as some of these bits are purely intended for Physical Layer functions. For example, every fifth bit of the FDDI bit stream is not used by the Layer.

    Layer 3: Network Layer

    The Network Layer provides the functional and procedural means of transferring variable length data sequences from a source to a destination via one or more networks, while maintaining the quality of service requested by the Transport Layer. The Network Layer performs network routing functions, and might also perform fragmentation and reassembly, and report delivery errors. Routers operate at this layer—sending data throughout the extended network and making the Internet possible. This is a logical addressing scheme – values are chosen by the network engineer. The addressing scheme is hierarchical.

    The best-known example of a Layer 3 protocol is the Internet Protocol (IP). It manages the connectionless transfer of data one hop at a time, from end system to ingress router, router to router, and from egress router to destination end system. It is not responsible for reliable delivery to a next hop, but only for the detection of errored packets so they may be discarded. When the medium of the next hop cannot accept a packet in its current length, IP is responsible for fragmenting the packet into sufficiently small packets that the medium can accept.

    A number of layer management protocols, a function defined in the Management Annex, ISO 7498/4, belong to the Network Layer. These include routing protocols, multicast group management, Network Layer information and error, and Network Layer address assignment. It is the function of the payload that makes these belong to the Network Layer, not the protocol that carries them.

    Layer 4: Transport Layer


    The Transport Layer provides transparent transfer of data between end users, providing reliable data transfer services to the upper layers. The Transport Layer controls the reliability of a given link through flow control, segmentation/desegmentation, and error control. Some protocols are state and connection oriented. This means that the Transport Layer can keep track of the segments and retransmit those that fail.

    Although not developed under the OSI Reference Model and not strictly conforming to the OSI definition of the Transport Layer, typical examples of Layer 4 are the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).

    Of the actual OSI protocols, there are five classes of connection-mode transport protocols ranging from class 0 (which is also known as TP0 and provides the least error recovery) to class 4 (TP4, designed for less reliable networks, similar to the Internet). Class 0 contains no error recovery, and was designed for use on network layers that provide error-free connections. Class 4 is closest to TCP, although TCP contains functions, such as the graceful close, which OSI assigns to the Session Layer. Also, all OSI TP connection-mode protocol classes provide expedited data and preservation of record boundaries, both of which TCP is incapable.


    Layer 5: Session Layer


    The Session Layer controls the dialogues (connections) between computers. It establishes, manages and terminates the connections between the local and remote application. It provides for full-duplex, half-duplex, or simplex operation, and establishes checkpointing, adjournment, termination, and restart procedures. The OSI model made this layer responsible for graceful close of sessions, which is a property of the Transmission Control Protocol, and also for session checkpointing and recovery, which is not usually used in the Internet Protocol Suite. The Session Layer is commonly implemented explicitly in application environments that use remote procedure calls.


    Layer 6: Presentation Layer


    The Presentation Layer establishes a context between Application Layer entities, in which the higher-layer entities can use different syntax and semantics, as long as the Presentation Service understands both and the mapping between them. The presentation service data units are then encapsulated into Session Protocol Data Units, and moved down the stack.

    This layer provides independence from differences in data representation (e.g., encryption) by translating from application to network format, and vice versa. The presentation layer works to transform data into the form that the application layer can accept. This layer formats and encrypts data to be sent across a network, providing freedom from compatibility problems. It is sometimes called the syntax layer.

    The original presentation structure used the Basic Encoding Rules of Abstract Syntax Notation One with capabilities such as converting an EBCDIC-coded text file to an ASCII-coded file, or serialization of objects and other data structures from and to XML.

    Layer 7: Application Layer


    The application layer is the OSI layer closest to the end user, which means that both the OSI application layer and the user interact directly with the software application. This layer interacts with software applications that implement a communicating component. Such application programs fall outside the scope of the OSI model. Application layer functions typically include identifying communication partners, determining resource availability, and synchronizing communication. When identifying communication partners, the application layer determines the identity and availability of communication partners for an application with data to transmit. When determining resource availability, the application layer must decide whether sufficient network resources for the requested communication exist. In synchronizing communication, all communication between applications requires cooperation that is managed by the application layer. Some examples of application layer implementations include Protocol (HTTP), File Transfer Protocol (FTP), Simple Mail Transfer Protocol (SMTP) and X.400 Electronic Mail.


    BY:

    CC01