Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-28 Thread Simon Kelley
I tested with kernel 5.4 running under qemu, and don't see this problem. Any progress bisecting the issue? I committed the workaround patch: http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4890bcdea2cc0d9ecc21a0e39ed388a650a4ce42 Simon. On 23/04/2020 21:05, Josh H wrote: > Hi there,

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-24 Thread Simon Kelley
Having looked at the docs for UML, I doubt that this is a UML problem, it looks like a pure kernel (in this case, the one running under UML) problem. As such a regression test on those three kernels would therefore be useful. Googling for combinations of recvmsg MSG_PEEK regression UDP MSG_TRUNK

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-23 Thread Josh H
Hi there, I'm not sure of a way of testing it with a real network device, but I'm happy to attempt to build a older UML kernel and test it from there. As I said in my original email, the last fully known working build was way back in kernel 3.2 and a lot has changed since then, so it could very we

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-23 Thread Simon Kelley
Ok, so Josh ran the strace and sent me the results as requested. The interesting bit us here. recvmsg(4, {msg_name={sa_family=AF_INET, sin_port=htons(68), sin_addr=inet_addr("0.0.0.0")}, msg_namelen=16, msg_iov=[{iov_base="\1\1\6\0\310\261\311+\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\366\226}H"..

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-18 Thread Simon Kelley
On 16/04/2020 15:40, Josh H wrote: > > First, answer a simple question the answer to which I may have missed. > Is dnsmasq logging the receipt of DHCPDISCOVER messages? Can we see the > whole log showing that? > > > Based on the config I provided at the initial message, I have the lo

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-16 Thread Josh H
> First, answer a simple question the answer to which I may have missed. > Is dnsmasq logging the receipt of DHCPDISCOVER messages? Can we see the > whole log showing that? Based on the config I provided at the initial message, I have the log file writing to /var/log/dnsmasq.log. This is the whol

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-16 Thread Simon Kelley
On 15/04/2020 19:27, Josh H wrote: > It's difficult for me to share the config outright as I'm using a > modified version of netkit that I've updated to a much newer kernel > - http://netkit-ng.github.io/. The netkit version that is available on > that link is the one that worked with dnsmasq ju

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-15 Thread Geert Stappers
On Wed, Apr 15, 2020 at 07:27:02PM +0100, Josh H wrote: > On Wed, 15 Apr 2020 at 19:17, Geert Stappers wrote: > > Josh H wrote in another message: > > ( > > http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2020q2/013988.html > > ) > > > > > I'm running a very odd environment in that I'm u

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-15 Thread Josh H
> > > Oops. The simple setup doesn't work. > In case there are two UML VMs that "see each other" through > the vHub, feel free to share that config with us. It's difficult for me to share the config outright as I'm using a modified version of netkit that I've updated to a much newer kernel - http

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-15 Thread Geert Stappers
On Wed, Apr 15, 2020 at 06:03:13PM +0100, Josh H wrote: > On Wed, 15 Apr 2020 at 16:56, wrote: > > > > what about nftables if you are using a recent version of linux? many seem > > to be moving to nftables from iptables... > > https://linuxhandbook.com/iptables-vs-nftables/ > > > Running the comma