[Bug 238796] ipfilter: fix unremovable rules and rules checksum for comparison

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238796 --- Comment #4 from Cy Schubert --- Created attachment 205341 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205341&action=edit Updated patch I suppose I'll post my version of your patch. I'm far from finished, I'm still digging

[Bug 238796] ipfilter: fix unremovable rules and rules checksum for comparison

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238796 --- Comment #3 from WHR --- I'm actually didn't noticed that 'fd_local' is just been set but not used in the code; but it doesn't cause the issue in my test, 'fd_local' is 0 in all rules. By inserting printf(8)s to 'ipf_rule_compare', and m

[Bug 238796] ipfilter: fix unremovable rules and rules checksum for comparison

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238796 --- Comment #2 from commit-h...@freebsd.org --- A commit references this bug: Author: cy Date: Wed Jun 26 00:53:49 UTC 2019 New revision: 349401 URL: https://svnweb.freebsd.org/changeset/base/349401 Log: While working on PR/238796 I disc

[Bug 238796] ipfilter: fix unremovable rules and rules checksum for comparison

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238796 --- Comment #1 from Cy Schubert --- Thanks for the patch. It is being reviewed along with the bug itself. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-

[Bug 206544] sendmsg(2) (sendto(2) too?) can fail with EINVAL; isn't documented in manpage

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206544 Eugene Grosbein changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Eugene Grosbein
25.06.2019 19:40, Christian M wrote: > I've disabled them all on both VM's with FreeBSD 12.0-RELEASE (ifconfig xn0 > -txcsum -rxcsum -lro -tso), and also tried disabling everything for the VIF > via XCP-ng earlier. It made no difference unfortunately. Then you should try to bring the interface to

Re: ng_snd_item: Panic?

2019-06-25 Thread Larry Rosenman
On 06/25/2019 3:13 pm, Andrey V. Elsukov wrote: On 25.06.2019 15:59, Larry Rosenman wrote: On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: On 24.06.2019 23:10, Larry Rosenman wrote: #5  0x828ee5b7 in ng_snd_item (item=0xf8021e3b4d80, flags=0)     at /usr/src/sys/netgraph/ng_base.c:

Re: ng_snd_item: Panic?

2019-06-25 Thread Andrey V. Elsukov
On 25.06.2019 15:59, Larry Rosenman wrote: > On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: >> On 24.06.2019 23:10, Larry Rosenman wrote: > #5  0x828ee5b7 in ng_snd_item (item=0xf8021e3b4d80, > flags=0) >     at /usr/src/sys/netgraph/ng_base.c:2252 It looks like y

[Bug 238796] ipfilter: fix unremovable rules and rules checksum for comparison

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238796 Cy Schubert changed: What|Removed |Added Assignee|n...@freebsd.org |c...@freebsd.org -- You are receiv

[Bug 206544] sendmsg(2) (sendto(2) too?) can fail with EINVAL; isn't documented in manpage

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206544 Munna changed: What|Removed |Added CC||munna1991vik...@gmail.com --- Comment #6 f

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Roger Pau Monné
There's a mistake in my reply below. On Tue, Jun 25, 2019 at 04:56:43PM +0200, Roger Pau Monné wrote: > On Tue, Jun 25, 2019 at 01:55:40PM +0200, Christian M wrote: > > I've made two tests while running tcpdump on the xcp-ng host. I'm not at > > all qualified to interpret the .pcap files from tcpd

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Roger Pau Monné
On Tue, Jun 25, 2019 at 01:55:40PM +0200, Christian M wrote: > I've made two tests while running tcpdump on the xcp-ng host. I'm not at > all qualified to interpret the .pcap files from tcpdump, but I've put them > on Google Drive and linked them below the two tests. Perhaps someone more > qualifie

[Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238789 --- Comment #5 from Greg Becker --- Sure Kubilay, here's my backtrace. It's from a kernel module I am working on that I have not yet published. I hit this easily with GENERIC, but never hit it when running with the patch I supplied: pani

Re: ng_snd_item: Panic?

2019-06-25 Thread Larry Rosenman
On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: On 24.06.2019 23:10, Larry Rosenman wrote: #5  0x828ee5b7 in ng_snd_item (item=0xf8021e3b4d80, flags=0)     at /usr/src/sys/netgraph/ng_base.c:2252 It looks like you use some netgraph based ethernet interface. The system got received

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Christian M
I've disabled them all on both VM's with FreeBSD 12.0-RELEASE (ifconfig xn0 -txcsum -rxcsum -lro -tso), and also tried disabling everything for the VIF via XCP-ng earlier. It made no difference unfortunately. Den tis 25 juni 2019 kl 14:08 skrev Eugene Grosbein : > 25.06.2019 18:55, Christian M wr

Re: Working around unsupported Ethernet card with PXE or UEFI?

2019-06-25 Thread Dave Cottlehuber
On Tue, 25 Jun 2019, at 01:05, Thomas Mueller wrote: > > Hi Tom > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html > > > NDIS may do what you want but it may suck. > > > In terms of time vs effort a 15$ USB Ethernet dongle is going to be your > > best result

[Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238789 --- Comment #4 from Kubilay Kocak --- Thank you for the follow-up Greg. I forgot to ask originally, do you have a panic message and backtrace available? Please include it as an attachment if so -- You are receiving this mail because: You

[Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359

2019-06-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238789 Greg Becker changed: What|Removed |Added CC||g...@codeconcepts.com --- Comment #3

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Eugene Grosbein
25.06.2019 18:55, Christian M wrote: > Please note the > extremely uneven throughput for test 2 below. It's almost like the > throughput increased when running tcpdump simultaneously. Generally this indicates broken "hardware" offload for some features like txcsum/rxcsum/vlan_hwcsum/vlan_hwtaggin

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Christian M
I've made two tests while running tcpdump on the xcp-ng host. I'm not at all qualified to interpret the .pcap files from tcpdump, but I've put them on Google Drive and linked them below the two tests. Perhaps someone more qualified could have a look for anything useful in there. Please note the ext

Re: IPv6-only network--is NAT64+DNS64 really this easy now?

2019-06-25 Thread Wolfgang Zenker
* Mel Pilgrim [190625 04:47]: > On 2019-06-24 19:33, Ultima wrote: >> While it may be possible to have an IPv6 only environment, I don't >> think it is really viable. There are simply too many things that don't run >> on or have very limited support for IPv6 that it makes it very hard >> to drop

Re: IPv6-only network--is NAT64+DNS64 really this easy now?

2019-06-25 Thread Jan Bramkamp
On 25.06.19 04:47, Mel Pilgrim wrote: On 2019-06-24 19:33, Ultima wrote: Hello Mel,   While it may be possible to have an IPv6 only environment, I don't think it is really viable. There are simply too many things that don't run on or have very limited support for IPv6 that it makes it very ha

Re: ng_snd_item: Panic?

2019-06-25 Thread Andrey V. Elsukov
On 24.06.2019 23:10, Larry Rosenman wrote: >>> #5  0x828ee5b7 in ng_snd_item (item=0xf8021e3b4d80, flags=0) >>>     at /usr/src/sys/netgraph/ng_base.c:2252 >> >> It looks like you use some netgraph based ethernet interface. >> The system got received ARP request and is going to send the