Re: Problem Resolving names into ip addresses



At 09:07 AM 12/30/2005, Matt Zagrabelny wrote:

you can use tcpdump to see if (and who) you are querying for your name
resolutions:

# tcpdump -tqn dst port 53

I'm trying to learn a bit here and although name res is working on my box have done an apt-get install tcpdump but when trying this get:


UNCLELEO:/home/marty# tcpdump -tqn dst port 53
tcpdump: getifaddrs: Connection refused
UNCLELEO:/home/marty# tcpdump -tqn dst port 80
tcpdump: getifaddrs: Connection refused
UNCLELEO:/home/marty#


Not sure if this might've been caused by a problem noted during the install process:


UNCLELEO:/home/marty# find / -name tcpdump
UNCLELEO:/home/marty# apt-get install tcpdump
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libpcap0.8
The following NEW packages will be installed:
libpcap0.8 tcpdump
0 packages upgraded, 2 newly installed, 0 to remove and 133 not upgraded.
Need to get 320kB of archives. After unpacking 725kB will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org stable/main libpcap0.8 0.8.3-5 [81.8kB]
Get:2 http://http.us.debian.org stable/main tcpdump 3.8.3-5sarge1 [239kB]
Fetched 320kB in 2m29s (2150B/s)
W: Couldn't stat source package list ftp://ftp.nerim.net woody/main Packages (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory)
Selecting previously deselected package libpcap0.8.
(Reading database ... 15572 files and directories currently installed.)
Unpacking libpcap0.8 (from .../libpcap0.8_0.8.3-5_i386.deb) ...
Selecting previously deselected package tcpdump.
Unpacking tcpdump (from .../tcpdump_3.8.3-5sarge1_i386.deb) ...
Setting up libpcap0.8 (0.8.3-5) ...


Setting up tcpdump (3.8.3-5sarge1) ...
W: Couldn't stat source package list ftp://ftp.nerim.net woody/main Packages (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
UNCLELEO:/home/marty# which tcpdump
/usr/sbin/tcpdump




Marty Landman, Face 2 Interface Inc. 845-679-9387
Webmaster's Bulletin Board: http://bbs.face2interface.com/
Web Installed Formmail: http://face2interface.com/formINSTal



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • Re: Network dies
    ... Did you install the package? ... a package name, and if so, 'rpm -ql tcpdump' will list the files. ...
    (comp.os.linux.networking)
  • Firewall/router woes
    ... I've been fighting for 2 days with an OpenBSD 3.9 install on an Ultra10, trying to get it to act as a router/firewall to replace the IPCop box I've been using. ... tcpdump: listening on pflog0, link-type PFLOG ...
    (comp.unix.bsd.openbsd.misc)
  • Re: sniffer in redhat 9
    ... Under Linux: ... You must be root or tcpdump must be installed setuid to root ... Or he can install it from the CD.... ...
    (RedHat)
  • Re: Problem Resolving names into ip addresses
    ... >>you can use tcpdump to see if you are querying for your name ... this problem looks to be about your interface. ... > Not sure if this might've been caused by a problem noted during the install ... > The following extra packages will be installed: ...
    (Debian-User)
  • Re: iptrace?
    ... Start tcpdump (you may have to install it): ... We can take al look at what tcpdump captured afterwards. ... was suggested to you by your ISP's tech: ... The tech that helped me was a real tech, ...
    (Ubuntu)