home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
pksnd102.zip
/
PKTSEND.DOC
< prev
next >
Wrap
Text File
|
1997-01-06
|
5KB
|
120 lines
Packet Send Utility
FTP Packet Driver Interface, and Front End.
Author: Patrick Whittle
Date: November 4, 1994
Revisions: February 24, 1995
January 6, 1997
Purpose: Provide interface to network packet driver, and MAC level
communication for ethernet networks. See documentation in
PKTSEND.C for more information.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Overview:
This program may be distributed as long as the code is not changed in any
way, and the author's name is intact. The files in this archive are ready
to use; no 'install' needed. Please support the shareware concept.
The program's purpose is to provide an interface to an FTP packet driver and
enable access to ethernet media access control frames. Using an FTP packet
driver, PKTSEND.COM transmits raw packets directly to the ethernet via DOS
interrupt calls. The text mode interface accepts addresses and data from the
user, and passes it to FTP via interrupt 60h (interrupts 60h through 7Fh
are used by FTP drivers). The packets are sent as 802.3 media access control
frames directly to the NIC. In addition to address and data, PKTSEND.COM uses
an ethernet type field to identify the type of protocol being used. The default
type field used in PKTSEND is 0x0800 to indicate IP.
+----------------------------------------+
| PKTSEND.COM |
| Ethernet Media Access Control Frames |
| Destination - Source - Type - Data |
+----------------------------------------+
||
+------------------------------------+
| FTP Packet Driver / |
| board specific driver(s) |
+------------------------------------+
||
+------------------------------+
| Ethernet board(s) |
+------------------------------+
||
=================================== Ethernet wire
Use PKTSEND.COM along with a network utility such as SNOOPER to observe
generated network activity. Use this utility to demonstrate media access
control frame transmissions on ethernet networks.
Usage:
Addresses entered in PKTSEND are sent to an FTP packet driver as broadcasts
with specific source and destination addresses (broadcast here does not infer
network broadcast 255.255.255.255, but a MAC level ethernet transmission).
Observe the results of keystrokes using software on a second network terminal.
Install FTP network packet drivers on two terminals, run PKTSEND.COM on one
of them, and SNOOPER on a second. Data sent over the ethernet via PKTSEND.COM
will be intercepted by SNOOPER to be recorded.
When no network is installed, load DUMMY.COM into memory. This is a TSR
program loaded at DOS that accepts packets via FTP interrupts and discards
them (a null device driver). Using PKTSEND.COM and DUMMY.COM together
demonstrates the intended use of this software.
Files in this archive:
PKTSEND.COM Packet Send Utility, copyright (c) Patrick Whittle, 1995-7
PKTSEND.DOC This documentation file
PKTSEND.C Source code and main program
8086.H Include file used by PKTSEND.C
DUMMY.COM FTP Packet Driver Emulator v1.02 Copyright (c) Patrick Whittle, 1995-7
DUMMY.ASM Source code for dummy packet driver (null device driver)
TRACE.COM Packet driver tracer version 9.0 copyright 1988-89, Russell Nelson.
TRACE.ASM Source code for packet driver tracer program
DEFS.ASM Required by TRACE.ASM
DUMP.EXE Dump program to view output from TRACE program
DUMP.C Source code for DUMP program
PKTDRVR.C Turbo C Driver for FTP Software's packet driver interface.
* Graciously donated to the public domain by Phil Karn.
DIS_PKT9.ZIP Provides an Ethernet or a Token Ring Packet Driver interface to programs
built to operate over Packet Drivers.
WINPKT.ZIP Provides a Packet Driver interface between Windows 3 Enhanced mode
applications and a real Packet Driver.
NDIS3PKT.ZIP A Windows VxD (Virtual Device) which provides a packet driver interface
on top of NDIS version 3.0 or 3.1
Using PKTSEND when no network is present:
Load DUMMY.COM
Load TRACE.COM
Run PKTSEND.COM and transmit some data
Exit the Packet Send Utility, and type 'exit' at DOS to remove the TRACE TSR
Run DUMP.EXE to view resulting packet data
Using PKTSEND when a network is present:
Load an FTP Software FTP packet driver
Load TRACE.COM
Run PKTSEND.COM and transmit some data
Exit the Packet Send Utility, and type 'exit' at DOS to remove the TRACE TSR
Run DUMP.EXE to view resulting packet data
Contact the author via e-mail:
Internet: Patrick_Whittle@PRAXAIR.COM OR
patrick@xiris.com