[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Port #



On Thu, Jun 06, 2002 at 07:09:34PM +0200, Rob Hunter wrote:
> > I' want to set up a firewall on my router box runing  zebra.
> > For now all is working good but and i need to know port on which ospf and
> > ripd (version 2) are listening on to write ipfw rule correctly.
> 
> % grep -i ospf /etc/services
> ospfd           2604/tcp   #OSPFd vty
> ospf6d          2606/tcp   #OSPF6d vty
> 
> % grep -i ospf /etc/services
> ospfd           2604/tcp   #OSPFd vty
> ospf6d          2606/tcp   #OSPF6d vty

Wrong answer.

OSPF does not run over UDP or TCP, and therefore "port" does not mean
anything. It is its own layer 4 protocol:

$ grep ospf /etc/protocols
ospf    89      OSPFIGP         # Open Shortest Path First IGP

(for comparison, tcp is protocol 6 and udp is protocol 17)

RIP, I *think* is UDP. Port 520 (RFC1058, RIPv1). It's obsolete.

Regards,

brian.

-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org