RE: Can anyone clarify the difference of these two?

2001-03-02 Thread Willy Schoots
  Summary
 7[192.168.1.1] [192.168.1.22]   75 0:00:00.028
0.000.765 03/02/2001 08:48:19 AM Telnet: C PORT=2909 IAC Do Echo
DLC:  - DLC Header -
  DLC:
  DLC:  Frame 7 arrived at  08:48:19.6589; frame size is 75 (004B hex)
bytes.
  DLC:  Destination = Station Cisco14A4BFA
  DLC:  Source  = Station NGC   0DD6BC
  DLC:  Ethertype   = 0800 (IP)
  DLC:
IP: - IP Header -
  IP:
  IP: Version = 4, header length = 20 bytes
  IP: Type of service = 00
  IP:   000.    = routine
  IP:   ...0  = normal delay
  IP:    0... = normal throughput
  IP:    .0.. = normal reliability
  IP:    ..0. = ECT bit - transport protocol will ignore the CE
bit
  IP:    ...0 = CE bit - no congestion
  IP: Total length= 61 bytes
  IP: Identification  = 340
  IP: Flags   = 4X
  IP:   .1..  = don't fragment
  IP:   ..0.  = last fragment
  IP: Fragment offset = 0 bytes
  IP: Time to live= 128 seconds/hops
  IP: Protocol= 6 (TCP)
  IP: Header checksum = 75FF (correct)
  IP: Source address  = [192.168.1.1]
  IP: Destination address = [192.168.1.22]
  IP: No options
  IP:
TCP: - TCP header -
  TCP:
  TCP: Source port = 2909
  TCP: Destination port= 23 (Telnet)
  TCP: Sequence number = 11781200
  TCP: Next expected Seq number= 11781221
  TCP: Acknowledgment number   = 1056999721
  TCP: Data offset = 20 bytes
  TCP: Flags   = 18
  TCP:   ..0.  = (No urgent pointer)
  TCP:   ...1  = Acknowledgment
  TCP:    1... = Push
  TCP:    .0.. = (No reset)
  TCP:    ..0. = (No SYN)
  TCP:    ...0 = (No FIN)
  TCP: Window  = 8706
  TCP: Checksum= 9A94 (correct)
  TCP: No TCP options
  TCP: [21 Bytes of data]
  TCP:
Telnet: - Telnet -
  Telnet:
  Telnet: IAC Do Echo
  Telnet: IAC Do Suppress go-ahead
  Telnet: IAC Will Terminal-type
  Telnet: IAC Will Negotiate about window size
  Telnet: IAC SB ...
  Telnet:
  Telnet:



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
jeongwoo park
Sent: Friday, March 02, 2001 3:09 AM
To: [EMAIL PROTECTED]
Subject: Can anyone clarify the difference of these two?


hi all
Can anyone clarify the difference of these two?
access-list 101 permit tcp host 192.168.1.52 eq telnet any
access-list 101 permit tcp host 192.168.1.52 any eq telnet

--
jeongwoo


_
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Can anyone clarify the difference of these two?

2001-03-01 Thread jeongwoo park

hi all
Can anyone clarify the difference of these two?
access-list 101 permit tcp host 192.168.1.52 eq telnet any
access-list 101 permit tcp host 192.168.1.52 any eq telnet

--
jeongwoo


_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: Can anyone clarify the difference of these two?

2001-03-01 Thread Mask Of Zorro

I think, though I am willing to be wrong on this, to match the first line 
the source port must equal telnet, while the destination port is not 
specified. To match the second line, the source and destination ports must 
equal telnet. Does that result in a functional difference? Not to my 
knowledge, at least not in the case of a vanilla telnet application, where 
the source and destination ports are likely to be the same number.

Suppose instead of "telnet" the number "1099" were used (or any arbitraty 
port)... Would that make a difference between the two lines - yes, I think 
so...

Z


From: "jeongwoo park" [EMAIL PROTECTED]
Reply-To: "jeongwoo park" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can anyone clarify the difference of these two?
Date: Thu, 1 Mar 2001 18:08:31 -0800

hi all
Can anyone clarify the difference of these two?
access-list 101 permit tcp host 192.168.1.52 eq telnet any
access-list 101 permit tcp host 192.168.1.52 any eq telnet

--
jeongwoo


_
FAQ, list archives, and subscription info: 
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]