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]