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
Thomas Bernard
691bc40bdd
Changed WIN32 macro to _WIN32
2012-01-25 22:44:30 +01:00
Thomas Bernard
e09da9f860
update README files
2012-01-25 22:33:08 +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
c29468dd05
Merge branch 'master' of https://github.com/ville-k/miniupnp
2012-01-02 11:36:05 +01:00
Thomas Bernard
8f68347464
added additional checks on structure returned by getifaddrs()
2012-01-02 11:12:52 +01:00
Thomas Bernard
63a83f8a0a
Fixing netfilter/iptables_*.sh scripts for new ifconfig output format
...
see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2623
2012-01-02 10:58:02 +01:00
Ville Kallioniemi
e8c488f9e1
UUID generation for the default config file was
...
not working on the mac. Man page was getting
installed to the the wrong location.
* change to always use uuidgen (available on all
osx releases)
* fix regex to match uuidgen's uuid format which
contains capital letters
* fix mac man page install directory
* make mac clean target delete the generated launchd config file
2011-12-31 01:21:58 -07:00
Ville Kallioniemi
7582b0e506
Mac install target for the upnp daemon was trying
...
to install files that don't exist and launchd
config file had hardcoded paths.
* commented out code that was trying to install
files/scripts that don't exist
* added a make target for generating launchd
config file with accurate install paths
* enabled installing man page
2011-12-31 01:20:51 -07:00
Thomas Bernard
24065dbaba
Replaced SendResp_upnphttp()+CloseSocket_upnphttp() by SendRespAndClose_upnphttp()
2011-11-18 12:23:16 +01:00
Thomas Bernard
0ff86e4975
avoid infinite loop in SendResp_upnphttp() in case of error
2011-11-18 12:15:24 +01:00
Thomas Bernard
ba27a5b5d9
Replaced hyphens by minus in man pages
2011-10-09 17:50:09 +02:00
Thomas Bernard
e667e962ac
Added relevant .gitignore files
2011-09-30 09:59:34 +02:00
Thomas Bernard
0d96346588
Adding miniupnpd
2011-09-28 21:13:20 +02:00