Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jan 17, 2020

Server made a connection to remote, remote replied with that connection.

nf_conntrack module would check orig-dst and orig-src by default and find every connection that dst and src matches reply-src and reply-dst, respectively.

more information please refer to https://www.spinics.net/lists/netfilter/msg57842.html

As a result, src and dst should be swapped to make nf_conntrack find the connection.

Server made a connection to remote, remote replied with that connection.

nf_conntrack module would not check reply-dst and reply-src by default.

more information please refer to https://www.spinics.net/lists/netfilter/msg57842.html

As a result, src and dst should be swapped to make nf_conntrack find the connection.
@madeye madeye merged commit 5eeff4d into shadowsocks:master Jan 17, 2020
@manjuprajna
Copy link

@babarosaM33 it's strange that after applying this commit, I found the hash value of ss-server still the same for both centos 7 and ubuntu 1804. means compiler ignored that or think it's the same?

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