Commit Graph

61 Commits

Author SHA1 Message Date
Arvid Norberg bf7552a4cd merged upnp fixes from trunk to RC_0_13. Added some upnp logging 2008-02-19 18:50:04 +00:00
Arvid Norberg 72edfc2ee7 improved network interface enumeration and upnp device filtering 2008-01-11 06:49:37 +00:00
Arvid Norberg 695cd6407b remove use of strand 2008-01-08 05:47:43 +00:00
Arvid Norberg e05f396a5d made UPnP ignore devices that don't respond from a router IP (optional but on by default) 2008-01-07 05:48:28 +00:00
Arvid Norberg e5d1456c58 added a failcounter to upnp portmaps 2008-01-07 02:35:29 +00:00
Arvid Norberg 2050b03727 made upnp build without exception support 2007-12-29 23:14:59 +00:00
Arvid Norberg 6c42830f97 made http_parser not use exceptions 2007-12-29 18:24:50 +00:00
Arvid Norberg d5748419c1 fixed upnp bug when connecting without network 2007-12-24 08:18:53 +00:00
Arvid Norberg 1724ce5974 fixed bug in UPnP and added functionality to grab router model 2007-12-22 16:47:46 +00:00
Arvid Norberg 636d5f2005 upnp fixes and more debug asserts and more logging. Might fix #167 2007-10-26 00:47:30 +00:00
Arvid Norberg 966800cd5b replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert. 2007-10-05 00:30:00 +00:00
Arvid Norberg 973e7be386 added router_for_interface along with a proper windows implementation. NAT-PMP support is now good on windows 2007-10-01 17:21:19 +00:00
Arvid Norberg 0048f343cd upnp, natpmp and lsd now have proper lifetime management by using intrusive_ptr 2007-09-29 21:31:51 +00:00
Arvid Norberg d48236a738 changed http_parser slightly. uses http_parser in lsd.cpp. added more tests to the http_parser 2007-09-25 03:14:05 +00:00
Arvid Norberg 053f499ec6 better upnp support 2007-09-20 23:25:40 +00:00
Arvid Norberg fbac9f785a disabled loopback for upnp 2007-09-18 01:25:28 +00:00
Arvid Norberg e51d9b9590 upnp fix 2007-09-17 09:55:48 +00:00
Arvid Norberg 8cbc53074d upnp fix 2007-09-12 21:08:29 +00:00
Arvid Norberg 07ba2b8362 made upnp log the entire HTTP message sent to the router 2007-09-12 19:38:52 +00:00
Arvid Norberg 28be72e7b6 added ; for msvc-7.1 2007-09-10 06:56:30 +00:00
Arvid Norberg 0d02fe0539 upnp and lsd update. added a broadcast_socket and made the upnp connection use the locally bound ip to specify its address in the soap requests 2007-09-09 23:52:34 +00:00
Arvid Norberg fd42f3232b upnp more logging and error recovery 2007-09-01 04:08:39 +00:00
Arvid Norberg b626bd96d5 reverted fix in 1435 2007-08-08 21:02:35 +00:00
Arvid Norberg 2a9d68376d upnp fixes, improved upnp logging and error handling 2007-08-07 07:59:51 +00:00
Arvid Norberg 6b86e5faa3 fixed #109 2007-08-07 07:29:51 +00:00
Arvid Norberg 3a27e51720 fixed bug in recent UPnP change 2007-05-23 06:23:22 +00:00
Arvid Norberg cbd67ed729 added support for authentication in the url_parser and added a test for it 2007-05-22 20:44:18 +00:00
Arvid Norberg 8987d7077d refactoring in natpmp, upnp and lsd. made lsd (probably) work on windows 2007-05-17 02:54:13 +00:00
Arvid Norberg 633f174947 improved natpmp, upnp and lsd 2007-05-16 21:36:27 +00:00
Arvid Norberg 674e1f96b1 improved local IP guessing slightly 2007-05-16 18:58:31 +00:00
Arvid Norberg 1d68e10684 made it build in msvc by inserting ; at the end of function try blocks 2007-05-16 01:17:14 +00:00
Arvid Norberg 36898ecc12 added more logging to upnp. fixed upnp test 2007-05-14 08:56:46 +00:00
Arvid Norberg c5e150ee69 upnp fixes 2007-05-14 07:31:01 +00:00
Arvid Norberg acf973fe39 added exception handling to upnp 2007-05-10 18:00:10 +00:00
Arvid Norberg 25d38ff1fc fixed typo 2007-05-08 23:22:57 +00:00
Arvid Norberg 2b18189ef8 upnp fixes + logging 2007-05-08 18:02:10 +00:00
Arvid Norberg daa6534972 upnp fix. suggested by Massaroddel 2007-05-08 17:46:32 +00:00
Arvid Norberg 708202575f upnp fix 2007-05-08 11:10:05 +00:00
Arvid Norberg ce63e79758 cleaned up upnp error codes 2007-05-07 00:12:33 +00:00
Arvid Norberg b239eecc04 updates to upnp code 2007-05-05 22:06:26 +00:00
Arvid Norberg d320928e8f more upnp logging and made the upnp test build again 2007-05-05 20:00:28 +00:00
Arvid Norberg 49bd69cad4 introduced a proper half open TCP connection limit. Also exposed the connection queue to let clients use the same connection limiter as libtorrent. UPnP connections and tracker connection are now also limited as well as peer connections and web seeds 2007-05-05 00:29:33 +00:00
Arvid Norberg 328f335a4d fixed bug in latest upnp change 2007-05-04 17:39:44 +00:00
Arvid Norberg c7b4f49d5a moved initialization of multicast addresses from global initializers to local constructors to avoid WSAStartup issues on windows 2007-05-04 06:47:32 +00:00
Arvid Norberg 675781d604 upnp mapping is attempted after all broadcasts are complete. changed the logging configuration to log UPnP traffic with TORRENT_UPNP_LOGGING define 2007-05-04 05:34:03 +00:00
Arvid Norberg 90bff3d1ca Fixed building issues on windows with msvc-8.0 2007-04-17 21:18:35 +00:00
Arvid Norberg 0a32fffdfd exception fixes for UPnP and NAT-PMP. port fix for lsd 2007-04-14 15:51:36 +00:00
Arvid Norberg d88ffcc0e4 removed some more unecessary boost.date_time dependencies 2007-04-10 07:52:58 +00:00
Arvid Norberg 5be60cc125 upnp made destructor not sync.ing 2007-04-10 05:14:37 +00:00
Arvid Norberg 11136650d6 updates to multicast lsd and upnp 2007-04-09 21:59:40 +00:00