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

Unable to tcprewrite range of ports with --portmap #422

Closed
sdubrul opened this issue Oct 18, 2017 · 2 comments
Closed

Unable to tcprewrite range of ports with --portmap #422

sdubrul opened this issue Oct 18, 2017 · 2 comments
Labels

Comments

@sdubrul
Copy link

sdubrul commented Oct 18, 2017

The following doesn't seem to work in 4.2.5 on centos 7. In previous versions the portmap would allow for a range of original ports to rewrite a given port.

/bin/tcprewrite -r 1-100:49148 --infile=in.cap --outfile=out.cap --fixcsum
Fatal Error: Unable to parse args: From parse_args.c:tcpedit_post_args() line 181:
Unable to parse --portmap=1-100:4900
@fklassen fklassen added the bug label Oct 18, 2017
@fklassen
Copy link
Member

Thanks for the bug report. Scheduled for 4.2.7

@fklassen
Copy link
Member

Fixed in PR #443

fklassen added a commit that referenced this issue Jan 21, 2018
fklassen added a commit that referenced this issue Jan 21, 2018
fklassen added a commit that referenced this issue Jan 21, 2018
* #422 litte-endian portmap range test

* #422 big-endian portmap range test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants