Charles Kerr
74cff042ea
(trunk libT) silence minor compiler warning
2010-10-14 17:03:04 +00:00
Charles Kerr
8b386a63b1
(trunk libT) #3311 "MingW build of Transmission" -- added rb07's revisions to my revisions to his diff. :P
2010-07-01 04:00:41 +00:00
Charles Kerr
954a309d8f
(trunk) #3311 "MingW build of Transmission" -- apply more of rb07's diffs, though edited to lessen the inevitable #ifdefs
2010-06-30 21:24:36 +00:00
Charles Kerr
98cec85e46
(trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07
2010-06-25 20:36:10 +00:00
Charles Kerr
5ad7ed550f
(trunk) more win32 fixes from rb07 in #3311
2010-06-22 00:12:52 +00:00
Charles Kerr
3e7730e9b7
(trunk libT) remove a pair of unnecessary, but expensive, assert()s
2010-06-14 23:14:58 +00:00
Charles Kerr
00f452d942
(trunk libT) #3162 "allow optional end-user configuration of TCP_CONGESTION" -- add jch's implementation of this to trunk for 2.00
2010-04-22 01:49:16 +00:00
Charles Kerr
10fb49059f
(trunk libT) #3047 "Periodic disk access in idle state" -- added to trunk for 2.00 by committing a patch by klapaucjusz into this svn code repository
2010-04-20 03:44:45 +00:00
Charles Kerr
fe3d9ed95a
(trunk) one of the least interesting commits ever: remove trailing spaces from source code lines...
2010-03-17 17:07:40 +00:00
Charles Kerr
5a69330344
(trunk libT) when we can't bind to a port and the error is EADDRINUSE, add a parenthetical hint "(Is another copy of Transmission already running?)"
2010-02-06 14:43:28 +00:00
Charles Kerr
02ffbe75e4
(trunk libT) #2778 "IPv6 accepts garbage addresses" -- fix typo reported by chris-jerichio @ http://trac.transmissionbt.com/ticket/2778#comment:16
2010-01-31 17:15:05 +00:00
Charles Kerr
dcbb1ee872
#2778 (IPv6 PEX accepts garbage addresses) -- accept petch from jch to reject IPv6 addresses outside of 2000::/3 until the end of the 13th Baktun
2010-01-31 00:23:31 +00:00
Charles Kerr
ea36b9b888
(trunk libT) make "tr_globalAddress" a private function
2010-01-25 07:35:38 +00:00
Charles Kerr
c789454dba
(trunk libT) #2667 "Ignore martian addresses" -- apply jch's 0001-Simplify-martian-address-detection.patch cleanup patch from http://trac.transmissionbt.com/ticket/2667#comment:8
2009-12-15 20:06:48 +00:00
Charles Kerr
33c6b0d9ec
(trunk libT) #2667 "ignore martian addresses" -- revise the tests to tr_isValidPeerAddr() base
...
d on feedback from jch @ http://trac.transmissionbt.com/ticket/2667#comment:6
2009-12-15 19:39:01 +00:00
Charles Kerr
f4c744266f
(trunk libT) #2667 "ignore martian addresses" -- modified this ticket. previously we ignored them from LTEP; now we ignore them regardless of the source. this commit implements this filtering change.
2009-12-15 17:39:19 +00:00
Charles Kerr
3fe5db7113
(trunk libT) #2667 "Ignore martian addresses in LTEP messages" -- implemented for 1.80
2009-12-14 02:07:47 +00:00
Eric Petit
769629499e
The IPv6 check could always fail because we did not specify a port when
...
trying to set up the UDP socket (was reproducible here on 10.6 at least)
2009-12-06 16:21:29 +00:00
Charles Kerr
d1935a4812
(trunk libT)
...
11:59 < klapaucjusz> charles: net.c line 314.
11:59 < klapaucjusz> Please change the value to 8192.
12:00 < charles> okay but why?
12:00 < klapaucjusz> I'm not sure it will trigger, but having space for 4 full-sized segments is always a good idea.
12:01 < klapaucjusz> It means you have a better chance of recovering from a lost segment
2009-12-02 20:03:27 +00:00
Charles Kerr
6eec59008c
(trunk libT) experimental: Reduce SO_SNDBUF and SO_RCVBUF for tracker announce/scrape messages. Reduce SO_RCVBUF for outgoing peer connections on seeding torrents.
2009-12-02 05:30:46 +00:00
Charles Kerr
e1c6b792aa
(trunk libT) #2610 "avoid unnecessary calls to time(NULL)"
2009-11-26 18:47:08 +00:00
Charles Kerr
44df1d5548
(trunk libT) #2112 : provide "ipv6=" parameter to trackers
2009-11-10 17:03:23 +00:00
Charles Kerr
225384fcc5
(trunk libT) #2502 : announce own IPv6 address to peers
2009-11-09 05:45:16 +00:00
Charles Kerr
bccaf64e55
(trunk libT) #2558 : "build failure in r9484"
2009-11-06 12:53:05 +00:00
Charles Kerr
858e691381
(trunk libT) add a wrapper function, tr_netCloseSocket(), around EVUTIL_CLOSESOCKET() so that not all of our code has to #include evutil
2009-10-27 20:27:27 +00:00
Charles Kerr
c85ee09fef
(trunk) trunk's just been too stable lately. #2119 : reload settings.json on SIGHUP
2009-10-23 03:41:36 +00:00
Charles Kerr
cb79214854
(trunk) remove trailing spaces
2009-08-10 20:04:08 +00:00
Eric Petit
67440b9286
Don't assume that errnos are positive (they are not on Haiku), and
...
pass them on through an additional parameter if needed
2009-07-09 18:14:33 +00:00
Charles Kerr
8e6eee683f
(trunk) on non-mac platforms, try not building our own copy of libevent 1.4.x
2009-06-03 15:47:08 +00:00
Charles Kerr
74a4c2f2d5
fix last commit :/
2009-05-15 12:28:12 +00:00
Charles Kerr
5bf4eb71ce
(trunk libT) fix a minor bug in peer count tabulation
2009-05-15 12:19:27 +00:00
Charles Kerr
7599172836
(trunk libT) fix minor r8394 bug
2009-05-14 18:37:24 +00:00
Charles Kerr
da42fe8a7c
(trunk libT) #2035 : Transmission causes wakeups by unnecessary polling.
2009-05-14 13:42:29 +00:00
Charles Kerr
b2a6def953
(trunk libT) fix small dead code. found by clang static analyzer and reported by d0k
2009-05-13 19:04:14 +00:00
Erick Turnquist
2719372bc6
(trunk) #1497 Options to listen on specific network sockets
2009-04-15 21:05:58 +00:00
Charles Kerr
a2b53f5cbd
(trunk libT) more speed tweaks from valgrind
2009-04-12 14:52:17 +00:00
Erick Turnquist
2f8d56e77f
(trunk libT) make IPv6's two IPv4-compatible address formats invalid peer addresses
...
IPv4 peers should only be seen from an IPv4-connected tracker.
2009-03-27 01:31:17 +00:00
Erick Turnquist
dd7eb76718
(trunk libT) remove tr_suspectAddress() since all seems well
2009-03-27 01:14:25 +00:00
Erick Turnquist
72297dbdb4
(trunk libT) suppress ipv6 EHOSTUNREACH as well as ENETUNREACH
2009-02-08 22:52:47 +00:00
Erick Turnquist
fc767a3f03
(trunk libT) don't attempt to connect to (half-complete) ipv6 link-local addresses
2009-02-08 22:45:30 +00:00
Erick Turnquist
61e505b8d1
(trunk libT) don't attempt to set V6ONLY on ipv4 sockets
2009-02-07 01:14:41 +00:00
Erick Turnquist
94b98030cb
(trunk libT) stop using ipv4-mapped listener sockets. this should have the added effect of fixing #1789
2009-02-07 00:34:10 +00:00
Charles Kerr
9c9c94a81d
(trunk libT) discard peers from the tracker or pex that have a port of 0 or a multicast address.
2009-01-17 23:14:35 +00:00
Charles Kerr
d95a45b701
(trunk libT) fix IPv6 reported & solved by erdgeist. add debugging message to help track down any future problems.
2009-01-16 23:17:31 +00:00
Charles Kerr
bc2b7fcb03
(trunk libT) minor tweaks to reduce libtransmission shear between trunk and 1.5x
2009-01-16 17:29:42 +00:00
Charles Kerr
2f6b56671f
(trunk libT) win32 portability patch from Alexey
2009-01-11 17:02:04 +00:00
Charles Kerr
c6a454d2e2
(trunk libT) win32 portability fixes, reported by Alexey
2009-01-10 02:22:13 +00:00
Erick Turnquist
5086cbe47c
(trunk libT) use IN_MULTICAST macro
2009-01-02 21:45:55 +00:00
Charles Kerr
0cd572a0da
(trunk libT) make tr_isAddress() and tr_isDirection() inline
2009-01-02 04:47:37 +00:00
Erick Turnquist
e9f32d7523
(trunk libT) < Rolcol> For example: I have a lot of addresses in the message
...
log as "funny looking address" as something like ::ffff:192.168.1.1
These were coming from pex6. Apparently there is a client out there that sends
us IPv4 peers in mapped form. It's valid, but a little strange...
2009-01-01 00:34:44 +00:00