source: trunk/libtransmission/natpmp.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @14532   5 years mikedld Add more booleans to the picture
(edit) @14479   6 years mikedld Define and use tr_socket_t and TR_BAD_SOCKET instead of int and -1. …
(edit) @14241   7 years jordan Copyedit the license's revised text: (1) remove unnecessary repitition …
(edit) @14225   7 years jordan Licensing changes: 1. add the option the code to be used under GPLv2 …
(edit) @14224   7 years jordan (trunk) restore copyright year as suggested in email by rms
(edit) @13868   8 years jordan make all the log functions/structs/enums use a single 'tr_log' …
(edit) @13631   8 years jordan (trunk, libT) #5165: fix r13625 oops
(edit) @13625   8 years jordan Follow more common whitespace style conventions in the C code …
(edit) @13263   9 years jordan silence a compiler warning of implicitly casting the 3rd arg of …
(edit) @13259   9 years livings124 #4825 update libnatpmp to libnatpmp-20110808
(edit) @13199   9 years jordan (trunk) #4732 "allow switching between internal and system libnatpmp" …
(edit) @12225   10 years jordan (trunk libT) copyediting: remove a bunch of seemingly-unneeded network …
(edit) @12204   10 years jordan (trunk) #4138 "use stdbool.h instead of tr_bool" -- done.
(edit) @11709   10 years jordan Update the copyright year in the source code comments. The Berne …
(edit) @11599   10 years charles (trunk) Join the 21st century and use only 1 space at the end …
(edit) @11391   10 years charles (trunk libT) #3727 "Fix NAT-PMP race between renewal and expiry" -- …
(edit) @10945   10 years charles (trunk libT) #3383 "When port forwarding, check to see if the public …
(edit) @9868   11 years charles happy new year!
(edit) @9846   11 years charles (trunk libT) fix <assert.h> #includes
(edit) @9671   11 years charles (trunk) update the copyright notices
(edit) @9593   11 years charles (trunk libT) #2610 "avoid unnecessary calls to time(NULL)"
(edit) @9418   11 years charles (trunk libT) fix #2534: if port forwarding is disabled, …
(edit) @7658   12 years charles (trunk) update the GPL code's copyright dates
(edit) @7567   12 years charles (trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one
(edit) @7404   12 years charles updated email address
(edit) @7173   12 years charles use tr_bool instead of C bitfields. …
(edit) @7009   12 years charles (libT) #1402: T constantly maps and unmaps the NAT-PMP port
(edit) @6944   12 years charles remove dead code
(edit) @6795   12 years charles run libT, cli, daemon, gtk through the source-code formatter …
(edit) @6332   12 years charles better nat-pmp error logging. (this will very briefly break the mac build)
(edit) @5970   12 years charles #972: Update to the 2008/05/29 snapshot of libnatpmp
(edit) @5900   13 years charles more janitorial cleanup on the "tr_session*" namespace. Today's …
(edit) @5620   13 years charles silence a couple of annoying dbg messages
(edit) @5600   13 years charles #848: UPnP users always have to wait for NAT-PMP to fail first
(edit) @5592   13 years charles #864: crash on exit#864: crash on exit#864: crash on exit#864: crash …
(edit) @5585   13 years charles tidy up some libtransmission filenames.
(edit) @5521   13 years charles translators shouldn't have to translate debug messages
(edit) @5486   13 years charles fix one cause of slow shutdown: even if we weren't using natpmp, we …
(edit) @5313   13 years charles more string work before the freeze. (1) use %'d to get thousands' …
(edit) @5300   13 years charles yet more string massaging
(edit) @5293   13 years charles demote the nat-pmp `try again' message to dbg
(edit) @5290   13 years charles strings work: (1) folding similar strings together for easier …
(edit) @5279   13 years charles make the Port Forwarding error messages a little easier for beginners …
(edit) @5243   13 years charles #138: per-torrent messages#138: per-torrent messages#138: per-torrent …
(edit) @5224   13 years charles even more i18n string work, w/more feedback and reading through the …
(edit) @5221   13 years charles lots more i18n string work -- making strings more consistent, folding …
(edit) @5209   13 years charles more i18n work.
(edit) @5208   13 years charles more i18n strings work
(edit) @5193   13 years charles first cut at adding i18n hooks into libtransmission.
(edit) @5065   13 years charles cleanup #includes for errno & strerror
(edit) @4599   13 years charles mingw portability fixes: #includes in natpmp.c
(edit) @4548   13 years charles #598: fix openbsd alignment & #include issues reported by naddy
(edit) @4404   13 years charles set copyright info to 2008
(edit) @4176   13 years charles try to make the natpmp error messages yet more helpful. thanks to m1b …
(edit) @4175   13 years charles add messages asking the user to check & make sure that port forwarding …
(edit) @4157   13 years charles fix crash on shutdown on natpmp routers reported by SoftwareElves?
(edit) @4155   13 years charles follow Chinstrap's suggestion of waiting a small interval between …
(edit) @4154   13 years charles take pea_'s suggestion of not sending out natpmp/upnp discover …
(edit) @4140   13 years charles fix the 500ms remap reported by Chinstrap
(edit) @4092   13 years charles Use libnatpmp for port mapping. rewrite the upnp/natpmp manager. …
(edit) @4029   13 years charles use PMP_MCAST_ADDR, instead of a hardcoded address, in net.c
(edit) @4001   13 years charles housekeeping. revert r3984 at tiennou's request
(edit) @3984   13 years charles move tr_getDefaultRoute() to natpmp.c because it's the only code that …
(edit) @3775   13 years charles undoing the r3773-r3774 experiment.
(edit) @3773   13 years charles on Darwin, use NSCParameterAssert() instead of assert().
(edit) @3731   13 years charles use Thomas Bernard's miniupnp library instead of rolling our own.
(edit) @3707   13 years charles maybe fix portmapping
(edit) @3552   13 years charles fix OpenBSD build error.
(edit) @2619   13 years charles sync joshe's changes with win32
(edit) @2614   13 years joshe Use BEOS to test for beos instead of relying on the build to set …
(edit) @2591   13 years charles win32 cleanly compiles and starts now. (still doesn't atually *work*, …
(edit) @2576   13 years charles get the socket/net code working on win32 too
(edit) @2573   13 years charles continue whittling away at internal.h to reduce the global #include …
(edit) @2555   13 years charles add portability wrapper for in_port_t…
(edit) @2544   13 years charles this looks bug but it's not: just janitorial cleanup, moving #includes …
(edit) @2343   13 years joshe Change a couple functions to take an in_addr pointer instead of an …
(edit) @2311   13 years charles clean up #includes a bit.
(edit) @1730   14 years joshe Fix stupid, stupid mistake preventing frontend from seeing changed …
(edit) @1725   14 years joshe Fix port crap.
(edit) @1720   14 years joshe Don't try port mapping if binding the port fails.
(edit) @1529   14 years joshe Use memset instead of bzero.
(edit) @1463   14 years joshe Remove natpmp and upnp locks and rely on the shared lock.
(edit) @1460   14 years joshe Clean up NAT-PMP code a little. Correctly handle a NAT-PMP device …
(edit) @1443   14 years joshe When sending a nat-pmp packet, treat EHOSTDOWN as a temporary error.
(edit) @1434   14 years joshe Fix a case where NAT-PMP could falsely report a mapped port.
(edit) @1429   14 years joshe Fix stupid mistake.
(edit) @1425   14 years titer More simplifications
(edit) @1420   14 years titer Officially give up on making libT reentrant, and simplify our code instead
(edit) @1356   14 years titer Merge io branch into trunk
(copy) @920   14 years joshe Merge nat-traversal branch to trunk.
copied from branches/nat-traversal/libtransmission/natpmp.c:
(edit) @902   14 years joshe Treat a couple more NAT-PMP errors as temporary.
Note: See TracRevisionLog for help on using the revision log.