From owner-freebsd-questions Fri Jun 25 13:54:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from s1.smtp.oleane.net (s1.smtp.oleane.net [195.25.12.3]) by hub.freebsd.org (Postfix) with ESMTP id 05EB815815 for ; Fri, 25 Jun 1999 13:54:33 -0700 (PDT) (envelope-from jaco@titine.fr.eu.org) Received: from titine.fr.eu.org (dyn-1-1-021.Tls.dialup.oleane.fr [194.2.21.21]) by s1.smtp.oleane.net with ESMTP id WAA22312 for ; Fri, 25 Jun 1999 22:54:28 +0200 Received: by titine.fr.eu.org (Postfix, from userid 1000) id EEEEE154D2; Fri, 25 Jun 1999 22:53:37 +0200 (CEST) To: freebsd-questions@FreeBSD.ORG Subject: Pbs with TCP connections Message-Id: <19990625205337.EEEEE154D2@titine.fr.eu.org> Date: Fri, 25 Jun 1999 22:53:37 +0200 (CEST) From: jaco@titine.fr.eu.org (Eric Jacoboni) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Eric Jacoboni Date: 25 Jun 1999 22:53:37 +0200 In-Reply-To: Greg Lehey's message of "Fri, 18 Jun 1999 08:34:45 +0930" Message-ID: <87yah8dmsu.fsf_-_@titine.fr.eu.org> Lines: 106 Hi, After testing all my config all day long, i still don't understand why my two machines cannot connect each other :( Here's the story : titine.fr.eu.org is a FBSD 3.2-STABLE box and alex.titine.fr.eu.org is a Linux 2.2.x laptop. Until yesterday all was ok : i was able to rsync the two boxes. Now, it's impossible to connect the two hosts (i don't remember to have change anything concerning my tcp/ip config). 'ping' is ok from both hosts, but that the only thing that works... So i suppose the pb comes from upper layers. I don't use a DNS server but /etc/host, the name resolution is ok as a 'ping alex' from titine gives : =-=-=-=-=-=-=-=-= # ping alex PING alex.titine.fr.eu.org (192.168.2.100): 56 data bytes 64 bytes from 192.168.2.100: icmp_seq=0 ttl=255 time=0.563 ms 64 bytes from 192.168.2.100: icmp_seq=1 ttl=255 time=0.503 ms 64 bytes from 192.168.2.100: icmp_seq=2 ttl=255 time=0.503 ms 64 bytes from 192.168.2.100: icmp_seq=3 ttl=255 time=0.506 ms 64 bytes from 192.168.2.100: icmp_seq=4 ttl=255 time=0.500 ms 64 bytes from 192.168.2.100: icmp_seq=5 ttl=255 time=0.496 ms 64 bytes from 192.168.2.100: icmp_seq=6 ttl=255 time=0.501 ms ^C --- alex.titine.fr.eu.org ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.496/0.510/0.563/0.022 ms =-=-=-=-=-=-=-=-=-= Same thing from alex and 'ping titine'... If i try a 'rlogin titine' from alex (and from a user account...), nothing happens, same with telnet, rsync, etc. (all of theses used to be working...). All these services are enabled in my /etc/inetd.conf : =-=-=-=-=- telnet stream tcp nowait root /usr/libexec/telnetd telnetd shell stream tcp nowait root /usr/libexec/rshd rshd login stream tcp nowait root /usr/libexec/rlogind rlogind (...) daytime stream tcp nowait root internal daytime dgram udp wait root internal time stream tcp nowait root internal time dgram udp wait root internal =-=-=-=-=- On titine, a 'tcpdchk -v' gives : =-=-=-=-=-=- Using network configuration file: /etc/inetd.conf >>> Rule /etc/hosts.allow line 16: daemons: ALL clients: ALL command: allow access: granted =-=-=-=-=--= (the only line in my /etc/hosts.allow is ALL : ALL : allow) Furthermore, a 'tcpdump' on titine, while trying a 'rlogin titine' from alex gives : =-=-=-=-=--= # tcpdump host titine and alex tcpdump: listening on ep0 22:40:04.580089 arp who-has titine.fr.eu.org tell alex.titine.fr.eu.org 22:40:04.580190 arp reply titine.fr.eu.org is-at 0:20:af:c4:92:fc 22:40:04.580469 alex.titine.fr.eu.org.1023 > titine.fr.eu.org.login: S 1991992721:1991992721(0) win 32120 (DF) 22:40:04.580714 titine.fr.eu.org.login > alex.titine.fr.eu.org.1023: S 583550906:583550906(0) ack 1991992722 win 17376 (DF) 22:40:07.108576 titine.fr.eu.org.login > alex.titine.fr.eu.org.1023: S 583550906:583550906(0) ack 1991992722 win 17376 (DF) 22:40:07.570233 alex.titine.fr.eu.org.1023 > titine.fr.eu.org.login: S 1991992721:1991992721(0) win 32120 (DF) 22:40:07.570388 titine.fr.eu.org.login > alex.titine.fr.eu.org.1023: . ack 1 win 17376 (DF) 22:40:09.580211 arp who-has titine.fr.eu.org tell alex.titine.fr.eu.org 22:40:09.580298 arp reply titine.fr.eu.org is-at 0:20:af:c4:92:fc =-=-=-=-=-=--= ad libidum... I confess to not understand all the stuff produced by tcpdump output...so, if someone is noticing something curious or has some idea about my pb, i'll hear him with pleasure ;-) My BIG question is why this pb is the same from the two hosts : i've described here an access from alex to titine, but that the same from titine to alex... (hosts.allow and hosts.deny are both empty on alex). A 'rlogin titine' works from titine and a 'rlogin alex' works from alex ;-) Seems that's not a pb of access rights, uh ? But _where_ is the pb ? Thanks for any advice, -- --------------------------------------------------------- Éric Jacoboni « No sport, cigars! » (W. Churchill) --------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message