Commit Graph
12 Commits
Author SHA1 Message Date
Alisson Comerlatto 09cd59b728 feat(native-connect-hook): enhance support for system connection hooks
- Declare system module as a constant.
- Add `conn` variable for cleaner `Interceptor.attach` initialization.
- Improve error handling.
2025-07-03 10:14:24 -03:00
Alisson Comerlatto ad465d0044 fix(native-connect-hook): adjust scope of systemModule declaration
- Move `systemModule` declaration outside `try` block for proper scope management.
2025-07-02 17:30:59 -03:00
Tim Perry ae338c5bcd Add SOCKS support to native-connect hook 2025-06-27 18:00:17 +02:00
Tim Perry bcbe288aa2 Add functionality to block HTTP/3 by default 2025-06-24 17:43:09 +02:00
Tim Perry c5dcc8acd6 Fix connect module fallback (get* throws an error, find* returns null) 2025-06-20 16:46:23 +02:00
kaifcodec eac9e21444 fix: update deprecated Module.* APIs for Frida v17 2025-06-11 21:32:20 +05:30
Tim Perry eb4720f1d4 Include iOS support in the native connect hook 2024-06-14 18:18:04 +02:00
Tim Perry b5206370fb Make IPv4-mapped IPv6 addresses more readable in native-connect-hook
Useful as these can require manual intervention & redirection later,
which is tricky when you can't easily read the IP involved.
2024-02-21 14:02:45 +01:00
Tim Perry 78fa288d46 Revert "Always loudly log intercepted connections that fail to reach the proxy"
This reverts commit 6eec741f5c.

This doensn't actually work correctly, as connect() will return -1
(treated here as failure) for sockets that are still in progress, when
opened non-blocking, and therefore we end up logging these as failures.
We need to handle async connection state detection - that's a bit fiddly
from inside Frida, so for now let's just roll this back.
2023-11-15 18:39:51 +01:00
Tim Perry 6eec741f5c Always loudly log intercepted connections that fail to reach the proxy 2023-11-14 10:26:59 +01:00
Tim Perry 025ec5cc6c Add missing SPDX info to native-connect-hook 2023-10-24 18:08:46 +02:00
Tim Perry 1c5dcb1d4a Rename & tweak docs of native connect hook 2023-10-18 19:19:44 +02:00