Documente Academic
Documente Profesional
Documente Cultură
61033'8IRUPDW
3'8W\SH
Speciies the type o PDU:
0 GetRequest.
1 GetNextRequest.
2 GetResponse.
3 SetRequest.
5HTXHVW,'
Integer ield which correlates the manager`s request to the agent`s response.
(UURUVWDWXV
Lnumerated integer type that indicates normal operation or one o ie error
conditions. 1he possible alues are:
0 noLrror: Proper manager,agent operation.
1 tooBig: Size o the required GetResponse PDU exceeds a local
limitation.
2 noSuchName: 1he requested object name does not match the names
aailable in the releant MIB View.
3 badValue: A SetRequest contains an inconsistent type, length and
alue or the ariable.
4 readOnly: Not deined in RlC115.
5 genLrr: Other errors, which are not explicitly deined, hae occurred.
(UURULQGH[
Identiies the entry within the ariable bindings list that caused the error.
2EMHFWYDOXH
Variable binding pair o a ariable name with its alue.
7UDS3'8)RUPDW
1he ormat o the 1rap PDU is shown below:
6103
PDU
type
Enterp Agent
addr
Gen
trap
Spec
trap
Time
stamp
Obj 1,
Val 1
Obj 1,
Val 1
6103WUDS3'8
3'8W\SH
Speciies the type o PDU ,4~1rap,.
(QWHUSULVH
Identiies the management enterprise under whose registration authority the
trap was deined.
$JHQWDGGUHVV
IP address o the agent, used or urther identiication.
*HQHULFWUDSW\SH
lield describing the eent being reported. 1he ollowing seen alues are
deined:
0 coldStart: Sending protocol entity has reinitialized, indicating that the
agent`s coniguration or entity implementation may be altered.
1 warmStart: Sending protocol has reinitialized, but neither the agent`s
coniguration nor the protocol entity implementation has been altered.
2 linkDown: A communication link has ailed.
3 linkUp: A communication link has come up.
4 authenticationlailure: 1he agent has receied an improperly
authenticated SNMP message rom the manager, i.e., community name
was incorrect.
5 egpNeighborLoss: An LGP peer neighbor is down.
6 enterpriseSpeciic: A non-generic trap has occurred which is urther
identiied by the Speciic 1rap 1ype and Lnterprise ields.
6SHFLILFWUDSW\SH
Used to identiy a non-generic trap when the Generic 1rap 1ype is
enterpriseSpeciic.
7LPHVWDPS
Value o the sysUp1ime object, representing the amount o time elapsed
between the last ,re-,initialization and the generation o that 1rap.
2EMHFWYDOXH
Variable binding pair o a ariable name with its alue.
04 TCP/IP Suite
6103GHFRGH
TACACS 05
7$&$&6
drat-grant-tacacs-02.txt
http:,,www.iet.org,internet-drats,drat-grant-tacacs-02.txt
RlC 1492 http:,,www.cis.ohio-state.edu,htbin,rc,rc1492.html
1ACACS- ,1erminal Access Controller Access Control System, is a
protocol proiding access control or routers, network access serers and
other networked computing deices ia one or more centralized serers.
1ACACS- proides separate authentication, authorization and accounting
serices.
1he ormat o the header is shown in the ollowing illustration:
4 8 16 24 32 bits
Major Minor Packet type Sequence no. Flags
Session ID (4 bytes)
Length (4 bytes)
7$&$&6KHDGHUVWUXFWXUH
0DMRUYHUVLRQ
1he major 1ACACS- ersion number.
0LQRUYHUVLRQ
1he minor 1ACACS- ersion number. 1his is intended to allow reisions
to the 1ACACS- protocol while maintaining backwards compatibility.
3DFNHWW\SH
Possible alues are:
1AC_PLUS_AU1HLN:~ 0x01 ,Authentication,.
1AC_PLUS_AU1HOR:~ 0x02 ,Authorization,.
1AC_PLUS_ACC1:~ 0x03 ,Accounting,.
6HTXHQFHQXPEHU
1he sequence number o the current packet or the current session. 1he irst
1ACACS- packet in a session must hae the sequence number 1 and each
subsequent packet will increment the sequence number by one. 1hus clients
only send packets containing odd sequence numbers, and 1ACACS-
daemons only send packets containing een sequence numbers.
0 TCP/IP Suite
)ODJV
1his ield contains arious lags in the orm o bitmaps. 1he lag alues
signiy whether the packet is encrypted.
6HVVLRQ,'
1he ID or this 1ACACS- session.
/HQJWK
1he total length o the 1ACACS- packet body ,not including the header,.
TELNET 07
7(/1(7
IL1l RlC 854 1983-05 http:,,www.cis.ohio-state.edu,htbin,rc,rc854.html
IL1l RlC 855 1983-05 http:,,www.cis.ohio-state.edu,htbin,rc,rc855.html
IL1l RlC 85 1983-05 http:,,www.cis.ohio-state.edu,htbin,rc,rc85.html
1LLNL1 is the terminal emulation protocol o 1CP,IP. Modern 1LLNL1
is a ersatile terminal emulation due to the many options that hae eoled
oer the past twenty years. Options gie 1LLNL1 the ability to transer
binary data, support byte macros, emulate graphics terminals, and coney
inormation to support centralized terminal management.
1LLNL1 uses the 1CP transport protocol to achiee a irtual connection
between serer and client. Ater connecting, 1LLNL1 serer and client
enter a phase o option negotiation that determines the options that each
side can support or the connection. Lach connected system can negotiate
new options or renegotiate old options at any time. In general, each end o
the 1LLNL1 connection attempts to implement all options that maximize
perormance or the systems inoled.
In a typical implementation, the 1LLNL1 client sends single keystrokes,
while the 1LLNL1 serer can send one or more lines o characters in
response. \here the Lcho option is in use, the 1LLNL1 serer echoes all
keystrokes back to the 1LLNL1 client.
'\QDPLF0RGH1HJRWLDWLRQ
During the connection, enhanced characteristics other than those oered by
the NV1 may be negotiated either by the user or the application. 1his task is
accomplished by embedded commands in the data stream. 1LLNL1
command codes are one or more octets in length and are preceded by an
interpret as command ,IAC, character, which is an octet with each bit set
equal to one ,ll hex,. 1he ollowing are the 1LLNL1 command codes:
&RPPDQGV &RGH1R
'HF+H[
'HVFULSWLRQ
data All terminal input,output data.
Lnd subNeg 240 lO Lnd o option subnegotiation command.
No Operation 241 l1 No operation command.
Data Mark 242 l2 Lnd o urgent data stream.
08 TCP/IP Suite
&RPPDQGV &RGH1R
'HF+H[
'HVFULSWLRQ
Break 243 l3 Operator pressed the Break key or the
Attention key.
Int process 244 l4 Interrupt current process.
Abort output 245 l5 Cancel output rom current process.
\ou there 246 l6 Request acknowledgment.
Lrase char 24 l Request that operator erase the preious
character.
Lrase line 248 l8 Request that operator erase the preious
line.
Go ahead! 249 l9 Lnd o input or hal-duplex
connections.
SubNegotiate 250 lA Begin option subnegotiation.
\ill Use 251 lB Agreement to use the speciied option.
\on`t Use 252 lC Reject the proposed option.
Start use 253 lD Request to start using speciied option.
Stop Use 254 lL Demand to stop using speciied option.
IAC 255 ll Interpret as command.
Lach negotiable option has an ID, which immediately ollows the command
or option negotiation, that is, IAC, command, option code. 1he ollowing
is a list o 1LLNL1 option codes:
2SWLRQ,'
'HF+H[
2SWLRQ&RGHV 'HVFULSWLRQ
0 0 Binary Xmit Allows transmission o binary data.
1 1 Lcho Data Causes serer to echo back all
keystrokes.
2 2 Reconnect Reconnects to another 1LLNL1 host.
3 3 Suppress GA Disables Go Ahead! command.
4 4 Message Sz Coneys approximate message size.
5 5 Opt Status Lists status o options.
6 6 1iming Mark Marks a data stream position or
reerence.
R,C XmtLcho Allows remote control o terminal
printers.
8 8 Line \idth Sets output line width.
9 9 Page Length Sets page length in lines.
10 A CR Use Determines handling o carriage returns.
11 B Horiz 1abs Sets horizontal tabs.
12 C Hor 1ab Use Determines handling o horizontal tabs.
7(/1(7
2SWLRQ,'
'HF+H[
2SWLRQ&RGHV 'HVFULSWLRQ
13 D ll Use Determines handling o orm eeds.
14 L Vert 1abs Sets ertical tabs.
15 l Ver 1ab Use Determines handling o ertical tabs.
16 10 L Use Determines handling o line eeds.
1 11 Lxt ASCII Deines extended ASCII characters.
18 12 Logout Allows or orced log-o.
19 13 Byte Macro Deines byte macros.
20 14 Data 1erm Allows subcommands or Data Lntry to
be sent.
21 15 SUPDUP Allows use o SUPDUP display
protocol.
22 16 SUPDUP Outp Allows sending o SUPDUP output.
23 1 Send Locate Allows terminal location to be sent.
24 18 1erm 1ype Allows exchange o terminal type
inormation.
25 19 Lnd Record Allows use o the Lnd o record code
,0xLl,.
26 1A 1ACACS ID User ID exchange used to aoid more
than 1 log-in.
2 1B Output Mark Allows banner markings to be sent on
output.
28 1C 1erm Loc4 A numeric ID used to identiy terminals.
29 1D 320 Regime Allows emulation o 320 amily
terminals.
30 1L X.3 PAD Allows use o X.3 protocol emulation.
31 1l \indow Size Coneys window size or emulation
screen.
32 20 1erm Speed Coneys baud rate inormation.
33 21 Remote llow Proides low control ,XON, XOll,.
34 22 Linemode Proides linemode bulk character
transactions.
255 ll Lxtended
options list
Lxtended options list.
10 TCP/IP Suite
;:LQGRZ
1he X-\indow protocol proides a remote windowing interace to
distributed network applications. It is an application layer protocol which
uses 1CP,IP or DLCnet protocols or transport.
1he X-\indow networking protocol is client-serer based, where the serer
is the control program running on the user workstation and the client is an
application running elsewhere on the network. An X-serer control program
running on a workstation can simultaneously handle display windows or
multiple applications, with each application asynchronously updating its
window with inormation carried by the X-\indow networking protocol.
1o proide user interaction with remote applications, the X-serer program
running on the workstation generates eents in response to user input such
as mouse moement or a keystroke. \hen multiple applications display, the
system sends mouse moements or click eents to the application currently
highlighted by the mouse pointer. 1he current input ocus selects which
application receies keystroke eents. In certain cases, applications can also
generate eents directed at the X-serer control program.
5HTXHVWDQG5HSO\)UDPHV
Request and reply rames can use the ollowing commands:
&RPPDQG 'HVFULSWLRQ
BackRGB Background colors listed in red, green and blue
components.
BackPM Pixel map used or the window background.
BellPitch Bell pitch.
BellVol Bell olume in percent.
BM Bit mask assigned to a drawable item.
BordPM Border pixel map. Pixel map used or the window
border.
b Border width o the drawable item.
Click Key click olume in percent.
Ord Click order. Drawable clip order, as Unsorted,
\-sorted, \X-sorted or \X-banded.
CMap Color map. Code representing the colors in use
or a drawable.
XWindow 11
&RPPDQG 'HVFULSWLRQ
CID Context ID. Identiier or a particular graphics
context.
Cur Cursor. Reerence code identiying a speciic
cursor.
d Depth. Current window depth.
DD Destination drawable. 1arget item in a bitmap
copy.
D Drawable. Reerence code used to identiy a
speciic window or pixel map.
Lxp Lxposures. Drawable currently exposed.
lam Protocol amily in use, as Internet, DLCnet, or
CHAOSnet.
lont Reerence code used to speciy a ont.
lont,a,d, lont ascent,descent. 1he ertical bounds o a
ont.
loreRGB loreground colors listed in red, green, and blue
components.
lmt lormat o the current window.
GC Graphics context. Reerence code used to identiy
a particular graphical deinition.
h Height o the drawable item.
Key Key code. Speciic key code alue.
KeySym Code used to identiy the amily o key codes in
use.
MinOp X-\indows minor operation code.
MajOp X-\indows major operation code.
N Number o drawable items in the list.
P Parent window. \indow that produced the
current window.
PixMap Pixel map. Reerence code used to identiy a
bitmap region.
p Plane. Bit plane in use.
PM Plane max. Bit plane mask assigned to a drawable
item.
Prop Property. Speciied window property.
S\ Sibling window. \indow produced rom this
window.
SD Source drawable. Source item in a bitmap copy.
1,O Screen saer time out.
1yp 1ype o current window.
12 TCP/IP Suite
&RPPDQG 'HVFULSWLRQ
w \idth o drawable item.
\ \indow. Reerence code used to identiy a
particular window.
X X-coordinate or a drawable item.
\ \-coordinate or a drawable item.
(YHQW)UDPHV
Lent rames can hae the ollowing commands:
&RPPDQG 'HVFULSWLRQ
Btn Button number pressed.
C Child window associated with the eent.
l Lent lags. Set lags display in upper-case and
inactie lags display in lower-case:
,l Input ocus applies to the eent.
s,S Lent is on the same screen.
L,x,y, Lent location. 1he X and \ coordinates o the
eent.
L Lent window. \indow where the eent
occurred.
Key Key number. Number associated with the pressed
key.
O Owner o the window associated with the eent.
R Root window associated with the eent.
R,x,y, Root location. X and \ coordinates o the root
position.
SN Sequence number used to serialize eents.