Networking Forums

Networking Forums > Computer Networking > Linux Networking > A host denying server role

Reply
Thread Tools Display Modes

A host denying server role

 
 
hiwa
Guest
Posts: n/a

 
      06-22-2005, 12:24 AM
On our plain vanilla LAN, one of the hosts can't be connected
as a server. The host in question, however, can do client access
to other hosts on the LAN.

In our simple plain vanilla Java client/server program, when
the server is run on the host in question, client program
throws a NoRouteToHostException which usually means
existence of a firewall or router-down. But these two problem
doesn't exist on our LAN.

Ping command works normally for both directions, i.e. from
other hosts to the problem host, and vice versa.

What could be the causes and solutions for such problem
in which a specific host can't be accessed as a server?

We use Fedora Core 3 on every hosts but installation on the
machine in question was done by some outside people whom
we can't reach now. SELINUX=disabled on every host on the LAN.

Thanks in advance and best regards,

FYR: Other server running on the host in question also can't
be accessed as a server. Here is nfs access from other host:

mount to NFS server '192.168.11.6' failed: server is down.

This 192.168.11.6 is the host that is neglecting server role.
NFS server daemon is certainly running on that host, though.
 
Reply With Quote
 
 
 
 
Bill Davidsen
Guest
Posts: n/a

 
      06-22-2005, 02:34 AM
hiwa wrote:
> On our plain vanilla LAN, one of the hosts can't be connected
> as a server. The host in question, however, can do client access
> to other hosts on the LAN.
>
> In our simple plain vanilla Java client/server program, when
> the server is run on the host in question, client program
> throws a NoRouteToHostException which usually means
> existence of a firewall or router-down. But these two problem
> doesn't exist on our LAN.
>
> Ping command works normally for both directions, i.e. from
> other hosts to the problem host, and vice versa.
>
> What could be the causes and solutions for such problem
> in which a specific host can't be accessed as a server?
>
> We use Fedora Core 3 on every hosts but installation on the
> machine in question was done by some outside people whom
> we can't reach now. SELINUX=disabled on every host on the LAN.
>
> Thanks in advance and best regards,
>
> FYR: Other server running on the host in question also can't
> be accessed as a server. Here is nfs access from other host:
>
> mount to NFS server '192.168.11.6' failed: server is down.
>
> This 192.168.11.6 is the host that is neglecting server role.
> NFS server daemon is certainly running on that host, though.


Use tcpdump to examine the traffic. Be sure you have all the requisite
daemons running and firewall rules to allow UDP to pass.

--
bill davidsen <(E-Mail Removed)>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      06-23-2005, 01:30 AM
In the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed)> , hiwa wrote:

>In our simple plain vanilla Java client/server program, when
>the server is run on the host in question, client program
>throws a NoRouteToHostException which usually means
>existence of a firewall or router-down. But these two problem
>doesn't exist on our LAN.


What about the firewall on the server?

>Ping command works normally for both directions, i.e. from
>other hosts to the problem host, and vice versa.


Yes - the network cables are connected, and no one is blocking IXMP

>FYR: Other server running on the host in question also can't
>be accessed as a server. Here is nfs access from other host:
>
>mount to NFS server '192.168.11.6' failed: server is down.


On 192.168.11.6 run the command '/sbin/iptables -Ln'

>This 192.168.11.6 is the host that is neglecting server role.
>NFS server daemon is certainly running on that host, though.


Firewall blocking UDP.

Old guy

 
Reply With Quote
 
hiwa
Guest
Posts: n/a

 
      06-23-2005, 07:44 AM
Thanks Bill and Moe.

Here is tcpdump output when an nfs client access from other host failed:

16:11:10.761143 IP 192.168.11.2.638 > 192.168.11.6.sunrpc: S
2941380493:2941380493(0) win 5840 <mss 1460,sackOK,timestamp 14148312
0,nop,wscale 2>
16:11:10.761782 arp who-has 192.168.11.2 tell 192.168.11.6
16:11:10.821544 arp reply 192.168.11.2 is-at 00:a0:b0:45:67:f1
16:11:10.821601 IP 192.168.11.6 > 192.168.11.2: icmp 68: host
192.168.11.6 unreachable - admin prohibited

I wonder what this output is telling?

And here is /sbin/iptables -Ln output:

iptables: Table does not exist (do you need to insmod?)


Moe Trin wrote:

>
>What about the firewall on the server?
>
>

But, how could we know the state?

Still, I do not have any clue for this problem.
Would you give more help?
TIA
 
Reply With Quote
 
hiwa
Guest
Posts: n/a

 
      06-23-2005, 10:27 AM
hiwa wrote:

>Thanks Bill and Moe.
>
>Here is tcpdump output when an nfs client access from other host failed:
>
>16:11:10.761143 IP 192.168.11.2.638 > 192.168.11.6.sunrpc: S
>2941380493:2941380493(0) win 5840 <mss 1460,sackOK,timestamp 14148312
>0,nop,wscale 2>
>16:11:10.761782 arp who-has 192.168.11.2 tell 192.168.11.6
>16:11:10.821544 arp reply 192.168.11.2 is-at 00:a0:b0:45:67:f1
>16:11:10.821601 IP 192.168.11.6 > 192.168.11.2: icmp 68: host
>192.168.11.6 unreachable - admin prohibited
>
>I wonder what this output is telling?
>
>And here is /sbin/iptables -Ln output:
>
>iptables: Table does not exist (do you need to insmod?)
>
>
>Moe Trin wrote:
>
>
>
>>What about the firewall on the server?
>>
>>
>>
>>

>But, how could we know the state?
>
>Still, I do not have any clue for this problem.
>Would you give more help?
>TIA
>
>

Eureka!

I've found the solution.
That is, a command called system-config-securitylevel enables/disables
firewall on Red Hat Linux and Fedora Core.

If disabled, a file called /etc/sysconfig/iptables disappears and any
server can be accessed henceforth.

Thanks Bill and Moe. Thanks again.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mac filter on NAT router (not DHCP server role) Yves Dhondt Windows Networking 5 09-28-2009 11:41 PM
Denying a range of IP addresses Donnie Burris Linux Networking 2 08-10-2006 03:17 PM
Build up NAT/VPN Role Server Musnazril Mustaq Khan Windows Networking 2 07-03-2005 02:27 AM
Denying Network Access Daljit Singh Windows Networking 0 08-19-2004 07:38 AM
iptables; denying web access to 192.168.0.5; how? =?ISO-8859-1?Q?Ga=E9tan_Martineau?= Linux Networking 1 01-09-2004 08:24 PM



1 2 3 4 5 6 7 8 9 10 11