Having this logged at level -xmisc seems a bit of overkill (and
in particular, causes excessive console blocking if you use a serial
console and have it set to a "normal" speed).
What does anyone think about moving this up to -xnoisy?
...
Jun 24 12:35:52 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.131
Jun 24 12:35:52 br1-pl7 last message repeated 7 times
Jun 24 12:35:56 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:35:56 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:36:09 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.131
Jun 24 12:36:09 br1-pl7 /bsd: pf_map_addr: selected address 195.95.187.19
Jun 24 12:36:44 br1-pl7 last message repeated 5 times
Jun 24 12:36:46 br1-pl7 last message repeated 2 times
Jun 24 12:36:50 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:36:51 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:36:52 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.131
Jun 24 12:36:52 br1-pl7 last message repeated 3 times
Jun 24 12:37:07 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:37:13 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.133
Jun 24 12:37:22 br1-pl7 /bsd: pf_map_addr: selected address 85.158.44.131
Jun 24 12:37:24 br1-pl7 last message repeated 16 times
Jun 24 12:37:24 br1-pl7 /bsd: pf_map_addr: selected address 195.95.187.19
Jun 24 12:37:26 br1-pl7 last message repeated 2 times
...
Index: pf_lb.c
===================================================================
RCS file: /cvs/src/sys/net/pf_lb.c,v
retrieving revision 1.4
diff -u -p -r1.4 pf_lb.c
--- pf_lb.c 5 Mar 2009 03:09:37 -0000 1.4
+++ pf_lb.c 24 Jun 2009 12:33:46 -0000
@@ -512,7 +512,7 @@ pf_map_addr(sa_family_t af, struct pf_ru
if (*sn != NULL)
PF_ACPY(&(*sn)->raddr, naddr, af);
- if (pf_status.debug >= PF_DEBUG_MISC &&
+ if (pf_status.debug >= PF_DEBUG_NOISY &&
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
printf("pf_map_addr: selected address ");
pf_print_host(naddr, 0, af);