Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #10582

Closed (moved)
Open
Opened Jan 07, 2014 by Trac@tracbot

Please add support for TPROXY for linux in TransProxy

The TPROXY target on linux is pretty much the same as the current TransProxy but with the exception that the local port isn't visible therefore making it possible to transparently map the entire range of 1:65356 to tor.

The only difference between the current TransProxy implementation is the addition to listen for all addresses on the stock. I attach a patch that does this. Binding for all addresses has no effect when you use NAT to redirect a port to given address, so it is quite a small change.

TOR needs root or some capablitlity to setsockopt with SOL_IP IP_TRANSPARENT, but apart from that the change is trivial.

This patch has been tested with with the nat rule as well TPROXY target and works for both .onion sites using AutoResolv also.

Trac:
Username: thomo

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.5.x-final
Milestone
Tor: 0.2.5.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#10582