lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <874mtbojqo.fsf@nemi.mork.no>
Date:	Thu, 04 Dec 2014 10:19:11 +0100
From:	Bjørn Mork <bjorn@...k.no>
To:	Kevin Zhu <Mingying.Zhu@...iocodes.com>
Cc:	Enrico Mioso <mrkiko.rs@...il.com>,
	Eli Britstein <Eli.Britstein@...iocodes.com>,
	Alex Strizhevsky <alexxst@...il.com>,
	"Midge Shaojun Tan" <ShaojunMidge.Tan@...iocodes.com>,
	"youtux\@gmail.com" <youtux@...il.com>,
	"linux-usb\@vger.kernel.org" <linux-usb@...r.kernel.org>,
	"netdev\@vger.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Is this 32-bit NCM?y

Kevin Zhu <Mingying.Zhu@...iocodes.com> writes:

> Guys,
>
> After rearranging the padding, putting NCM0 right after NTH, and disable
> ARP (FLAG_NOARP) and handling the offset alignment issue, it seems it
> begins to work, though there's still problem with DHCP.

Great!  But it would be good to know if _one_ of these changes is enough
to make it work.

> The DHCP packet's size becomes a large one after the TX function, which
> is 16384, the maximum.

You can now (from v3.16) disable the padding by setting min_tx_pkt >= tx_max.
Something like this should do for a simple test:

 echo 16384 >/sys/class/net/wwan0/cdc_ncm/min_tx_pkt


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ