Forum Replies Created
-
AuthorPosts
-
Andromedan
ParticipantI doubt it’s possible to force Apache to accept invalid headers.
I did some reading, the only thing I could find that allows header modification is mod_headers, but I don’t think even that will allow accepting invalid ones.Andromedan
ParticipantYeah, I can’t get any more information out of wireshark either. It’s error (as far as I’ve read), is because the packet decoder can’t decode that particular packet properly.
I’m attempting to do some DPI on the DHCP packet vs a valid packet to see what it’s flagging on, not sure how far I’ll get though.
Andromedan
ParticipantAwesome!
I’d certainly like the opportunity to peruse through the firmware/server stuff.Andromedan
ParticipantNo, the router *should* send a DHCP Offer to any device before it requests an IP, it must just be me that isn’t picking the packet up in Wireshark.
I think it’s still going to boil down to the DHCP implementation in the firmware, but without the ability to chew through the code & alter it on the fly, I’m unable to speculate further on why exactly some of us are having this issue.
Andromedan
ParticipantYes, the DHCP Offer is sent by the router itself.
Andromedan
ParticipantStrangely, if I run the same Wireshark with that filter, I only get the Discover & the Request, I don’t get an offer or an ACK. And this is on the working setup.
The Arduino implementation libraries do have one advantage – the code is very much means tested & supported by the community.
Andromedan
ParticipantThis is the strange thing, I get the same results on a router that works, even Wireshark detects the DHCP request as a valid one.
I can only think that the DHCP frame is getting mangled somewhere by the network infrastructure, due to some freak bug in how the packet is constructed.
The only difference I can see is the packet length, so there’s something missing from it somwehere. However I’m no expert on DHCP 😉
Screen capture from a working router setup
de 2E0GXE
Attachments:
Andromedan
ParticipantSo far as Radu has informed me, the MAC addresses are allocated based on serial number, but there shouldn’t be any reason why they’d be blacklisted. As far as I’m aware, anything can be used for a MAC address, as long as it’s unique on the network in question.
As my previous test proves, installing my monitor’s MAC into my test environment works fine with my primary router, so I doubt it’s a MAC based issue.
de 2E0GXE
Andromedan
ParticipantIndeed very odd. Tried another PSU?
Andromedan
ParticipantYep, defintitely server side, look at the originiating IP address in Wireshark.
Although code 400 is for bad client side data sent. Corrupted packets?
Andromedan
ParticipantRight. I’ve rerun some of my checks with my alternative setup.
It isn’t the MAC address that my router has an issue with, it connected fine.
There seems to be something missing from the DHCP packet, the uRadMonitor is sending a packet 319 bytes long, while my working test device is sending 324 bytes.
Screenshots posted are from Wireshark & my router’s admin interface. My cloned MAC is clearly showing on the bottom line with addresss .250
Andromedan
ParticipantIt’s quite possible.
Bear with me. I will set the MAC address on my alternative module to mirror that of the uRadMonitor, I will post my findings.If this is the root cause of the issues, at least it’s a simple fix in the firmware.
Andromedan
ParticipantPeter, the uRadMonitor never gets a DHCP lease, as it seems to be sending an invalid DHCP request packet, or at least it’s sending something that my network equipment doesn’t like. (See attached image on my initial post).
I have done some more testing with a separate SPI network module, the same as is installed in the uRadMonitor, which I can get working on my usual network hardware without issue, using standard example code to enable DHCP. This is pointing me more at a firmware bug on the monitor, rather than my network equipment or the network hardware in the uRadMonitor.
Using another router does work. Unfortunately though, in the long term, segregating a seperate segment of my network is not a solution.
This thread is to get other people to post packet captures from their network, so I can possibly work towards finding out where the problem lies. (IRL, I’m a network engineer) ;).
Andromedan
ParticipantIf a server is required, I can certainly provide some space on one of mine.
Andromedan
ParticipantHi All!
I’m Ben, from Manchester in the UK. I operate monitor number 11000032.
I’m a production datacentre engineer by trade but also do electronic & mechanical engineering in my spare time.
-
AuthorPosts