Re: simple q on IP address and port number




dew wrote:
Can anyone tell me whether the Source port(eg., 8080,etc) ,dest port
are in decimal format.And how many bits does it take up.There can be
65535 ports.so 16 bits am i right?
Also, the tcp,ip,udp,other protocols have a protocol number.So, that
is represented by how many bits?


Thank You

For the First question your answer is right.It takes 2 bytes i.e.,16
bits.
For the Second question,
you said ip,tcp and udp i.e., the IP layer is the base layer for both
TCP and UDP protocols. So in MAC Layer the Protocol lentgh is 2 bytes
i.e,IP or some other one but in IP layer its 1byte specifying TCP or
UDP, and there will be no protocol number mentioned in TCP layer it
distinguishes the protocol depending on some pre-defined port numbers
for a particular port number.

.



Relevant Pages

  • Re: PORT 135 still open with Norton PF 2002
    ... Protocol: ... TCP or UDP ... Remote service: Any Service ...
    (comp.security.firewalls)
  • Re: Allow Wimba Live Classroom via ISA 2004 on SBS 2003
    ... "The wimbamedia client first tries to connect through UDP 5998 then TCP ... Maybe I can get it to work by defining the custom protocol with primary UDP 5998 Send or Send Receive and secondary TCP 5998 Outbound. ... If not a custom access rule, to what rule do I attach the custom protocol? ...
    (microsoft.public.windows.server.sbs)
  • Re: TCP_NODELAY
    ... Using TCP as a catch all protocol is a bad idea. ... channel + UDP 'action' messages. ... because it can _always_ introduce latency (noise on the line ...
    (microsoft.public.win32.programmer.networks)
  • Re: how exactly UDP tunneling works...
    ... >that sounds strange because UDP is not reliable protocol opposite to TCP ( ... >many routers allow configuration not allowed UDP to pass because of that). ...
    (microsoft.public.win32.programmer.networks)
  • Re: SV: XP backdoors
    ... On the opposite end is the application layer. ... to address your question of the 'nature' of the three examples you provided ... Universal Data Protocol (UDP) packets are rarely used anymore in comparison ...
    (Security-Basics)