I did the same thing:
DROP  tcp  --  anywhere  anywhere  tcp dpt:445

Personally, I have never thought that the engineers over there don't understand network services. I just think they take it upon themselves to re-define and re-write them as they see fit, expecting the rest of the world to follow the pied piper...

Ed

At 04:28 PM Tuesday, 9/20/2005, Kevin Duckett wrote -=>
Thanks for confirming this.  Leave it to Microsoft for they great
understanding of network services.  I also searched around and found a
workaround to stop the messages.  Which is to use iptables and create a
rule to reject connections to either port 139 or 445.  I choose 445.
That cleared up everything.


On Tue, 2005-09-20 at 02:42, [EMAIL PROTECTED] wrote:
> I,ve read that this is normal behavior.
> Win XP uses two Ports at the same time (145 and 137???).
> It gets a connection on one of them and then drops the second
> connection.
> Samba does not recognise this and tries to communicate to the dropped
> port.
> Because of this you get this messages.
>
> ______________________________________________________________________
> Von: [EMAIL PROTECTED]
> im Auftrag von Kevin Duckett
> Gesendet: Mo 19.09.2005 17:26
> An: Samba
> Betreff: [Samba] smbd errors from "getpeername"
>
>
>
> I receive the following errors/warnings in this scenario.
>
> - From my Windows XP client, I open Network Places. I then click View
> workgroup computers. When the list of computers is displayed into the
> window I receive the following messages in /var/log/messages.
>
> Sep 19 09:48:53 lnx04 smbd[3101]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:get_peer_addr(1222)
> Sep 19 09:48:53 lnx04 smbd[3101]:   getpeername failed. Error was
> Transport endpoint is not connected
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:get_peer_addr(1222)
> Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
> Transport endpoint is not connected
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:get_peer_addr(1222)
> Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
> Transport endpoint is not connected
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/access.c:check_access(328)
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:get_peer_addr(1222)
> Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
> Transport endpoint is not connected
> Sep 19 09:48:53 lnx04 smbd[4314]:   Denied connection from  (0.0.0.0)
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:get_peer_addr(1222)
> Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
> Transport endpoint is not connected
> Sep 19 09:48:53 lnx04 smbd[4314]:   Connection denied from 0.0.0.0
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:write_data(554)
> Sep 19 09:48:53 lnx04 smbd[4314]:   write_data: write failure in
> writing
> to client 0.0.0.0. Error Connection reset by peer
> Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
> lib/util_sock.c:send_smb(762)
> Sep 19 09:48:53 lnx04 smbd[4314]:   Error writing 5 bytes to client.
> -1.
> (Connection reset by peer)
>
> Next, I close the Network Places window and execute the same steps to
> see if the messages come back the second time around.  They do not.
> However, if I restart the smbd services and do it all over again, they
> do.
>
>
> --
> <[EMAIL PROTECTED]>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
--
Kevin Duckett <[EMAIL PROTECTED]>
Duckett Network Solutions

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Ed Kasky
~~~~~~~~~
Randomly Generated Quote (476 of 489):
When one door closes another door opens; but we so often look so
long and so regretfully upon the closed door, that we do not see the
ones which open for us. -Alexander Graham Bell, (1847-1922)

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to