Sebastian Hahn
|
34546e2573
Fix a compile warning on OSX 10.6
|
14 years ago |
Roger Dingledine
|
22f723e4a3
refactor all these tor_inet_ntoa idioms
|
14 years ago |
Nick Mathewson
|
14bc4dcc22
Rename log.h to torlog.h
|
14 years ago |
Roger Dingledine
|
625963d92a
commit my annotations while i was hunting down the host order bug
|
14 years ago |
Nick Mathewson
|
b006e3279f
Merge remote branch 'origin/maint-0.2.1'
|
14 years ago |
Nick Mathewson
|
c3e63483b2
Update Tor Project copyright years
|
14 years ago |
Nick Mathewson
|
c0d682686a
Make tor_addr_copy() conform to memcpy requirements
|
14 years ago |
Nick Mathewson
|
bddda9bbdb
Use an _actual_ fix for the byte-reverse warning.
|
15 years ago |
Nick Mathewson
|
2f0184ece1
Use a simpler fix for the byte-reversing warning
|
15 years ago |
Sebastian Hahn
|
aea9cf1011
Fix compile warnings on Snow Leopard
|
15 years ago |
Nick Mathewson
|
ec7e054668
Spell-check Tor.
|
15 years ago |
Karsten Loesing
|
9b32e8c141
Update copyright to 2009.
|
15 years ago |
Nick Mathewson
|
bf2b71beb8
Fix an error in tor_addr_parse that kept us from having a hidden service or a bridge live at an IPv6 address.
|
16 years ago |
Nick Mathewson
|
585d4a12b5
Note a problem in the interface tor_addr_to_sockaddr.
|
16 years ago |
Nick Mathewson
|
c4b8fef362
Remove svn $Id$s from our source, and remove tor --version --version.
|
16 years ago |
Nick Mathewson
|
9c20441bcb
Only set sin_len/sin6_len when they exist.
|
16 years ago |
Nick Mathewson
|
48f2ce298b
Try harder to make sure we zero-out the extraneous sockaddr fields and that we set sockaddr_len. Conceivably a backport candidate, though nothing has yet been sen to break.
|
16 years ago |
Nick Mathewson
|
52932d6f1a
Remove some code that is #ifdefed out, and that we no longer seem to use, if we ever did.
|
16 years ago |
Nick Mathewson
|
94507f1b6d
Fix bug in recent address.c patch: actually set the value of address * to 0.0.0.0 as we did before. This makes CMP_EXACT comparisons with bitmask 0 work on address * again.
|
16 years ago |
Nick Mathewson
|
ccda4e481c
Fix compilation under gethostbyname-based systems.
|
16 years ago |
Nick Mathewson
|
374c1e979f
Refactor tor_addr_t manipulation functions so that as few as possible look at the tor_addr_t representation.
|
16 years ago |
Nick Mathewson
|
616f6643ef
get_interface_addr6(), and by extension get_interface_addr(), were pretty borked. Copying a tor_addr_t from a sockaddr_storage using memcpy is a poor notion.
|
16 years ago |
Nick Mathewson
|
61722638ea
Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, and has decent semantics for maskbits; and so that CMP_EXACT works right for bits==0.
|
16 years ago |
Roger Dingledine
|
a12c3f2c86
some fixes i found in my sandbox
|
16 years ago |
Nick Mathewson
|
d7f55dafe0
Properly zero-out addresses when setting them. Probably this was not hurting anything.
|
16 years ago |
Nick Mathewson
|
55348884b5
Fix all of the doxygen warnings not pertaining to missing documentation.
|
16 years ago |
Nick Mathewson
|
029be5ad02
Move in-addr.arpa parsing and generation into address.c, and simplify the code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses.
|
16 years ago |
Nick Mathewson
|
122170c1d3
Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this patch.
|
16 years ago |
Nick Mathewson
|
6693f32530
Resolve many DOCDOCs.
|
16 years ago |
Nick Mathewson
|
361086005c
Fix a possible negative shift in address comparison. May fix bug 845 and bug 811
|
16 years ago |