Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 1996 16:09:49 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
To:        phk@critter.tfs.com (Poul-Henning Kamp)
Cc:        joerg_wunsch@uriah.heep.sax.de, current@FreeBSD.org
Subject:   Re: local router<->router UDP traffic: log_in_vain stuff error
Message-ID:  <199604271209.QAA07239@astral.msk.su>
In-Reply-To: <2748.830599025@critter.tfs.com> from "Poul-Henning Kamp" at "Apr 27, 96 09:57:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604271209.QAA07239>