Skip to content
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

Add goto support -- pull still buggy #199

Closed
wants to merge 4 commits into from

Conversation

pepoluan
Copy link
Contributor

Patch allows module to recognize "goto" (-g) targets and create "goto" targets.

This is a fix for #196

This fixes embarrassing bug on previous pull request.

Note: Unexpected behavior might be encountered if goto=True is specified with a 'standard' target (e.g., ACCEPT, DROP, etc.)

Modify .hgignore to exclude PyCharm working dirs.
In general, changes made are:
* Change constructor of Target to allow 'goto' option
* Change create_target method of Rule, same purpose
* Change how IPT_F_FRAG gets set in rule.entry.ip
So create_target()'s' goto parameter did not get passed to Target()... fixed.
@pepoluan
Copy link
Contributor Author

Reading the Travis-CI fail above... So, ip6tc.py relies on ip4tc.py? I did not foresee that...

I'll see what I can do to fix this, as soon as I can secure a box with IP6.

Now properly use get_ip() and introspection to ensure compatibility with ip6tc, and future. (IPv8, anyone?)
@pepoluan
Copy link
Contributor Author

Much apologies for two buggy pull requests.

Please do not merge this one. I'm closing this one.

@pepoluan pepoluan closed this Dec 15, 2016
@coveralls
Copy link

coveralls commented Dec 15, 2016

Coverage Status

Coverage decreased (-14.6%) to 45.163% when pulling d3df22b on pepoluan:add-goto-support into edd1623 on ldx:master.

@pepoluan pepoluan changed the title Add goto support -- fixed Add goto support -- pull still buggy Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants