-/* $OpenBSD: pf_lb.c,v 1.59 2017/02/08 01:20:40 jsg Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.60 2017/04/23 11:37:11 sthen Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
return (1);
}
- if (pf_status.debug >= LOG_NOTICE &&
+ if (pf_status.debug >= LOG_INFO &&
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
- log(LOG_NOTICE, "pf: pf_map_addr: selected address ");
+ log(LOG_INFO, "pf: pf_map_addr: selected address ");
pf_print_host(naddr, 0, af);
if ((rpool->opts & PF_POOL_TYPEMASK) ==
PF_POOL_LEASTSTATES)
u_int16_t nport;
int prefixlen = 96;
- if (pf_status.debug >= LOG_NOTICE) {
- log(LOG_NOTICE, "pf: af-to %s %s, ",
+ if (pf_status.debug >= LOG_INFO) {
+ log(LOG_INFO, "pf: af-to %s %s, ",
pd->naf == AF_INET ? "inet" : "inet6",
r->rdr.addr.type == PF_ADDR_NONE ? "nat" : "rdr");
pf_print_host(&pd->nsaddr, pd->nsport, pd->af);
PF_ACPY(&pd->nsaddr, &nsaddr, pd->naf);
PF_ACPY(&pd->ndaddr, &ndaddr, pd->naf);
- if (pf_status.debug >= LOG_NOTICE) {
- log(LOG_NOTICE, "pf: af-to %s %s done, prefixlen %d, ",
+ if (pf_status.debug >= LOG_INFO) {
+ log(LOG_INFO, "pf: af-to %s %s done, prefixlen %d, ",
pd->naf == AF_INET ? "inet" : "inet6",
r->rdr.addr.type == PF_ADDR_NONE ? "nat" : "rdr",
prefixlen);
}
}
if (slbcount > -1) {
- if (pf_status.debug >= LOG_NOTICE) {
- log(LOG_NOTICE, "pf: %s: selected address ", __func__);
+ if (pf_status.debug >= LOG_INFO) {
+ log(LOG_INFO, "pf: %s: selected address ", __func__);
pf_print_host(&lookup_addr, sks->port[0],
sks->af);
addlog(" decreased state count to %u\n",
-/* $OpenBSD: pf_norm.c,v 1.202 2017/03/17 17:19:16 mpi Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.203 2017/04/23 11:37:11 sthen Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
goto bad_fragment;
}
- DPFPRINTF(LOG_NOTICE, key->fr_af == AF_INET ?
+ DPFPRINTF(LOG_INFO, key->fr_af == AF_INET ?
"reass frag %d @ %d-%d" : "reass frag %#08x @ %d-%d",
key->fr_id, frent->fe_off, frent->fe_off + frent->fe_len);
return (0);
}
}
- DPFPRINTF(LOG_NOTICE, "%d < %d?", off, total);
+ DPFPRINTF(LOG_INFO, "%d < %d?", off, total);
if (off < total)
return (0);
KASSERT(off == total);
return (PF_DROP);
}
- DPFPRINTF(LOG_NOTICE, "complete: %p(%d)", m, ntohs(ip->ip_len));
+ DPFPRINTF(LOG_INFO, "complete: %p(%d)", m, ntohs(ip->ip_len));
return (PF_PASS);
}
return (PF_DROP);
}
- DPFPRINTF(LOG_NOTICE, "complete: %p(%d)", m, ntohs(ip6->ip6_plen));
+ DPFPRINTF(LOG_INFO, "complete: %p(%d)", m, ntohs(ip6->ip6_plen));
return (PF_PASS);
fail:
-/* $OpenBSD: pf_osfp.c,v 1.39 2016/11/22 19:29:54 procter Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.40 2017/04/23 11:37:11 sthen Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
optlen = MAX(optlen, 1); /* paranoia */
}
- DPFPRINTF(LOG_NOTICE,
+ DPFPRINTF(LOG_INFO,
"fingerprinted %s:%d %d:%d:%d:%d:%llx (%d) "
"(TS=%s,M=%s%d,W=%s%d)",
srcname, ntohs(tcp->th_sport),
if (os == PF_OSFP_ANY)
return (1);
if (list == NULL) {
- DPFPRINTF(LOG_NOTICE, "osfp no match against %x", os);
+ DPFPRINTF(LOG_INFO, "osfp no match against %x", os);
return (os == PF_OSFP_UNKNOWN);
}
PF_OSFP_UNPACK(os, os_class, os_version, os_subtype);
if ((os_class == PF_OSFP_ANY || en_class == os_class) &&
(os_version == PF_OSFP_ANY || en_version == os_version) &&
(os_subtype == PF_OSFP_ANY || en_subtype == os_subtype)) {
- DPFPRINTF(LOG_NOTICE,
+ DPFPRINTF(LOG_INFO,
"osfp matched %s %s %s %x==%x",
entry->fp_class_nm, entry->fp_version_nm,
entry->fp_subtype_nm, os, entry->fp_os);
return (1);
}
}
- DPFPRINTF(LOG_NOTICE, "fingerprint 0x%x didn't match", os);
+ DPFPRINTF(LOG_INFO, "fingerprint 0x%x didn't match", os);
return (0);
}