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

NAT Helper for FTP and PPTP #10

Open
hwinkel opened this issue Oct 26, 2019 · 3 comments
Open

NAT Helper for FTP and PPTP #10

hwinkel opened this issue Oct 26, 2019 · 3 comments

Comments

@hwinkel
Copy link

hwinkel commented Oct 26, 2019

Hi,

are there any NAT Helper implementations included to support
NAT/PAT for ancient protocols like PPTP, FTP etc... Unusually found in the Kernel NAT implementations. If not, how hard can it be?

@gshimansky
Copy link
Contributor

Well you need to add support for TCP streams and try to parse TCP packets to extract FTP commands that require to open a port. Currently NAT has only rudimentary notion of TCP connection to monitor when it is being closed https://github.com/intel-go/nff-go-nat/blob/master/nat/translation.go#L368. All other TCP states are not monitored.
For PPTP I don't know protocol details so I cannot advise you here.

@hwinkel
Copy link
Author

hwinkel commented Oct 26, 2019

@gshimansky thanks for the Pointer.

@torabkheslat
Copy link

@hwinkel Is there any update to this thread!?

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

No branches or pull requests

3 participants