log_in_vain="YES"

Ruben de Groot mail25 at bzerk.org
Fri Jan 23 02:42:00 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list