LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-20-2005, 12:11 PM   #1
jspsandhu
Member
 
Registered: Dec 2004
Location: Slough, UK
Distribution: Fedora, FreeBSD, RHEL
Posts: 85

Rep: Reputation: 15
What is Protocol 50


Hi

Can anyone explain how protocol 50 or protocol 51 is different from TCP/UDP port 50 and 51

Regards

Jaspreet Sandhu
 
Old 10-20-2005, 12:30 PM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Networking is composed of layers; usually, this is the OSI model (see http://en.wikipedia.org/wiki/OSI_model for details). IP is one of these layers, and can encapsulates data from the layer above. In the IP header, there is a marker identifying the type of data that is contained within the IP packet - this is just a number, such as 6 for TCP or 17 for UDP. Protocol 50 is one of these - it denotes encapsulating security payload, and is commonly used with VPN applications.

Protocol 50 differs from TCP port 50 in that TCP port 50 is specific to the TCP protocol in the transport layer (layer 4), whereas protocol 50 is specific to the IP protocol in the network layer (layer 3). ICMP is another example of a protocol number (it is number 1) - but ICMP does not use port numbers like protocols such as TCP and UDP do, i.e. not all IP protocols use port numbers.

Hope this helps.
 
Old 10-20-2005, 12:31 PM   #3
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Oh and if you want a complete list of IP protcols, see

http://www.iana.org/assignments/protocol-numbers

Protocol 51 is authentication header but I'm not sure what it's used for.
 
Old 10-20-2005, 12:49 PM   #4
jspsandhu
Member
 
Registered: Dec 2004
Location: Slough, UK
Distribution: Fedora, FreeBSD, RHEL
Posts: 85

Original Poster
Rep: Reputation: 15
Great understood the difference between protocol number and port no

Question no 2 arises is if I am using a NAT router on the network that blocks all the ports
Can I forward protocol 50 like I can forward ports for TCP and UDP

I dnt see any such option on my router

Does a NAT router blocks such kinda traffic?

Hey AH is used in IPSEC VPN a type of encapsulation of IP.
ESP is also used in IPSEC VPN a type of encapsulation of IP with encryption of Data.

Regards
Jaspreet Sandhu
 
Old 10-20-2005, 12:53 PM   #5
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
A NAT router will block everything unless it is specifically forwarded from the router to a node on your internal network - because the traffic is sent to the router and the router will not know which node it needs to be sent to unless you define it specifically in the forwarding rules.

I haven't ever seen a router which will allow you to forward IP protocols (I've only ever seen the option to forward TCP and/or UDP ports) - but some routers allow you to designate a host on your internal network as a "DMZ host", in which case the router will forward all unclaimed traffic to that host. However, if you do do this it's a good idea to make sure you've got a solid firewall on that host as it exposes it to attacks from the internet.
 
Old 10-23-2005, 11:35 AM   #6
cozofdeath
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Yes im sure it can be done somehow. On my modem in the firewall settings theres a command to allow protocal 50 threw. I have a westell made modem/router and the command looks like this...
pass protocol 50 >> state, done

as far as i know firewall configs take precidence over NAT configs also
 
Old 08-11-2007, 12:17 PM   #7
BeauSanders
LQ Newbie
 
Registered: Nov 2004
Location: South Carolina
Distribution: CentOS 5.3; RHEL5.4
Posts: 24

Rep: Reputation: 15
Perhaps this article from HP will help on the Protocol 50 question

http://docs.hp.com/en/J4256-90009/ch06s04.html

-Beau
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
writing protocol in C mishu11 Linux - Networking 1 08-15-2004 02:55 AM
No FTP protocol? wuck Linux - Networking 2 10-27-2003 01:11 PM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 09:24 AM
protocol Eddie9 Linux - General 1 06-06-2002 02:55 AM
Which protocol is better SkYzOpReNiCk Linux - Security 1 11-06-2001 01:51 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration