svn commit: r367790 - stable/12/sys/net

2020-11-18 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 18 13:52:13 2020 New Revision: 367790 URL: https://svnweb.freebsd.org/changeset/base/367790 Log: MFC r367594: Fix possible NULL pointer dereference. lagg(4) replaces if_output method of its child interfaces and expects that this method can be called only

svn commit: r367594 - head/sys/net

2020-11-11 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 11 15:53:36 2020 New Revision: 367594 URL: https://svnweb.freebsd.org/changeset/base/367594 Log: Fix possible NULL pointer dereference. lagg(4) replaces if_output method of its child interfaces and expects that this method can be called only by child interfaces.

svn commit: r367554 - in stable/12: share/man/man4 sys/netinet sys/sys

2020-11-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 10 12:45:59 2020 New Revision: 367554 URL: https://svnweb.freebsd.org/changeset/base/367554 Log: MFC r366695: Implement SIOCGIFALIAS. It is lightweight way to check if an IPv4 address exists. Submitted by: Roy Marples Differential Revision:

svn commit: r367553 - in stable/12: share/dtrace sys/netpfil/ipfw

2020-11-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 10 12:13:18 2020 New Revision: 367553 URL: https://svnweb.freebsd.org/changeset/base/367553 Log: MFC r366908 (modified for stable/12 KBI): Add dtrace SDT probe ipfw:::rule-matched. It helps to reduce complexity with debugging of large ipfw rulesets. Also

svn commit: r366908 - in head: share/dtrace sys/netpfil/ipfw

2020-10-21 Thread Andrey V. Elsukov
) 2020 Andrey V. Elsukov + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions

svn commit: r366894 - stable/11/sys/netinet

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:49:19 2020 New Revision: 366894 URL: https://svnweb.freebsd.org/changeset/base/366894 Log: MFC 366682: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist,

svn commit: r366893 - stable/12/sys/netinet

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:44:54 2020 New Revision: 366893 URL: https://svnweb.freebsd.org/changeset/base/366893 Log: MFC r366682: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist,

svn commit: r366892 - stable/12/sys/netpfil/ipfw/nat64

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:40:37 2020 New Revision: 366892 URL: https://svnweb.freebsd.org/changeset/base/366892 Log: MFC r366681: Add IPv4 fragments reassembling to NAT64LSN. NAT64LSN requires the presence of upper level protocol header in a IPv4 datagram to find

svn commit: r366747 - stable/12/usr.bin/cpuset

2020-10-16 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 16 08:56:20 2020 New Revision: 366747 URL: https://svnweb.freebsd.org/changeset/base/366747 Log: MFC r366568: Fix EINVAL message when CPU binding information is requested for IRQ. `cpuset -g -x N` along with requested information always prints message

svn commit: r366695 - in head: share/man/man4 sys/netinet sys/sys

2020-10-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Oct 14 09:22:54 2020 New Revision: 366695 URL: https://svnweb.freebsd.org/changeset/base/366695 Log: Implement SIOCGIFALIAS. It is lightweight way to check if an IPv4 address exists. Submitted by: Roy Marples Reviewed by: gnn, melifaro MFC after:2 weeks

svn commit: r366682 - head/sys/netinet

2020-10-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 13 19:34:36 2020 New Revision: 366682 URL: https://svnweb.freebsd.org/changeset/base/366682 Log: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist, it removes old

svn commit: r366681 - head/sys/netpfil/ipfw/nat64

2020-10-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 13 18:57:42 2020 New Revision: 366681 URL: https://svnweb.freebsd.org/changeset/base/366681 Log: Add IPv4 fragments reassembling to NAT64LSN. NAT64LSN requires the presence of upper level protocol header in a IPv4 datagram to find corresponding state to make

svn commit: r366568 - head/usr.bin/cpuset

2020-10-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 9 11:24:19 2020 New Revision: 366568 URL: https://svnweb.freebsd.org/changeset/base/366568 Log: Fix EINVAL message when CPU binding information is requested for IRQ. `cpuset -g -x N` along with requested information always prints message `cpuset: getdomain:

svn commit: r365746 - stable/11/sbin/rcorder

2020-09-15 Thread Andrey V. Elsukov
Author: ae Date: Tue Sep 15 08:54:00 2020 New Revision: 365746 URL: https://svnweb.freebsd.org/changeset/base/365746 Log: MFC r365449: Add a few features to rcorder: o Enhance dependency loop logging: print full chain instead of the last link competing the loop; o Add -g

svn commit: r365745 - stable/12/sbin/rcorder

2020-09-15 Thread Andrey V. Elsukov
Author: ae Date: Tue Sep 15 08:52:36 2020 New Revision: 365745 URL: https://svnweb.freebsd.org/changeset/base/365745 Log: MFC r365449: Add a few features to rcorder: o Enhance dependency loop logging: print full chain instead of the last link competing the loop; o Add -g

svn commit: r365628 - head/sbin/ipfw

2020-09-11 Thread Andrey V. Elsukov
Author: ae Date: Fri Sep 11 10:07:09 2020 New Revision: 365628 URL: https://svnweb.freebsd.org/changeset/base/365628 Log: Fix compatibility regression after r364117. Properly handle the case, when some opcode keywords follow after the `frag` opcode without additional options.

svn commit: r365449 - head/sbin/rcorder

2020-09-08 Thread Andrey V. Elsukov
Author: ae Date: Tue Sep 8 10:36:11 2020 New Revision: 365449 URL: https://svnweb.freebsd.org/changeset/base/365449 Log: Add a few features to rcorder: o Enhance dependency loop logging: print full chain instead of the last link competing the loop; o Add -g option to generate

svn commit: r364163 - in stable/11/sys: kern sys

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:11:44 2020 New Revision: 364163 URL: https://svnweb.freebsd.org/changeset/base/364163 Log: MFC r363906: Add m__getjcl SDT probe. Modified: stable/11/sys/kern/kern_mbuf.c stable/11/sys/kern/uipc_mbuf.c stable/11/sys/sys/mbuf.h Directory Properties:

svn commit: r364162 - stable/11/sys/netpfil/ipfw/nat64

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:08:50 2020 New Revision: 364162 URL: https://svnweb.freebsd.org/changeset/base/364162 Log: MFC r363888: Handle delayed checksums if needed in NAT64. Upper level protocols defer checksums calculation in hope we have checksums offloading in a network

svn commit: r364161 - stable/11/sys/netinet6

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:07:15 2020 New Revision: 364161 URL: https://svnweb.freebsd.org/changeset/base/364161 Log: MFC r363900: Fix typo. Modified: stable/11/sys/netinet6/in6_proto.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/netinet6/in6_proto.c

svn commit: r364160 - stable/11/sbin/ipfw

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:06:01 2020 New Revision: 364160 URL: https://svnweb.freebsd.org/changeset/base/364160 Log: MFC r363904: Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. Modified: stable/11/sbin/ipfw/nat64clat.c stable/11/sbin/ipfw/nat64stl.c Directory

svn commit: r364159 - in stable/12/sys: kern sys

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:49:35 2020 New Revision: 364159 URL: https://svnweb.freebsd.org/changeset/base/364159 Log: MFC r363906: Add m__getjcl SDT probe. Modified: stable/12/sys/kern/kern_mbuf.c stable/12/sys/kern/uipc_mbuf.c stable/12/sys/sys/mbuf.h Directory Properties:

svn commit: r364158 - stable/12/sys/netpfil/ipfw/nat64

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:48:19 2020 New Revision: 364158 URL: https://svnweb.freebsd.org/changeset/base/364158 Log: MFC r363888: Handle delayed checksums if needed in NAT64. Upper level protocols defer checksums calculation in hope we have checksums offloading in a network

svn commit: r364157 - stable/12/sys/netinet6

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:43:43 2020 New Revision: 364157 URL: https://svnweb.freebsd.org/changeset/base/364157 Log: MFC r363900: Fix typo. Modified: stable/12/sys/netinet6/in6_proto.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/netinet6/in6_proto.c

svn commit: r364156 - stable/12/sbin/ipfw

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:42:36 2020 New Revision: 364156 URL: https://svnweb.freebsd.org/changeset/base/364156 Log: MFC r363904: Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. Modified: stable/12/sbin/ipfw/nat64clat.c stable/12/sbin/ipfw/nat64stl.c Directory

svn commit: r363908 - head/share/dtrace

2020-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 11:54:02 2020 New Revision: 363908 URL: https://svnweb.freebsd.org/changeset/base/363908 Log: Synchronize definitions in mbuf.d with values from mbuf.h Obtained from:Yandex LLC Sponsored by: Yandex LLC Modified: head/share/dtrace/mbuf.d Modified:

svn commit: r363906 - in head/sys: kern sys

2020-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 11:39:09 2020 New Revision: 363906 URL: https://svnweb.freebsd.org/changeset/base/363906 Log: Add m__getjcl SDT probe. Obtained from:Yandex LLC MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/kern/kern_mbuf.c

svn commit: r363904 - head/sbin/ipfw

2020-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 11:26:49 2020 New Revision: 363904 URL: https://svnweb.freebsd.org/changeset/base/363904 Log: Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. Submitted by: Evgeniy Khramtsov MFC after:1 week Differential Revision:

svn commit: r363900 - head/sys/netinet6

2020-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 10:27:11 2020 New Revision: 363900 URL: https://svnweb.freebsd.org/changeset/base/363900 Log: Fix typo. Submitted by: Evgeniy Khramtsov MFC after:1 week Differential Revision:https://reviews.freebsd.org/D25932 Modified:

svn commit: r363888 - head/sys/netpfil/ipfw/nat64

2020-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 09:16:35 2020 New Revision: 363888 URL: https://svnweb.freebsd.org/changeset/base/363888 Log: Handle delayed checksums if needed in NAT64. Upper level protocols defer checksums calculation in hope we have checksums offloading in a network card. CSUM_DELAY_DATA

Re: svn commit: r362338 - in head: share/man/man4 sys/conf sys/kern sys/netinet sys/netinet6 sys/netipsec sys/netpfil/pf

2020-06-23 Thread Andrey V. Elsukov
changes, but in the past there weren't any problems in building ipsec.ko module with/without any possible options. I'll try to look what happened and what can be do to fix this at the weekend. -- WBR, Andrey V. Elsukov ___ svn-src-all@freebs

svn commit: r362009 - stable/12/sys/net

2020-06-10 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 10 13:06:13 2020 New Revision: 362009 URL: https://svnweb.freebsd.org/changeset/base/362009 Log: MFC r361749: Add if_reassign method to all tunneling interfaces. After r339550 tunneling interfaces have started handle appearing and disappearing of ingress

svn commit: r361749 - head/sys/net

2020-06-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 3 13:02:31 2020 New Revision: 361749 URL: https://svnweb.freebsd.org/changeset/base/361749 Log: Add if_reassing method to all tunneling interfaces. After r339550 tunneling interfaces have started handle appearing and disappearing of ingress IP address on the

svn commit: r361624 - head/sys/netpfil/ipfw

2020-05-29 Thread Andrey V. Elsukov
Author: ae Date: Fri May 29 10:37:42 2020 New Revision: 361624 URL: https://svnweb.freebsd.org/changeset/base/361624 Log: Fix O_IP_FLOW_LOOKUP opcode handling. Do not check table value matching when table lookup has failed. Reported by: Sergey Lobanov MFC after:1 week

svn commit: r359803 - stable/11/sys/netinet6

2020-04-11 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 11 09:36:41 2020 New Revision: 359803 URL: https://svnweb.freebsd.org/changeset/base/359803 Log: MFC r359498: Ignore ND6 neighbor advertisement received for static link-layer entries. Previously such NA could override manually created LLE. Reported by:

svn commit: r359802 - stable/12/sys/netinet6

2020-04-11 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 11 09:35:48 2020 New Revision: 359802 URL: https://svnweb.freebsd.org/changeset/base/359802 Log: MFC r359498: Ignore ND6 neighbor advertisement received for static link-layer entries. Previously such NA could override manually created LLE. Reported by:

svn commit: r359740 - stable/11/usr.sbin/syslogd

2020-04-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 9 07:15:27 2020 New Revision: 359740 URL: https://svnweb.freebsd.org/changeset/base/359740 Log: MFC r359327,359328: Add property-based filters for syslogd. Property-based filters allow substring and regular expressions (see re_format(7)) matching against

svn commit: r359739 - stable/12/usr.sbin/syslogd

2020-04-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 9 07:11:59 2020 New Revision: 359739 URL: https://svnweb.freebsd.org/changeset/base/359739 Log: MFC r359327,359328: Add property-based filters for syslogd. Property-based filters allow substring and regular expressions (see re_format(7)) matching against

svn commit: r359649 - stable/11/sbin/ipfw

2020-04-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 6 06:38:54 2020 New Revision: 359649 URL: https://svnweb.freebsd.org/changeset/base/359649 Log: MFC r359271: Use IP_FW_NAT44_DESTROY opcode for IP_FW3 socket option to destroy NAT instance. The NAT44 group of opcodes for IP_FW3 socket option is modern

svn commit: r359648 - stable/12/sbin/ipfw

2020-04-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 6 06:34:45 2020 New Revision: 359648 URL: https://svnweb.freebsd.org/changeset/base/359648 Log: MFC r359271: Use IP_FW_NAT44_DESTROY opcode for IP_FW3 socket option to destroy NAT instance. The NAT44 group of opcodes for IP_FW3 socket option is modern

svn commit: r359498 - head/sys/netinet6

2020-03-31 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 1 02:13:01 2020 New Revision: 359498 URL: https://svnweb.freebsd.org/changeset/base/359498 Log: Ignore ND6 neighbor advertisement received for static link-layer entries. Previously such NA could override manually created LLE. Reported by: Martin Beran

svn commit: r359327 - head/usr.sbin/syslogd

2020-03-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 26 11:54:25 2020 New Revision: 359327 URL: https://svnweb.freebsd.org/changeset/base/359327 Log: Add property-based filters for syslogd. Property-based filters allow substring and regular expressions (see re_format(7)) matching against various message attributes.

svn commit: r359328 - head/usr.sbin/syslogd

2020-03-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 26 12:00:26 2020 New Revision: 359328 URL: https://svnweb.freebsd.org/changeset/base/359328 Log: Fix typo. MFC after:2 weeks Modified: head/usr.sbin/syslogd/syslog.conf.5 Modified: head/usr.sbin/syslogd/syslog.conf.5

svn commit: r359271 - head/sbin/ipfw

2020-03-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 24 12:27:02 2020 New Revision: 359271 URL: https://svnweb.freebsd.org/changeset/base/359271 Log: Use IP_FW_NAT44_DESTROY opcode for IP_FW3 socket option to destroy NAT instance. The NAT44 group of opcodes for IP_FW3 socket option is modern way to control NAT

svn commit: r356093 - in stable/12/sys: modules/ipfw_nat64 netpfil/ipfw/nat64

2019-12-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 26 18:05:38 2019 New Revision: 356093 URL: https://svnweb.freebsd.org/changeset/base/356093 Log: MFC r355650: Follow RFC 4443 p2.2 and always use own addresses for reflected ICMPv6 datagrams. Previously destination address from original datagram was used.

svn commit: r356036 - stable/11/sys/netpfil/ipfw

2019-12-23 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 23 10:06:32 2019 New Revision: 356036 URL: https://svnweb.freebsd.org/changeset/base/356036 Log: MFC r355712: Make TCP options parsing stricter. Rework tcpopts_parse() to be more strict. Use const pointer. Add length checks for specific TCP options. The

svn commit: r356035 - stable/12/sys/netpfil/ipfw

2019-12-23 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 23 10:02:55 2019 New Revision: 356035 URL: https://svnweb.freebsd.org/changeset/base/356035 Log: MFC r355712: Make TCP options parsing stricter. Rework tcpopts_parse() to be more strict. Use const pointer. Add length checks for specific TCP options. The

Re: svn commit: r343631 - in head: . sbin sbin/pfilctl share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw sys/netpfil/pf

2019-12-23 Thread Andrey V. Elsukov
entional? > > I don't think that was intentional. Can you please review this patch? LGTM, thanks! -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: svn commit: r343631 - in head: . sbin sbin/pfilctl share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw sys/netpfil/pf

2019-12-18 Thread Andrey V. Elsukov
been received by a NIC and no mbuf was yet allocated. It seems that this commit has changed the error code returned from ip[6]_output() when a packet is blocked. Previously it was EACCES, but now it became EPERM. Was it intentional? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

2019-12-17 Thread Andrey V. Elsukov
On 13.12.2019 17:27, Hans Petter Selasky wrote: > On 2019-12-13 14:40, Andrey V. Elsukov wrote: >> On 05.12.2018 17:20, Slava Shwartsman wrote: >>> Author: slavash >>> Date: Wed DecĀ  5 14:20:57 2018 >>> New Revision: 341578 >>> URL: https://svnweb.

svn commit: r355851 - stable/11/sys/netpfil/ipfw

2019-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 10:26:44 2019 New Revision: 355851 URL: https://svnweb.freebsd.org/changeset/base/355851 Log: MFC r355581: Avoid access to stale ip pointer and call UPDATE_POINTERS() after PULLUP_LEN_LOCKED(). PULLUP_LEN_LOCKED() could update mbuf and thus we need to

svn commit: r355850 - stable/11/sys/netpfil/ipfw

2019-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 10:23:08 2019 New Revision: 355850 URL: https://svnweb.freebsd.org/changeset/base/355850 Log: MFC r350413: Avoid possible lock leaking. After r343619 ipfw uses own locking for packets flow. PULLUP_LEN() macro is used in ipfw_chk() to make m_pullup().

svn commit: r355849 - stable/12/sys/netpfil/ipfw

2019-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 10:00:19 2019 New Revision: 355849 URL: https://svnweb.freebsd.org/changeset/base/355849 Log: MFC r355581: Avoid access to stale ip pointer and call UPDATE_POINTERS() after PULLUP_LEN_LOCKED(). PULLUP_LEN_LOCKED() could update mbuf and thus we need to

svn commit: r355848 - stable/12/sys/netpfil/ipfw

2019-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 09:46:00 2019 New Revision: 355848 URL: https://svnweb.freebsd.org/changeset/base/355848 Log: MFC r350413: Avoid possible lock leaking. After r343619 ipfw uses own locking for packets flow. PULLUP_LEN() macro is used in ipfw_chk() to make m_pullup().

Re: svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

2019-12-13 Thread Andrey V. Elsukov
on the host with this change and before, and I can say, that without DRBR on TX now we constantly have several percents of packets drops due to ENOBUFS error from mlx5e_xmit(). -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r355712 - head/sys/netpfil/ipfw

2019-12-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 13 11:47:58 2019 New Revision: 355712 URL: https://svnweb.freebsd.org/changeset/base/355712 Log: Make TCP options parsing stricter. Rework tcpopts_parse() to be more strict. Use const pointer. Add length checks for specific TCP options. The main purpose of the

svn commit: r355650 - in head/sys: modules/ipfw_nat64 netpfil/ipfw/nat64

2019-12-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 12 13:28:46 2019 New Revision: 355650 URL: https://svnweb.freebsd.org/changeset/base/355650 Log: Follow RFC 4443 p2.2 and always use own addresses for reflected ICMPv6 datagrams. Previously destination address from original datagram was used. That looked

svn commit: r355581 - head/sys/netpfil/ipfw

2019-12-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 10 10:35:32 2019 New Revision: 355581 URL: https://svnweb.freebsd.org/changeset/base/355581 Log: Avoid access to stale ip pointer and call UPDATE_POINTERS() after PULLUP_LEN_LOCKED(). PULLUP_LEN_LOCKED() could update mbuf and thus we need to update related

svn commit: r355529 - stable/11/sys/netipsec

2019-12-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 8 15:24:03 2019 New Revision: 355529 URL: https://svnweb.freebsd.org/changeset/base/355529 Log: MFC r355129: Add support for dummy ESP packets with next header field equal to IPPROTO_NONE. According to RFC4303 2.6 they should be silently dropped.

svn commit: r355528 - stable/12/sys/netipsec

2019-12-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 8 15:22:20 2019 New Revision: 355528 URL: https://svnweb.freebsd.org/changeset/base/355528 Log: MFC r355129: Add support for dummy ESP packets with next header field equal to IPPROTO_NONE. According to RFC4303 2.6 they should be silently dropped.

svn commit: r355129 - head/sys/netipsec

2019-11-27 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 27 10:24:46 2019 New Revision: 355129 URL: https://svnweb.freebsd.org/changeset/base/355129 Log: Add support for dummy ESP packets with next header field equal to IPPROTO_NONE. According to RFC4303 2.6 they should be silently dropped. Submitted by:

svn commit: r355105 - stable/12/contrib/bsnmp/snmpd

2019-11-25 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 26 02:50:25 2019 New Revision: 355105 URL: https://svnweb.freebsd.org/changeset/base/355105 Log: MFC r354858: Fix the byte order of IPv4 address parsed from begemotSnmpdTransInetStatus config option. An address is already in network byte order, there is

svn commit: r354858 - head/contrib/bsnmp/snmpd

2019-11-19 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 19 16:29:47 2019 New Revision: 354858 URL: https://svnweb.freebsd.org/changeset/base/354858 Log: Fix the byte order of IPv4 address parsed from begemotSnmpdTransInetStatus config option. An address is already in network byte order, there is no need to do

svn commit: r354706 - stable/11/sys/net

2019-11-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 14 12:14:55 2019 New Revision: 354706 URL: https://svnweb.freebsd.org/changeset/base/354706 Log: MFC r354443: Enqueue lladdr_task to update link level address of vlan, when its parent interface has changed. During vlan reconfiguration without destroying

svn commit: r354705 - stable/12/sys/net

2019-11-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 14 12:07:49 2019 New Revision: 354705 URL: https://svnweb.freebsd.org/changeset/base/354705 Log: MFC r354443: Enqueue lladdr_task to update link level address of vlan, when its parent interface has changed. During vlan reconfiguration without destroying

svn commit: r354443 - head/sys/net

2019-11-07 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 7 15:00:37 2019 New Revision: 354443 URL: https://svnweb.freebsd.org/changeset/base/354443 Log: Enqueue lladdr_task to update link level address of vlan, when its parent interface has changed. During vlan reconfiguration without destroying interface, it is

Re: svn commit: r354333 - in head/sys/cddl: compat/opensolaris/kern compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2019-11-05 Thread Andrey V. Elsukov
undefined linker_load_file: /boot/kernel/dtrace.ko - unsupported file type KLD dtraceall.ko: depends on dtrace - not available or version mismatch linker_load_file: /boot/kernel/dtraceall.ko - unsupported file type Does it works for you and this is my local problem? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r353797 - stable/11/sbin/ipfw

2019-10-21 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 21 14:34:40 2019 New Revision: 353797 URL: https://svnweb.freebsd.org/changeset/base/353797 Log: MFC r353545: Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode. By default next_cmd() initializes only first u32 of opcode. O_ICMP6TYPE

svn commit: r353723 - stable/12/sbin/ipfw

2019-10-18 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 18 09:09:32 2019 New Revision: 353723 URL: https://svnweb.freebsd.org/changeset/base/353723 Log: MFC r353545: Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode. By default next_cmd() initializes only first u32 of opcode. O_ICMP6TYPE

Re: svn commit: r353480 - in head/sys: net netinet sys

2019-10-15 Thread Andrey V. Elsukov
RE(rt_addrmsg, rt_addrmsg_fn); > + > #endif /* _SYS_EVENTHANDLER_H_ */ Hi, it looks like duplicate functional of ifaddr_event_ext event handler. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r353545 - head/sbin/ipfw

2019-10-15 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 15 09:50:02 2019 New Revision: 353545 URL: https://svnweb.freebsd.org/changeset/base/353545 Log: Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode. By default next_cmd() initializes only first u32 of opcode. O_ICMP6TYPE opcode has array of bit

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-09-03 Thread Andrey V. Elsukov
terface is the same - mce0. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r346630 - in head: sbin/ifconfig share/man/man4 sys/modules/if_gre sys/net sys/netinet sys/netinet6

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 24 09:05:45 2019 New Revision: 346630 URL: https://svnweb.freebsd.org/changeset/base/346630 Log: Add GRE-in-UDP encapsulation support as defined in RFC8086. This GRE-in-UDP encapsulation allows the UDP source port field to be used as an entropy field for

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-09-03 Thread Andrey V. Elsukov
FUNCTION:NAME 16 69030mlx5e_xmit:return 35 23 69030mlx5e_xmit:return 35 26 69030mlx5e_xmit:return 35 25 69030mlx5e_xmit:return 35 24 69030 mlx5e_xmit:return 35 21 69030mlx5e_xmit:return 35 26 69030mlx5e_xmit:return 35 ^C The kernel config is GENERIC. 13.0-CURRENT #9 r345758+82f3d57(svn_head)-dirty -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r346205 - in stable/11: sbin/ipfw sys/netinet sys/netpfil/ipfw sys/netpfil/ipfw/nat64 sys/netpfil/ipfw/nptv6

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 12:05:08 2019 New Revision: 346205 URL: https://svnweb.freebsd.org/changeset/base/346205 Log: MFC r341471: Reimplement how net.inet.ip.fw.dyn_keep_states works. Turning on of this feature allows to keep dynamic states when parent rule is deleted. But

svn commit: r346211 - in stable/11: sbin/ipfw sys/netinet6 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
-2016 Yandex LLC + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2015-2019 Yandex LLC * Copyright (c) 2015-2016 Alexander V. Chernikov - * Copyright (c) 2015-2016 Andrey V. Elsukov - * All rights reserved. + * Copyright (c) 2015-2019 Andrey V. Elsukov * * Redistribution

svn commit: r346203 - stable/11/sbin/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 11:50:07 2019 New Revision: 346203 URL: https://svnweb.freebsd.org/changeset/base/346203 Log: MFC r340717 (by ygy): Fix incorrect DSCP value range from 0..64 to 0..63. PR: 232786 Submitted by: Sergey Akhmatov Modified:

svn commit: r346208 - stable/11/sbin/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 12:14:25 2019 New Revision: 346208 URL: https://svnweb.freebsd.org/changeset/base/346208 Log: MFC r344709 (by ygy): Fix typos and caps for ipfw(8) man page. PR: 236030 Submitted by: olgeni Modified: stable/11/sbin/ipfw/ipfw.8 Directory

svn commit: r346214 - stable/12/sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 13:17:40 2019 New Revision: 346214 URL: https://svnweb.freebsd.org/changeset/base/346214 Log: MFC r345319: Use NET_EPOCH instead of allocating separate one. The code was modified to fix incompatibility that was introduced in r342872. Modified:

svn commit: r346199 - in stable/12: sbin/ipfw sys/netinet6 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
-2016 Yandex LLC + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2015-2019 Yandex LLC * Copyright (c) 2015-2016 Alexander V. Chernikov - * Copyright (c) 2015-2016 Andrey V. Elsukov - * All rights reserved. + * Copyright (c) 2015-2019 Andrey V. Elsukov * * Redistribution

svn commit: r346204 - stable/11/sbin/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 11:52:00 2019 New Revision: 346204 URL: https://svnweb.freebsd.org/changeset/base/346204 Log: MFC r340792 (by ygy): Fix a minor typo in ipfw(8) manual page. PR: 230747 Submitted by: f.tos...@hotmail.it Modified:

svn commit: r346202 - stable/12/sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 11:19:08 2019 New Revision: 346202 URL: https://svnweb.freebsd.org/changeset/base/346202 Log: Fix the build. Include net/pfil.h to be able use IPFW_WLOCK(). In head/ after r343619 it is not required, but this change was not MFCed. Modified:

svn commit: r346200 - in stable/12: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet sys/netinet6 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Yandex LLC + * Copyright (c) 2019 Andrey V. Elsukov + * Copyright (c) 2019 Boris N. Lytochkin + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that t

svn commit: r346210 - in stable/11: sbin/ipfw sys/netinet6 sys/netpfil/ipfw sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 12:34:30 2019 New Revision: 346210 URL: https://svnweb.freebsd.org/changeset/base/346210 Log: MFC r345262: Modify struct nat64_config. Add second IPv6 prefix to generic config structure and rename another fields to conform to RFC6877. Now it contains

svn commit: r346207 - stable/12/sbin/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 12:11:45 2019 New Revision: 346207 URL: https://svnweb.freebsd.org/changeset/base/346207 Log: MFC r344665 (by trhodes): Grammar tweaks in ipfw manual page. Modified: stable/12/sbin/ipfw/ipfw.8 Directory Properties: stable/12/ (props changed) Modified:

svn commit: r346212 - in stable/11: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet sys/netinet6 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Yandex LLC + * Copyright (c) 2019 Andrey V. Elsukov + * Copyright (c) 2019 Boris N. Lytochkin + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that t

svn commit: r346213 - in stable/12: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet6 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 13:08:18 2019 New Revision: 346213 URL: https://svnweb.freebsd.org/changeset/base/346213 Log: MFC r345293: Update NAT64LSN implementation: o most of data structures and relations were modified to be able support large number of translation

svn commit: r346198 - in stable/12: sbin/ipfw sys/netinet6 sys/netpfil/ipfw sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 10:38:50 2019 New Revision: 346198 URL: https://svnweb.freebsd.org/changeset/base/346198 Log: MFC r345262: Modify struct nat64_config. Add second IPv6 prefix to generic config structure and rename another fields to conform to RFC6877. Now it contains

svn commit: r346209 - in stable/11: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netpfil/ipfw/nat64

2019-09-03 Thread Andrey V. Elsukov
--- stable/11/sys/netpfil/ipfw/nat64/nat64_translate.h Sun Apr 14 12:14:25 2019(r346208) +++ stable/11/sys/netpfil/ipfw/nat64/nat64_translate.h Sun Apr 14 12:28:41 2019(r346209) @@ -1,6 +1,6 @@ /*- - * Copyright (c) 2015-2016 Yandex LLC - *

svn commit: r346206 - stable/11/sbin/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 12:10:23 2019 New Revision: 346206 URL: https://svnweb.freebsd.org/changeset/base/346206 Log: MFC r344665 (by trhodes): Grammar tweaks in ipfw manual page. Modified: stable/11/sbin/ipfw/ipfw.8 Directory Properties: stable/11/ (props changed) Modified:

svn commit: r346180 - in stable/12: libexec/rc libexec/rc/rc.d share/man/man5

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 13 08:55:49 2019 New Revision: 346180 URL: https://svnweb.freebsd.org/changeset/base/346180 Log: MFC r345450: Add ability to automatically load ipfw_nat64, ipfw_nptv6 and ipfw_pmod modules by declaring corresponding variables in rc.conf. Also document

svn commit: r346181 - in stable/11: etc/defaults etc/rc.d share/man/man5

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 13 09:06:36 2019 New Revision: 346181 URL: https://svnweb.freebsd.org/changeset/base/346181 Log: MFC r345450: Add ability to automatically load ipfw_nat64, ipfw_nptv6 and ipfw_pmod modules by declaring corresponding variables in rc.conf. Also document

svn commit: r346201 - stable/11/sys/netpfil/ipfw

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 14 11:06:42 2019 New Revision: 346201 URL: https://svnweb.freebsd.org/changeset/base/346201 Log: MFC r342908: Reduce the size of struct ip_fw_args from 240 to 128 bytes on amd64. And refactor the code to avoid unneeded initialization to reduce overhead of

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread Andrey V. Elsukov
icast */ > + sc->sc_ue.ue_eaddr[0] |= 0x02; /* locally administered */ > + } > } Hi, there is ether_fakeaddr() function that is used for such purpose. Maybe is it better to use it? Look at this commit: https://svnweb.freebsd.org/base?view=revision=345139 -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r346027 - stable/11/contrib/bsnmp/snmpd

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 8 11:54:45 2019 New Revision: 346027 URL: https://svnweb.freebsd.org/changeset/base/346027 Log: MFC r345763: Correct a port number assignment. PR: 236930 Modified: stable/11/contrib/bsnmp/snmpd/trap.c Directory Properties: stable/11/ (props

svn commit: r346026 - stable/12/contrib/bsnmp/snmpd

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 8 11:53:37 2019 New Revision: 346026 URL: https://svnweb.freebsd.org/changeset/base/346026 Log: MFC r345763: Correct a port number assignment. PR: 236930 Modified: stable/12/contrib/bsnmp/snmpd/trap.c Directory Properties: stable/12/ (props

svn commit: r345985 - head/libexec/rc

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 6 17:21:05 2019 New Revision: 345985 URL: https://svnweb.freebsd.org/changeset/base/345985 Log: Add firewall_[nat64|nptv6|pmod]_enable variables to /etc/defaults/rc.conf Reported by: Andrey Fesenko X-MFC after: r345450 Modified: head/libexec/rc/rc.conf

svn commit: r345843 - head/contrib/bsnmp/lib

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 3 12:47:49 2019 New Revision: 345843 URL: https://svnweb.freebsd.org/changeset/base/345843 Log: Follow the declared behaviour that specifies server string format in bsnmpclient(3). snmp_parse_server() function accepts string where some fields can be omitted:

svn commit: r345795 - stable/11/sys/net

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 2 09:33:30 2019 New Revision: 345795 URL: https://svnweb.freebsd.org/changeset/base/345795 Log: MFC r345292: Convert allocation of bpf_if in bpfattach2 from M_NOWAIT to M_WAITOK and remove possible panic condition. It is already allowed to sleep in

svn commit: r345794 - stable/12/sys/net

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 2 09:31:38 2019 New Revision: 345794 URL: https://svnweb.freebsd.org/changeset/base/345794 Log: MFC r345292: Convert allocation of bpf_if in bpfattach2 from M_NOWAIT to M_WAITOK and remove possible panic condition. It is already allowed to sleep in

  1   2   3   4   5   6   7   8   9   10   >