Commit Graph
29 Commits
Author SHA1 Message Date
Shelikhoo 3de33c91b2 Add subscription manager (autogenerated) 2023-11-26 10:55:27 +00:00
Huang-Huang BaoandXiaokang Wang (Shelikhoo) 42c50d25e1 fix: set TTL for incoming UDP IP packets from TUN with PacketAddr dispatcher
Fixes UDP packets being dropped in non-local routing path(e.g. forwarding to LAN or container veth) due to 0-TTL.
2023-11-01 12:58:10 +00:00
AkinoKaedeandXiaokang Wang (Shelikhoo) c0a0ce29e3 feat: add sniffing for tun 2023-11-01 12:57:57 +00:00
Shelikhoo 0ca849637d fix tun app lints 2023-10-23 01:47:08 +01:00
Shelikhoo e87af12bf8 fix crash when tun app has no socket option 2023-10-23 01:39:19 +01:00
Shelikhoo efdc05f04c Add fullcone packet filtering to tun app 2023-10-23 01:13:01 +01:00
AkinoKaedeandShelikhoo 89ff606655 feat: socket options 2023-10-22 22:44:43 +01:00
AkinoKaedeandShelikhoo 7a42380599 feat: add error log for create endpoint 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 98463db088 feat: remove packetaddr support because gVisor not support cone-nat 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo c439a12d06 feat: use goroutines to process connections 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 0a090a073b feat: refine handle logic 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 5f6031b1e8 chore: refine code struct 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo c324d3af70 style: refine code style 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo d1c3007d30 style: remove unused code and comments 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 4b5f788b2f fix: wrong source and destination 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 54b605ba4c fix: handler logic 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 2617a4c332 fix: cannot start tun 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo f9ea8609cc feat: set route config 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 04104ad13d feat: add promiscuous mode and spoofing config 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo a1c5a6bc41 feat: add address to NIC 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 5fafc29771 fix: inbound context 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo e2d2676dfc feat: set MTU for gVisor tun 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo f39b046e03 style: refine code style 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 1cb3ab7f84 feat: add udp handler 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 06ed6f98b3 feat: create NIC 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 225d638338 style: refine code style 2023-10-22 22:44:27 +01:00
AkinoKaedeandShelikhoo 4276ee9464 chore: rename DeviceCreator 2023-10-22 22:44:27 +01:00
AkinoKaedeandShelikhoo a3728b6abc feat: set default config 2023-10-22 22:44:27 +01:00
AkinoKaedeandShelikhoo 12567c62ea feat: add tun support for tcp 2023-10-22 22:44:26 +01:00