четверг, 23 декабря 2010 г.

WAP54G hidden page

Just discovered a hidden page in standard firmware of WAP54G:
http://router_IP/view30512282005.asp
Page contain IP/MAC-addresses and passwords in plain format. What a nice feature...

четверг, 11 ноября 2010 г.

Windows Vista/7 QoS policy and non-domain machine

Today I had tried to setup QoS policy on my home machine running Windows 7 x64. I have two internet connections and want to use them efficiently.
The idea was to mark network packets of different applications with different DSCP value and sort it on router.
QoS policy and router configuration was easy but... it didn't work. Wireshark and tcpdump -v showed zero value for DSCP/TOS.
What was suriprise when I figured that QoS policies work in domain environment only!
Both Windows Vista and Seven use Network Location Awareness (NLA) to detect domain environment.
I googled and googled for two hours without result. What I found is event id description:

"Selective application of QoS policies based on domain or non-domain network category has been disabled on this machine. QoS policies will be applied to all network interfaces."

It pointed me out that somewhere must be a key to switch this senseless behaviour.
I looked through tcpip.sys and found it:

Key (QoS was absent by default):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\QoS
Value name (REG_SZ):
"Do not use NLA"

I had set it to "1" and rebooted.
Now packets are marked and router can sort them out!