-
Notifications
You must be signed in to change notification settings - Fork 728
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
support ah and esp protocals #775
base: devel
Are you sure you want to change the base?
Conversation
esp_error: | ||
proto_unregister(&dp_vs_proto_esp); | ||
ah_error: | ||
proto_unregister(&dp_vs_proto_ah); | ||
return err; | ||
} |
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.
Please unregister protocols in the reverse order when error occurs. Note the label sequence.
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.
yes, I have fixed it. thank you.
&iph->saddr, &iph->daddr, | ||
htons(PORT_ISAKMP), htons(PORT_ISAKMP), | ||
direct, reverse); | ||
|
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.
Does it need to support connection redirection?
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's logic for the first negotiation packages and the process is similar to the kernel ipvs code.
Does AE/ESP work with DPVS Fullnat? |
I tested the code in the DR mode and it worked well when I use the ipsec protocal and I think it can work well in FullNat mode and Tunnel mode. It just helps the dpvs for more protocal support such as ah and esp. The use is totally the same. The users just need to configure the dpvs server in port 500(PORT_ISAKMP) and it can deal with the ipsec process logic. |
support ah and esp protocals