Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153841 - nmap doesn't show my own ip adress in a scan
Summary: nmap doesn't show my own ip adress in a scan
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 10:55 UTC by GNUtoo
Modified: 2006-11-04 01:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GNUtoo 2006-11-02 10:55:12 UTC
# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r1_sempron_2500 i686)
=================================================================
System uname: 2.6.18-gentoo-r1_sempron_2500 i686 AMD Sempron(tm) 2500+
Gentoo Base System version 1.12.1
Last Sync: Mon, 30 Oct 2006 20:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac alsa arts asf avahi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dedicated dlloader dri dts dvd dvdr dxr3 eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux ldap libg++ mad matroska mikmod mmx mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly ogg openal opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session silverxp speex spell spl sse ssl svg tcpd theora tiff timidity truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards__* video_cards_radeon vorbis wma wxwindows xml xorg xv zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2006-11-02 10:59:49 UTC
This is not a security bug, reassigning to maintainer.

(sounds like pebkac to me)
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2006-11-02 13:03:38 UTC
Could you please let me know what are the results of running the following commands:

# nmap 192.168.1.112
# ping 192.168.1.112
# ping -I ra0 192.168.1.112
Comment 3 GNUtoo 2006-11-03 00:31:41 UTC
(In reply to comment #2)
> Could you please let me know what are the results of running the following
> commands:
> 
> # nmap 192.168.1.112
> # ping 192.168.1.112
> # ping -I ra0 192.168.1.112
> 

from my laptop:

# nmap -sP 192.168.1.*

Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2006-11-03 10:04 CET
Host 192.168.1.1 appears to be up.
MAC Address: 00:14:BF:E1:DA:DD (Cisco-Linksys)
Host 192.168.1.102 appears to be up.
MAC Address: 00:12:A9:D1:E9:52 (3com Europe)
Host 192.168.1.105 appears to be up.
Host 192.168.1.112 appears to be up.
MAC Address: 00:08:A1:A0:1B:B7 (CNet Technology)
Nmap finished: 256 IP addresses (4 hosts up) scanned in 9.402 seconds



# nmap 192.168.1.112

Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2006-11-03 10:00 CET
All 1672 scanned ports on 192.168.1.112 are: closed
MAC Address: 00:08:A1:A0:1B:B7 (CNet Technology)

Nmap finished: 1 IP address (1 host up) scanned in 4.502 seconds


# ping 192.168.1.112
PING 192.168.1.112 (192.168.1.112) 56(84) bytes of data.
64 bytes from 192.168.1.112: icmp_seq=1 ttl=64 time=1.85 ms

# ping -I ra0 192.168.1.112
PING 192.168.1.112 (192.168.1.112) from 192.168.1.105 ra0: 56(84) bytes of data.
64 bytes from 192.168.1.112: icmp_seq=1 ttl=64 time=6.26 ms
Comment 4 GNUtoo 2006-11-03 00:34:06 UTC
(In reply to comment #2)
> Could you please let me know what are the results of running the following
> commands:
> 
> # nmap 192.168.1.112
> # ping 192.168.1.112
> # ping -I ra0 192.168.1.112
> 

from my desktop(the one who has a problem):
# nmap 192.168.1.112

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-11-03 09:30 CET
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0Nmap finished: 1 IP address (0 hosts up) scanned in 0.246 seconds

 # ping 192.168.1.112
PING 192.168.1.112 (192.168.1.112) 56(84) bytes of data.
ctrl+C
# ping 192.168.1.112
PING 192.168.1.112 (192.168.1.112) 56(84) bytes of data.

--- 192.168.1.112 ping statistics ---
23 packets transmitted, 0 received, 100% packet loss, time 22019ms

 # ping -I ra0 192.168.1.112
PING 192.168.1.112 (192.168.1.112) from 192.168.1.112 ra0: 56(84) bytes of data.
--- 192.168.1.112 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 6999ms
same thing with ctrl+c
Comment 5 GNUtoo 2006-11-03 08:35:43 UTC
i updated the coreutils but nothing changed
i also can't start the nfsd daemon or samba

but i have samba and nfs in the kernel:
# cat /proc/filesystems | grep nfs
nodev   nfs
nodev   nfs4
nodev   nfsd

# cat /proc/filesystems | grep smb
nodev   smbfs


#  /etc/init.d/nfs start
 * Starting portmap ...                                                   [ ok ] * Mounting nfsd filesystem in /proc ...                                  [ ok ] * Mounting RPC pipefs ...                                                [ ok ] * Starting NFS statd ...                                                 [ ok ] * Exporting NFS directories ...                                          [ ok ] * Starting NFS daemon ...
c * Error starting NFS daemon                                             [ !! ] * Starting NFS mountd ...
Cannot register service: RPC: Timed out
 * Error starting NFS mountd   
Comment 6 GNUtoo 2006-11-03 08:45:29 UTC
samba start but the startin is anormaly slow
Comment 7 GNUtoo 2006-11-04 01:07:47 UTC
i hadn't net.lo in my boot level