Skip to content

3-E-D/TCPioneer-modified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCPioneer-with-modifications

TCPioneer is a program for Windows that protects the TCP connections from being interfered. This repo is my personal modification, to not pollute the code of others, I choose to copy the code to my own repo.

original TCPioneer: TCPioneer

for other platforms: phantomsocks

Building

Simply git clone the repo and then go build

Caution

No WinDivert.dll included, please download it from https://github.com/basil00/Divert/releases/tag/v2.2.0, after downloading, please move WinDivert.dll to the folder where the compiled executable is located.

Flags

  -conf string
        Specifying the config (default "default.conf")
  -install
        Install service
  -remove
        Remove service
  -scanip string
        Scan IP Range
  -scanspeed int
        Scan Speed (default 1)
  -scantimeout uint
        Scan Timeout
  -scanurl string
        Scan URL
  -start
        Start service
  -stop
        Stop service

How to configure

  server=IP:Port    #domain in config will use this DNS(DNSoverTCP),if not set it will use the DNS of system
  ipv6=true/false   #domain below will enable/disable IPv6
  subdomain=*       #set the depth of domain search, default 2
  ttl=*             #the fake tcp packet will use this TTL
  domain=ip,ip,...  #this domain will use these IPs
  domain            #this domain will be resolved by DNS
  ip:port           #this ip:port will send fake packet when creating connection
  method=*          #the methods to modify TCP

methods:

  ttl               #the fake tcp packets will use the TTL you set
  w-md5             #the fake tcp packets will have a wrong md5 option
  w-csum            #the fake tcp packets will have a wrong checksum
  w-ack             #the fake tcp packets will have a wrong ACK number
  tfo               #SYN packet will take a part of data when the server supports TCP Fast Open
  
  df                #the true tcp packets will not be fragmented
  https             #the domain below will be move to https when using http on port 80

How to get the TTL

tracert 8.8.8.8
set the ttl longer than the TTL to the node whose IP address is in your area and shorter than the TTL to the server.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages