-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
49 lines (41 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**************************************************************************
* _________
* /````````_\ S N I F ~ e2e TLS trust for IoT
* /\ , / O\ ___
* | | | \__|_____/ o\ e2e TLS SNI Forwarder
* | | | ``/`````\___/ e2e TLS CA Proxy
* | | | . | <"""""""~~
* | \___/ `` \________/ https://snif.host
* \ ''' ``` /```````` (C) 2021 VESvault Corp
* \_________/ Jim Zubov <jz@vesvault.com>
*
*
* GNU General Public License v3
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
**************************************************************************/
A modular userspace IP tunnel interface.
Designed to handle local app-to-app SNIF traffic through a VPN interface on
iOS devices, but can be used as a general purpose tunnel.
Network layer: IPv4 (v4.c)
IPv6 is not currently implemented, can be added as a separate AF module.
IP fragmentation is not supported, can be added as a separate module.
Transport: TCP (tcp.c), UDP (udp.c)
TCP retransmission is not implemented, can be added as a separate module.
TCP listening sockets (sock.c, mgr.c):
Push mode accept using snifl_accept
Push mode recv
snifl_send()
snifl_shutdown()
App proto: DNS over UDP (dns.c)
Implements a local DNS resolver that always responds with an A record
pointing to a predefined IPv4 address. Useful in the content of iOS VPN,
where the system DNS resolver can be directed to the VPN for a particular
domain name.
Demo:
A simple HTTP responder over TUN/TAP on Linux.