New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MODULES-1636: Add --checksum-fill support. #460
Conversation
|
||
it 'should contain the rule' do | ||
shell('iptables-save -t mangle') do |r| | ||
expect(r.stdout).to match(/-A POSTROUTING -o virbr0 -p udp -m multiport --dports 68 -m comment --comment "576 - test" -j CHECKSUM --checksumfill/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the actual option is --checksum-fill
, so I think this is going to fail.
@Zlo Since it looks like the option in Also, from my googling it looks like Thanks! |
For some reason test runs fail during vagrant initialization here, so I have not actually run the tests. |
Zlo, I tried your changes in Ubuntu 14.10 but I still get an error when I apply my puppet config.
My Config:
Am I missing something here? |
@ogni90: the merging made me drop a newvalue() line in the checksum_fill property. I fixed that and merged master again. |
Hi There Please remember to contain the commits of your PR to the feature being implemented. For example, alphabetising the arrays in the provider, if desired, should be done in a separate PR :) Also, once all your tests pass and you are happy that your code is in a ready state, please remember to squash your commits. Thanks! |
Ok, like this then ? |
@Zlo Thanks for the squashing :) It would be great if you could add some validation in the provide that checks to see if :jump is set to CHECKSUM if checksum_fill is used and vice versa. Thanks! |
Ok, I added validation in type/firewall.rb |
MODULES-1636: Add --checksum-fill support.
MODULES-1636: Add --checksum-fill support.
This is a.o. needed to fill checksums in UDP packets for
DHCP in VMs using virtual network mode.