Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Hacking's just another word for nothing left to kludge.


tech / sci.electronics.design / Re: ESP32

SubjectAuthor
* ESP32john larkin
+* Re:ESP32Martin Rid
|`* Re: ESP32John Larkin
| +* Re: ESP32whit3rd
| |+- Re: ESP32John Larkin
| |+* Re: ESP32Don Y
| ||`- Re: ESP32John Larkin
| |`* Re: ESP32Lasse Langwadt Christensen
| | +- Re: ESP32john larkin
| | `* Re: ESP32Don Y
| |  +* Re: ESP32Lasse Langwadt Christensen
| |  |`- Re: ESP32Don Y
| |  `* Re: ESP32john larkin
| |   `* Re: ESP32Michael Schwingen
| |    +- Re: ESP32john larkin
| |    `* Re: ESP32Don Y
| |     +* Re: ESP32John Walliker
| |     |`- Re: ESP32Don Y
| |     `- Re: ESP32John Larkin
| `* Re: ESP32Arie de Muijnck
|  `* Re: ESP32john larkin
|   `- Re: ESP32John Larkin
+- Re: ESP32Klaus Kragelund
+- Re: ESP32Dan Purgert
+* Re: ESP32DJ Delorie
|+* Re: ESP32John Larkin
||`- Re: ESP32Lasse Langwadt Christensen
|`- Re: ESP32Don
+* Re: ESP32David Lesher
|`* Re: ESP32Don Y
| `* Re: ESP32David Lesher
|  `- Re: ESP32Don Y
+- Re: ESP32Jan Panteltje
`- Re: ESP32Michael Schwingen

Pages:12
Re: ESP32

<mgukri5jo2d8mic8aeg86ri7o91o73bbq1@4ax.com>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134325&group=sci.electronics.design#134325

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 31 Jan 2024 17:01:45 +0000
From: jl@997PotHill.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Wed, 31 Jan 2024 09:00:36 -0800
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <mgukri5jo2d8mic8aeg86ri7o91o73bbq1@4ax.com>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com> <up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com> <upbh4s$vpkc$1@dont-email.me> <77miri5hqpv7gj46sgqkrjitl00vetrcue@4ax.com> <61504122-803a-4b4d-958a-413b0bdeccf4n@googlegroups.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 67
X-Trace: sv3-Q0ym+js28PrOMz56XcIpYrcoqo+bDPmq5gRaxzgaviBcD8MVqNMBydRo1Wq2oajw/VdWRNEtA4l2If5!J1A2aHwoo73PlyUfcHzar6rIwOlvPIoS1HLJABX7FaBkmlMmGr/wOwQ8L6EnkTK3cXesGzwb0n2Q!NngwjQ==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 4131
 by: John Larkin - Wed, 31 Jan 2024 17:00 UTC

On Wed, 31 Jan 2024 08:42:33 -0800 (PST), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>tirsdag den 30. januar 2024 kl. 21.37.32 UTC+1 skrev john larkin:
>> On Tue, 30 Jan 2024 20:02:53 +0100, Arie de Muijnck
>> <eternal....@ademu.com> wrote:
>>
>> >On 2024-01-30 06:19, John Larkin wrote:
>> >> On Mon, 29 Jan 2024 22:57:31 -0500 (EST), Martin Rid
>> >> <martin...@verison.net> wrote:
>> >>
>> >>> john larkin <j...@650pot.com> Wrote in message:r
>> >>>> Has anyone used any of the ESP32 parts? That's the Expressif Systemsfamily of uP's.Any comments?
>> >>>
>> >>> I've only seen them on assemblies, and no certification s .
>> >>> Why not an arm? Ti?
>> >>>
>> >>> Cheers
>> >>
>> >> I'm thinking about using the RP2040 in some products, and some of my
>> >> engineers suggested some alternates, including ESP32.
>> >>
>> >> I like the 2040 but it has no floating point hardware and no ethernet
>> >> MAC.
>> >>
>> >> The ESP32 looks dicey to me, but I wondered is anyone has used it. It
>> >> seems aimed at high volume wireless applications.
>> >>
>> >
>> >You want ethernet? I'm looking at the STM32H563ZIT6.
>> >2MB flash, 640kB RAM (who needs more...), 250MHz 32bit ARM Cortx M33, ethernet MAC.
>> >Lots of peripherals. I like the LQFP 144 20X20X1.4mm package.
>> >Very extensive free tool chain. Already ordered a devkit.
>> >
>> >https://estore.st.com/en/stm32h563zit6-cpn.html chip $10 @1pcs
>> >https://estore.st.com/en/nucleo-h563zi-cpn.html dev kit $28
>> >
>> >Arie
>> We use STM32F207IGT6 in a bunch of our products and test sets, and do
>> ethernet with just an external PHY and magnetics. But I really like
>> the Pi 2040 chip.
>
>have you actually used one yet? afaict apart from the PIOs, which seems like an exercise in masochism to program,
>it doesn't do anything the numerous other ARM/RISC-V chips do

One of my guys is playing with a Pi4 as the dev/debug system with a
Pico board as the target. He got a demo program running on the Pico in
a day and wiggled some i/os. It seems to just work.

Each of the pio pins has 6 alternate functions and some have 9 or 10,
which will take a bit of thinking on our first board, the template for
the product line. The pio hardware state machines could be
interesting.

We programmed the STMs bare metal, so we could program the 2040s bare
metal if that's easiest. Basically, it's two ARM cores.

News:

https://arstechnica.com/gadgets/2024/01/raspberry-pi-is-preparing-for-an-ipo-in-london-for-likely-more-than-500m/

I keep meeting people who hang out in maker spaces and use Pi's. This
is a techno-cultural revolution, like ham radio was after WWII.

The maker people visit maker spaces when they go to other cities and
find instant friends.

Re: ESP32

<updusp$1jslg$2@dont-email.me>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134328&group=sci.electronics.design#134328

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: blockedofcourse@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Wed, 31 Jan 2024 10:09:39 -0700
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <updusp$1jslg$2@dont-email.me>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com>
<upcbl7$eho$1@reader1.panix.com> <upcnlp$1dc23$1@dont-email.me>
<updsh2$cc7$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 17:09:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a45a83f00a3406f44376f3a7c55b2fc7";
logging-data="1700528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wFbsSyZ4YOUpq4Rzro4N1"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:kJ9ReA188N4w5xKx6N0073uJFeo=
Content-Language: en-US
In-Reply-To: <updsh2$cc7$1@reader1.panix.com>
 by: Don Y - Wed, 31 Jan 2024 17:09 UTC

On 1/31/2024 9:29 AM, David Lesher wrote:
> Don Y <blockedofcourse@foo.invalid> writes:
>
>>> The software guru grouses about the build chain...
>
>> As a "significant" (if not MAJOR) stakeholder, didn't he have
>> a say in the hardware design/processor selection?
>
> Yes. He points out it's such a winner on the price/performance
> window, it can't be ignored. Plus, the NXP boards he'd used
> previously have been disappeared.

REMIND him of his endorsement! :>

And, something about a "free lunch"...

> What BSD-friendly tools for the ESP32 exist?

BSD-hosted? Or, BSD-licensed?

Dunno about the ESP32; I work with bigger SoC's, nowadays
(ARMv8's) -- or, super tiny devices that I code in ASM
(used as "hardware emulators").

For the former, Eclipse/gcc under NetBSD and ARM's toolchain
under Windows -- build under two different toolchains as a
sanity check for non-portable constructs (I also build under
Slowaris targeting SPARC just to REALLY stress my implementation!)

Plus, proprietary tools to give me a peek into running systems
(it's hard to trace program execution using conventional tools
when it spans multiple processors!)

Re: ESP32

<slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134730&group=sci.electronics.design#134730

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news-1513678000@discworld.dascon.de (Michael Schwingen)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: 8 Feb 2024 20:27:46 GMT
Lines: 14
Message-ID: <slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com>
<up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com>
<7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com>
<13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com>
<upbgc1$13ogk$1@dont-email.me> <pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com>
X-Trace: individual.net BnwsWYQiPdXqTaaIWat9mw7x1sAs67SWDcTN/67lumfDv9RmeO
Cancel-Lock: sha1:IbA/v6PVwnDofoQRcjsxkddiDHw= sha256:NMYfHFlKLlgEqEkB7Djm49HGCDspOz2ozhGbe4vUtsc=
User-Agent: slrn/1.0.3 (Linux)
 by: Michael Schwingen - Thu, 8 Feb 2024 20:27 UTC

On 2024-01-30, john larkin <jl@650pot.com> wrote:
> The spi chips are mac+phy and handle entire packets and protocols.
> That's a nice idea.

That probably works fine for not too-high traffic in a friendly environment.
If someone starts sending lots of packets your way, these parts will
probably drown and drop your intended traffic, too.

It depends on your use case if this is a problem or not.

cu
Michael
--
Some people have no respect of age unless it is bottled.

Re: ESP32

<slrnusaeq7.5gm.news-1513678000@a-tuin.ms.intern>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134731&group=sci.electronics.design#134731

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news-1513678000@discworld.dascon.de (Michael Schwingen)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: 8 Feb 2024 20:36:23 GMT
Lines: 23
Message-ID: <slrnusaeq7.5gm.news-1513678000@a-tuin.ms.intern>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com>
X-Trace: individual.net nJAeff4ZcwckqADSOY3SiQHXqnishO8Jq83zXKatCEeJTMFvzo
Cancel-Lock: sha1:RdyGvGKEWs7Jf+AQp2/G7pG7bRQ= sha256:pYqqJBjX5KjpH0yv/23jFkqkZkWjtGRMuKRoPa+yNEc=
User-Agent: slrn/1.0.3 (Linux)
 by: Michael Schwingen - Thu, 8 Feb 2024 20:36 UTC

On 2024-01-29, john larkin <jl@650pot.com> wrote:
>
> Has anyone used any of the ESP32 parts? That's the Expressif Systems
> family of uP's.
>
> Any comments?

We have used them for a product just for the bluetooth function because an
ESP32-based module was way cheaper than other pure bluetooth modules we
looked at.

I have some running hobby projects, mainly sensor stuff (CO2, temp, rh) -
the ESP32 directly pushes the collected data to my MQTT server via wireless
LAN. Programming them using platformIO (and the arduino libraries) works
great to get started, for a commercial product, you may instead want to use
the ESP-IDF framework directly.

They do have some quirks, but provide decent performance for the money.

cu
Michael
--
Some people have no respect of age unless it is bottled.

Re: ESP32

<vheasiddsos7bi65crejq3rbh62201sj10@4ax.com>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134732&group=sci.electronics.design#134732

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 08 Feb 2024 20:40:56 +0000
From: jl@650pot.com (john larkin)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Thu, 08 Feb 2024 12:40:53 -0800
Message-ID: <vheasiddsos7bi65crejq3rbh62201sj10@4ax.com>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com> <up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com> <7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com> <13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com> <upbgc1$13ogk$1@dont-email.me> <pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com> <slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 30
X-Trace: sv3-6nXKerZgjbFKo84mWI/qr/NM3okysVWQeoIWyqpUjTY5Y8IvMQhRQjZ1LM0akoLF+2XYOkAC2Mz6+Km!UMPACfEJl9/8xliR+sD8dN9acD9CPBCE64si+9g+a8wLSWzDOhQLzuKCqC6imKKQt4EbacpQbZ6e!ZhQ/Mg==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: john larkin - Thu, 8 Feb 2024 20:40 UTC

On 8 Feb 2024 20:27:46 GMT, Michael Schwingen
<news-1513678000@discworld.dascon.de> wrote:

>On 2024-01-30, john larkin <jl@650pot.com> wrote:
>> The spi chips are mac+phy and handle entire packets and protocols.
>> That's a nice idea.
>
>That probably works fine for not too-high traffic in a friendly environment.
>If someone starts sending lots of packets your way, these parts will
>probably drown and drop your intended traffic, too.
>
>It depends on your use case if this is a problem or not.
>
>cu
>Michael

One of my guys is learning about using the WizNet chip with the
Raspberry Pi Pico, namely the RP2040 chip. He got a web page server up
in about a day.

The Wiz chip will wait around until it has an incoming packet ready,
and then interrupt. That's pretty cool.

Our box will occasionally get a query, like "what's the angular
position?" and will then reply. The sender should wait for the reply,
so I don't expect to be overwhelmed with traffic.

We are doing timing measurements to see how long bits of code, c or
their micro Python, take to run.

Re: ESP32

<uq3h92$24tce$2@dont-email.me>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134735&group=sci.electronics.design#134735

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: blockedofcourse@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Thu, 8 Feb 2024 14:32:10 -0700
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <uq3h92$24tce$2@dont-email.me>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com>
<up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com>
<7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com>
<13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com>
<upbgc1$13ogk$1@dont-email.me> <pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com>
<slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 8 Feb 2024 21:32:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="416acfd548ad368da9ea29eec366f779";
logging-data="2258318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+prnq0LgUk0UDO6e6sO2VV"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:hYkp9PERBX6Vtj22gF3gRVv5VEw=
Content-Language: en-US
In-Reply-To: <slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
 by: Don Y - Thu, 8 Feb 2024 21:32 UTC

On 2/8/2024 1:27 PM, Michael Schwingen wrote:
> On 2024-01-30, john larkin <jl@650pot.com> wrote:
>> The spi chips are mac+phy and handle entire packets and protocols.
>> That's a nice idea.
>
> That probably works fine for not too-high traffic in a friendly environment.
> If someone starts sending lots of packets your way, these parts will
> probably drown and drop your intended traffic, too.

Exaactly. You can't control the *other* traffic on the wire.
So, can effectively experience a DoS even with average wire
rates well below the maximum bandwidth. (Think Slowloris
*without* even involving your stack!)

> It depends on your use case if this is a problem or not.

It depends on your *future* use cases, as well. It's
relatively easy for folks to fall into the trap of THINKING
it works -- in one scenario/environment -- and believing
they can move it to another with similar results.

The IPv6 stack I've put in my "network sugarcube" (originally
the basis for a one-port terminal server that now sees a dozen
or more applications -- once you have a good/robust stack, the
possibilities) exposes statistics about the "superfluous"
traffic that the device opted not to pass up to the application
layer. This allows the application to determine if it is in
a hostile environment, the probability that traffic intended
for it have been dropped or "muscled" out, failed attempts
to break IPsec, etc.

Nowadays, you don't even need to take out a soldering iron to
(attempt to) hack a device -- just throw packets at it as it
was likely designed not to consider the possibility of
hostile/malevolent traffic. Can you guarantee your customers
won't deploy your device in such an environment? Then, blame
YOU (after a lengthy analysis of THEIR environment) when
it doesn't perform as expected?

I.e., if you don't make guarantees about your functionality in
a particular environment, then you'd best be able to verify that
you aren't *in* that environment!

[How many designs will function correctly if the processor bus
was exposed to an outside agent? The network has a similar
function in newer designs]

Re: ESP32

<200b9c94-500d-4efe-bea9-2f8ca260fa2an@googlegroups.com>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134753&group=sci.electronics.design#134753

  copy link   Newsgroups: sci.electronics.design
X-Forwarded-Encrypted: i=1; AJvYcCUpccnl6rpMNdrxGknkqg8EM6I6CPKKj0+wAvGuz5Ug8Qoq8DT60Jp91xPO9F1EED4oTza+rZVeX++yfwcbd24OcJ/ITbaLNx5fe0c9pTt1iwuiqOBmV4m9OiLV
X-Received: by 2002:a05:622a:290:b0:42c:4419:5ba0 with SMTP id z16-20020a05622a029000b0042c44195ba0mr52544qtw.9.1707479079166;
Fri, 09 Feb 2024 03:44:39 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCV5/YLVmw6BqgzApaKZ/BlmCiaube5nTp/YLAzZE4iuIuOrM9dkFjsxQ6Ah1adV51zarRxOd8KBKFZvoGNXTHpJSj3P70SWJanaHgwRZd/aLFLPWYWQmO2Z
X-Received: by 2002:a25:690b:0:b0:dc2:4d91:fb4b with SMTP id
e11-20020a25690b000000b00dc24d91fb4bmr271595ybc.9.1707479078896; Fri, 09 Feb
2024 03:44:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 9 Feb 2024 03:44:38 -0800 (PST)
In-Reply-To: <uq3h92$24tce$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:8b0:fb4e:0:8614:4dff:fee6:8a48;
posting-account=de11ZAoAAACBQRb2jWnaIkHYK2q9mRvs
NNTP-Posting-Host: 2001:8b0:fb4e:0:8614:4dff:fee6:8a48
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com> <up9s3d$rg4t$1@dont-email.me>
<cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com> <7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com>
<13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com> <upbgc1$13ogk$1@dont-email.me>
<pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com> <slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
<uq3h92$24tce$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <200b9c94-500d-4efe-bea9-2f8ca260fa2an@googlegroups.com>
Subject: Re: ESP32
From: jrwalliker@gmail.com (John Walliker)
Injection-Date: Fri, 09 Feb 2024 11:44:39 +0000
Content-Type: text/plain; charset="UTF-8"
 by: John Walliker - Fri, 9 Feb 2024 11:44 UTC

On Thursday 8 February 2024 at 21:32:26 UTC, Don Y wrote:
> On 2/8/2024 1:27 PM, Michael Schwingen wrote:
> > On 2024-01-30, john larkin <j...@650pot.com> wrote:
> >> The spi chips are mac+phy and handle entire packets and protocols.
> >> That's a nice idea.
> >
> > That probably works fine for not too-high traffic in a friendly environment.
> > If someone starts sending lots of packets your way, these parts will
> > probably drown and drop your intended traffic, too.
> Exaactly. You can't control the *other* traffic on the wire.
> So, can effectively experience a DoS even with average wire
> rates well below the maximum bandwidth. (Think Slowloris
> *without* even involving your stack!)
> > It depends on your use case if this is a problem or not.
> It depends on your *future* use cases, as well. It's
> relatively easy for folks to fall into the trap of THINKING
> it works -- in one scenario/environment -- and believing
> they can move it to another with similar results.
>
> The IPv6 stack I've put in my "network sugarcube" (originally
> the basis for a one-port terminal server that now sees a dozen
> or more applications -- once you have a good/robust stack, the
> possibilities) exposes statistics about the "superfluous"
> traffic that the device opted not to pass up to the application
> layer. This allows the application to determine if it is in
> a hostile environment, the probability that traffic intended
> for it have been dropped or "muscled" out, failed attempts
> to break IPsec, etc.
>
> Nowadays, you don't even need to take out a soldering iron to
> (attempt to) hack a device -- just throw packets at it as it
> was likely designed not to consider the possibility of
> hostile/malevolent traffic. Can you guarantee your customers
> won't deploy your device in such an environment? Then, blame
> YOU (after a lengthy analysis of THEIR environment) when
> it doesn't perform as expected?
>
> I.e., if you don't make guarantees about your functionality in
> a particular environment, then you'd best be able to verify that
> you aren't *in* that environment!
>
>
> [How many designs will function correctly if the processor bus
> was exposed to an outside agent? The network has a similar
> function in newer designs]

There are a few sources of legitimate packets that can easily overwhelm a
small device. They come from some ip cameras and screen sharing software
which uses multicasts so every device on the network may be swamped with
video.
If the network uses WiFi, then multicasts are transmitted at the speed
of the slowest device on the WiFi network. This can quickly saturate
the wireless bandwidth if there is one device with a very slow connection speed.
Most switches and WiFi access points have settings that reduce the impact
of large amounts of multicast traffic, but you can't assume they will all be
appropriately set up.
John

Re: ESP32

<uq56ps$2kb10$1@dont-email.me>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134754&group=sci.electronics.design#134754

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: blockedofcourse@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Fri, 9 Feb 2024 05:45:39 -0700
Organization: A noiseless patient Spider
Lines: 95
Message-ID: <uq56ps$2kb10$1@dont-email.me>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com>
<up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com>
<7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com>
<13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com>
<upbgc1$13ogk$1@dont-email.me> <pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com>
<slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern>
<uq3h92$24tce$2@dont-email.me>
<200b9c94-500d-4efe-bea9-2f8ca260fa2an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 9 Feb 2024 12:45:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d7d5e10d113f8d99748a06f1a50652af";
logging-data="2763808"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4DQCqqTS/f6NmZ+TFNKep"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:ZSC2t5xU0Hof6/z/1ozvXitcNXg=
Content-Language: en-US
In-Reply-To: <200b9c94-500d-4efe-bea9-2f8ca260fa2an@googlegroups.com>
 by: Don Y - Fri, 9 Feb 2024 12:45 UTC

On 2/9/2024 4:44 AM, John Walliker wrote:
> On Thursday 8 February 2024 at 21:32:26 UTC, Don Y wrote:
>> On 2/8/2024 1:27 PM, Michael Schwingen wrote:
>>> On 2024-01-30, john larkin <j...@650pot.com> wrote:
>>>> The spi chips are mac+phy and handle entire packets and protocols.
>>>> That's a nice idea.
>>>
>>> That probably works fine for not too-high traffic in a friendly environment.
>>> If someone starts sending lots of packets your way, these parts will
>>> probably drown and drop your intended traffic, too.
>> Exaactly. You can't control the *other* traffic on the wire.
>> So, can effectively experience a DoS even with average wire
>> rates well below the maximum bandwidth. (Think Slowloris
>> *without* even involving your stack!)
>>> It depends on your use case if this is a problem or not.
>> It depends on your *future* use cases, as well. It's
>> relatively easy for folks to fall into the trap of THINKING
>> it works -- in one scenario/environment -- and believing
>> they can move it to another with similar results.
>>
>> The IPv6 stack I've put in my "network sugarcube" (originally
>> the basis for a one-port terminal server that now sees a dozen
>> or more applications -- once you have a good/robust stack, the
>> possibilities) exposes statistics about the "superfluous"
>> traffic that the device opted not to pass up to the application
>> layer. This allows the application to determine if it is in
>> a hostile environment, the probability that traffic intended
>> for it have been dropped or "muscled" out, failed attempts
>> to break IPsec, etc.
>>
>> Nowadays, you don't even need to take out a soldering iron to
>> (attempt to) hack a device -- just throw packets at it as it
>> was likely designed not to consider the possibility of
>> hostile/malevolent traffic. Can you guarantee your customers
>> won't deploy your device in such an environment? Then, blame
>> YOU (after a lengthy analysis of THEIR environment) when
>> it doesn't perform as expected?
>>
>> I.e., if you don't make guarantees about your functionality in
>> a particular environment, then you'd best be able to verify that
>> you aren't *in* that environment!
>>
>> [How many designs will function correctly if the processor bus
>> was exposed to an outside agent? The network has a similar
>> function in newer designs]
>
> There are a few sources of legitimate packets that can easily overwhelm a
> small device. They come from some ip cameras and screen sharing software
> which uses multicasts so every device on the network may be swamped with
> video.

There are other protocols that also use broadcasts; you can't "know"
when such a packet(s) will come along -- nor if the devices using
the protocols will conspire or cooperate.

Or, jumbo packets.

(How are runts handled?)

> If the network uses WiFi, then multicasts are transmitted at the speed
> of the slowest device on the WiFi network. This can quickly saturate
> the wireless bandwidth if there is one device with a very slow connection speed.
> Most switches and WiFi access points have settings that reduce the impact
> of large amounts of multicast traffic, but you can't assume they will all be
> appropriately set up.

And, does nothing to inhibit packets *directed* to the specific host
(either out of ignorance/misconfiguration OR malevolence). If your
stack can't even *see* the presence of this extra traffic, then
you are doubly hosed as you never are aware of the lost bandwidth.

People think "it's got an 8P8C and this OTHER device has an 8P8C
so I should be able to let them all talk together". Or, they
alter the fabric that you have CAREFULLY put in place and
effectively rejigger the traffic. (you can just daisy chain
switches, "indefinitely", right? :> )

Falling back on "blaming the user's environment" is a huge copout,
especially if the induced traffic causes *your* device to fail.
(And, how eager do you think the user will be to troubleshoot
a problem that YOUR device is exhibiting, regardless of the cause?
Likely about as keen as YOU will be to visit the site and do
your own troubleshooting: "Well, it works in OUR lab...")

My current design uses a custom switch, dedicated/unique tunnels
for each device, bandwidth monitoring, etc. I.e., it verifies the
network is providing *exactly* the level of service that the device
requires; if not, obviously something isn't correct -- broken
or under attack!

If N% of your processor bus's bandwidth was "stolen", how would you
know? Would your device keep operating as expected with that reduction
in resources? (Ans: you don't allow folks to put stuff on that bus!)

Re: ESP32

<83hcsi1830j2uj6vkpdn4i48ora681e5j1@4ax.com>

  copy mid

https://news.novabbs.org/tech/article-flat.php?id=134759&group=sci.electronics.design#134759

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 09 Feb 2024 15:33:35 +0000
From: jl@997PotHill.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: ESP32
Date: Fri, 09 Feb 2024 07:32:17 -0800
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <83hcsi1830j2uj6vkpdn4i48ora681e5j1@4ax.com>
References: <ohcgrihg7g5djr0i7c60mc9bm2sq2b2jkn@4ax.com> <up9s3d$rg4t$1@dont-email.me> <cf1hrihikbltjr5e2htert3tb0a0cle0v1@4ax.com> <7b189cff-2ba4-4a1b-b424-70244b2a212fn@googlegroups.com> <13d8517c-b51d-4ebc-a533-8be9e0690295n@googlegroups.com> <upbgc1$13ogk$1@dont-email.me> <pblirit1vta9qr2vfh7bvl6fg536svhle9@4ax.com> <slrnusaea2.5gm.news-1513678000@a-tuin.ms.intern> <uq3h92$24tce$2@dont-email.me>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 25
X-Trace: sv3-WgK/EjyHjIbTt7KD8RMvDZwJBeCRBHZxxKrh3HDeiTAw5MHbl2f7WEgmM5f1NjVNpaHWKEPRIxaywq+!fnTqmS5tZJyk7vTenEKQgW2/jpzpFSTVn6RSAcLlFKPez4t/WDH3M3tq9pakhBqN+iQIn4qLfb3g!Kzlyrw==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: John Larkin - Fri, 9 Feb 2024 15:32 UTC

On Thu, 8 Feb 2024 14:32:10 -0700, Don Y <blockedofcourse@foo.invalid>
wrote:

>On 2/8/2024 1:27 PM, Michael Schwingen wrote:
>> On 2024-01-30, john larkin <jl@650pot.com> wrote:
>>> The spi chips are mac+phy and handle entire packets and protocols.
>>> That's a nice idea.
>>
>> That probably works fine for not too-high traffic in a friendly environment.
>> If someone starts sending lots of packets your way, these parts will
>> probably drown and drop your intended traffic, too.
>
>Exaactly. You can't control the *other* traffic on the wire.
>So, can effectively experience a DoS even with average wire
>rates well below the maximum bandwidth. (Think Slowloris
>*without* even involving your stack!)

It's not my box's fault of the network is overloaded. In the real
world, my customers mostly use private ethenet networks and control
the traffic by design. We don't expose our critical systems to the
world and neither do they.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor