Patrick Klos-2 wrote
> The SNMP response packet really only have one problem that I can see.  
> The community string 'public' is being included in the response, but 
> it's length field is incorrect (01 instead of 06). That throws off the 
> rest of the packet (which seems to parse fine once you fix the community 
> string length).
> 
> You'll have to check the code to see why the community string length is 
> wrong?
> 
> Patrick Klos
> Klos Technologies, Inc.

I noticed that as well, in the malformed packets it says the community is
only "p".  The length is set correctly.  I actually think it's getting
interrupted somehow.  I used a different SNMP client on my PC and when I do
a get-next, it actually responds with something longer! From what I can see
in Wireshark that is.  The response packet in Wireshark starts to show some
of the data that I want, but gets cut off.  As for why a change of client
would do something like that, I'm not sure.



--
View this message in context: 
http://lwip.100.n7.nabble.com/SNMP-Malformed-Packet-tp28560p28571.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to