1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
Commit graph

42 commits

Author SHA1 Message Date
Charles Kerr
84a8592d1d first cut at adding i18n hooks into libtransmission. 2008-03-04 02:02:25 +00:00
Charles Kerr
deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +00:00
Charles Kerr
6432363f64 mingw portability fixes: #includes in natpmp.c 2008-01-10 19:27:13 +00:00
Charles Kerr
6db7a5177f #598: fix openbsd alignment & #include issues reported by naddy 2008-01-07 19:17:43 +00:00
Charles Kerr
ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr
1cb314f0cc try to make the natpmp error messages yet more helpful. thanks to m1b and Lacrocivious 2007-12-15 06:10:24 +00:00
Charles Kerr
fe0640caa7 add messages asking the user to check & make sure that port forwarding is enabled on their router 2007-12-15 05:28:16 +00:00
Charles Kerr
bddcf5e10d fix crash on shutdown on natpmp routers reported by SoftwareElves 2007-12-13 20:19:52 +00:00
Charles Kerr
7f335e1bf0 follow Chinstrap's suggestion of waiting a small interval between sending nat commands as per the nat spec 2007-12-13 19:28:51 +00:00
Charles Kerr
a51d790d81 take pea_'s suggestion of not sending out natpmp/upnp discover messages until port forwarding is enabled 2007-12-13 18:56:22 +00:00
Charles Kerr
c8c9012697 fix the 500ms remap reported by Chinstrap 2007-12-13 01:20:16 +00:00
Charles Kerr
73ee11f233 Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr
f534d0929c use PMP_MCAST_ADDR, instead of a hardcoded address, in net.c 2007-12-01 05:11:30 +00:00
Charles Kerr
398bc04bcf housekeeping. revert r3984 at tiennou's request 2007-11-27 15:39:59 +00:00
Charles Kerr
07f2e6365a move tr_getDefaultRoute() to natpmp.c because it's the only code that uses it 2007-11-26 20:21:52 +00:00
Charles Kerr
fd430fde90 undoing the r3773-r3774 experiment. 2007-11-09 20:07:52 +00:00
Charles Kerr
67b719c2de on Darwin, use NSCParameterAssert() instead of assert(). 2007-11-09 19:50:40 +00:00
Charles Kerr
9df263326d use Thomas Bernard's miniupnp library instead of rolling our own. 2007-11-06 16:02:50 +00:00
Charles Kerr
14d8abb323 maybe fix portmapping 2007-11-05 03:56:54 +00:00
Charles Kerr
8c0e2434f5 fix OpenBSD build error. 2007-10-25 13:59:46 +00:00
Charles Kerr
dbd016e503 sync joshe's changes with win32 2007-08-04 02:55:06 +00:00
Josh Elsasser
2ead51f79d Use __BEOS__ to test for beos instead of relying on the build to set SYS_BEOS.
Add missing headers and other miscellaneous fixes for beos.
2007-08-04 01:17:39 +00:00
Charles Kerr
1fd5f90a77 win32 cleanly compiles and starts now. (still doesn't atually *work*, but we're getting closer...) 2007-08-02 19:43:29 +00:00
Charles Kerr
ba3dc008fc get the socket/net code working on win32 too 2007-07-31 16:55:47 +00:00
Charles Kerr
0f85cc3297 continue whittling away at internal.h to reduce the global #include dependencies 2007-07-31 14:26:44 +00:00
Charles Kerr
d209052051 add portability wrapper for in_port_t... 2007-07-30 18:04:10 +00:00
Charles Kerr
e07d0220a9 this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file 2007-07-29 18:11:21 +00:00
Josh Elsasser
1ecbe8da65 Change a couple functions to take an in_addr pointer instead of an in_addr.
Forward declare struct in_addr and include the relevant headers in the .c files where it's used.
2007-07-14 16:29:21 +00:00
Charles Kerr
b79beeff66 clean up #includes a bit. 2007-07-09 20:10:42 +00:00
Josh Elsasser
19c4640dbd Fix stupid, stupid mistake preventing frontend from seeing changed public port. 2007-04-17 02:35:14 +00:00
Josh Elsasser
1323459ad4 Fix port crap. 2007-04-16 05:48:52 +00:00
Josh Elsasser
57d06d55e8 Don't try port mapping if binding the port fails. 2007-04-15 07:36:24 +00:00
Josh Elsasser
caebe8b862 Use memset instead of bzero. 2007-03-05 03:41:13 +00:00
Josh Elsasser
c4ad02aaf3 Remove natpmp and upnp locks and rely on the shared lock. 2007-02-06 05:37:48 +00:00
Josh Elsasser
b2fb0bbf3c Clean up NAT-PMP code a little.
Correctly handle a NAT-PMP device mapping a different public port than requested.
2007-02-06 03:24:55 +00:00
Josh Elsasser
3388b93542 When sending a nat-pmp packet, treat EHOSTDOWN as a temporary error. 2007-01-28 08:54:19 +00:00
Josh Elsasser
7af80be925 Fix a case where NAT-PMP could falsely report a mapped port. 2007-01-25 21:23:31 +00:00
Josh Elsasser
ace19f1003 Fix stupid mistake. 2007-01-23 23:46:10 +00:00
Eric Petit
40d8abb68f More simplifications 2007-01-21 19:42:11 +00:00
Eric Petit
14aa4e5ab0 Officially give up on making libT reentrant, and simplify our code instead 2007-01-21 07:16:18 +00:00
Eric Petit
e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Josh Elsasser
0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00