Home
last modified time | relevance | path

Searched refs:from_host (Results 1 – 25 of 131) sorted by relevance

123456

/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_bidi/
H A Dmod_bidi.lua32 local conflicting_session = hosts[origin.to_host].s2sout[origin.from_host]
37 bidi_sessions[origin.from_host] = origin;
45 to_host = origin.from_host;
46 from_host = origin.to_host;
63 local from_host, to_host, stanza = event.from_host, event.to_host, event.stanza;
64 if from_host ~= module.host then return end
74 and not hosts[module.host].s2sout[origin.from_host]
75 and not disable_bidi_for:contains(origin.from_host)
89 and not disable_bidi_for:contains(origin.from_host)
92 module:log("debug", "%s requested bidirectional stream", origin.from_host);
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_host_guard/
H A Dmod_host_guard.lua20 …local to_host, from_host = (not stanza and origin.to_host) or stanza.attr.to, (not stanza and orig…
23 if guard_blockall:contains(to_host) and not guard_ball_wl:contains(from_host) or
24 guard_block_bl:contains(from_host) and guard_protect:contains(to_host) then
25 …module:log("error", "remote service %s attempted to access restricted host %s", from_host, to_host)
35 …local from_host, to_host, send, stanza = event.from_host, event.to_host, (event.origin and event.o…
37 if guard_blockall:contains(from_host) and not guard_ball_wl:contains(to_host) or
38 guard_block_bl:contains(to_host) and guard_protect:contains(from_host) then
84 if session.to_host and session.from_host and
85 (guard_blockall:contains(session.to_host) and not guard_ball_wl:contains(session.from_host) or
86 guard_block_bl:contains(session.from_host) and guard_protect:contains(session.to_host)) then
[all …]
/dports/net-im/prosody/prosody-0.11.13/plugins/mod_s2s/
H A Dmod_s2s.lua100 local from_host, to_host, stanza = event.from_host, event.to_host, event.stanza;
101 if not hosts[from_host] then
109 local host = hosts[from_host].s2sout[to_host];
135 if host.from_host ~= from_host then
137 log("error", "We are going to send from %s instead of %s", host.from_host, from_host);
148 local from_host, to_host, stanza = event.from_host, event.to_host, event.stanza;
202 local from, to = session.from_host, session.to_host;
342 session.from_host = from;
343 elseif from ~= session.from_host then
355 to, from = session.to_host, session.from_host;
[all …]
/dports/net-im/prosody/prosody-0.11.13/core/
H A Ds2smanager.lua35 local function new_outgoing(from_host, to_host)
36 local host_session = { to_host = to_host, from_host = from_host, host = from_host,
38 hosts[from_host].s2sout[to_host] = host_session;
76 .." session "..tostring(session.from_host).."->"..tostring(session.to_host)
80 hosts[session.from_host].s2sout[session.to_host] = nil;
89 if hosts[session.from_host] then
90 hosts[session.from_host].events.fire_event("s2sout-destroyed", event_data);
H A Dstanza_router.lua80 local from_node, from_host, from_resource;
101 from_node, from_host, from_resource = jid_prepped_split(from);
102 if not from_host then
109 from_bare = from_node and (from_node.."@"..from_host) or from_host; -- bare JID
116 local host_status = origin.hosts[from_host];
118 …eived a stanza claiming to be from %s, over a stream authed for %s!", from_host, origin.from_host);
122 log("warn", "Remote server %s sent us a stanza for %s, closing stream", origin.from_host, host);
190 local from_node, from_host, from_resource = jid_split(stanza.attr.from);
193 origin = origin or hosts[from_host];
200 local host_session = hosts[from_host];
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_s2s_keepalive/
H A Dmod_s2s_keepalive.lua28 and (not(keepalive_servers) or keepalive_servers:contains(session.from_host)) then
29 if not s2sout[session.from_host] then ping_hosts[session.from_host] = true; end
48 if keepalive_servers and not keepalive_servers:contains(session.from_host) then return end
58 if keepalive_servers and not keepalive_servers:contains(session.from_host) then return end
80 if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then
81 s2sout[origin.from_host].watchdog_keepalive:reset();
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/libgloss/tic6x/
H A Dsyscalls.c216 struct cio_from_host from_host; member
277 ret_fd = SWAPSHORT (_CIOBUF_.u.from_host.parms.open.fd); in open()
288 return SWAPSHORT (_CIOBUF_.u.from_host.parms.close.result); in close()
299 memcpy (ptr, _CIOBUF_.u.from_host.data, _CIOBUF_.u.from_host.length); in read()
300 return SWAPSHORT (_CIOBUF_.u.from_host.parms.read.result); in read()
311 return SWAPSHORT (_CIOBUF_.u.from_host.parms.write.result); in write()
321 return SWAPINT (_CIOBUF_.u.from_host.parms.lseek.result); in lseek()
328 return SWAPSHORT (_CIOBUF_.u.from_host.parms.unlink.result); in unlink()
336 return SWAPSHORT (_CIOBUF_.u.from_host.parms.rename.result); in rename()
347 tp->tv_sec = SWAPINT (_CIOBUF_.u.from_host.parms.gettime.time); in gettimeofday()
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_privilege/
H A Dmod_privilege.lua247 local from_node, from_host = jid.split(stanza.attr.to);
248 local session_privileges = get_session_privileges(session, from_host)
253 if not(usermanager_user_exists(from_node, from_host)) then return; end
254 local roster = roster_manager.load_roster(from_node, from_host);
272 if roster_manager.save_roster(from_node, from_host, roster) then
274 roster_manager.roster_push(from_node, from_host, item_jid);
303 if roster_manager.save_roster(from_node, from_host, roster) then -- Ok, send success
306 roster_manager.roster_push(from_node, from_host, item_jid);
360 local _, from_host, from_resource = jid.split(message_elt.attr.from)
452 local _, from_host = jid.split(stanza.attr.from)
[all …]
/dports/net/siproxd/siproxd-0.8.2/src/
H A Dplugin_logcall.c81 char *from_host = NULL; in PLUGIN_PROCESS() local
103 from_host = from_url->host; in PLUGIN_PROCESS()
121 from_host ? from_host : "*NULL*", in PLUGIN_PROCESS()
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_remote_roster/
H A Dmod_remote_roster.lua58 local from_node, from_host = jid_split(stanza.attr.to);
59 if not(user_exists(from_node, from_host)) then return; end
60 local roster = load_roster(from_node, from_host);
84 if save_roster(from_node, from_host, roster) then
86 rm_roster_push(from_node, from_host, jid);
115 if save_roster(from_node, from_host, roster) then -- Ok, send success
118 rm_roster_push(from_node, from_host, jid);
/dports/www/pound/Pound-2.8/
H A Dhttp.c558 struct addrinfo from_host, z_addr; in do_http() local
578 from_host = ((thr_arg *)arg)->from_host; in do_http()
579 memcpy(&from_host_addr, from_host.ai_addr, from_host.ai_addrlen); in do_http()
583 free(((thr_arg *)arg)->from_host.ai_addr); in do_http()
706 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
717 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
725 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
850 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
860 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
879 addr2str(caddr, MAXBUF - 1, &from_host, 1); in do_http()
[all …]
/dports/net-im/prosody/prosody-0.11.13/plugins/
H A Dmod_dialback.lua40 session.dialback_key = generate_dialback(session.streamid, session.to_host, session.from_host);
41 …session.sends2s(st.stanza("db:result", { from = session.from_host, to = session.to_host }):text(se…
58 origin.from_host or "(unknown)", attr.from or "(unknown)", attr.type);
101 if not origin.from_host then
102 origin.from_host = from;
110 from_host = to, to_host = from;
H A Dmod_roster.lua67 local from_node, from_host = jid_split(stanza.attr.from);
71 if jid ~= from_node.."@"..from_host then
82 rm_roster_push(from_node, from_host, jid);
109 rm_roster_push(from_node, from_host, jid);
H A Dmod_saslauth.lua93 session:open_stream(session.from_host, session.to_host);
134 reply:text(base64.encode(session.from_host))
171 if not ( text == "" or text == session.from_host ) then
186 module:log("info", "Accepting SASL EXTERNAL identity from %s", session.from_host);
187 module:fire_event("s2s-authenticated", { session = session, host = session.from_host });
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_telnet_tlsinfo/
H A Dmod_telnet_tlsinfo.lua35 if not pat or session.from_host == pat or session.to_host == pat then
37 print(session.from_host, "->", session.to_host)
39 print(session.to_host, "<-", session.from_host)
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_s2soutinjection/
H A Dmod_s2soutinjection.lua14 local from_host, to_host, stanza = event.from_host, event.to_host, event.stanza;
18 local host_session = new_outgoing(from_host, to_host);
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_s2s_never_encrypt_blacklist/
H A Dmod_s2s_never_encrypt_blacklist.lua10 if bad_servers:contains(session.from_host) or bad_servers_ip:contains(session.conn:ip()) then
11 module:log("debug", "disabling tls on incoming stream from %s...", tostring(session.from_host));
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/crmd/
H A Dlrm.c920 from_sys, (from_host? from_host : "localhost"), rsc_id, in notify_deleted()
1394 const char *from_host, const char *user_name, in force_reprobe() argument
1494 const char *from_host, const char *from_sys) in fail_lrm_resource() argument
1545 const char *from_host, const char *from_sys) in handle_refresh_op() argument
1585 const char *from_host, const char *user_name, in handle_reprobe_op() argument
1658 from_host, from_sys); in do_lrm_cancel()
1676 op_key, from_host, peer_version); in do_lrm_cancel()
1678 from_host, from_sys); in do_lrm_cancel()
1733 const char *from_host = NULL; in do_lrm_invoke() local
1761 from_host = crm_element_value(input->msg, F_CRM_HOST_FROM); in do_lrm_invoke()
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_dwd/
H A Dmod_dwd.lua23 if not origin.from_host then
24 origin.from_host = from;
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-usbll.c362 gboolean from_host; member
1179 if (from_host) in usbll_get_endpoint_info()
1498 gboolean from_host; in dissect_usbll_data() local
1500 from_host = usbll_is_data_from_host(data->transaction_state); in dissect_usbll_data()
1523 transfer->from_host = from_host; in dissect_usbll_data()
1536 DISSECTOR_ASSERT(!from_host); in dissect_usbll_data()
1553 transfer->from_host = from_host; in dissect_usbll_data()
1586 transfer->from_host = from_host; in dissect_usbll_data()
1601 transfer->from_host = from_host; in dissect_usbll_data()
1616 transfer->from_host = from_host; in dissect_usbll_data()
[all …]
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-usbll.c362 gboolean from_host; member
1179 if (from_host) in usbll_get_endpoint_info()
1498 gboolean from_host; in dissect_usbll_data() local
1500 from_host = usbll_is_data_from_host(data->transaction_state); in dissect_usbll_data()
1523 transfer->from_host = from_host; in dissect_usbll_data()
1536 DISSECTOR_ASSERT(!from_host); in dissect_usbll_data()
1553 transfer->from_host = from_host; in dissect_usbll_data()
1586 transfer->from_host = from_host; in dissect_usbll_data()
1601 transfer->from_host = from_host; in dissect_usbll_data()
1616 transfer->from_host = from_host; in dissect_usbll_data()
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-usbll.c362 gboolean from_host; member
1179 if (from_host) in usbll_get_endpoint_info()
1498 gboolean from_host; in dissect_usbll_data() local
1500 from_host = usbll_is_data_from_host(data->transaction_state); in dissect_usbll_data()
1523 transfer->from_host = from_host; in dissect_usbll_data()
1536 DISSECTOR_ASSERT(!from_host); in dissect_usbll_data()
1553 transfer->from_host = from_host; in dissect_usbll_data()
1586 transfer->from_host = from_host; in dissect_usbll_data()
1601 transfer->from_host = from_host; in dissect_usbll_data()
1616 transfer->from_host = from_host; in dissect_usbll_data()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-usbll.c362 gboolean from_host;
1179 if (from_host)
1498 gboolean from_host;
1500 from_host = usbll_is_data_from_host(data->transaction_state);
1523 transfer->from_host = from_host;
1536 DISSECTOR_ASSERT(!from_host);
1553 transfer->from_host = from_host;
1586 transfer->from_host = from_host;
1601 transfer->from_host = from_host;
1616 transfer->from_host = from_host;
[all …]
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/daemons/controld/
H A Dcontrold_execd.c910 from_sys, (from_host? from_host : "localhost"), rsc_id, in notify_deleted()
1385 const char *from_host, const char *user_name, in force_reprobe() argument
1499 const char *from_host, const char *from_sys) in fail_lrm_resource() argument
1548 const char *from_host, const char *from_sys) in handle_refresh_op() argument
1588 const char *from_host, const char *user_name, in handle_reprobe_op() argument
1662 from_host, from_sys); in do_lrm_cancel()
1680 op_key, from_host, peer_version); in do_lrm_cancel()
1682 from_host, from_sys); in do_lrm_cancel()
1734 const char *from_host = NULL; in do_lrm_invoke() local
1760 from_host = crm_element_value(input->msg, F_CRM_HOST_FROM); in do_lrm_invoke()
[all …]
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/
H A Dpath.rs8 pub(crate) use crate::sys::path::{from_host, open_rights};
69 let mut tail = from_host(tail.as_os_str())?; in get()
96 let mut head = from_host(head)?; in get()

123456