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

Bug#728374: freebsd-net-tools: /sbin/ifconfig is missing options for pfsync



Hi!

On 31/10/2013 12:07, Peter Hachenberg wrote:
> diff -Nur orig/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h pha/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h
> --- orig/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h        2013-03-18 11:32:54.000000000 +0100
> +++ pha/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h 2013-10-31 11:08:44.000000000 +0100

This header is a bit more generic now than it was in the version you've
modified. It is now used on GNU/Linux, and intends to serve other
packages than just freebsd-utils.

(hence the questions below, please answer if possible!).

> @@ -2,3 +2,7 @@
>  #ifndef IPPORT_MAX
>  #define IPPORT_MAX 65535
>  #endif
> +
> +#ifndef INADDR_PFSYNC_GROUP
> +#define INADDR_PFSYNC_GROUP   (uint32_t)0xf00000e0
> +#endif

This is an IPv4 address right? Any idea what is it used for? What's
special about packets sent to / received from this address?

Btw, what about the other groups not defined by Glibc? Should these be
added too?

#define INADDR_ALLRPTS_GROUP    (u_int32_t)0xe0000016   /* 224.0.0.22,
IGMPv3 */
#define INADDR_CARP_GROUP       (u_int32_t)0xe0000012   /* 224.0.0.18 */
#define INADDR_PFSYNC_GROUP     (u_int32_t)0xe00000f0   /* 224.0.0.240 */
#define INADDR_ALLMDNS_GROUP    (u_int32_t)0xe00000fb   /* 224.0.0.251 */

Thanks!

-- 
Robert Millan


Reply to: