Commit Graph

316 Commits

Author SHA1 Message Date
Thomas Bernard 45db6b8b0f clean up 2012-02-09 21:34:44 +01:00
Thomas Bernard d7de40d8cd Make SSDP receive sockets non blocking
Also use sockaddr_to_string() in SendSSDPAnnonce2 to handle IPv6 addresses
2012-02-09 21:33:24 +01:00
Thomas Bernard edfce7672f Make HTTP listen socket non blocking (so accept() can't block) 2012-02-09 21:29:20 +01:00
Thomas Bernard 8dccc0d419 getifaddr.c: Add missign freeifaddrs() in find_ipv6_addr() 2012-02-09 00:33:06 +01:00
Thomas Bernard af60fee984 Make HTTP (SOAP) sockets non blocking 2012-02-07 01:26:15 +01:00
Thomas Bernard 0d0a50a084 upnputils.c/.h: add set_non_blocking() function 2012-02-07 00:18:05 +01:00
Thomas Bernard 994bd1391b Added -ansi compilation flag 2012-02-07 00:16:25 +01:00
Thomas Bernard 439ab615e3 fixed typos 2012-02-07 00:13:56 +01:00
Thomas Bernard 65e277883b options.c: Save a few bytes
Use a string repository, instead of a fixed size buffer for each option value.

Also check realloc() error
2012-02-05 01:31:27 +01:00
Thomas Bernard 4e79d6b983 Fixed a minor memory "leak"
The upnppermlist was not free'd before exiting...
2012-02-05 00:53:29 +01:00
Thomas Bernard 9ee74defc8 Compile miniupnpd OK with -ansi flag. 2012-02-05 00:40:50 +01:00
Thomas Bernard a0a1e45ac5 Added friendl_name= option to config file 2012-02-05 00:24:13 +01:00
Thomas Bernard 87a8a06640 automatic -lip4tc and -lip6tc in Makefile.linux
Added test of presence of /lib/libip4tc.so and /lib/libip6tc.so files in
Makefile.linux in order to add -lip4tc and -lip6tc to LIBS accordingly.
2012-02-03 16:12:22 +01:00
Thomas Bernard 8263cc243a Fixes a typo in help text 2012-02-03 15:40:54 +01:00
Thomas Bernard 841d938ca9 adding miniupnpdctl.txt file
This file surely needs to be updated !
2012-02-03 13:18:30 +01:00
Thomas Bernard 874283b36f Anchor name (PF) is now configurable through the config file with anchor= 2012-02-03 13:14:10 +01:00
Thomas Bernard 73ef11624a always handle EAGAIN, EWOULDBLOCK and EINTR after recv()/recvfrom() calls 2012-02-02 18:45:43 +01:00
Jardel Weyrich 567808b8cd Fix typo. 2012-02-01 22:47:22 -02:00
Thomas Bernard 691bc40bdd Changed WIN32 macro to _WIN32 2012-01-25 22:44:30 +01:00
Thomas Bernard 2542deb718 keep Changelog.txt files up to date. 2012-01-25 22:40:32 +01:00
Thomas Bernard 1f6ec953a1 disable HAS_IP_MREQN for Windows (_WIN32) 2012-01-25 22:35:16 +01:00
Thomas Bernard e09da9f860 update README files 2012-01-25 22:33:08 +01:00
Alexey Kuznetsov 3e9a5d8ce6 add linux prefix 2012-01-25 14:07:02 +04:00
Alexey Kuznetsov cb29843506 drop snapshot prefix 2012-01-25 14:05:01 +04:00
Alexey Kuznetsov ee9a7072bd read version from file 2012-01-25 13:57:46 +04:00
Alexey Kuznetsov d63a51b9a9 Merge remote-tracking branch 'miniupnp/master' 2012-01-24 09:52:45 +04:00
Alexey Kuznetsov 40e53a9a10 update ignore 2012-01-24 03:28:59 +04:00
Alexey Kuznetsov db7a700a4a add mvn_install command 2012-01-24 03:14:43 +04:00
Thomas Bernard 35e25ab375 Replaced WIN32 macro by _WIN32 2012-01-21 14:38:38 +01:00
Thomas Bernard 86c20047ee updated Changelog.txt following merge of Alexey Kuznetsov branches 2012-01-21 14:37:07 +01:00
Thomas Bernard 04d13c7152 always #include <netinet/in.h> before <arpa/inet.h> 2012-01-20 23:09:40 +01:00
Thomas Bernard b30d2f8edc Support for OpenBSD 5.0
.onrdomain field was added in ps with OpenBSD 5.0.
Add PFRULE_HAS_ONRDOMAIN
2012-01-20 23:00:37 +01:00
Thomas Bernard c07408ef1f Always #include <netinet/in.h> before #include <arpa/inet.h> (for OpenBSD) 2012-01-20 22:55:43 +01:00
Thomas Bernard dd7273c6d5 Tomato specifics in genconfig.sh 2012-01-20 22:53:15 +01:00
Thomas Bernard d24eaf9158 Merge branch 'feature-debbuild' of https://github.com/axet/miniupnp 2012-01-19 12:45:06 +01:00
Thomas Bernard e824f0ccad Merge branch 'fix-javatest' of https://github.com/axet/miniupnp 2012-01-19 12:33:50 +01:00
Thomas Bernard 7dee9f77e6 disable HAS_IP_MREQN under Mac OS X and NetBSD. 2012-01-19 12:32:25 +01:00
Thomas Bernard 1cdee24b01 make miniupnpcstrings.h depend on VERSION 2012-01-19 12:31:42 +01:00
Alexey Kuznetsov 61ffe81818 install helpers 2012-01-18 21:37:00 +04:00
Alexey Kuznetsov 44f65308f3 add deb build make targets 2012-01-18 21:32:28 +04:00
Alexey Kuznetsov 5928430789 add new interface imports 2012-01-18 21:04:27 +04:00
Alexey Kuznetsov 3b39594518 fix CP on test script 2012-01-18 21:04:17 +04:00
Alexey Kuznetsov a11b75fcdf switch to jnaerator-0.9.7.jar 2012-01-18 21:03:52 +04:00
Alexey Kuznetsov 60c30eef22 add jnaerator auto download 2012-01-18 20:51:22 +04:00
Alexey Kuznetsov 2f974e7e6e fix discover method 2012-01-18 20:47:15 +04:00
Thomas Bernard 3917487cb4 The multicast interface can now be specified by name with IPv4 2012-01-07 11:40:50 +01:00
Thomas Bernard e6a2c788f4 added header to Port Mappings list in upnpc.c 2012-01-07 11:37:16 +01:00
Thomas Bernard 368e232179 MINIUPNPC_VERSION in miniupnpc.h (updated by make) 2012-01-07 11:35:45 +01:00
Thomas Bernard f567e229d8 Makefile : make clean now removes jnaerator generated files 2012-01-07 11:33:21 +01:00
Thomas Bernard c29468dd05 Merge branch 'master' of https://github.com/ville-k/miniupnp 2012-01-02 11:36:05 +01:00