Home
last modified time | relevance | path

Searched refs:log_msg (Results 1 – 25 of 45) sorted by relevance

12

/openbsd/usr.sbin/sasyncd/
H A Dcarp.c111 log_msg(1, "carp_demote: mismatched promotion"); in carp_demote()
117 log_msg(1, "carp_demote: couldn't open socket"); in carp_demote()
127 log_msg(1, "carp_demote: unable to get " in carp_demote()
139 log_msg(1, "carp_demote: unable to %s the demote state " in carp_demote()
144 log_msg(1, "carp_demote: %sed the demote state " in carp_demote()
173 log_msg(1, "carp_update_state: switching state to %s", in carp_update_state()
234 log_msg(1, "carp_init: locking runstate to %s", in carp_init()
259 log_msg(2, "carp_init: setsockopt"); in carp_init()
268 log_msg(1, "carp_init: initializing runstate to %s", in carp_init()
280 log_msg(0, "failed to activate controlled daemon"); in control_setrun()
[all …]
H A Dnet_ctl.c59 log_msg(0, "net_ctl: got bad state %d from peer \"%s\"", in net_ctl_check_state()
65 log_msg(0, "net_ctl: got bad state MASTER from peer \"%s\"", in net_ctl_check_state()
72 log_msg(1, "net_ctl: peer \"%s\" state change to %s", p->name, in net_ctl_check_state()
87 log_msg(0, "net_ctl: got bad control message from peer \"%s\"", in net_ctl_handle_msg()
95 log_msg(2, "net_ctl: got CTL_ENDSNAP from peer \"%s\"", in net_ctl_handle_msg()
107 log_msg(2, "net_ctl: got CTL_STATE from peer \"%s\"", p->name); in net_ctl_handle_msg()
114 log_msg(1, "net_ctl: got ERROR from peer \"%s\"", p->name); in net_ctl_handle_msg()
139 log_msg(2, "net_ctl: got %s ACK from peer \"%s\"", ct, in net_ctl_handle_msg()
149 log_msg(1, "net_ctl: got unknown msg type %u from peer \"%s\"", in net_ctl_handle_msg()
209 log_msg(2, "net_ctl: sending my state %s to peer \"%s\"", in net_ctl_update_state()
H A Dconf.y97 log_msg(2, "config: not syncing SA to peers");
103 log_msg(2, "config: mode set to %s", m[$1]);
118 log_msg(2, "config: shared ascii key");
145 log_msg(2, "config: control mode set to %s", $1);
155 log_msg(2, "config: interface %s",
163 log_msg(2, "config: group %s",
197 log_msg(2, "config: add peer %s", peer->name);
210 log_msg(0, "config: bad port, listen-port "
215 log_msg(2, "config: listen on %s %s%s",
231 log_msg(2, "config: shared key set");
[all …]
H A Dnet.c101 log_msg(lvl, "%s", buf); in dump_buf()
173 log_msg(0, "net_setup_listeners: could not find " in net_setup_listeners()
252 log_msg(2, "net_setup_listeners(setup): failed to " in net_setup_listeners()
504 log_msg(1, "net: peer \"%s\" connected", p->name); in net_accept()
549 log_msg(1, "net: got PFKEY message from " in net_handle_messages()
561 log_msg(0, "net: got unknown message type %u len %u " in net_handle_messages()
587 log_msg(2, "net_send_messages: msg %p len %u ref %d " in net_send_messages()
594 log_msg(0, "net_send_messages: write() failed, " in net_send_messages()
606 log_msg(2, "net_send_messages: freeing msg %p", m); in net_send_messages()
618 log_msg(1, "net_disconnect_peer: peer \"%s\" removed", in net_disconnect_peer()
[all …]
/openbsd/usr.sbin/nsd/
H A Dixfrcreate.c213 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start()
220 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start()
228 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start()
277 log_msg(LOG_ERR, "dname too long"); in read_spool_dname()
333 log_msg(LOG_ERR, "out of memory"); in process_store_oldsoa()
444 log_msg(LOG_ERR, "out of memory"); in process_diff_rrset()
464 log_msg(LOG_ERR, "out of memory"); in process_diff_rrset()
505 log_msg(LOG_ERR, "out of memory"); in process_spool_delrrset()
522 log_msg(LOG_ERR, "out of memory"); in process_add_rrset()
927 log_msg(LOG_ERR, "out of memory"); in ixfr_create_store_newsoa()
[all …]
H A Dserver.c448 log_msg(LOG_ERR, "socketpair: %s", in restart_child_servers()
497 log_msg(LOG_ERR, "pledge"); in restart_child_servers()
525 log_msg(LOG_ERR, "fork failed: %s", in restart_child_servers()
2696 log_msg(LOG_WARNING, in server_main()
2704 log_msg(LOG_WARNING, in server_main()
2722 log_msg(LOG_ERR, "problems " in server_main()
2733 log_msg(LOG_WARNING, in server_main()
2774 log_msg(LOG_WARNING, in server_main()
2808 log_msg(LOG_WARNING, in server_main()
2826 log_msg(LOG_ERR, "problems " in server_main()
[all …]
H A Ddifffile.c702 log_msg(LOG_ERR, "diff: bad rdata for %s", in delete_RR()
823 log_msg(LOG_ERR, "diff: bad rdata for %s", in add_RR()
836 log_msg(LOG_ERR, "diff: too many RRs at %s", in add_RR()
1017 log_msg(LOG_ERR, "could not read len"); in apply_ixfr()
1022 log_msg(LOG_ERR, "msg too short"); in apply_ixfr()
1028 log_msg(LOG_ERR, "out of memory"); in apply_ixfr()
1033 log_msg(LOG_ERR, "msg too long"); in apply_ixfr()
1060 log_msg(LOG_ERR, "RR count impossibly high"); in apply_ixfr()
1128 log_msg(LOG_ERR, "first RR not SOA IN"); in apply_ixfr()
1195 log_msg(LOG_ERR, "first RR not SOA IN"); in apply_ixfr()
[all …]
H A Dipc.c69 log_msg(LOG_ERR, "handle_parent_command: read: %s", in child_handle_parent_command()
99 log_msg(LOG_ERR, "handle_parent_command: bad mode %d", in child_handle_parent_command()
119 log_msg(LOG_ERR, "handle_xfrd_command: read: %s", in parent_handle_xfrd_command()
149 log_msg(LOG_ERR, "handle_xfrd_command: bad mode %d", in parent_handle_xfrd_command()
184 log_msg(LOG_INFO, "main: fwd packet for %s, acl %d", in debug_print_fwd_name()
225 log_msg(LOG_WARNING, in child_is_done()
426 log_msg(LOG_ERR, "handle_child_command: read: %s", in parent_handle_child_command()
565 log_msg(LOG_ERR, "ipc: cannot set event_base"); in ipc_xfrd_set_listening()
568 log_msg(LOG_ERR, "ipc: cannot add event"); in ipc_xfrd_set_listening()
702 log_msg(LOG_ERR, "xfrd_handle_ipc: read: %s", in xfrd_handle_ipc_read()
[all …]
H A Dverify.c173 log_msg(LOG_ERR, "verify: cannot kill verifier for " in kill_verifier()
278 log_msg(LOG_ERR, "verify_handle_signal: write failed: %s", in verify_handle_signal()
304 log_msg(LOG_ERR, "verify_handle_exit: read failed: %s", in verify_handle_exit()
326 log_msg(LOG_ERR, "verify: verifier for zone %s " in verify_handle_exit()
336 log_msg(priority, "verify: verifier for zone %s " in verify_handle_exit()
385 log_msg(LOG_INFO, "verify: command channel closed"); in verify_handle_command()
388 log_msg(LOG_ERR, "verify: bad command: %d", (int)mode); in verify_handle_command()
442 log_msg(LOG_ERR, "verify: no verifier for zone %s", in verify_zone()
491 log_msg(LOG_ERR, "verify: fdopen(stdin, ...) for " in verify_zone()
557 log_msg(LOG_ERR, "verify: could not add input event " in verify_zone()
[all …]
H A Dxfrd-tcp.c42 log_msg(LOG_ERR, "xfrd tls: Unable to create SSL ctxt"); in create_ssl_context()
98 log_msg(LOG_ERR, "xfrd tls: Unable to set TLS fd"); in setup_ssl()
182 log_msg(LOG_ERR, "xfrd: XFR-over-TLS not available"); in xfrd_tcp_set_create()
648 log_msg(LOG_ERR, "xfrd tcp: event_add failed"); in tcp_pipe_reset_timeout()
848 log_msg(LOG_ERR, "xfrd: setsockopt(TCP_MAXSEG)" in xfrd_tcp_open()
868 log_msg(LOG_ERR, "xfrd: connect %s failed: %s", in xfrd_tcp_open()
911 log_msg(LOG_ERR, "xfrd: TLS handshake failed " in xfrd_tcp_open()
924 log_msg(LOG_ERR, "xfrd: TLS handshake failed " in xfrd_tcp_open()
961 log_msg(LOG_ERR, "xfrd tcp: event_add failed"); in xfrd_tcp_open()
1200 log_msg(LOG_ERR, "xfrd: TLS handshake failed " in xfrd_tcp_write()
[all …]
H A Diterated_hash.c39 log_msg(LOG_ERR, "out of memory in iterated_hash"); in iterated_hash()
54 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestInit"); in iterated_hash()
57 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestUpdate"); in iterated_hash()
60 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestUpdate salt"); in iterated_hash()
63 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestFinal_ex"); in iterated_hash()
H A Dtsig-openssl.c73 log_msg(LOG_ERR, "could not fetch MAC implementation 'hmac' with EVP_MAC_fetch"); in tsig_openssl_init_algorithm()
89 log_msg(LOG_ERR, "could not EVP_MAC_CTX_set_params"); in tsig_openssl_init_algorithm()
96 log_msg(LOG_ERR, "could not EVP_MAC_set_ctx_params"); in tsig_openssl_init_algorithm()
110 log_msg(LOG_ERR, "cannot parse %s algorithm", wireformat); in tsig_openssl_init_algorithm()
231 log_msg(LOG_ERR, "could not EVP_MAC_CTX_new"); in init_context()
241 log_msg(LOG_ERR, "could not EVP_MAC_CTX_set_params"); in init_context()
248 log_msg(LOG_ERR, "could not EVP_MAC_set_ctx_params"); in init_context()
267 log_msg(LOG_ERR, "could not EVP_MAC_update"); in update()
283 log_msg(LOG_ERR, "could not EVP_MAC_final"); in final()
H A Ddbcreate.c82 log_msg(LOG_ERR, "There was an error " in print_rrs()
102 log_msg(LOG_ERR, "There was an error " in print_rrs()
138 log_msg(LOG_ERR, "cannot write zone %s file %s: %s", in write_to_zonefile()
144 log_msg(LOG_ERR, "There was an error printing " in write_to_zonefile()
153 log_msg(LOG_ERR, "cannot write zone %s to file %s: fclose: %s", in write_to_zonefile()
181 log_msg(LOG_ERR, "create dir %s: %s", in create_dirs()
206 log_msg(LOG_ERR, "cannot stat %s: %s", path, strerror(errno)); in create_path_components()
230 log_msg(LOG_ERR, "could not write zone %s to file %s because " in namedb_write_zonefile()
253 log_msg(LOG_ERR, "rename(%s to %s) failed: %s", in namedb_write_zonefile()
H A Dutil.c90 log_msg(LOG_ERR, "Cannot open %s for appending (%s), " in log_open()
210 log_msg(int priority, const char *format, ...) in log_msg() function
284 log_msg(LOG_ERR, "strdup failed: %s", strerror(errno)); in xstrdup()
297 log_msg(LOG_ERR, "malloc failed: %s", strerror(errno)); in xalloc()
359 log_msg(LOG_ERR, "mmap failed: %s", strerror(errno)); in mmap_alloc()
363 log_msg(LOG_ERR, "mmap failed: don't have mmap"); in mmap_alloc()
389 log_msg(LOG_ERR, "munmap failed: don't have munmap"); in mmap_free()
407 log_msg(LOG_ERR, "write failed: %s", strerror(errno)); in write_data()
410 log_msg(LOG_ERR, "short write (disk full?)"); in write_data()
446 log_msg(LOG_ERR, "clock_gettime: %s", strerror(errno)); in get_time()
[all …]
H A Dudb.c79 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd()
85 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd()
100 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd()
110 log_msg(LOG_ERR, "%s: file too short", fname); in udb_base_create_fd()
123 log_msg(LOG_ERR, "%s: file too short", fname); in udb_base_create_fd()
164 log_msg(LOG_ERR, "%s: file too short", fname); in udb_base_create_fd()
184 log_msg(LOG_ERR, "mmap(size %u) error: %s", in udb_base_create_fd()
203 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd()
370 log_msg(LOG_ERR, "msync(%s) error %s", in udb_base_sync()
532 log_msg(LOG_ERR, "munmap(%s) error %s", in udb_base_remap()
[all …]
H A Dxfrd-notify.c159 log_msg(LOG_ERR, "xfrd: zone %s: received bad notify reply opcode/flags from %s", in reply_pkt_is_ack()
166 log_msg(LOG_ERR, "xfrd: zone %s: received notify-ack with bad ID from %s", in reply_pkt_is_ack()
172 log_msg(LOG_ERR, "xfrd: zone %s: received notify response error %s from %s", in reply_pkt_is_ack()
303 log_msg(LOG_ERR, "xfrd: zone %s: could not send notify #%d to %s", in xfrd_notify_send_udp()
327 log_msg(LOG_ERR, "xfrd notify: sendto %s failed %s", in xfrd_notify_send_udp()
390 log_msg(LOG_ERR, "notify_send: event_base_set failed"); in notify_setup_event()
392 log_msg(LOG_ERR, "notify_send: event_add failed"); in notify_setup_event()
406 log_msg(LOG_ERR, "notify_send: event_base_set failed"); in notify_setup_event()
408 log_msg(LOG_ERR, "notify_send: event_add failed"); in notify_setup_event()
477 log_msg(LOG_ERR, "notifysend: event_base_set failed"); in setup_notify_active()
[all …]
H A Dxfrd-disk.c159 log_msg(LOG_ERR, "xfrd: Could not open file %s for reading: %s", in xfrd_read_state()
182 log_msg(LOG_ERR, "xfrd: corrupt state file %s dated %d (now=%lld)", in xfrd_read_state()
233 log_msg(LOG_ERR, "xfrd: corrupt state file %s dated %d (now=%lld)", in xfrd_read_state()
250 log_msg(LOG_ERR, "xfrd: statefile %s contains" in xfrd_read_state()
460 log_msg(LOG_ERR, "xfrd: Could not open file %s for writing: %s", in xfrd_write_state()
535 log_msg(LOG_ERR, "parentdirs of %s failed", tnm); in xfrd_make_tempdir()
540 log_msg(LOG_ERR, "mkdir %s failed: %s", in xfrd_make_tempdir()
554 log_msg(LOG_WARNING, "rmdir %s failed: %s", tnm, in xfrd_del_tempdir()
581 log_msg(LOG_ERR, "open %s for %s failed: %s", fname, mode, in xfrd_open_xfrfile()
594 log_msg(LOG_WARNING, "could not unlink %s: %s", fname, in xfrd_unlink_xfrfile()
[all …]
H A Dxfrd.c147 log_msg(LOG_ERR, "xfrd: cannot create event base"); in xfrd_init()
327 log_msg(LOG_ERR, in xfrd_main()
385 log_msg(LOG_ERR, "xfrd: waitpid(%d): %s", in xfrd_shutdown()
914 log_msg(LOG_ERR, "xfrd cannot get reload_pid"); in xfrd_receive_soa()
1307 log_msg(LOG_ERR, "xfrd udp: event_add failed"); in xfrd_udp_obtain()
1438 log_msg(LOG_ERR, "xfrd timer: event_add failed"); in xfrd_set_timer()
1582 log_msg(LOG_ERR, "xfrd: recvfrom failed: %s", in xfrd_udp_read_packet()
1771 log_msg(LOG_ERR, "xfrd: sendto %s failed %s", in xfrd_send_udp()
1864 log_msg(LOG_ERR, "tsig unknown algorithm %s", in xfrd_tsig_sign_request()
2134 log_msg(LOG_INFO, "packet too small"); in xfrd_parse_received_xfr_packet()
[all …]
H A Dremote.c240 log_msg(LOG_ERR, "%s crypto %s", str, buf); in log_crypto_err()
243 log_msg(LOG_ERR, "and additionally crypto %s", buf); in log_crypto_err()
515 log_msg(LOG_ERR, "malloc failure"); in add_open()
566 log_msg(LOG_ERR, "remote: cannot set event_base"); in daemon_remote_attach()
568 log_msg(LOG_ERR, "remote: cannot add event"); in daemon_remote_attach()
632 log_msg(LOG_ERR, "out of memory"); in remote_accept_callback()
649 log_msg(LOG_ERR, "remote_accept: cannot add event"); in remote_accept_callback()
752 log_msg(LOG_ERR, "could not write: %s", in ssl_print_text()
815 log_msg(LOG_ERR, "could not read: %s", in ssl_read_line()
2648 log_msg(LOG_ERR, "remote control timed out"); in remote_control_callback()
[all …]
H A Dixfr.c1008 log_msg(LOG_ERR, "ixfr_store addrr: cannot allocate space"); in ixfr_put_newsoa()
1175 log_msg(LOG_ERR, "ixfr_store newsoa: cannot parse packet"); in ixfr_store_add_newsoa()
1229 log_msg(LOG_ERR, "ixfr_store oldsoa: cannot parse packet"); in ixfr_store_add_oldsoa()
1333 log_msg(LOG_ERR, "ixfr_store addrr: cannot parse packet"); in ixfr_store_putrr()
1737 log_msg(LOG_ERR, "error to delete file %s: %s", ixfrfile, in ixfr_unlink_it_ctmp()
1770 log_msg(LOG_ERR, "could not open %s: %s", ixfrfile, in ixfr_read_file_header()
1779 log_msg(LOG_ERR, "could not read %s: %s", ixfrfile, in ixfr_read_file_header()
2262 log_msg(LOG_ERR, "zone %s IXFR data %s: " in ixfr_data_readrr()
2266 log_msg(LOG_ERR, "zone %s IXFR data %s: " in ixfr_data_readrr()
2282 log_msg(LOG_ERR, "zone %s IXFR data %s: parse error", in ixfr_data_readrr()
[all …]
H A Doptions.c538 log_msg(LOG_ERR, "parse error in %s: '%s'", in parse_zone_list_file()
563 log_msg(LOG_ERR, "parse error in %s: '%s'", in parse_zone_list_file()
572 log_msg(LOG_ERR, "parse error in %s: '%s'", in parse_zone_list_file()
675 log_msg(LOG_ERR, "could not write to %s: %s", in zone_list_add_or_cat()
689 log_msg(LOG_ERR, "could not write to %s: %s", in zone_list_add_or_cat()
719 log_msg(LOG_ERR, "could not write to %s: %s", in zone_list_add_or_cat()
745 log_msg(LOG_ERR, "could not write to %s: %s", in zone_list_add_or_cat()
834 log_msg(LOG_ERR, "write %s failed: %s", outname, in zone_list_compact()
839 log_msg(LOG_ERR, "write %s was partial: disk full", in zone_list_compact()
867 log_msg(LOG_ERR, "write %s failed: %s", outname, in zone_list_compact()
[all …]
H A Ddbaccess.c161 log_msg(LOG_ERR, "unable to load namedb: cannot initialize timestamp"); in namedb_open()
218 log_msg(LOG_ERR, "zonefile %s does not exist", fname); in namedb_read_zonefile()
222 log_msg(LOG_ERR, "zonefile %s: %s", in namedb_read_zonefile()
253 log_msg(LOG_ERR, "out of memory starting ixfr create"); in namedb_read_zonefile()
266 log_msg(LOG_ERR, "zone %s file %s read with %u errors", in namedb_read_zonefile()
303 log_msg(LOG_ERR, "failed to create IXFR"); in namedb_read_zonefile()
H A Dxfrd-catalog-zones.c212 log_msg(LOG_ERR, "catalog consumer processing disabled: " in xfrd_init_catalog_consumer_zone()
231 log_msg(LOG_ERR, "cannot de-initialize catalog consumer zone:" in xfrd_deinit_catalog_consumer_zone()
238 log_msg(LOG_WARNING, "de-initialize catalog consumer zone:" in xfrd_deinit_catalog_consumer_zone()
246 log_msg(LOG_INFO, "deleting member zone '%s' on " in xfrd_deinit_catalog_consumer_zone()
280 log_msg(LOG_ERR, "invalid catalog consumer zone '%s': %s", in vmake_catalog_consumer_invalid()
442 log_msg(LOG_ERR, "catalog consumer zone '%s': %s", in invalid_catalog_consumer_zone()
824 log_msg(LOG_INFO, "Adding '%s' PTR '%s'", in xfrd_process_catalog_consumer_zone()
927 log_msg(LOG_ERR, "catalog producer zone '%s' not found for " in xfrd_get_catalog_producer_zone()
932 log_msg(LOG_ERR, "cannot add catalog producer member " in xfrd_get_catalog_producer_zone()
1091 log_msg(LOG_ERR, "cannot make '%s 0 IN TXT \"%s\"': rdata " in try_buffer_write_TXT()
[all …]
/openbsd/usr.sbin/nsd/dnstap/
H A Ddnstap.c167 log_msg(LOG_ERR, "dnstap: SSL_CTX_new failed"); in tls_writer_init()
175 log_msg(LOG_ERR, "dnstap: could not set SSL_OP_NO_SSLv2"); in tls_writer_init()
184 log_msg(LOG_ERR, "dnstap: could not set SSL_OP_NO_SSLv3"); in tls_writer_init()
246 log_msg(LOG_ERR, "dnstap: strdup failed"); in tls_writer_init()
319 log_msg(LOG_ERR, "dnstap: could not parse IP: %s", svr); in dt_tls_writer_open()
363 log_msg(LOG_ERR, "dnstap: SSL_new failed"); in dt_tls_writer_open()
369 log_msg(LOG_ERR, "dnstap: SSL_set_fd failed"); in dt_tls_writer_open()
389 log_msg(LOG_ERR, "dnstap: EOF on SSL_do_handshake"); in dt_tls_writer_open()
452 log_msg(LOG_ERR, "dnstap: EOF from %s", in dt_tls_writer_read()
457 log_msg(LOG_ERR, "dnstap: read %s: %s", in dt_tls_writer_read()
[all …]
H A Ddnstap_collector.c78 log_msg(LOG_ERR, "dnstap_collector receive fd fcntl " in dt_collector_create()
82 log_msg(LOG_ERR, "dnstap_collector send fd fcntl " in dt_collector_create()
87 log_msg(LOG_ERR, "setting dnstap_collector " in dt_collector_create()
91 log_msg(LOG_ERR, "setting dnstap_collector " in dt_collector_create()
105 log_msg(LOG_ERR, "fcntl failed: %s", strerror(errno)); in dt_collector_create()
108 log_msg(LOG_ERR, "fcntl failed: %s", strerror(errno)); in dt_collector_create()
181 log_msg(LOG_ERR, "dnstap collector: receive failed: %s", in recv_into_buffer()
304 log_msg(LOG_ERR, "could not create dnstap env"); in dt_init_dnstap()
355 log_msg(LOG_ERR, "dnstap collector: event_add failed"); in dt_attach_events()
371 log_msg(LOG_ERR, "dnstap collector: event_add failed"); in dt_attach_events()
[all …]

12