Re: udhcpc6 missing source address

2022-12-14 Thread Denys Vlasenko
On Wed, Dec 14, 2022 at 11:23 PM David Laight wrote: > From: Denys Vlasenko > > Sent: 14 December 2022 21:17 > A Linux system that runs the dhcp client never reports any > received ethernet packets as 'discarded by software' because > they all get passed to dhcp! > (At least one time I looked

RE: udhcpc6 missing source address

2022-12-14 Thread David Laight
From: Denys Vlasenko > Sent: 14 December 2022 21:17 ... > For comparison, this is how DHCPv4 looks on the wire: > > 28:df:eb:11:48:92 > Broadcast, ethertype IPv4 (0x0800), length 342: > (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length > 328) > 0.0.0.0.bootpc >

Re: udhcpc6 missing source address

2022-12-14 Thread Denys Vlasenko
On Wed, Dec 14, 2022 at 8:59 PM John Lemonovich wrote: > Thank you all for the replies so far. I am admittedly an FPGA > designer/hardware guy, and an embedded software/networking person only enough > to be able to get the hardware working  > > > Here is a the wireshark (via tcpdump) of the

Re: [PATCH] more: accept and ignore -e

2022-12-14 Thread Denys Vlasenko
Applied, thank you. On Mon, Nov 21, 2022 at 2:20 PM Natanael Copa wrote: > > Accept and ignore -e which is specified in POSIX. > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html > --- > util-linux/more.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff

RE: udhcpc6 missing source address

2022-12-14 Thread David Laight
From: Denys Vlasenko > Sent: 14 December 2022 10:04 > > On Wed, Dec 14, 2022 at 10:52 AM David Laight wrote: ... > If it's the code from the above, then no, kernel will not fill in > any IPv6 source addresses, as it does not even know it's > an IPv6/UDP packet - we use raw sockets here, > and we

Re: udhcpc6 missing source address

2022-12-14 Thread Denys Vlasenko
On Wed, Dec 14, 2022 at 10:52 AM David Laight wrote: > > From: John Lemonovich > > Sent: 13 December 2022 20:35 > > > > How are you getting a solicit message through with :: as the source > > address, which I've found no > > server likes as I've tested 3 of them? Or is mine not using the link

Re: udhcpc6 missing source address

2022-12-14 Thread Denys Vlasenko
On Wed, Dec 14, 2022 at 8:55 AM Nicolas Cavallari wrote: > > On 14/12/2022 00:47, Denys Vlasenko wrote: > > On Tue, Dec 13, 2022 at 4:58 PM John Lemonovich > > wrote: > >> > >> Thanks for the replies. Yes David, it's also my understanding per the > >> spec, that the client's link-local address

RE: udhcpc6 missing source address

2022-12-14 Thread David Laight
From: John Lemonovich > Sent: 13 December 2022 20:35 > > How are you getting a solicit message through with :: as the source > address, which I've found no > server likes as I've tested 3 of them? Or is mine not using the link local > address because I'm not > doing anything with the

Re: udhcpc6 missing source address

2022-12-14 Thread Nicolas Cavallari
On 14/12/2022 00:47, Denys Vlasenko wrote: On Tue, Dec 13, 2022 at 4:58 PM John Lemonovich wrote: Thanks for the replies. Yes David, it's also my understanding per the spec, that the client's link-local address must be included for the solicit message. Where does it say that in