CHAPTER 7 DEMONSTRATE THE PAN IN LINUX

Similar documents
Quick guide for configuring a system with multiple IP-LINKs

CIS Test 1- Practice - Fall 2011

GM8126 MAC DRIVER. User Guide Rev.: 1.0 Issue Date: December 2010

Linux. Computer networks - Administration 1DV202. fredag 30 mars 12

Enabling CDC-ETHER Connection for Skywire CAT1

This document guides the user through: 1. Setting up and configuring networking for the BeagleBone black or green with the host.

IP over IB Protocol. Introduction CHAPTER

Let us ping! First we will learn the Hello World of a networked machine.

Lab Exercise Sheet 2 (Sample Solution)

FiberstoreOS IP Service Configuration Guide

Hostname and IP Address

Enabling CDC_ETHER Connection for Skywire GSM CAT1

Sirindhorn International Institute of Technology Thammasat University

1. TABLE OF CONTENTS INTRODUCTION TECHNICAL SPECIFICATIONS INSTALLATION... 6

Using Shell Commands

Chapter 5 Network Layer

Quick Start Guide for BeagleBone Black. Table of Contents. by Brian Fraser Last update: Summer, 2015

RG-MACC_2.0 Installation Manual

Taking Advantage of Bluetooth for Communications and More by Hunyue Yau

Virtual Lab for CIS 192 & 196 Rich Simms May 27, 2006

GMSplus Customer Connection Test Procedure

VLAN Configurations. 1 of :18. Available Categories. Adobe. Macromedia

THE INTERNET PROTOCOL INTERFACES

FiberstoreOS. IP Service Configuration Guide

The Internet Protocol

These documents and software are covered under the terms and conditions of the fp Technologies, Inc. Program License Agreement

FSOS IP Service Configuration Guide

Wi-Fi Guide: Edimax USB Adapter on BBG

Packet Generator User Guider V0.1

THE INTERNET PROTOCOL/1

TABLE OF CONTENTS. ACI Solutions Team by Tomas de Leon 2

Sirindhorn International Institute of Technology Thammasat University

Clustered Data ONTAP 8.3 Update 2, IPspaces. Self-paced Lab NETAPP UNIVERSITY. NetApp University - Do Not Distribute

APPLICATION NOTE. Scope. Reference Documents. Software Ethernet Bridge on SAMA5D3/D4. Atmel SMART SAMA5D3/D4 Series

Newsreader virtual machines Technical Report NWR

RG-MACC-BASE_v2.01. Installation Guide

Javier Sedano David Fernández

WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200

Access Server: User's and Developer's Guide <<< Previous Next >>>

UCS IPv6 Management Configuration Example

lab rip experiences with RIPv2 distance vector protocol

Application of Mininet

Packet Generator User Guide V0.4

HP Services zl Module ngenius Integrated Agent Installation and Getting Started Guide

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

Accessing the Networking Stack

Internet Tool Practice. 이지민 장동현

Interface Management

Create Test Environment

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.


UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES. BSc (Hons) COMPUTER NETWORKS AND SECURITY SEMESTER ONE EXAMINATION 2014/2015 UNIX MODULE NO: CPU5003

Network Configuration for Cisco UCS Director Baremetal Agent

For personnal use only

JBOX2 (Saturn Ring) Appliance General Guide

Detecting Sniffers on Your Network

Networking Approaches in. a Container World. Flavio Castelli Engineering Manager

CANopen Object Browser, Version 0.2

Bluetooth GPRS Connectivity, with Nokia 6230i on MTN.

Hosting Applications Using Configuration Management Tools

Renesas Koelsch Hardware Setup and Software Installation

Getting Started with PetaLinux SDK

Using Juju with a Local Provider with KVM and LXC in Ubuntu LTS

Networking 2. IP over Bluetooth

Configuring Real Servers for DSR

Emergency shell commands 1

Blueprints. Quick Start Guide for installing and running KVM

installing Linux Paul Cobbaut

New System Setup Guide

Ubuntu LTS Precise

Configuring the BeagleBone Black s Ethernet Port for SSH Access

Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Wackamole/Spread On Debian Etch

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES. BSc (Hons) COMPUTER NETWORKS AND SECURITY SEMESTER ONE EXAMINATION 2017/2018 UNIX MODULE NO: CPU5003

Basics of GNS3 and Cisco IOS

VisibleThread - Server Configuration Help

How to Restrict a Login Shell Using Linux Namespaces

XE2000/XE3000 IP-PBX: Getting Started Guide Package Contents

How to Configure ClusterXL for L2 Link Aggregation

LS9200 User Guide LinkSprite Technologies, Inc.

Adding NetFPGA board into CRON. Change wires table, if you change the switch cable connection

IPv6 LAB. Practical IPv6. Alvaro Vives 27 June 2017 Workshop on Open Source Solutions for the IoT

Installation von Oracle Real Application Cluster 10gR1 auf CentOS 4.2 mit Raw-Devices

WISNETWORKS. WisOS 11ac V /3/21. Software version WisOS 11ac

TCP/IP Network Essentials

FiberstoreOS. Network Management Configuration Guide

NVIDIA Professional Application Center

Multiplying Your Server Ubuntu Server and Virtualization

Oracle 11g RAC on Linux- CRS Inderpal S. Johal. Inderpal S. Johal

Deploy Dual Stack CentOS 7 Instance in AWS

Experimenting Internetworking using Linux Virtual Machines Part I

High Availability of IBM Security Directory Server using Heartbeat A highly available authentication system

Mobile Communications. Fundamental Networking

Helium Operator Manual (CLI)

INSTALLATION RUNBOOK FOR Hitachi Block Storage Driver for OpenStack

Network Socket Programming - 2 BUPT/QMUL

PetaLinux SDK Guide to QEMU System Simulation

Replace HyperFlex Self-Signed SSL Certificates with CA-issued Certificates

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

UG NIA1 Network Interface Adapter

Blackford Computing Lab Test Plan IPV6 Basic Test Plan - BCTP101.1 Feb

Transcription:

CHAPTER 7 DEMONSTRATE THE PAN IN LINUX SYSTEM The new model - Network Access Point Group Network 7.1 DEMONSTRATION Software: All machines are installed with Linux Redhat 8.0 Hardware list:- There are two laptops and one PC and three Bluetooth USB adaptors. Sony Pentium III laptop connects with MITSUMI Bluetooth USB adaptor, Acer Pentium II laptop connects with TDK Bluetooth USB adaptor, and PC Pentium IV connects with MITSUMI Bluetooth USB adaptor. Apache(web server): GN Sony laptop(enochome) setup as Apache server. IP assign: For the GN Laptop, inet IP 10.0.0.1 is assigned; For the Client 1 PC, inet IP 10.0.0.4 is assigned; 1

For The Client 2 Acer Laptop, inet IP 10.0.0.2 is assigned. 7.2 MASTER_GN (SONY LAPTOP) 7.2.1 TERMINAL DUMP (About the explanation configure bridge(br0), please see 6.12) [root@enochome root]# brctl addbr br0 [root@enochome root]# ifconfig br0 10.0.0.1 [root@enochome root]# brctl setfd br0 0 [root@enochome root]# brctl stp br0 disable Explain: initial GN Group Ad-hoc networks, affix_pan.o should be auto-load [root@enochome root]# btctl paninit gn bt0 Explain: The bridge port 'pan0' has been created on the GN [root@enochome root]# brctl addif br0 pan0 [root@enochome root]# ifconfig pan0 0.0.0.0 [root@enochome root]# btctl role allow master [root@enochome root]# brctl show bridge name bridge id STP enabled interfaces br0 8000.00a096203e26 no pan0 Explain: check your routes and iptables(use ifconfig, route and iptables -t nat -L): [root@enochome root]# ifconfig br0 Link encap:ethernet HWaddr 00:A0:96:20:3E:26 inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:6105 (5.9 Kb) bt0 Link encap:unspec HWaddr 00-A0-96-20-3E-26-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:1500 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 2

collisions:0 txqueuelen:10 RX bytes:266 (266.0 b) TX bytes:638 (638.0 b) eth0 Link encap:ethernet HWaddr 08:00:46:4E:0D:94 inetaddr:210.0.165.230 Bcast:210.0.165.255 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:778 errors:0 dropped:0 overruns:0 frame:0 TX packets:230 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:55951 (54.6 Kb) TX bytes:28530 (27.8 Kb) Interrupt:9 Base address:0x2000 lo Link encap:local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:72 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4682 (4.5 Kb) TX bytes:4682 (4.5 Kb) pan0 Link encap:ethernet HWaddr 00:A0:96:20:3E:26 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:25 RX bytes:0 (0.0 b) TX bytes:3140 (3.0 Kb) [root@enochome root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 210.0.165.192 * 255.255.255.192 U 0 0 0 eth0 10.0.0.0 * 255.0.0.0 U 0 0 0 br0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 210.0.165.193 0.0.0.0 UG 0 0 0 eth0 [root@enochome root]# brctl show bridge name bridge id STP enabled interfaces 3

br0 8000.00a096203e26 no pan0 [root@enochome root]# brctl showmacs br0 port no mac addr is local? ageing timer 1 00:a0:96:20:3e:26 yes 0.00 NAT table [root@enochome root]# iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Explain: set up Network Address Translation (NAT) for all packets leaving eth0 [root@enochome root]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Explain: enable ip forwarding [root@enochome root]# echo 1 > /proc/sys/net/ipv4/ip_forward Explain: check POSTROUTING enable anywhere mode [root@enochome root]# iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination 7.3 CLIENT 1(PC) 7.3.1 TERMINAL DUMP [root@localhost root]# btctl 4

[root@localhost root]# ifconfig bt0 Link encap:unspec HWaddr 00-A0-96-20-40-30-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:1500 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:441 (441.0 b) TX bytes:570 (570.0 b) lo Link encap:local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 5

RX bytes:700 (700.0 b) TX bytes:700 (700.0 b) Explain: initial PANU client [root@localhost root]# btctl paninit panu bt0 Explain: assign 10.0.0.4 for pan0 [root@localhost root]# ifconfig pan0 10.0.0.4 [root@localhost root]# ifconfig bt0 Link encap:unspec HWaddr 00-A0-96-20-40-30-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:1500 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:441 (441.0 b) TX bytes:570 (570.0 b) lo Link encap:local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:700 (700.0 b) TX bytes:700 (700.0 b) pan0 Link encap:ethernet HWaddr 00:A0:96:20:40:30 inet addr:10.0.0.4 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:25 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Explain: Check route state [root@localhost root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 pan0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo 6

Explain: need to define default route, 10.0.0.1 is the PAN IP of GN) [root@localhost root]# route add default gw 10.0.0.1 Explain: Check route state [root@localhost root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 pan0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 10.0.0.1 0.0.0.0 UG 0 0 0 pan0 Explain: ping other PAN user(i.e. client 2 must finished the above steps) [root@localhost root]# ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2) from 10.0.0.4 : 56(84) bytes of data. 64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=143 ms 64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=74.2 ms [1]+ Stopped ping 10.0.0.2 Explain: use telnet command make connect with PAN user [root@localhost root]# telnet 10.0.0.2 Trying 10.0.0.2... Connected to 10.0.0.2 (10.0.0.2). Escape character is '^]'. Red Hat Linux release 8.0 (Psyche) Kernel 2.4.18-14 on an i686 login: enoch Password: Last login: Sat Jan 25 23:07:10 from 10.0.0.4 [enoch@localhost enoch]$ ls affix-1.2.3.tar.gz [enoch@localhost enoch]$ Explain: Ping outside website [root@localhost root]# ping www.ouhk.edu.hk PING sun17a.ouhk.edu.hk (202.40.157.186) from 10.0.0.4 : 56(84) bytes of data. From 202.64.46.222 icmp_seq=7 Packet filtered From 202.64.46.222 icmp_seq=9 Packet filtered 7

From 202.64.46.222 icmp_seq=11 Packet filtered [2]+ Stopped ping www.ouhk.edu.hk [root@localhost root]# Explain: make connect with GN master by using ftp command [root@localhost root]# ftp 10.0.0.1 Connected to 10.0.0.1. 220 ENOCHOME FTP server (Version wu-2.6.2-8) ready. 504 AUTH GSSAPI not supported. 504 AUTH KERBEROS_V4 not supported. KERBEROS_V4 rejected as an authentication type Name (10.0.0.1:root): ct401 331 Password required for ct401. Password: 230 User ct401 logged in. Access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (10,0,0,1,179,140) 150 Opening ASCII mode data connection for directory listing. total 4744 -rw-r--r-- 1 root root 82386 Jan 11 09:57 bluez-bluefw-0.9-1.i386.rpm -rw------- 1 root root 108144 Jan 11 09:56 bluez-bluefw-0.9.tar.gz -rw------- 1 root root 166968 Jan 11 09:56 bluez-hcidump-1.5.tar.gz -rw------- 1 root root 148093 Jan 11 09:56 bluez-hciemu-1.0.tar.gz -rw------- 1 root root 174004 Jan 11 09:57 bluez-kernel-2.3.tar.gz -rw-r--r-- 1 root root 89716 Jan 11 09:57 bluez-libs-2.3-1.i386.rpm -rw------- 1 root root 176521 Jan 11 09:57 bluez-libs-2.3.tar.gz -rw------- 1 root root 29167 Jan 11 09:58 bluez-pan-1.1pre4-1.i386.rpm -rw------- 1 root root 195113 Jan 11 09:56 bluez-pan-1.1pre4.tar.gz -rw------- 1 root root 238933 Jan 11 09:58 bluez-sdp-1.0rc2-1.i386.rpm -rw------- 1 root root 307829 Jan 11 09:58 bluez-sdp-1.0rc3-1.i386.rpm -rw------- 1 root root 206015 Jan 11 09:57 bluez-sdp-1.0rc3.tar.gz -rw------- 1 root root 71711 Jan 11 09:58 bluez-utils-2.2-1.i386.rpm -rw------- 1 root root 244857 Jan 11 09:57 bluez-utils-2.2.tar.gz -rw-r--r-- 1 root root 17818 Jan 11 08:45 intro.htm drwxr-xr-x 2 root root 4096 Jan 11 08:45 intro_files 8

-rw-r--r-- 1 root root 17216 Jan 11 08:44 main.jpg.html drwxr-xr-x 2 root root 4096 Jan 11 08:44 main.jpg_files -rw-r--r-- 1 root root 17735 Jan 11 08:46 proposedprojects.htm drwxr-xr-x 2 root root 4096 Jan 11 08:46 proposedprojects_files drwxr-xr-x 6 root root 4096 Jan 12 13:20 public_html -rw-r--r-- 1 root root 18119 Jan 11 08:45 teachingteam.htm drwxr-xr-x 2 root root 4096 Jan 11 08:45 teachingteam_files 226 Transfer complete. ftp> 7.3.2 SCREEN CAPTURE -shown it is successful connect to outside and GN s apache server 9

Figure 7.3.2-1 Client 1 connect to outside website Figure 7.3.2-2 Connect to internal GN s Apache server 7.4 CLIENT 2(ACER LAPTOP) 7.4.1 TERMINAL DUMP root@localhost root]# btctl Affix version: Affix 1.2.6 ---->>>> Affix Bluetooth Driver control program <<<<---- For help use "btctl -h" bt0 00:80:98:24:df:6a Name: "localhost.localdomain" Class: 0xB2010C, Computer (Laptop) [Networking,Object Transfer,Audio,Information] Scan Mode: discoverable, connectable Security mode: service [-auth, -encrypt] Packet types: DM1 DH1 DM3 DH3 DM5 DH5 HV1 Connection role: allow switch, remain slave Baseband: Manufacture: Cambridge Silicon Radio, id: 10 Features: 1.1 compliant Buffers: 10

ACL: 8 x 192 bytes SCO: 8 x 64 bytes Suported features: Packet types: 3-slots, 5-slots Radio features: RSSI, Channel quality driven data rate Policy: switch, hold mode, sniff mode, park mode Encryption: supported Clock modes: slot offset, timing accuracy Audio: SCO link, HV2, HV3, u-law log, a-law log, CVSD, transparent SCO Power Control: supported Explain: initial PANU client [root@localhost root]# btctl paninit panu bt0 Explain: assign pan ip as 10.0.0.2 [root@localhost root]# ifconfig pan0 10.0.0.2 [root@localhost root]# ifconfig bt0 Link encap:unspec HWaddr 00-80-98-24-DF-6A-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:1500 Metric:1 RX packets:20 errors:24 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:435 (435.0 b) TX bytes:570 (570.0 b) lo Link encap:local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:39 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3537 (3.4 Kb) TX bytes:3537 (3.4 Kb) pan0 Link encap:ethernet HWaddr 00:80:98:24:DF:6A inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 11

collisions:0 txqueuelen:25 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root@localhost root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 pan0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo Explain: need to add default route, 10.0.0.1 is the PAN IP of GN) [root@localhost root]# route add default gw 10.0.0.1 Explain: Check Route state [root@localhost root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 pan0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 10.0.0.1 0.0.0.0 UG 0 0 0 pan0 Explain: Success ping internal and outside [root@localhost root]# ping 10.0.0.1 PING 10.0.0.1 (10.0.0.1) from 10.0.0.2 : 56(84) bytes of data. 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=30.3 ms 64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=18.6 ms 64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=26.7 ms [1]+ Stopped ping 10.0.0.1 [root@localhost root]# ping www.ouhk.edu.hk PING sun17a.ouhk.edu.hk (202.40.157.186) from 10.0.0.2 : 56(84) bytes of data. From 202.64.46.222 icmp_seq=1 Packet filtered From 202.64.46.222 icmp_seq=2 Packet filtered From 202.64.46.222 icmp_seq=3 Packet filtered [2]+ Stopped ping www.ouhk.edu.hk Explain: success connect to 10.0.0.1 [root@localhost root]# telnet 10.0.0.1 Trying 10.0.0.1... Connected to 10.0.0.1 (10.0.0.1). 12

Escape character is '^]'. Red Hat Linux release 8.0 (Psyche) Kernel 2.4.18-14 on an i686 login: ct401 Password: Last login: Sat Jan 25 22:16:48 from 10.0.0.4 [ct401@enochome ct401]$ ls bluez-bluefw-0.9-1.i386.rpm bluez-utils-2.2-1.i386.rpm bluez-bluefw-0.9.tar.gz bluez-utils-2.2.tar.gz bluez-hcidump-1.5.tar.gz intro_files bluez-hciemu-1.0.tar.gz intro.htm bluez-kernel-2.3.tar.gz main.jpg_files bluez-libs-2.3-1.i386.rpm main.jpg.html bluez-libs-2.3.tar.gz proposedprojects_files bluez-pan-1.1pre4-1.i386.rpm proposedprojects.htm bluez-pan-1.1pre4.tar.gz public_html bluez-sdp-1.0rc2-1.i386.rpm teachingteam_files bluez-sdp-1.0rc3-1.i386.rpm teachingteam.htm bluez-sdp-1.0rc3.tar.gz [ct401@enochome ct401]$ [root@localhost root]# ftp 10.0.0.1 Connected to 10.0.0.1. 220 ENOCHOME FTP server (Version wu-2.6.2-8) ready. 504 AUTH GSSAPI not supported. 504 AUTH KERBEROS_V4 not supported. KERBEROS_V4 rejected as an authentication type Name (10.0.0.1:root): ct401 331 Password required for ct401. Password: 230 User ct401 logged in. Access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (10,0,0,1,85,227) 150 Opening ASCII mode data connection for directory listing. total 4744 -rw-r--r-- 1 root root 82386 Jan 11 09:57 bluez-bluefw-0.9-1.i386.rpm 13

-rw------- 1 root root 108144 Jan 11 09:56 bluez-bluefw-0.9.tar.gz -rw------- 1 root root 166968 Jan 11 09:56 bluez-hcidump-1.5.tar.gz -rw------- 1 root root 148093 Jan 11 09:56 bluez-hciemu-1.0.tar.gz -rw------- 1 root root 174004 Jan 11 09:57 bluez-kernel-2.3.tar.gz -rw-r--r-- 1 root root 89716 Jan 11 09:57 bluez-libs-2.3-1.i386.rpm -rw------- 1 root root 176521 Jan 11 09:57 bluez-libs-2.3.tar.gz -rw------- 1 root root 29167 Jan 11 09:58 bluez-pan-1.1pre4-1.i386.rpm -rw------- 1 root root 195113 Jan 11 09:56 bluez-pan-1.1pre4.tar.gz -rw------- 1 root root 238933 Jan 11 09:58 bluez-sdp-1.0rc2-1.i386.rpm -rw------- 1 root root 307829 Jan 11 09:58 bluez-sdp-1.0rc3-1.i386.rpm -rw------- 1 root root 206015 Jan 11 09:57 bluez-sdp-1.0rc3.tar.gz -rw------- 1 root root 71711 Jan 11 09:58 bluez-utils-2.2-1.i386.rpm -rw------- 1 root root 244857 Jan 11 09:57 bluez-utils-2.2.tar.gz -rw-r--r-drwxr-xr-x 1 root root 17818 Jan 11 08:45 intro.htm 2 root root 4096 Jan 11 08:45 intro_files -rw-r--r-- 1 root root 17216 Jan 11 08:44 main.jpg.html drwxr-xr-x 2 root root 4096 Jan 11 08:44 main.jpg_files -rw-r--r-- 1 root root 17735 Jan 11 08:46 proposedprojects.htm drwxr-xr-x 2 root root 4096 Jan 11 08:46 proposedprojects_files drwxr-xr-x 6 root root 4096 Jan 12 13:20 public_html -rw-r--r-- 1 root root 18119 Jan 11 08:45 teachingteam.htm drwxr-xr-x 2 root root 4096 Jan 11 08:45 teachingteam_files 226 Transfer complete. ftp> Reference: The webpage:- http://www.linuxsecurity.com/resource_files/firewalls/iptables-tutorial/iptables-tutor ial.html is good material for how to use iptables. Competitor: http://bluez.sourceforge.net/ 14