MCPcopy Create free account

hub / github.com/cloudflare/slirpnetstack / functions

Functions206 in github.com/cloudflare/slirpnetstack

↓ 1 callersMethodnet_ns_path
(self)
tests/base.py:174
MethodAddr
()
fwd.go:51
MethodClose
()
metrics.go:64
MethodContains
(ip net.IP)
local_routes.go:18
FunctionEncodeSPP
(b []byte, c, p *net.UDPAddr)
pp.go:56
MethodErr
()
metrics.go:60
MethodSet
(value string)
addr.go:52
MethodSet
(value string)
addr.go:248
MethodSet
(commaValue string)
addr.go:369
MethodSet
(value string)
main_test.go:17
MethodSetTimeouts
(kaInterval time.Duration, kaCount int)
stack.go:243
MethodSetTimeouts
(kaInterval time.Duration, kaCount int)
kacon.go:20
MethodSetTimeouts
(kaInterval time.Duration, kaCount int)
kacon.go:73
MethodString
()
addr.go:40
MethodString
()
addr.go:241
MethodString
()
addr.go:343
MethodString
()
addr.go:361
MethodString
()
proxy.go:29
MethodString
()
main_test.go:14
MethodString
()
net.go:129
FunctionTestMain
(m *testing.M)
main_test.go:36
FunctionTestRunMain
(t *testing.T)
main_test.go:32
FunctionTestSplitHost
(t *testing.T)
addr_test.go:19
Method__enter__
(self)
tests/base.py:180
Method__exit__
(self, type, value, traceback)
tests/base.py:183
Method__init__
(self)
tests/cover.py:9
Method__init__
(self, argv, close_fds=True)
tests/base.py:42
Functionconnect
(ip='127.0.0.1', port=0, path=None, udp=False, src='', sport=0, cloexec=True, cleanup=None, timeou
tests/utils.py:70
Functiondecorate
(fn)
tests/base.py:256
Functionfind_free_port
(ip='127.0.0.1', udp=False)
tests/base.py:281
Methodgraceful_stop
(self, wait=True)
tests/base.py:96
FunctionhandleDnsRequest
(w dns.ResponseWriter, r *dns.Msg)
tests/mockdns/mockdns.go:17
Functioninit
()
metrics.go:13
Functioninit
Inject our option whether go tests like it or not. Muhahaha.
main_test.go:28
FunctionisolateHostNetwork
()
tests/base.py:255
Functionmain
()
main.go:70
Functionmain
()
tests/mocktcpecho/mocktcpecho.go:11
Functionmain
()
tests/mockdns/mockdns.go:52
Functionmain
()
tests/mockudpecho/mockudpecho.go:13
Functionmaybe
(*args, **kw)
tests/base.py:259
MethodsetUp
(self)
tests/base.py:128
Methodstdout_log
(self)
tests/base.py:60
MethodtearDown
(self)
tests/base.py:154
Methodtest_allow_cover_cases
Test --allow parsing corner cases
tests/test_basic.py:932
Methodtest_allow_range_all_ports
Test --allow and --deny with disabled routing - all ports
tests/test_basic.py:891
Methodtest_basic_connection
Test connection reset on netstack IP. Netstack is not supposed to forward nor route this.
tests/test_basic.py:83
Methodtest_basic_ping
Due to how netstack is configured, we will answer to ping against any IP. Let's test it!.
tests/test_basic.py:30
Methodtest_basic_ping6
Due to how netstack is configured, we will answer to ping against any IP. Let's test it!.
tests/test_basic.py:115
Methodtest_deny_range_some_ports
Test --allow and --deny with --disable-routing - some ports
tests/test_basic.py:911
Methodtest_disabe_routing
Test tcp routing security, specifically by default routing should be disabled. This test is the same as test above.
tests/test_basic.py:831
Methodtest_disable_host_networks
Test tcp routing security, specifically --disable-host-networks option.
tests/test_basic.py:809
Functiontest_encode_shell
()
tests/utils.py:11
Methodtest_fd
Check inherinting tuntap fd with -fd option
tests/test_basic.py:62
Methodtest_fwd_parsing_one
Test basic forwarding parsing, just port
tests/test_basic.py:244
Methodtest_fwd_parsing_two
Test basic forwarding parsing, port and host
tests/test_basic.py:252
Methodtest_help
Basic test if -h prints stuff looking like help screen.
tests/test_basic.py:11
Methodtest_loc_parsing_one
Test basic forwarding parsing, just port
tests/test_basic.py:260
Methodtest_loc_parsing_two
Test basic forwarding parsing, port and host
tests/test_basic.py:268
Methodtest_local_any_v4
Test a local forward rule with the 0.0.0.0 addr
tests/test_basic.py:373
Methodtest_local_any_v6
Test a local forward rule with the :: addr
tests/test_basic.py:385
Methodtest_local_empty
Test a local forward rule with no IPs given
tests/test_basic.py:291
Methodtest_local_fwd_error_tcp
Test bind errors on local TCP forwarding.
tests/test_basic.py:91
Methodtest_local_fwd_error_udp
Test bind errors on local UDP forwarding.
tests/test_basic.py:102
Methodtest_local_fwd_resolve_host
Test if you can local forward to dns label.
tests/test_basic.py:276
Methodtest_local_implicit_forward_v4
Test a local forward rule with an implicit IPv4 denstination
tests/test_basic.py:326
Methodtest_local_implicit_forward_v6
Test a local forward rule with an implicit IPv6 denstination
tests/test_basic.py:350
Methodtest_local_implicit_host_v4
Test a local forward rule with an implicit IPv4 host
tests/test_basic.py:314
Methodtest_local_implicit_host_v6
Test a local forward rule with an implicit IPv6 host
tests/test_basic.py:338
Methodtest_localhost_v4
Test a local forward rule with the localhost label
tests/test_basic.py:397
Methodtest_metric
Test if metrics server run.
tests/test_basic.py:133
Methodtest_pcap
Check -pcap capture
tests/test_basic.py:42
Methodtest_remote_empty
Test a remote forward rule with no IPs given
tests/test_basic.py:303
Methodtest_remote_implicit_forward_v6
Test a remote forward rule with an implicit IPv6 destination
tests/test_basic.py:362
Methodtest_remote_srv
Test -R=tcp://:2222:tcp.echo.server@srv-8600:0 syntax
tests/test_basic.py:974
Methodtest_remote_srv_ipv6
Test -R=tcp://:2222:[tcp.echo.server@srv-[::1]:8600]:0 syntax
tests/test_basic.py:1045
Methodtest_remote_srv_withut_dns
Test -R=tcp://:2222:tcp.echo.server@srv-8600:0 syntax but when dns server is down. Most importantly - starting the app with dns dwown.
tests/test_basic.py:1011
Methodtest_source_ipv4
Test --source-ipv4 option
tests/test_basic.py:854
Methodtest_source_ipv6
Test --source-ipv6 option
tests/test_basic.py:871
Methodtest_tcp_local_fwd
Test basic local forwarding - bind to local port on host and forward it to the guest.
tests/test_basic.py:476
Methodtest_tcp_local_fwd_2
Test tcp local forwarding - bind to local port on host and forward it to the guest. Establish connection from a routable IP - it shoul
tests/test_basic.py:491
Methodtest_tcp_local_fwd_v4tov6
Test basic local forwarding - bind to local IPv4 port on host and forward it to the guest via IPv6.
tests/test_basic.py:528
Methodtest_tcp_local_fwd_v6tov4
Test local forwarding - bind to local IPv6 port on host and forward it to the guest via IPv4.
tests/test_basic.py:510
Methodtest_tcp_pp_local_fwd
Test inbound TCP proxy-protocol
tests/test_basic.py:652
Methodtest_tcp_pp_local_fwd_noport
Test inbound TCP proxy-protocol, while specifying zero port on the guest side
tests/test_basic.py:683
Methodtest_tcp_pp_local_fwd_v4tov6
Test inbound TCP v4 proxy-protocol to v6 destination
tests/test_basic.py:785
Methodtest_tcp_pp_local_fwd_v6
Test inbound TCP v6 proxy-protocol
tests/test_basic.py:744
Methodtest_tcp_pp_local_fwd_v6tov4
Test inbound TCP v6 proxy-protocol to v4 destination
tests/test_basic.py:764
Methodtest_tcp_remote_fwd
Test tcp remote forwarding - bind to remote port on guest and forward it to host.
tests/test_basic.py:411
Methodtest_tcp_remote_fwd_2
Test tcp remote forwarding - bind to remote port on arbitrary guest IP and forward it to host.
tests/test_basic.py:421
Methodtest_tcp_routing
Test tcp routing. Establish connection from guest onto an IP assigned to local-scoped IP on host.
tests/test_basic.py:145
Methodtest_tcp_routing_multi
Test tcp routing. Can we establish like 200 connnections?
tests/test_basic.py:173
Methodtest_tcp_routing_v6
Test tcp routing. Establish connection from guest onto an IP assigned to local-scoped IP on host.
tests/test_basic.py:159
Methodtest_udp_large_packet
Test UDP packet larger than 1500 bytes
tests/test_basic.py:227
Methodtest_udp_local_fwd
Test udp local forwarding - bind to local port on host and forward it to the guest.
tests/test_basic.py:545
Methodtest_udp_local_fwd_2
Test udp local forwarding - bind to local port on host and forward it to the guest. Establish connection from a routable IP - it shoul
tests/test_basic.py:560
Methodtest_udp_local_fwd_merge
Test if udp message boundry is preserved.
tests/test_basic.py:630
Methodtest_udp_local_fwd_v4tov6
Test basic local forwarding - bind to local IPv4 port on host and forward it to the guest via IPv6.
tests/test_basic.py:596
Methodtest_udp_local_fwd_v6tov4
Test local forwarding - bind to local IPv6 port on host and forward it to the guest via IPv4.
tests/test_basic.py:579
Methodtest_udp_remote_fwd
Test udp remote forwarding - bind to remote port on guest and forward it to host.
tests/test_basic.py:433
Methodtest_udp_remote_fwd_2
Test udp remote forwarding - bind to remote port on arbitrary guest IP and forward it to host.
tests/test_basic.py:445
← previousnext →101–200 of 206, ranked by callers