- Two type of DNS network activities:
- lookup: DNS client queries a DNS server for information
- zone transfers: DNS server (the secondary server) requests from another DNS server (the primary server)
- DNS lookups are usualy executed usin UDP. (If some of data is lost in transit by UDP, the lookup will be redone using TCP)
- DNS sever uses well-known port 53 (UDP/TCP)
- Proxying characteristics of DNS:
#EXTINF:-1,CCTV-1 | |
rtp://239.3.1.1:8000 | |
#EXTINF:-1,CCTV-2 | |
rtp://239.3.1.2:8004 | |
#EXTINF:-1,CCTV-4 | |
rtp://239.3.1.4:8216 | |
#EXTINF:-1,CCTV-7 |
add forwarding interface: | |
netsh interface portproxy add v4tov4 listenport={srcPort} listenaddress={srcIp} connectport={DesPort} connectaddress={DesIp} | |
show interface: | |
netsh interface portproxy show v4tov4 | |
delete interface: | |
netsh interface portproxy delete v4tov4 listenport={srcPort} listenaddress={srcIp} | |
----------------------------- |
There are plenty of tutorials online on how to install clang on windows with visual studioIDE and MinGW. However, there are none on clang with visual studio build tools.
- 64-bit Windows 7 SP1 or newer with the latest updates installed
- 6 GB of free space on the partition where Windows is installed
- internet connection (for installation only)
%VS2017BuildToolsDir%
= installation directory of VS 2017 build tools
#!/usr/bin/env bash | |
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
function register_clang_version { | |
local version=$1 | |
local priority=$2 | |
update-alternatives \ | |
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
The purpose of this short howto is to show you how to:
- use
openconnect
[1] to connect to an enterprise cisco anyconnect endpoint - whilst minimizing the amount of traffic that your route through the vpn connection
Usually VPN administrators will puth the default route to the users, so that all user traffic is routed through the vpn connection. This is to address the various security concerns around compromised user computers bridging external internet traffic into the secure VPN network.
While the VPN administrator can push routes to the clients, the client can ignore these default routes and establish client side routing so that only the required A.B.C.D/E network is routed through the VPN. All other traffic will still use the clients default route and default outbound internet connection.
Download debian iso
http://cdimage.debian.org/cdimage/release/current/mipsel/iso-cd/debian-9.1.0-mipsel-netinst.iso
Download initrd & vmlinux
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE KeyboardMappingScheme> | |
<!-- Written by Qt Creator 4.2.1, 2017-03-27T21:24:06. --> | |
<mapping> | |
<shortcut id="CppTools.OpenHeaderSourceInNextSplit"> | |
<key value="Ctrl+E, F4"/> | |
</shortcut> | |
<shortcut id="CppTools.SwitchHeaderSource"> | |
<key value="F4"/> | |
</shortcut> |