VB Socket Visual Basic socket implementation

Size: px
Start display at page:

Download "VB Socket Visual Basic socket implementation"

Transcription

1 10 VB Socket Visual Basic socket implementation Visual Basic support a WinSock control which allows the connection of hosts over a network. It supports both UDP and TCP. Figure 10. shows a sample Visual Basic screen with a WinSock object (in this case, it is named Winsock1). To set the Procotol used then either select the Properties window on the WinSock object, click Protocol and select either scktcpprotocol, or sckudpprotocol. Otherwise, within the code it can be set to TCP with: Winsock1.Protocol = scktcpprotocol Figure 10.1 WinSock object The WinSock object has various properties, such as: 167

2 obj.remotehost obj.localport Defines the IP address or DNS of the remote host. Defines the local port number The methods that are used with the WinSock object are: obj.connect obj.listen obj.getdata obj.senddata Connects to a remote host (client invoked). Listens for a connection (server invoked). Reads data from the input steam. Sends data to an output stream. The main events are: ConnectionRequest DataArrival Occurs when a remote host wants to make a connection with a server. Occurs when data has arrived from a connection (data is then read with GetData) Creating a server A server must listen for connection. To do this, do the following: 1 Create a new Standard EXE project. 2 Change the name of the default form to myserver. 3 Change the caption of the form to Server Application (see Figure 10.2). 4 Put a Winsock control on the main format and change its name to mytcpserver. 5 Add two TextBox controls to the form. Name the first SendTextData, and the second ShowText (see Figure 10.2). 6 Add the code given below to the form. Figure 10.2 Server setups Private Sub Form_Load() ' Set the local port to 1001 and listen for a connection mytcpserver.localport = Mastering Networks

3 mytcpserver.listen myclient.show Private Sub mytcpserver_connectionrequest (ByVal requestid As Long) ' Check state of socket, if it is not closed then close it. If mytcpserver.state <> sckclosed Then mytcpserver.close ' Accept the request with the requestid parameter. mytcpserver.accept requestid Private Sub SendTextData_Change() ' SendTextData contains the data to be sent. ' This data is setn using the SendData method mytcpserver.senddata = SendTextData.Text Private Sub mytcpserver_dataarrival (ByVal bytestotal As Long) ' Read incoming data into the str variable, ' then display it to ShowText Dim str As String mytcpserver.getdata = str ShowText.Text = str Figure 10.3 shows the server setup. Figure 10.3 Server form Creating a client TCP/UDP 169

4 The client must actively seek a connection. To create a client, do the following: 1 Add a new form to the project, and name it myclient. 2 Change the caption of the form to Client Application. 3 Add a Winsock control to the form and name it mytcpclient. 4 Add two TextBox controls to the form. Name the first SendTextData, and the second ShowText. 5 Draw a CommandButton control on the form and name it cmdconnect. 6 Change the caption of the CommandButton control to Connect. 7 Add the code given below to the form. Private Sub Form_Load() ' In this case it will connect to ' change this to the local IP address or DNS of the local computer mytcpclient.remotehost = " " mytcpclient.remoteport = 1001 Private Sub cmdconnect_click() ' Connect to the server mytcpclient.connect Private Sub SendTextData_Change() tcpclient.senddata txtsend.text Private Sub tcpclient_dataarrival (ByVal bytestotal As Long) Dim str As String mytcpclient.getdata str ShowText.Text = str 170 Mastering Networks

5 Figure 10.4 Client form The program, when it is run, will act as a client and a server. Any text typed in the SendTxtData TextBox will be sent to the ShowText TextBox on the other form Multiple connections In Visual Basic, it is also possible to create multiple connections to a server. This is done by creating multiple occurances of the server object. A new one is created every time there is a new connection (with the Connection_Request event). Each new server accepts the incoming connection. The following code, which has a Winsock control on a form called multserver, is given below. Private ConnectNo As Long Private Sub Form_Load() ConnectNo = 0 multserver(0).localport = 1001 multserver(0).listen Private Sub multserver_connectionrequest _ (Index As Integer, ByVal requestid As Long) If Index = 0 Then ConnectNo = ConnectNo + 1 Load multserver(connectno) multserver(connectno).localport = 0 multserver(connectno).accept requestid Load txtdata(connectno) End If TCP/UDP 171

6 Connect event The Connect event connects to a server. If an error occurs then a flag (ErrorOccurred) is set to True, else it is False. Its syntax is: Private Sub object.connect(erroroccurred As Boolean) Close event The Close event occurs when the remote computer closes the connection. Applications should use the Close method to correctly close their connection. Its syntax is: object_close() DataArrival event The DataArrival event occurs when new data arrives, and returns the number of bytes read (bytestotal). Its syntax is: object_dataarrival (bytestotal As Long) Bind method The Bind method specifies the Local port (LocalPort) and the Local IP address (LocalIP) to be used for TCP connections. Its syntax is: object.bind LocalPort, LocalIP Listen method The Listen method creates a socket and goes into listen mode (for server applications). Its stays in this mode until a ConnectionRequest event occurs, which indicates an incoming connection. After this, the Accept method should be used to accept the connection. Its syntax is: object.listen Accept method The Accept method accepts incoming connections after a ConnectionRequest event. Its syntax is: object.accept requestid The requestid parameter is passed into the ConnectionRequest event and is used with the Accept method Close method The Close method closes a TCP connection. Its syntax is: object.close SendData method 172 Mastering Networks

7 The SendData methods sends data (Data) to a remote computer. Its syntax is: object.senddata Data GetData method The GetData method gets data (Data) from an object. Its syntax is: object.getdata data, [type,] [maxlen] TCP/IP services reference Port Service Comment Port Service Comment 1 TCPmux 7 echo 9 discard Null 11 systat Users 13 daytime 15 netstat 17 qotd Quote 18 msp Message send protocol 19 chargen ttytst source 21 ftp 23 telnet 25 smtp Mail 37 time Timserver 39 rlp Resource location 42 nameserver IEN whois Nicname 53 domain DNS 57 mtp Deprecated 67 bootps BOOTP server 67 bootps 68 bootpc BOOTP client 69 tftp 70 gopher Internet Gopher 77 rje Netrjs 79 finger 80 www WWW HTTP 87 link Ttylink 88 kerberos Kerberos v5 95 supdup 101 hostnames 102 iso-tsap ISODE 105 csnet-ns CSO name server 107 rtelnet Remote Telnet 109 pop2 POP version pop3 POP version sunrpc 113 auth Rap ID 115 sftp 117 uucp-path 119 nntp USENET 123 ntp Network Timel 137 netbios-ns NETBIOS Name Service 138 netbios-dgm NETBIOS 139 netbios-ssn NETBIOS session 143 imap2 161 snmp SNMP 162 snmp-trap SNMP trap 163 cmip-man ISO management over IP 164 cmip-agent 177 xdmcp X Display Manager 178 nextstep NeXTStep 179 bgp BGP 191 prospero 194 irc Internet Relay Chat 199 smux SNMP Multiplexer 201 at-rtmp AppleTalk routing 202 at-nbp AppleTalk name binding 204 at-echo AppleTalk echo 206 at-zis AppleTalk zone information 210 z3950 NISO Z39.50 database 213 ipx IPX 220 imap3 Interactive Mail Access 372 ulistserv UNIX Listserv 512 exec Comsat 513 login 513 who Whod 514 shell No passwords used 514 syslog 515 printer Line printer spooler TCP/UDP 173

8 517 talk 518 ntalk 520 route RIP 525 timed Timeserver 526 tempo Newdate 530 courier Rpc 531 conference Chat 532 netnews Readnews 533 netwall Emergency broadcasts 540 uucp Uucp daemon 543 klogin Kerberized rlogin (v5) 544 kshell Kerberized rsh (v5) 174 Mastering Networks

Protocol Filters APPENDIX

Protocol Filters APPENDIX APPENDIX B The tables in this appendix list some of the protocols that you can filter on the access point. The tables include: Table A-1, Ethertype s Table A-2, IP s Table A-3, IP Port s In each table,

More information

Packet Capture. Using the Debug Facility. Information About Using the Debug Facility

Packet Capture. Using the Debug Facility. Information About Using the Debug Facility Using the Debug Facility, page 1 Configuring Wireless Sniffing, page 6 Using the Debug Facility Information About Using the Debug Facility The debug facility enables you to display all packets going to

More information

Configuring System and Message Logging

Configuring System and Message Logging , page 1 Using the Debug Facility, page 10 Information About System and Message Logging System logging allows controllers to log their system events to up to three remote syslog servers. The controller

More information

Addresses, Protocols, and Ports Reference

Addresses, Protocols, and Ports Reference APPENDIXA Addresses, Protocols, and Ports Reference This appendix provides a quick reference for the following topics: IP Addresses and Subnet Masks Protocols and Applications TCP and UDP Ports ICMP Types

More information

Winsock Control. TCP Basics

Winsock Control. TCP Basics Winsock Control Winsock Control The Winsock control, invisible to the user, provides easy access to TCP and UDP network services. It can be used by Microsoft Access, Visual Basic, Visual C++, or Visual

More information

TCP/IP Filtering. Main TCP/IP Filtering Dialog Box. Route Filters Button. Packet Filters Button CHAPTER

TCP/IP Filtering. Main TCP/IP Filtering Dialog Box. Route Filters Button. Packet Filters Button CHAPTER CHAPTER 11 Main Dialog Box To access this dialog box (Figure 11-1), select Global/Filtering/ from the Device View. Figure 11-1 Main Configuration Dialog Box Route Filters Button This button brings up a

More information

LESSON 3 PORTS AND PROTOCOLS

LESSON 3 PORTS AND PROTOCOLS LESSON 3 PORTS AND PROTOCOLS License for Use Information The following lessons and workbooks are open and publicly available under the following terms and conditions of ISECOM: All works in the Hacker

More information

Aims. The aims of this unit are to:

Aims. The aims of this unit are to: Aims The aims of this unit are to: Outlines the usage of TCP. Defines the usage of TCP ports and the concept of a socket, and the operation of a client and server. Unit 7: TCP/Socket Programming 125 Introduction

More information

Addresses, Protocols, and Ports

Addresses, Protocols, and Ports APPENDIXB This appendix provides a quick reference for IP addresses, protocols, and applications. This appendix includes the following sections: IPv4 Addresses and Subnet Masks, page B-1 IPv6 Addresses,

More information

Addresses, Protocols, and Ports

Addresses, Protocols, and Ports This chapter provides a quick reference for IP addresses, protocols, and applications. IPv4 Addresses and Subnet Masks, page 1 IPv6 Addresses, page 5 Protocols and Applications, page 11 and Ports, page

More information

Inforland

Inforland 資料 Windows Server 2008 の TCP IP の Protocol と Services 機能仕様書 Inforland 048-592-2768 Rev. 01 2008/11/08 株式会社インフォランド 中田隆 1. Protocol (Windows Server 2008) Copyright (c) 1993-2006 Microsoft Corp. This file

More information

TCP, UDP Ports, and ICMP Message Types1

TCP, UDP Ports, and ICMP Message Types1 Appendix A APPENDIX A TCP, UDP Ports, and ICMP Message Types1 I list useful TCP, UDP ports, and ICMP message types in this appendix. A comprehensive list of registered TCP and UDP services may be found

More information

D Commands. Send document comments to This chapter describes the Cisco NX-OS security commands that begin with D.

D Commands. Send document comments to This chapter describes the Cisco NX-OS security commands that begin with D. This chapter describes the Cisco NX-OS security commands that begin with D. SEC-141 deadtime deadtime To configure the dead-time interval for a RADIUS or TACACS+ server group, use the deadtime command.

More information

Firewall VPN 600/2 1200/2 User Manual

Firewall VPN 600/2 1200/2 User Manual Firewall VPN 600/2 1200/2 User Manual 1 Copyright Notice Copyright HotBrick Incorporated, 2003. All rights reserved. No part of this document may be copied, reproduced, or transmitted by any means, for

More information

HP Firewalls and UTM Devices

HP Firewalls and UTM Devices HP Firewalls and UTM Devices Access Control Command Reference Part number: 5998-4175 Software version: F1000-A-EI: Feature 3722 F1000-S-EI: Feature 3722 F5000: Feature 3211 F1000-E: Feature 3174 Firewall

More information

IP Services Commands. Network Protocols Command Reference, Part 1 P1R-95

IP Services Commands. Network Protocols Command Reference, Part 1 P1R-95 IP Services Commands Use the commands in this chapter to configure various IP services. For configuration information and examples on IP services, refer to the Configuring IP Services chapter of the Network

More information

IP Services Commands. Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and Services IP1R-157

IP Services Commands. Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and Services IP1R-157 Use the commands in this chapter to configure various IP services. For configuration information and examples on IP services, refer to the Configuring IP Services chapter of the Cisco IOS IP Configuration

More information

Access List Commands

Access List Commands Access List Commands This module describes the Cisco IOS XR software commands used to configure IP Version 4 (IPv4) and IP Version 6 (IPv6) access lists. An access control list (ACL) consists of one or

More information

This appendix contains job aids and supplements for the following topics: Extending IP Addressing Job Aids Supplement 1: Addressing Review Supplement

This appendix contains job aids and supplements for the following topics: Extending IP Addressing Job Aids Supplement 1: Addressing Review Supplement This appendix contains job aids and supplements for the following topics: Extending IP Addressing Job Aids Supplement 1: Addressing Review Supplement 2: IP Access Lists Supplement 3: OSPF Supplement 4:

More information

A Commands CHAPTER. Commands that are identical to those documented in the Cisco IOS software documentation have been removed from this chapter.

A Commands CHAPTER. Commands that are identical to those documented in the Cisco IOS software documentation have been removed from this chapter. CHAPTER 1 The commands shown in this chapter apply to the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010 ATM switch routers. Where an entire command or certain attributes of a command have

More information

Access List Commands

Access List Commands This chapter describes the Cisco IOS XR software commands used to configure IP Version 4 (IPv4) and IP Version 6 (IPv6) access lists on Cisco ASR 9000 Series Aggregation Services Routers. An access control

More information

Access List Commands

Access List Commands Access List Commands This module describes the Cisco IOS XR software commands used to configure IP Version 4 (IPv4) and IP Version 6 (IPv6) access lists. An access control list (ACL) consists of one or

More information

LINUX ADMINISTRATION TYBSC-IT SEM V

LINUX ADMINISTRATION TYBSC-IT SEM V 1 LINUX ADMINISTRATION TYBSC-IT SEM V 2 UNIT 4 CHAPTER 1 : INTERNET SERVICES WHAT IS AN INTERNET SERVICE? Internet Service can be defined as any service that can be accessed through TCP/IP based networks,

More information

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 TRANSMISSION CONTROL PROTOCOL ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 ETI 2506 - TELECOMMUNICATION SYLLABUS Principles of Telecom (IP Telephony and IP TV) - Key Issues to remember 1.

More information

Network-Based Application Recognition

Network-Based Application Recognition Network-Based Application Recognition Last updated: September 2008 Common questions and answers regarding Cisco Network-Based Application Recognition (NBAR) follow. Q. What is NBAR? A. NBAR, an important

More information

Requests for Comment: R. Iddon 3Com, Inc. August Remote Network Monitoring MIB Protocol Identifier Macros. Status of this Memo

Requests for Comment: R. Iddon 3Com, Inc. August Remote Network Monitoring MIB Protocol Identifier Macros. Status of this Memo Network Working Group Requests for Comment: 2896 Category: Informational A. Bierman C. Bucci Cisco Systems, Inc. R. Iddon 3Com, Inc. August 2000 Remote Network Monitoring MIB Protocol Identifier Macros

More information

Chapter 11. User Datagram Protocol (UDP)

Chapter 11. User Datagram Protocol (UDP) Chapter 11 User Datagram Protocol (UDP) Outline Process-to-process communication User datagram Checksum UDP operation Use of UDP UDP package Figure 11-1 Position of UDP in the TCP/IP Protocol Suite The

More information

Appendix B Policies and Filters

Appendix B Policies and Filters Appendix B Policies and Filters NOTE: This appendix does not describe Access Control Lists (ACLs) or IPX SAP ACLs, which are additional methods for filtering packets. See Software-Based IP Access Control

More information

This appendix contains job aids and supplementary information that cover the following topics:

This appendix contains job aids and supplementary information that cover the following topics: 2237xxc.fm Page 2 Friday, December 1, 2006 3:36 PM This appendix contains job aids and supplementary information that cover the following topics: IPv4 Addresses and Subnetting Job Aid Decimal-to-Binary

More information

Request for Comments: 1083 December 1988

Request for Comments: 1083 December 1988 Network Working Group Internet Activities Board Request for Comments: 1083 December 1988 IAB OFFICIAL PROTOCOL STANDARDS Status of this Memo This memo describes the state of standardization of protocols

More information

PART II SCREENING ROUTERS AND FIREWALLS. 5 An Introduction to Screening Routers Packet Filters PC Packet Filtering 283

PART II SCREENING ROUTERS AND FIREWALLS. 5 An Introduction to Screening Routers Packet Filters PC Packet Filtering 283 PART II SCREENING ROUTERS AND FIREWALLS 5 An Introduction to Screening Routers 201 6 Packet Filters 237 7 PC Packet Filtering 283 8 Firewall Architecture and Theory 325 9 Firewall Implementations 355 10

More information

Cisco IOS Security Command Reference: Commands D to L, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)

Cisco IOS Security Command Reference: Commands D to L, Cisco IOS XE Release 3SE (Catalyst 3650 Switches) Cisco IOS Security Command Reference: Commands D to L, Cisco IOS XE Release 3SE (Catalyst 3650 Switches) First Published: January 11, 2013 Last Modified: January 11, 2013 Americas Headquarters Cisco Systems,

More information

Connection-oriented (virtual circuit) Reliable Transfer Buffered Transfer Unstructured Stream Full Duplex Point-to-point Connection End-to-end service

Connection-oriented (virtual circuit) Reliable Transfer Buffered Transfer Unstructured Stream Full Duplex Point-to-point Connection End-to-end service 최양희서울대학교컴퓨터공학부 Connection-oriented (virtual circuit) Reliable Transfer Buffered Transfer Unstructured Stream Full Duplex Point-to-point Connection End-to-end service 1 2004 Yanghee Choi 2 Addressing: application

More information

7. TCP 최양희서울대학교컴퓨터공학부

7. TCP 최양희서울대학교컴퓨터공학부 7. TCP 최양희서울대학교컴퓨터공학부 1 TCP Basics Connection-oriented (virtual circuit) Reliable Transfer Buffered Transfer Unstructured Stream Full Duplex Point-to-point Connection End-to-end service 2009 Yanghee Choi

More information

Global Information Assurance Certification Paper

Global Information Assurance Certification Paper Global Information Assurance Certification Paper Copyright SANS Institute Author Retains Full Rights This paper is taken from the GIAC directory of certified professionals. Reposting is not permited without

More information

Introduction to Networking

Introduction to Networking Introduction to Networking Chapters 1 and 2 Outline Computer Network Fundamentals Defining a Network Networks Defined by Geography Networks Defined by Topology Networks Defined by Resource Location OSI

More information

Redundancy application group configuration (config-red-app-grp) This command was introduced.

Redundancy application group configuration (config-red-app-grp) This command was introduced. data data To configure the data interface type and number for a redundancy group, use the data command in redundancy application group configuration mode. To remove the configuration, use the no form of

More information

H3C MSR Router Series

H3C MSR Router Series H3C MSR Router Series Comware 5 ACL and QoS Command Reference New H3C Technologies Co., Ltd. http://www.h3c.com Software version: MSR-CMW520-R2516 Document version: 20180820-C-1.13 Copyright 2006-2018,

More information

1 of 5 5/19/05 9:48 AM

1 of 5 5/19/05 9:48 AM 1 of 5 5/19/05 9:48 AM "Well Known" TCP and UDP Ports Used By Apple Software Products This document lists TCP and UDP ports used by Apple software products, such as Mac OS 9, Mac OS X, Mac OS X Server,

More information

CHAPTER 7 Normalization of Dataset

CHAPTER 7 Normalization of Dataset Introduction CHAPTER 7 7.1 Introduction Objective of this chapter is to address dataset normalization. From our detailed literature review and also from our previous experiments of [9], we found following

More information

Introduction to Network. Topics

Introduction to Network. Topics Introduction to Network Security Chapter 7 Transport Layer Protocols 1 TCP Layer Topics Responsible for reliable end-to-end transfer of application data. TCP vulnerabilities UDP UDP vulnerabilities DNS

More information

Cisco Application Control Engine Module Security Configuration Guide

Cisco Application Control Engine Module Security Configuration Guide Cisco Application Control Engine Module Security Configuration Guide Software Version A4(1.0) November 2010 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com

More information

Download the latest version of the DNS2Go Client from:

Download the latest version of the DNS2Go Client from: Using DNS2Go with your Linksys Cable / DSL Router Many users with Cable and xdsl broadband connections are using hardware routers such as the Linksys Cable/DSL Routers to connect their local area network

More information

Network+ Week 5: Introduction to TCP/IP

Network+ Week 5: Introduction to TCP/IP Network+ Week 5: Introduction to TCP/IP IP Terminology Bit A bit is one digit, either a 1 or a 0. Byte A byte is 7 or 8 bits, depending on whether parity is used. Assume 8. Also called an Octet. Network

More information

TELE 301 Lecture 8: Post

TELE 301 Lecture 8: Post Last Lecture System installation This Lecture Post installation Next Lecture Wireless networking Overview TELE 301 Lecture 8: Post 1 Post-configuration Create user accounts and environments Sort out the

More information

Granular Protocol Inspection

Granular Protocol Inspection The feature adds flexibility to the Cisco IOS Firewall by allowing it to perform a higher degree of inspection of TCP and User Data Protocol (UDP) traffic for most RFC 1700 application types. Finding Feature

More information

01/17/08 TDC /17/08 TDC363-03

01/17/08 TDC /17/08 TDC363-03 Introduction to LAN TDC 363 Week 3 Network Protocols Book: Chapter 4 & 11 1 Outline The TCP/IP model vs. the OSI Model IP Address Address Resolution Protocol (ARP) IPX/SPX and NetBIOS Protocols on Windows

More information

Interprocess Communication Mechanisms

Interprocess Communication Mechanisms Interprocess Communication 1 Interprocess Communication Mechanisms shared storage These mechanisms have already been covered. examples: shared virtual memory shared files processes must agree on a name

More information

shared storage These mechanisms have already been covered. examples: shared virtual memory message based signals

shared storage These mechanisms have already been covered. examples: shared virtual memory message based signals Interprocess Communication 1 Interprocess Communication Mechanisms shared storage These mechanisms have already been covered. examples: shared virtual memory shared files processes must agree on a name

More information

TCP/IP Fundamentals. Introduction. Practice Practice : Name. Date Period

TCP/IP Fundamentals. Introduction. Practice Practice : Name. Date Period Name Date Period TCP/IP Fundamentals Introduction For the Network+ Certification exam, you should be able to identify the class of an IP address, an APIPA IP address, and a private IP address as well as

More information

Internet Applications. Dr Steve Gordon ICT, SIIT

Internet Applications. Dr Steve Gordon ICT, SIIT Internet Applications Dr Steve Gordon ICT, SIIT Contents Network Application Models Transport Layer Interface Selected Applications and Services Naming Resources Web Access Email Network Management Other

More information

Sirindhorn International Institute of Technology Thammasat University

Sirindhorn International Institute of Technology Thammasat University Name...ID... Section...Seat No... Sirindhorn International Institute of Technology Thammasat University Midterm Examination s: Semester 2/2009 Course Title Instructor : ITS332 Information Technology II

More information

Preface to the First Edition Preface to the Second Edition Acknowledgments UNIX Operating System Environment p. 1 UNIX: Past and Present p.

Preface to the First Edition Preface to the Second Edition Acknowledgments UNIX Operating System Environment p. 1 UNIX: Past and Present p. Preface to the First Edition p. xv Preface to the Second Edition p. xvii Acknowledgments p. xix UNIX Operating System Environment p. 1 UNIX: Past and Present p. 2 History and Growth of UNIX p. 2 Flavors

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration Daemons init cron and atd inetd and xinetd Kernel daemons File service daemons Internet daemons Time synchronization daemons Booting and configuration daemons

More information

The Internet: what it looks like, how it works, and how it is abused

The Internet: what it looks like, how it works, and how it is abused The Internet: what it looks like, how it works, and how it is abused Bill Cheswick ches@cheswick.com Visiting Scholar, University of Pennsylvania 1 What Does the Internet Look Like? 2 Science Seminar 3

More information

Internet and Intranet Protocols and Applications

Internet and Intranet Protocols and Applications Internet and Intranet Protocols and Applications Lecture 1b: The Transport Layer in the Internet January 17, 2006 Arthur Goldberg Computer Science Department New York University artg@cs.nyu.edu 01/17/06

More information

Memory-Mapped Files. generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length)

Memory-Mapped Files. generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length) File Systems 38 Memory-Mapped Files generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length) mmap call returns the virtual address to which the file is mapped munmap call unmaps

More information

Network Address Translation (NAT) Contents. Firewalls. NATs and Firewalls. NATs. What is NAT. Port Ranges. NAT Example

Network Address Translation (NAT) Contents. Firewalls. NATs and Firewalls. NATs. What is NAT. Port Ranges. NAT Example Contents Network Address Translation (NAT) 13.10.2008 Prof. Sasu Tarkoma Overview Background Basic Network Address Translation Solutions STUN TURN ICE Summary What is NAT Expand IP address space by deploying

More information

Ethernet / TCP-IP - Training Suite Application level protocols

Ethernet / TCP-IP - Training Suite Application level protocols Ethernet / TCP-IP - Training Suite 05 - Application level protocols Application layer protocols 2 World Wide Web HTTP I want HTTP this resource. Hypertext Transfer Protocol (HTTP) Used by the World Wide

More information

Introduction to Streaming Video. Steep Learning Curve ahead. Ports. Streaming Video from the Raspberry-Pi Camera c LSGA (Wed 4 Nov 2015) 1

Introduction to Streaming Video. Steep Learning Curve ahead. Ports. Streaming Video from the Raspberry-Pi Camera c LSGA (Wed 4 Nov 2015) 1 Streaming Video from the Raspberry-Pi Camera c LSGA (Wed 4 Nov 2015) 1 Introduction to Streaming Video This tutorial explores a couple of ways of viewing continuous video sent from the RaspberryPi camera

More information

Extended ACL Configuration Mode Commands

Extended ACL Configuration Mode Commands Extended ACL Configuration Mode Commands To create and modify extended access lists on a WAAS device for controlling access to interfaces or applications, use the ip access-list extended global configuration

More information

ACL & QoS Configuration Commands

ACL & QoS Configuration Commands ACL & QoS s 1. ACL s 2. QoS s Reference ACL s 1 ACL s 1.1 ID table For IDs used in the following commands, refer to the command ID table below: ID ID name sn start-sn inc-sn deny permit port interface

More information

Networking Operating Systems (CO32010)

Networking Operating Systems (CO32010) Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling Objectives: To discuss the advantages of a distributed file system. To outline the different methods of mounting

More information

General Terms Node - File Permissions - file permissions file

General Terms Node - File Permissions - file permissions file CIS 375 General Terms Node - A networked computing device that takes a protocol address andcan initiate and respond to communication from other networked devices that employ similar protocols. File Permissions

More information

Transport Layer (TCP/UDP)

Transport Layer (TCP/UDP) Transport Layer (TCP/UDP) Where we are in the Course Moving on up to the Transport Layer! Application Transport Network Link Physical CSE 461 University of Washington 2 Recall Transport layer provides

More information

Legal and notice information

Legal and notice information Legal and notice information Copyright 2017 Trend Micro Incorporated. All rights reserved. TippingPoint, the TippingPoint logo, and Digital Vaccine are trademarks or registered trademarks of Trend Micro

More information

Proceedings of the 4th Annual Linux Showcase & Conference, Atlanta

Proceedings of the 4th Annual Linux Showcase & Conference, Atlanta USENIX Association Proceedings of the 4th Annual Linux Showcase & Conference, Atlanta Atlanta, Georgia, USA October 10 14, 2000 THE ADVANCED COMPUTING SYSTEMS ASSOCIATION 2000 by The USENIX Association

More information

Network security session 9-2 Router Security. Network II

Network security session 9-2 Router Security. Network II Network security session 9-2 Router Security Network II Router security First line of defense of the network Compromise of a router can lead to many issues: Denial of network services Degrading of network

More information

Network Address Translation (NAT) Background Material for Overlay Networks Course. Jan, 2013

Network Address Translation (NAT) Background Material for Overlay Networks Course. Jan, 2013 Network Address Translation (NAT) Background Material for Overlay Networks Course Jan, 2013 Prof. Sasu Tarkoma University of Helsinki, Department of Computer Science Contents Overview Background Basic

More information

Chapter 6 Global CONFIG Commands

Chapter 6 Global CONFIG Commands Chapter 6 Global CONFIG Commands aaa Defines an authentication-method list for access to a switch or routing switch. To configure an access method list, enter a command such as the following: HP9300(config)#

More information

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols CCNA Exploration Network Fundamentals Chapter 3 Application Layer Functionality and Protocols Application Layer Functionality and Protocols Applications: The Interface Between the Networks Horny/Coufal

More information

Global Information Assurance Certification Paper

Global Information Assurance Certification Paper Global Information Assurance Certification Paper Copyright SANS Institute Author Retains Full Rights This paper is taken from the GIAC directory of certified professionals. Reposting is not permited without

More information

Routers use access lists to control incoming or outgoing traffic. You should know the following characteristics of an access list.

Routers use access lists to control incoming or outgoing traffic. You should know the following characteristics of an access list. 8.1. Access List Routers use access lists to control incoming or outgoing traffic. You should know the following characteristics of an access list. Access lists describe the traffic type that will be controlled.

More information

Hands-On Ethical Hacking and Network Defense

Hands-On Ethical Hacking and Network Defense Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified 1-11-17 Objectives Describe the TCP/IP protocol stack Explain the basic concepts of IP addressing Explain the

More information

J.K. MANDAL. Dean, Faculty of Engineering, Technology & Management Professor, Department of Computer Science & Engineering University of Kalyani

J.K. MANDAL. Dean, Faculty of Engineering, Technology & Management Professor, Department of Computer Science & Engineering University of Kalyani J.K. MANDAL Dean, Faculty of Engineering, Technology & Management Professor, Department of Computer Science & Engineering University of Kalyani Kalyani, Nadia, West Bengal E-mail:jkmandal@klyuniv.ac.in

More information

Configuring Group Policies

Configuring Group Policies CHAPTER 2 This chapter describes how to configure VPN group policies using ASDM. This chapter includes the following sections. Overview of Group Policies, Tunnel Groups, and Users, page 2-1 Group Policies,

More information

OSI Transport Layer. objectives

OSI Transport Layer. objectives LECTURE 5 OSI Transport Layer objectives 1. Roles of the Transport Layer 1. segmentation of data 2. error detection 3. Multiplexing of upper layer application using port numbers 2. The TCP protocol Communicating

More information

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Layer 4: UDP, TCP, and others based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Concepts application set transport set High-level, "Application Set" protocols deal only with how handled

More information

Guide to TCP/IP, Third. Chapter 6: Basic TCP/IP Services

Guide to TCP/IP, Third. Chapter 6: Basic TCP/IP Services Guide to TCP/IP, Third Edition Chapter 6: Basic TCP/IP Services Objectives Understand how TCP/IP Application layer protocols and services work Explain the capabilities, message types, and request/reply

More information

Expanding ISP and Enterprise Connectivity with Cisco IOS NAT

Expanding ISP and Enterprise Connectivity with Cisco IOS NAT 1 Expanding ISP and Enterprise Connectivity with Cisco IOS Session 2 Presentation_ID.scr 1 Agenda Benefits Definition Availability Terminology s of Translations Overlapping Networks Example 3 Motivation

More information

Xinted. 1.1 Brief introduction. 1.2 Configuration of Xinetd

Xinted. 1.1 Brief introduction. 1.2 Configuration of Xinetd Xinted 1.1 Brief introduction Xinetd provides visiting control, improved log function and resource management. It is standard super guardian process of Internet in Asianux 2.0 system. Inetd is called super

More information

CSc 337 LECTURE 16: WRITING YOUR OWN WEB SERVICE

CSc 337 LECTURE 16: WRITING YOUR OWN WEB SERVICE CSc 337 LECTURE 16: WRITING YOUR OWN WEB SERVICE Basic web service // CSC 337 hello world server const express = require("express"); const app = express(); app.use(express.static('public')); app.get('/',

More information

Using the Command Line Interface

Using the Command Line Interface CHAPTER 2 Using the Command Line Interface 2.1 Commonly Used Commands This section documents the Cisco Broadband Operating System (CBOS) commands and command arguments that manage the Cisco 67x. CBOS runs

More information

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University Computer Network Programming The Transport Layer Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University The Transport Layer The Big Picture Overview of TCP/IP protocols TCP Packet Exchanges

More information

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University Computer Networks More on Standards & Protocols Quality of Service Week 10 College of Information Science and Engineering Ritsumeikan University Introduction to Protocols l A protocol is a set of rules

More information

Key Points for the Review

Key Points for the Review Key Points for the Review Network Basics What is internet and Internet? Does WWW equal to Internet? How do machines communicate with one another on the Internet? What are the major components of Internet?

More information

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12 TCP/IP Networking Training Details Training Time : 9 Hours Capacity : 12 Prerequisites : There are no prerequisites for this course. About Training About Training TCP/IP is the globally accepted group

More information

BGP. bgp. Name/CLI Keyword. Border Gateway Protocol. Full Name

BGP. bgp. Name/CLI Keyword. Border Gateway Protocol. Full Name BGP bgp Border Gateway Protocol Border Gateway Protocol (BGP) is a protocol designed to share network information (for example network reachability) between autonomous systems (AS). According to the information,

More information

7 Distributed File Systems

7 Distributed File Systems Single tree /etc Global File system /progs Drives mounted over the network to create a single tree /user /sys Network Forest of drives 7 Distributed File Systems C: D: E: F: Drives mounted over the network

More information

General Important Protocols for Examination of IA Examination 2018

General Important Protocols for Examination of IA Examination 2018 Protocol General Important Protocols for Examination of IA Examination 2018 DNS - Domain Name System - translates network address (such as IP addresses) into terms understood by humans (such as Domain

More information

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

Download Microsoft Sql Server 2012 Unleashed Ray Rankins

Download Microsoft Sql Server 2012 Unleashed Ray Rankins Download Microsoft Sql Server 2012 Unleashed Ray Rankins DOWNLOAD MICROSOFT SQL SERVER 2012 UNLEASHED RAY RANKINS PDF - Are you looking for download microsoft sql server 2012 unleashed ray rankins Books?

More information

UNIT V Introduction to Application Layer HTTP Non persistent versus Persistent Connections Non persistent Connections

UNIT V Introduction to Application Layer HTTP Non persistent versus Persistent Connections Non persistent Connections UNIT V Introduction to Application Layer: Introduction, Client Server Programming, WWW and HTTP,FTP, e-mail, TELNET, Secure Shell, Domain Name System, SNMP. HTTP The Hyper Text Transfer Protocol (HTTP)

More information

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 10 Chapter 10 - Sections & Objectives 10.1 Application Layer Protocols Explain the operation of the application

More information

Set of IP routers. Set of IP routers. Set of IP routers. Set of IP routers

Set of IP routers. Set of IP routers. Set of IP routers. Set of IP routers Smart Sensor Application Sensor Framework Source End IP Address Set of IP routers IoT Application Layer TCP/IP Appl. Protocols Transport Layer TCP/IP IoT Comm. Framework Application Framework IoT Comm.

More information

March Protocol Document Order Information STATUS OF THIS MEMO

March Protocol Document Order Information STATUS OF THIS MEMO Network Working Group Request for Comments: 980 Ole Jacobsen (SRI) Jon Postel (ISI) March 1986 STATUS OF THIS MEMO This RFC indicates how to obtain various protocol documents used in the DARPA research

More information

Junos Security. Chapter 3: Zones Juniper Networks, Inc. All rights reserved. Worldwide Education Services

Junos Security. Chapter 3: Zones Juniper Networks, Inc. All rights reserved.   Worldwide Education Services Junos Security Chapter 3: Zones 2012 Juniper Networks, Inc. All rights reserved. www.juniper.net Worldwide Education Services Chapter Objectives After successfully completing this chapter, you will be

More information

Advanced Security and Forensic Computing

Advanced Security and Forensic Computing Advanced Security and Forensic Computing Unit 2: Network Security Elements Dr Dr Bill Buchanan, Reader, School of of Computing. >Unit 2: 2: Network Security Elements Advanced Security and Forensic Computing

More information

Network Architecture Models

Network Architecture Models School of Business Eastern Illinois University Network Architecture Models (September 8, 2009) Abdou Illia, Fall 2009 Learning Objectives 2 Discuss the OSI reference Model Discuss the Internet Model Compare

More information

Secure Router 1001,1001S, 1002, 1004, and 3120

Secure Router 1001,1001S, 1002, 1004, and 3120 Secure Router 1001,1001S, 1002, 1004, and 3120 Software Release 9.2.5 Readme Notes 1. Release Summary Release Date: 21-September-2007 Purpose: Software maintenance release to address customer found software

More information