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

How to perform DSR on windows #20

Open
jimski777 opened this issue Dec 8, 2015 · 3 comments
Open

How to perform DSR on windows #20

jimski777 opened this issue Dec 8, 2015 · 3 comments

Comments

@jimski777
Copy link

How do you perform direct server return (DSR) on windows.
The Pen's manual specifies this for Linux:
pen -df -O “acl 1 permit 192.168.2.11” -O “tarpit_acl 1” -O “dsr_if eth1” 192.168.2.10:80 192.168.2.2 192.168.2.3
However the “-O” option is not available on windows as there is no epoll. Also Widnows don’t use interface names sach as “eth0”. So how to use it on Windows?

@UlricE
Copy link
Owner

UlricE commented Dec 9, 2015

DSR requires raw network access. Windows doesn't have any of the raw networking APIs that Pen supports (raw sockets on Linux, Netmap on FreeBSD). So for the time being, DSR only works on Linux and FreeBSD.

@UlricE
Copy link
Owner

UlricE commented Dec 9, 2015

Clarification: there is a Windows version of Netmap, but Pen so far only supports Netmap on FreeBSD.

@jimski777
Copy link
Author

Thank you Ulric. If at some point you decide to implement DSR on windows then Pen will become the first load balancer in the world that is capable of doing DSR on windows.

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

2 participants