Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 74) sorted by relevance

123

/systemd-251/src/journal-remote/
Dmeson.build10 'journal-remote-parse.h',
11 'journal-remote-parse.c',
12 'journal-remote-write.h',
13 'journal-remote-write.c',
14 'journal-remote.h',
15 'journal-remote.c',
26 'systemd-journal-remote',
37 systemd_journal_remote_sources = files('journal-remote-main.c')
48 ['journal-remote.conf',
68 mkdir_p.format('/var/log/journal/remote'))
[all …]
Djournal-remote.conf.in10 # the journal-remote.conf.d/ subdirectory. The latter is generally recommended.
13 # See journal-remote.conf(5) for details.
18 # ServerKeyFile={{CERTIFICATE_ROOT}}/private/journal-remote.pem
19 # ServerCertificateFile={{CERTIFICATE_ROOT}}/certs/journal-remote.pem
/systemd-251/units/
Dsystemd-journal-remote.service.in12 Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5)
13 Requires=systemd-journal-remote.socket
16 ExecStart={{ROOTLIBEXECDIR}}/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/rem…
18 LogsDirectory=journal/remote
38 User=systemd-journal-remote
46 Also=systemd-journal-remote.socket
Dmeson.build71 ['remote-cryptsetup.target', 'HAVE_LIBCRYPTSETUP',
73 ['remote-veritysetup.target', 'HAVE_LIBCRYPTSETUP',
75 ['remote-fs-pre.target', ''],
76 ['remote-fs.target', ''],
126 ['systemd-journal-remote.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
171 'remote-fs.target.wants/ machines.target.wants/'],
209 ['systemd-journal-remote.service', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
/systemd-251/src/test/
Dtest-netlink-manual.c46 struct in_addr local, remote; in test_tunnel_configure() local
74 inet_pton(AF_INET, "192.168.21.2", &remote.s_addr); in test_tunnel_configure()
75 assert_se(sd_netlink_message_append_u32(m, IFLA_IPTUN_REMOTE, remote.s_addr) >= 0); in test_tunnel_configure()
100 inet_pton(AF_INET, "192.168.21.4", &remote.s_addr); in test_tunnel_configure()
101 assert_se(sd_netlink_message_append_u32(n, IFLA_IPTUN_REMOTE, remote.s_addr) >= 0); in test_tunnel_configure()
/systemd-251/src/import/
Dimportd.c62 char *remote; member
124 free(t->remote); in transfer_unref()
474 if (t->remote) in transfer_start()
475 cmd[k++] = t->remote; in transfer_start()
672 static Transfer *manager_find(Manager *m, TransferType type, const char *remote) { in manager_find() argument
680 if (t->type == type && streq_ptr(t->remote, remote)) in manager_find()
903 const char *remote, *local, *verify, *object; in method_pull_tar_or_raw() local
927 r = sd_bus_message_read(msg, "sssb", &remote, &local, &verify, &force); in method_pull_tar_or_raw()
931 if (!http_url_is_valid(remote) && !file_url_is_valid(remote)) in method_pull_tar_or_raw()
933 "URL %s is invalid", remote); in method_pull_tar_or_raw()
[all …]
/systemd-251/src/shared/
Dfirewall-util.c105 const union in_addr_union *remote, in fw_add_local_dnat() argument
122 …return fw_iptables_add_local_dnat(add, af, protocol, local_port, remote, remote_port, previous_rem… in fw_add_local_dnat()
125 …return fw_nftables_add_local_dnat(*ctx, add, af, protocol, local_port, remote, remote_port, previo… in fw_add_local_dnat()
Dfirewall-util-iptables.c162 const union in_addr_union *remote, in fw_iptables_add_local_dnat() argument
267 mr->range[0].min_ip = mr->range[0].max_ip = remote->in.s_addr; in fw_iptables_add_local_dnat()
287 if (previous_remote && previous_remote->in.s_addr != remote->in.s_addr) { in fw_iptables_add_local_dnat()
295 mr->range[0].min_ip = mr->range[0].max_ip = remote->in.s_addr; in fw_iptables_add_local_dnat()
317 if (previous_remote && previous_remote->in.s_addr != remote->in.s_addr) { in fw_iptables_add_local_dnat()
Dfirewall-util-private.h44 const union in_addr_union *remote,
62 const union in_addr_union *remote,
Dfirewall-util-nft.c949 const union in_addr_union *remote, in fw_nftables_add_local_dnat_internal() argument
973 if (!remote) in fw_nftables_add_local_dnat_internal()
994 if (add && previous_remote && !in_addr_equal(af, previous_remote, remote)) { in fw_nftables_add_local_dnat_internal()
1008 data[0] = remote->in.s_addr; in fw_nftables_add_local_dnat_internal()
1010 memcpy(data, &remote->in6, sizeof(remote->in6)); in fw_nftables_add_local_dnat_internal()
1053 const union in_addr_union *remote, in fw_nftables_add_local_dnat() argument
1062 …r = fw_nftables_add_local_dnat_internal(ctx, add, af, protocol, local_port, remote, remote_port, p… in fw_nftables_add_local_dnat()
1072 …return fw_nftables_add_local_dnat_internal(ctx, add, af, protocol, local_port, remote, remote_port… in fw_nftables_add_local_dnat()
Dfirewall-util.h29 const union in_addr_union *remote,
/systemd-251/presets/
D90-systemd.preset14 enable remote-fs.target
15 enable remote-cryptsetup.target
46 disable systemd-journal-remote.*
/systemd-251/src/network/netdev/
Dl2tp-tunnel.c140 r = sd_netlink_message_append_in_addr(m, L2TP_ATTR_IP_DADDR, &t->remote.in); in netdev_l2tp_create_message_tunnel()
148 r = sd_netlink_message_append_in6_addr(m, L2TP_ATTR_IP6_DADDR, &t->remote.in6); in netdev_l2tp_create_message_tunnel()
302 r = link_address_is_reachable(link, t->family, &t->remote, &t->local, &a); in l2tp_get_local_address()
304 … r = manager_address_is_reachable(netdev->manager, t->family, &t->remote, &t->local, &a); in l2tp_get_local_address()
502 if (!in_addr_is_set(t->family, &t->remote)) in config_parse_l2tp_tunnel_local_address()
536 if (!in_addr_is_set(t->family, &t->remote)) in config_parse_l2tp_tunnel_local_address()
591 t->remote = IN_ADDR_NULL; in config_parse_l2tp_tunnel_remote_address()
620 t->remote = a; in config_parse_l2tp_tunnel_remote_address()
847 if (!in_addr_is_set(t->family, &t->remote)) in netdev_l2tp_tunnel_verify()
Dtunnel.c240 r = sd_netlink_message_append_in_addr(m, IFLA_IPTUN_REMOTE, &t->remote.in); in netdev_ipip_sit_fill_message_create()
351 r = sd_netlink_message_append_in_addr(m, IFLA_GRE_REMOTE, &t->remote.in); in netdev_gre_erspan_fill_message_create()
466 r = sd_netlink_message_append_in6_addr(m, IFLA_GRE_REMOTE, &t->remote.in6); in netdev_ip6gre_fill_message_create()
564 r = netlink_message_append_in_addr_union(m, IFLA_VTI_REMOTE, t->family, &t->remote); in netdev_vti_fill_message_create()
624 r = sd_netlink_message_append_in6_addr(m, IFLA_IPTUN_REMOTE, &t->remote.in6); in netdev_ip6tnl_fill_message_create()
705 (t->family != AF_INET || !in_addr_is_set(t->family, &t->remote))) in netdev_tunnel_verify()
715 (t->family != AF_INET6 || !in_addr_is_set(t->family, &t->remote))) in netdev_tunnel_verify()
749 if (!in_addr_is_set(t->family, &t->remote)) in unset_local()
814 t->remote = IN_ADDR_NULL; in unset_remote()
865 t->remote = buffer; in config_parse_tunnel_remote_address()
Dgeneve.c45 if (in_addr_is_set(v->remote_family, &v->remote)) { in netdev_geneve_fill_message_create()
47 r = sd_netlink_message_append_in_addr(m, IFLA_GENEVE_REMOTE, &v->remote.in); in netdev_geneve_fill_message_create()
49 … r = sd_netlink_message_append_in6_addr(m, IFLA_GENEVE_REMOTE6, &v->remote.in6); in netdev_geneve_fill_message_create()
Dvxlan.c64 } else if (in_addr_is_set(v->remote_family, &v->remote)) { in netdev_vxlan_fill_message_create()
66 r = sd_netlink_message_append_in_addr(m, IFLA_VXLAN_GROUP, &v->remote.in); in netdev_vxlan_fill_message_create()
68 … r = sd_netlink_message_append_in6_addr(m, IFLA_VXLAN_GROUP6, &v->remote.in6); in netdev_vxlan_fill_message_create()
413 … if (in_addr_is_set(v->group_family, &v->group) && in_addr_is_set(v->remote_family, &v->remote)) in netdev_vxlan_verify()
/systemd-251/src/machine/
Dmachinectl.c2121 const char *local, *remote; in pull_tar() local
2127 remote = argv[1]; in pull_tar()
2128 if (!http_url_is_valid(remote) && !file_url_is_valid(remote)) in pull_tar()
2130 "URL '%s' is not valid.", remote); in pull_tar()
2135 r = import_url_last_component(remote, &l); in pull_tar()
2164 remote, in pull_tar()
2177 const char *local, *remote; in pull_raw() local
2183 remote = argv[1]; in pull_raw()
2184 if (!http_url_is_valid(remote) && !file_url_is_valid(remote)) in pull_raw()
2186 "URL '%s' is not valid.", remote); in pull_raw()
[all …]
/systemd-251/.github/
Dlabeler.yml31 journal-remote:
32 - src/journal-remote/*
/systemd-251/src/core/
Dsocket.c502 _cleanup_(socket_peer_unrefp) SocketPeer *remote = NULL; in socket_acquire_peer()
529 remote = socket_peer_new(); in socket_acquire_peer()
530 if (!remote) in socket_acquire_peer()
533 remote->peer = sa.peer; in socket_acquire_peer()
534 remote->peer_salen = sa.peer_salen; in socket_acquire_peer()
536 r = set_put(s->peers_by_address, remote); in socket_acquire_peer()
540 remote->socket = s; in socket_acquire_peer()
542 *p = TAKE_PTR(remote); in socket_acquire_peer()
809 union sockaddr_union local, remote; in instance_from_socket() local
818 l = sizeof(remote); in instance_from_socket()
[all …]
/systemd-251/src/network/
Dnetworkctl.c319 union in_addr_union remote; member
446 (void) sd_netlink_message_read_in_addr(m, IFLA_IPTUN_REMOTE, &info->remote.in); in decode_netdev()
450 r = sd_netlink_message_read_in_addr(m, IFLA_GENEVE_REMOTE, &info->remote.in); in decode_netdev()
454 … (void) sd_netlink_message_read_in6_addr(m, IFLA_GENEVE_REMOTE6, &info->remote.in6); in decode_netdev()
467 (void) sd_netlink_message_read_in_addr(m, IFLA_GRE_REMOTE, &info->remote.in); in decode_netdev()
470 (void) sd_netlink_message_read_in6_addr(m, IFLA_GRE_REMOTE, &info->remote.in6); in decode_netdev()
473 (void) sd_netlink_message_read_in_addr(m, IFLA_VTI_REMOTE, &info->remote.in); in decode_netdev()
476 (void) sd_netlink_message_read_in6_addr(m, IFLA_VTI_REMOTE, &info->remote.in6); in decode_netdev()
1950 if (in_addr_is_set(AF_INET, &info->remote)) { in link_status_one()
1954 TABLE_IN_ADDR, &info->remote); in link_status_one()
[all …]
/systemd-251/sysusers.d/
Dsystemd-remote.conf8 u systemd-journal-remote - "systemd Journal Remote"
/systemd-251/tmpfiles.d/
Djournal-nocow.conf27 h /var/log/journal/remote - - - - +C
/systemd-251/test/test-network/conf/
D25-vti-tunnel-local-any.netdev7 Local=remote
/systemd-251/src/login/
Dlogind-session.c238 s->remote); in session_save()
400 _cleanup_free_ char *remote = NULL, in session_load() local
423 "REMOTE", &remote, in session_load()
476 if (remote) { in session_load()
477 k = parse_boolean(remote); in session_load()
479 s->remote = k; in session_load()
/systemd-251/man/rules/
Dmeson.build28 ['journal-remote.conf', '5', ['journal-remote.conf.d'], 'HAVE_MICROHTTPD'],
921 ['systemd-journal-remote.service',
923 ['systemd-journal-remote', 'systemd-journal-remote.socket'],

123