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

About obfs-server -r option #1

Closed
jerrylzy opened this issue Dec 31, 2016 · 2 comments
Closed

About obfs-server -r option #1

jerrylzy opened this issue Dec 31, 2016 · 2 comments
Labels

Comments

@jerrylzy
Copy link

jerrylzy commented Dec 31, 2016

I tried to use obfs-server but it only prints out usage information.
Then I ran this program in gdb and found that if -r option is not specified, this program will simply print out a usage message.

In /src/server.c,

// line 1127
        ...
        case 'r':
            dst_addr_str = optarg;
            break;
        ...

//  line 1234
    if (server_num == 0 || server_port == NULL || dst_addr_str == NULL) {
        usage();
        exit(EXIT_FAILURE);
    }

However, I didn't find any useful information in the man page. Also I can hardly tell what this option means from the usage string:

-r : Forward traffic to this remote server address.

BTW, can I pair obfs-local with an older ss-libev on the client side? Like does the aforementioned combination work with the latest ss-libev with obfs enabled on the server side?

@madeye
Copy link
Contributor

madeye commented Jan 1, 2017

However, I didn't find any useful information in the man page. Also I can hardly tell what this option means from the usage string

See the updated example section in the README

BTW, can I pair obfs-local with an older ss-libev on the client side?

Yes, you can.

Like does the aforementioned combination work with the latest ss-libev with obfs enabled on the server side?

Yes, exactly.

@madeye madeye added the question label Jan 1, 2017
@jerrylzy
Copy link
Author

jerrylzy commented Jan 1, 2017

Thanks. It's working well with ss-server 2.6.0.

@jerrylzy jerrylzy closed this as completed Jan 1, 2017
madeye pushed a commit that referenced this issue Nov 6, 2017
* Some cleanup and improvement.

* Remove the my contributor line.
madeye pushed a commit that referenced this issue Aug 9, 2019
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