Skip to main content
Sign in
Snippets Groups Projects

Clarify removing MAPADDRESS entries

  • View options
  • Closed created by Damian Johnson
    Closed Clarify removing MAPADDRESS entries
    • View options
  • Hi, our MAPADDRESS spec seem to have a very minor issue with its example...

    If the original address and the destination address are the same, the server removes any mapping in place for the original address.

    Example:

    C: MAPADDRESS 0.0.0.0=torproject.org 1.2.3.4=tor.freehaven.net
    S: 250-127.192.10.10=torproject.org
    S: 250 1.2.3.4=tor.freehaven.net

    I'm unsure why this presents 'MAPADDRESS 0.0.0.0=hostname'. I tried that and it doesn't remove the entry. However, 'MAPADDRESS address=address' does...

    atagar@morrigan:~/Desktop/stem$ telnet localhost 9051
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    AUTHENTICATE
    250 OK
    MAPADDRESS 1.2.3.4=torproject.org
    250 1.2.3.4=torproject.org
    GETINFO address-mappings/control
    250-address-mappings/control=1.2.3.4 torproject.org NEVER
    250 OK
    MAPADDRESS 1.2.3.4=1.2.3.4
    250 1.2.3.4=1.2.3.4
    GETINFO address-mappings/control
    250-address-mappings/control=
    250 OK
    QUIT
    250 closing connection
    Connection closed by foreign host.

    I would using the above to exemplify entry removal instead.

    Attributes

    Assignees

    None

    Labels

    None

    Milestone

    None

    Dates

    Start: None

    Due: None

    Time tracking

    No estimate or time spent
    To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first