Twi1ight / impacket

Automatically exported from code.google.com/p/impacket
Other
1 stars 4 forks source link

IGMP checksum fails #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a packet using ImpactPacket.IGMP()
2. Send the packet

What is the expected output? What do you see instead?
Expect an IGMP packet to be constructed, but get:

  File "/Library/Python/2.7/site-packages/impacket/ImpactPacket.py", line 1864, in calculate_checksum
    if self.__auto_checksum and (not self.get_igmp_cksum()):
AttributeError: IGMP instance has no attribute '_IGMP__auto_checksum'

What version of the product are you using? On what operating system?
svn version on OSX 10.8

Please provide any additional information below.

The patch fixing the issue is attached

Original issue reported on code.google.com by diogogo...@gmail.com on 20 Oct 2012 at 12:01

Attachments:

GoogleCodeExporter commented 9 years ago
Hey...

Thanks for the patch!.. Just fixed it in 
http://code.google.com/p/impacket/source/detail?r=728

thanks again,
bto

Original comment by bet...@gmail.com on 22 Oct 2012 at 4:55

GoogleCodeExporter commented 9 years ago
Welcome!

Glad I could help, do you take patches with new methods (I'm thinking here of 
higher level methods to tinker with IGMP)

Original comment by diogogo...@gmail.com on 22 Oct 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Hey mate...

Absolutely.. assuming they don't interfere with other existing methods.. feel 
free to send them along.. 

Thanks again! :)

bto

Original comment by bet...@gmail.com on 22 Oct 2012 at 5:18