From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10669a,f019416e2ebf3b5b,start X-Google-Attributes: gid10669a,public X-Google-Thread: 111c93,f019416e2ebf3b5b,start X-Google-Attributes: gid111c93,public X-Google-Thread: 106e9e,f019416e2ebf3b5b,start X-Google-Attributes: gid106e9e,public From: "Nate Slater" Subject: Confusing ipchains log message Date: 2000/01/27 Message-ID: <86rcb3$dgp$1@news.bayarea.net>#1/1 X-Deja-AN: 578637749 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@bayarea.net X-Trace: news.bayarea.net 949040291 13849 209.128.79.174 (28 Jan 2000 06:18:11 GMT) Organization: Bay Area Internet Solutions X-MSMail-Priority: Normal NNTP-Posting-Date: 28 Jan 2000 06:18:11 GMT Newsgroups: comp.os.linux.security,comp.os.linux.alpha,comp.os.linux.networking Hello-- I have a linux box (DEC Multia,RH6.0, kernel 2.2.13) running as a firewall/gateway for a small network. I am using ipchains for the firewalling and masquerading services. Rejected packets are logged to /var/log/messages. Recent examination of this file reveals many entries like the following: Jan 27 00:12:35 schooner kernel: Packet log: input REJECT eth0 PROTO=17 192.168.10.20:138 192.168.10.255:138 L=214 S=0x00 I=8562 F=0x0000 T=128 (#2) Jan 27 00:16:27 schooner kernel: Packet log: input REJECT eth0 PROTO=17 192.168.10.20:138 192.168.10.255:138 L=235 S=0x00 I=10354 F=0 According to the log, these packets are originating from machine 192.168.10.20, which is an NT server. These packets are rejected because I have an input rule that rejects incoming packets from the internal network on the external (eth0) interface (which is IP spoofing, I believe). My question is: why would the NT machine try and send packets to the internal network via the external interface? There are several other windoze clients on the network that are set up to use the same gateway machine, but I have not noticed ipchains log messages pertaining to them. The NT box is a primary domain controller for the windows domain (which uses NetBIOS names). Port 138 is designated in /etc/services for NetBIOS datagrams, so my feeling is that the above log messages are due to something related to the domain service running on the NT box. The other strange thing is that every 10-20 minutes, the NT machine stops talking to the linux gateway. This outage will last 10 seconds or so. During that time, the other 'doze clients can still see the linux machine on the network, and the NT box is able to see the 'doze clients. This only started occuring once I connected the all the machines via a hub. Before, the linux box and NT box were connected NIC->NIC with cross-over cable. In that configuration, the network would stay up indefinitely (but, of course, I was limited to only having one machine use the gateway at a time). If anybody has any information pertaining to this, it would be most appreciated. Thanks in advance. -- -- Nate Slater Software Developer Synergetic Consulting, LLC nate.slater@synergeticconsulting.com