From owner-freebsd-current Sat Apr 27 06:03:35 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA15793 for current-outgoing; Sat, 27 Apr 1996 06:03:35 -0700 (PDT) Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA15783 for ; Sat, 27 Apr 1996 06:03:24 -0700 (PDT) Received: by sequent.kiae.su id AA08760 (5.65.kiae-2 ); Sat, 27 Apr 1996 16:54:33 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Sat, 27 Apr 96 16:54:32 +0400 Received: (from ache@localhost) by astral.msk.su (8.7.5/8.7.3) id QAA07239; Sat, 27 Apr 1996 16:09:50 +0400 (MSD) Message-Id: <199604271209.QAA07239@astral.msk.su> Subject: Re: local router<->router UDP traffic: log_in_vain stuff error To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Sat, 27 Apr 1996 16:09:49 +0400 (MSD) Cc: joerg_wunsch@uriah.heep.sax.de, current@FreeBSD.org In-Reply-To: <2748.830599025@critter.tfs.com> from "Poul-Henning Kamp" at "Apr 27, 96 09:57:05 am" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL15 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > It was RIP packets from my service provider which cause > > local router to router UDP traffic. It seems that kernel > > treats remote UDP traffic as local when udp.log_in_vain used. > > Uhm this doesn't make any sense to me, the log_in_vain change was the > addition of this bit of code: > > if (log_in_vain) > log(LOG_INFO, "Connection attempt to UDP %s:%d" > " from %s:%d\n", > inet_ntoa(ip->ip_dst), ntohs(uh->uh_dport), > inet_ntoa(ip->ip_src), ntohs(uh->uh_sport)); > Maybe ip->ip_src not properly evaluated there. More detailed info: on each 16:06:38.000523 d1.z194-58-227.relcom.ru.router > d133.z194-58-229.relcom.ru.router: rip-resp 2: 0.0.0.0(3)[|rip] I got Apr 27 16:06:38 astral /kernel: Connection attempt to UDP 194.58.229.133:520 from 194.58.229.133:520 194.58.229.133 is my address. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849