Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
258b9803
Commit
258b9803
authored
Jul 07, 2009
by
Nick Mathewson
🎨
Browse files
Make "Invalid onion hostname" msg respect SafeLogging.
Patch by Roger; fixes bug 1027.
parent
2c221e92
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
258b9803
Changes in version 0.2.1.17-rc - 2009-07-0
2
Changes in version 0.2.1.17-rc - 2009-07-0
7
o Major features:
- Clients now use the bandwidth values in the consensus, rather than
the bandwidth values in each relay descriptor. This approach opens
...
...
@@ -36,6 +36,8 @@ Changes in version 0.2.1.17-rc - 2009-07-02
- When we can't find an intro key for a v2 hidden service descriptor,
fall back to the v0 hidden service descriptor and log a bug message.
Workaround for bug 1024.
- Fix a log message that did not respect the SafeLogging option.
Resolves bug 1027.
o Minor features:
- If we're a relay and we change our IP address, be more verbose
...
...
src/or/connection_edge.c
View file @
258b9803
...
...
@@ -1484,7 +1484,8 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
addresstype
=
parse_extended_hostname
(
socks
->
address
);
if
(
addresstype
==
BAD_HOSTNAME
)
{
log_warn
(
LD_APP
,
"Invalid hostname %s; rejecting"
,
socks
->
address
);
log_warn
(
LD_APP
,
"Invalid onion hostname %s; rejecting"
,
safe_str
(
socks
->
address
));
control_event_client_status
(
LOG_WARN
,
"SOCKS_BAD_HOSTNAME HOSTNAME=%s"
,
escaped
(
socks
->
address
));
connection_mark_unattached_ap
(
conn
,
END_STREAM_REASON_TORPROTOCOL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment