Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Friday, March 2, 2012

Tons of DNS requests from pidgin - googletalk

So I was getting TONS of DNS requests from my computer.  I had to figure out what was going on here's 2 requests and responses I've arbitrarily yoinked out of a wireshark dump:
2    0.000436    192.168.2.6    68.105.28.12    DNS    87    Standard query PTR 174.224.125.74.in-addr.arpa
8    0.262071    192.168.2.6    68.105.28.12    DNS    86    Standard query PTR 39.227.125.74.in-addr.arpa
31    0.840231    68.105.28.12    192.168.2.6    DNS    272    Standard query response PTR lax02s01-in-f14.1e100.net
29    0.825752    68.105.28.12    192.168.2.6    DNS    270    Standard query response PTR dfw06s06-in-f7.1e100.net
 My friend suggested nscd (name service cache daemon) which was installed, but not active... I looked around for more information on it and it seemed to be more for authentication caching than DNS caching.

I googled for DNS caching on arch and I found pdnsd

Set it up according to the wiki, with a few tweaks, systemctl enable and reboots later... the DNS flood is over.

Yay.

Sunday, August 21, 2011

Ubuntu 11.04, Netgear WG111 weirdness

I have a weird networking problem.
WG111 USB wifi stick <--> Belkin router

I can connect to the router fine, the DHCP client gets an IP address fine:
wlan1
inet addr:192.168.2.9

...and the signal icon is visible in the gnome tray.

...The entry on the router's DHCP table

'route' shows that there is a gateway
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan1


and when I open wireshark I am able to see the MDSN traffic from a printer on the network:

and when I try and connect to the router, the TCP handshake never completes:

EDIT:This packet capture shows that I am attempting to connect to 192.168.2.2 instead of 192.168.2.1, the capture looks the same for trying the correct IP address as well /oops

Also, pinging the router's IP, or any connected client's IP gives no response.

*edit*
I installed ndiswrapper and put the wg111 .ini windows driver in that, which seemed to have made it work, but when I booted up again this morning, the WG111 usb powered up, bilnked its light a last 4 times never to be recognized again :I

Wut.