Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2004 11:44:13 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Didier WIROTH <didier.wiroth@mcesr.etat.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: log_in_vain="YES"
Message-ID:  <20040123104413.GC27890@ei.bzerk.org>
In-Reply-To: <0HRX00L08SV5Q4@mail.etat.lu>
References:  <0HRX00L08SV5Q4@mail.etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 23, 2004 at 10:54:50AM +0100, Didier WIROTH typed:
> When using log_in_vain="YES" I get a lot of console message of these types:
> Jan 21 03:01:12 ultimate kernel: Connection attempt to TCP 127.0.0.1:113
> from 127.0.0.1:49188 flags:0x02
> Jan 21 03:01:12 ultimate kernel: Connection attempt to TCP 127.0.0.1:113
> from 127.0.0.1:49190 flags:0x02
> Jan 21 03:01:12 ultimate kernel: Connection attempt to UDP 127.0.0.1:512
> from 127.0.0.1:49286
> Jan 21 03:01:12 ultimate kernel: Connection attempt to UDP 127.0.0.1:512
> from 127.0.0.1:49287
> 
> I assume the above entries happen when the cron jobs, auth and sendmail
> tries to send the daily reports. 
> 
> What does log_in_vain actually do/work? Is it possible to tell log_in_vain
> to ignore connections form localhost to localhost?

AFAICT, no. It would be quite trivial to edit src/sys/netinet/tcp_input.c
and udp_usrreq.c to not log these localhost connections, but what would
be the point?

Ruben

> Many thanks
> Didier
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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