Hi,
The patch is split into two commits for ease of review
(i) Refactor the code changing no functionality
-- most of win_wfp_block_dns is moved to a new file and
made independent of the rest of the code
(ii) Implement a handler for blocking dns in the interactive service
With (i) a
- Move the core of win_wfp_block_dns() to a new function
- Remove globals and make it independent of the rest of the code
This facilitates implementing support for block-outside-dns through
the interactive service. Should not change any functionality.
Signed-off-by: Selva Nair
---
src/openvpn/M
- Add a new message type in openvpn-msg.h
- Pass msg_channel HANDLE to win_wfp_block_dns and win_wfp_uninit
- Add a handler in interactive.c for block_dns request
The service build now depends on block_dns.[ch] in src/openvpn
Signed-off-by: Selva Nair
---
include/openvpn-msg.h |9 ++
Hi
I have successfully managed to use the generic-build system
to compile fully upto date version of openvpn/openssl ..
I now have the file: openvpn-x86_64-linux-gnu-001-bin.tar.bz2
I have run the built openvpn(bin) as a "stand alone binary" quite happily
LOG:
OpenVPN 2.3_git [git:master/5f522