Skip to content

Releases: zhxie/pcap2socks

v0.6.2

07 Aug 08:04
Compare
Choose a tag to compare

This is a minor update from v0.6.0 & v0.6.1, contains a lot of bug fixes and improvements.

New Features

  • TCP delayed ACK

Improvements

  • Send gratuitous ARP on startup
  • Limit the size of the TCP queue

Fixes

  • Incorrect RST logic in TCP
  • Only one hardware address can be tracked by forwarder

Long time no see, In the past few months, I have slowed down the development of pcap2socks. As mentioned in #13, I have no Windows devices currently and cannot continue developing. In fact, I originally hoped to release v0.7.0 after implementing the TCP zero window probe and Nagle's algorithm, but I may not be able to complete it at this moment, so I released v0.6.2 in advance. Thanks to all of you using pcap2socks 🧧.

v0.6.1

27 Nov 06:39
Compare
Choose a tag to compare

This is a minor update from v0.6.0, contains a lot of bug fixes.

Fixes

  • Too large memory allocation for RTT computation
  • UDP bindings

Thanks to all of you using pcap2socks πŸ₯ž.

v0.6.0

08 Sep 15:06
Compare
Choose a tag to compare

This is an intermediate update from v0.5.0, contains a lot of bug fixes, new features and improvements.

New Features

  • Congestion control

Improvements

  • Allocate only when the buffer is not sufficient
  • Handle connections in a more elegant way
  • Optimize logic handling packets
  • Reduce unnecessary allocation to improve performance

Fixes

  • ICMPv4 support
  • RTO computation

Thanks to all of you using pcap2socks 🍨.

v0.5.0

14 Aug 13:12
Compare
Choose a tag to compare

This is an intermediate update from v0.4.0 & v0.4.1, contains a lot of bug fixes, new features and improvements.

New Features

  • Resolve destination
  • Select SOCKS5 BIND address automatically
  • CIDR source

Improvements

  • Fallback to reuse previous datagram when binding failed
  • Solve silly window syndrome
  • Handle ICMPv4 (destination port unreachable & fragmentation required, and DF flag set)

Fixes

  • Miscalculated window size
  • Close a TCP connection by RST instead of FIN
  • Unexpected fast retransmission

Removed

  • Multiple sources (replaced by the CIDR source)

Thanks to all of you using pcap2socks 🎊.

v0.4.1

03 Aug 06:09
Compare
Choose a tag to compare

This is a minor update from v0.4.0, contains a lot of bug fixes and new features.

New Features

  • Multiple sources
  • Support SOCKS5 username/password authentication
  • Force to associate with the destination (#4)

Fixes

  • IPv4 identification is constantly zero
  • Serialize IPv4 fragments incorrectly
  • Defragments incorrectly
  • Ignored protocol in defragmentation
  • Fix vverbose log

Thanks to all of you using pcap2socks 🎈.

v0.4.0

29 Jul 03:46
Compare
Choose a tag to compare

This is an intermediate update from v0.3.0, contains a lot of bug fixes, new features and improvements.

New Features

  • Get the interface's and source's MTU automatically

Improvements

  • Support timeout retransmission in TCP connections
  • Support TCP RTO computation
  • Support TCP MSS option

Fixes

  • Mask may be calculated incorrectly
  • TCP FIN may no be handled properly
  • Crash when defragment fragmentations (#3)

Removed

  • TCP timestamp option support

Thanks to all of you using pcap2socks πŸŽ‰.

v0.3.0

12 Jul 17:29
Compare
Choose a tag to compare

This is an intermediate update from v0.2.0, contains a lot of new features and improvements.

New Features

  • Add presets

Improvements

  • Support TCP wscale option
  • Split TCP segments preferring MSS in TCP SYN instead of MTU
  • Close a TCP connection in a more standard way
  • Simplify vverbose log

Thanks to all of you using pcap2socks 😁.

v0.2.0

01 Jul 17:28
Compare
Choose a tag to compare

This is an intermediate update from v0.1.0, contains a lot of bug fixes, new features and improvements.

New Features

  • Choose interface automatically
  • Support TCP options like sack
  • Notify when the device joined the network

Improvements

  • Use async I/O instead of blocking I/O with Tokio
  • Distribute UDP ports by system
  • Split log

Fixes

  • Ethernet packet may not meet the minimum size
  • Procedure of handling certain TCP packets

Thanks to all of you using pcap2socks πŸ˜€.

v0.1.0

21 Jun 06:28
Compare
Choose a tag to compare

This is the initial release of pcap2socks.

pcap2socks is a proxy which redirect traffic to a SOCKS proxy with pcap written in Rust.

In a public network environment such as a school, or when using an Internet access service from a cheap network provider, we may have difficulty connecting to others due to the NAT firewall. I previously developed an app called IkaGo, which can help bypassing UDP blocking, UDP QoS and NAT firewall. But the most important part of making something like a game accelerator is the quality of the line, not the technology and skills we use. So, in order to make good use of some existing high-quality proxy lines, pcap2socks was born. pcap2socks is minimum, open source and cross-platform.

I hope you will have a better game experience using pcap2socks. Thanks to all of you using pcap2socks 😊.