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
  • #19191

Closed (moved)
Open
Opened May 27, 2016 by fk@fk

{BUG} directory_send_command: Bug: Squid does not like URLs longer than 4095 bytes, and this one is 20515 bytes long

After upgrading the relay 40A60D1F1E8AFBED22FCB30B3FBE2E275A14CF99 to Tor v0.2.8.3-alpha I got the following warning after starting:

May 27 14:02:26.111 [warn] {BUG} directory_send_command: Bug: Squid does not like URLs longer than 4095 bytes, and this one is 20515 bytes long: /tor/server/d/0E2ED00342161B68622BDF90623068BD9FF56890+0E3A7F3C5F[...]

It was repeated a couple of times with slightly different paths.

This relay was previously running 0.2.7.6, but I'm also using 0.2.8.2-alpha on other systems and haven't seen the warnings there.

I'm not sure if there's a connection, but bootstrapping did not make it beyond 80%.

Enabling debug logging resulted in lots of messages like:

May 27 14:27:16.604 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.605 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.605 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.606 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.606 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.607 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.607 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:16.608 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:27.346 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:30.560 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:33.302 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.
May 27 14:27:33.717 [info] {NET} get_interface_address6_via_udp_socket_hack: Address that we determined via UDP socket magic is unsuitable for public comms.

Tor is running in an ElectroBSD jail without raw socket access (which is probably required for the UDP socket magic to work).

After adding the Address directive bootstrapping worked and the relay is currently serving traffic.

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