Re: Update to /etc/services

2015-07-27 Thread Stuart Henderson
Also BTW... the reason for only listing used protocols, is that this file
is used to populate the net.inet.tcp.baddynamic and net.inet.udp.baddynamic
port lists, so adding entries to this file reduces randomness in dynamic
port selection, that's why we avoid listing ports for unnecessary protocols.



Re: Update to /etc/services

2015-07-27 Thread Stuart Henderson
On 2015/07/26 21:05, Denis Fondras wrote:
> > Are both TCP and UDP actually used for these? If not, please only list the
> > protocols which are used (not just reserved).
> > 
> 
> Only UDP is used currently.

Thanks, added.

> Index: services
> ===
> RCS file: /cvs/src/etc/services,v
> retrieving revision 1.93
> diff -u -p -r1.93 services
> --- services  31 Dec 2014 11:52:22 -  1.93
> +++ services  26 Jul 2015 19:02:41 -
> @@ -228,12 +228,14 @@ eppc3031/tcp# Remote
> AppleEvents/PP

BTW your diff was line-wrapped, and the BFD entries used
spaces instead of tabs, so I hand applied it.

>  eppc 3031/udp# Remote AppleEvents/PPC Toolbox
>  iscsi3260/tcp# ISCSI
>  mysql3306/tcp# MySQL
> +rdp  3389/tcp# Microsoft Remote Desktop 
> Protocol
>  iapp 3517/tcp802-11-iapp # IEEE 802.11f IAPP
>  iapp 3517/udp802-11-iapp # IEEE 802.11f IAPP
>  daap 3689/tcp# Digital Audio Access Protocol
>  daap 3689/udp# Digital Audio Access Protocol
>  svn  3690/tcp# Subversion
> -rdp  3389/tcp# Microsoft Remote Desktop 
> Protocol
> +bfd-control 3784/udp # BFD Control Protocol
> +bfd-echo3785/udp # BFD Echo Protocol
>  sieve4190/tcp# ManageSieve Protocol
>  sieve4190/udp# ManageSieve Protocol
>  krb524   /tcp# Kerberos 5->4
> 



Re: Update to /etc/services

2015-07-26 Thread Alexey Suslikov
Denis Fondras  ledeuns.net> writes:

>  krb524   /tcp# Kerberos 5->4

I would tweak krb524 comment to be

# Kerberos 5 to 4

because this is how krb524 reads.



Re: Update to /etc/services

2015-07-26 Thread Denis Fondras
> Are both TCP and UDP actually used for these? If not, please only list the
> protocols which are used (not just reserved).
> 

Only UDP is used currently.

Index: services
===
RCS file: /cvs/src/etc/services,v
retrieving revision 1.93
diff -u -p -r1.93 services
--- services31 Dec 2014 11:52:22 -  1.93
+++ services26 Jul 2015 19:02:41 -
@@ -228,12 +228,14 @@ eppc  3031/tcp# Remote
AppleEvents/PP
 eppc   3031/udp# Remote AppleEvents/PPC Toolbox
 iscsi  3260/tcp# ISCSI
 mysql  3306/tcp# MySQL
+rdp3389/tcp# Microsoft Remote Desktop 
Protocol
 iapp   3517/tcp802-11-iapp # IEEE 802.11f IAPP
 iapp   3517/udp802-11-iapp # IEEE 802.11f IAPP
 daap   3689/tcp# Digital Audio Access Protocol
 daap   3689/udp# Digital Audio Access Protocol
 svn3690/tcp# Subversion
-rdp3389/tcp# Microsoft Remote Desktop 
Protocol
+bfd-control 3784/udp   # BFD Control Protocol
+bfd-echo3785/udp   # BFD Echo Protocol
 sieve  4190/tcp# ManageSieve Protocol
 sieve  4190/udp# ManageSieve Protocol
 krb524 /tcp# Kerberos 5->4



Re: Update to /etc/services

2015-07-26 Thread Stuart Henderson
Are both TCP and UDP actually used for these? If not, please only list the 
protocols which are used (not just reserved).

On 26 July 2015 09:53:52 BST, Denis Fondras  wrote:
>Hello,
>
>Following is a patch to add BFD specific ports (RFC5881) and move RDP
>entry so
>the list is ordered.
>
>Denis
>
>Index: etc/services
>===
>RCS file: /cvs/src/etc/services,v
>retrieving revision 1.93
>diff -u -p -r1.93 services
>--- etc/services   31 Dec 2014 11:52:22 -  1.93
>+++ etc/services   26 Jul 2015 08:52:33 -
>@@ -228,12 +228,16 @@ eppc 3031/tcp# Remote
>AppleEvents/PP
> eppc  3031/udp# Remote AppleEvents/PPC Toolbox
> iscsi 3260/tcp# ISCSI
> mysql 3306/tcp# MySQL
>+rdp   3389/tcp# Microsoft Remote Desktop
>Protocol
> iapp  3517/tcp802-11-iapp # IEEE 802.11f IAPP
> iapp  3517/udp802-11-iapp # IEEE 802.11f IAPP
> daap  3689/tcp# Digital Audio Access Protocol
> daap  3689/udp# Digital Audio Access Protocol
> svn   3690/tcp# Subversion
>-rdp   3389/tcp# Microsoft Remote Desktop
>Protocol
>+bfd-control 3784/tcp  # BFD Control Protocol
>+bfd-control 3784/udp  # BFD Control Protocol
>+bfd-echo3785/tcp  # BFD Echo Protocol
>+bfd-echo3785/udp  # BFD Echo Protocol
> sieve 4190/tcp# ManageSieve Protocol
> sieve 4190/udp# ManageSieve Protocol
> krb524/tcp# Kerberos 5->4

-- 
Sent from a phone, please excuse the formatting.



Update to /etc/services

2015-07-26 Thread Denis Fondras
Hello,

Following is a patch to add BFD specific ports (RFC5881) and move RDP entry so
the list is ordered.

Denis

Index: etc/services
===
RCS file: /cvs/src/etc/services,v
retrieving revision 1.93
diff -u -p -r1.93 services
--- etc/services31 Dec 2014 11:52:22 -  1.93
+++ etc/services26 Jul 2015 08:52:33 -
@@ -228,12 +228,16 @@ eppc  3031/tcp# Remote
AppleEvents/PP
 eppc   3031/udp# Remote AppleEvents/PPC Toolbox
 iscsi  3260/tcp# ISCSI
 mysql  3306/tcp# MySQL
+rdp3389/tcp# Microsoft Remote Desktop
Protocol
 iapp   3517/tcp802-11-iapp # IEEE 802.11f IAPP
 iapp   3517/udp802-11-iapp # IEEE 802.11f IAPP
 daap   3689/tcp# Digital Audio Access Protocol
 daap   3689/udp# Digital Audio Access Protocol
 svn3690/tcp# Subversion
-rdp3389/tcp# Microsoft Remote Desktop
Protocol
+bfd-control 3784/tcp   # BFD Control Protocol
+bfd-control 3784/udp   # BFD Control Protocol
+bfd-echo3785/tcp   # BFD Echo Protocol
+bfd-echo3785/udp   # BFD Echo Protocol
 sieve  4190/tcp# ManageSieve Protocol
 sieve  4190/udp# ManageSieve Protocol
 krb524 /tcp# Kerberos 5->4