Commit Graph

1534 Commits

Author SHA1 Message Date
Thomas Bernard b4938b278d
miniupnpc-libuv: add Makefile and .gitignore 2019-02-12 15:35:56 +01:00
Thomas Bernard 2e0a8e63d3 Merge remote-tracking branch 'alkino/master' 2019-02-12 15:21:53 +01:00
Thomas Bernard e0b5b4efe6 linux/getifstats.c: use custom strtoul() implementation to roll over after 2^32-1
fixes #349

http://upnp.org/specs/gw/UPnP-gw-WANCommonInterfaceConfig-v1-Service.pdf
 2.2.9 2.2.10 2.2.11 2.2.12 :

    This variable represents the cumulative counter for total number
    of bytes sent upstream across all connection service instances on
    WANDevice. The count rolls over to 0 after it reaching the maximum
    value (2^32) –1
2019-02-12 15:10:49 +01:00
Thomas Bernard 61a18d6b02 getnameinfo() 2nd arg is socklen_t
fixes #350

also fix ressource leak
2019-02-12 14:26:01 +01:00
Thomas Bernard 3e32ea04c8 fix ssdpDiscoverDevices() when building for DEBUG under WIN32 2019-02-11 16:08:55 +01:00
Thomas Bernard 08e955de40 Update Changelogs + 2019 2019-02-10 16:11:16 +01:00
Thomas Bernard 30a89be85e
update miniupnpd/minixml.h 2019-02-10 16:10:07 +01:00
Thomas Bernard f61fbff5e0
minissdpd: update getifaddr.c/.h 2019-02-10 16:06:34 +01:00
Thomas Bernard 4e4edf244d
minissdpd: use upnp_gettimeofday() 2019-02-10 16:03:26 +01:00
Nicolas Cornu 9d574f6e79 minissdpc: add a libuv client 2019-02-07 14:34:55 +01:00
Thomas Bernard e94a724ae5 Merge remote-tracking branch 'sorz/install-nft-script'
see pull request #345
2019-02-04 19:39:35 +01:00
Shachar Menashe 51b5e09e04 miniupnpd: add secure compilation flags for Linux 2019-02-04 17:23:42 +02:00
Thomas Bernard 8d39d71e36 add "Ben Barnea of VDOO" to thanks list 2019-02-04 10:21:04 +01:00
Thomas Bernard f7d65cdaad
miniupnpd/netfilter/ipctcrdr.c: conditionnaly use NFC_UNKNOWN as well
fix #346
2019-02-03 19:04:44 +01:00
Thomas Bernard 6106111972
miniupnpd/netfilter: build with linux kernel 5.0
should fix #346
2019-02-03 13:26:27 +01:00
Thomas Bernard 2656f41c7a
miniupnpc: set timeout for select() in connecthostport() 2019-01-23 09:44:21 +01:00
Thomas Bernard 510a6e9630
fix check of valid HTTPS socket 2019-01-23 09:25:10 +01:00
sorz 031915f856
Install nftables scripts 2019-01-18 16:21:25 +08:00
Thomas Bernard e7d99e6b65
fix comment about parseMSEARCHReply() 2019-01-07 09:35:21 +01:00
Cameron Gutman aaa0ed8c86 ensure SSDP reply headers are not partial matches 2019-01-05 12:24:46 -08:00
Thomas Bernard 86030db849
fix error from commit 13585f15c7 2018-12-18 23:47:54 +01:00
Thomas Bernard cb8a02af7a
pcpserver.c: copyIPv6IfDifferent() check for NULL src argument 2018-12-18 23:04:14 +01:00
Thomas Bernard f321c2066b upnp_redirect(): accept NULL desc argument 2018-12-18 22:59:18 +01:00
Thomas Bernard 13585f15c7
GetOutboundPinholeTimeout: check args 2018-12-18 22:54:51 +01:00
Thomas Bernard bec6ccec63 upnp_event_prepare(): check the return value of snprintf() 2018-12-18 22:37:14 +01:00
Thomas Bernard cd506a67e1
updateDevice() remove element from the list when realloc fails 2018-12-18 20:23:47 +01:00
Steven Mestdagh 9066896195
avoid off-by-one buffer overread 2018-12-17 20:40:03 +01:00
Thomas Bernard 6b4e9bd855
upnpstun.c: fix generate_transaction_id() 2018-12-15 18:02:46 +01:00
Steven Mestdagh f6fc66ee41
avoid off-by-one buffer overread
similar to commit 9fcc0a72f0
2018-12-06 00:11:21 +01:00
Thomas Bernard e7fa40f60b
update INSTALL about running a NAT behind NAT setup.
also update 2017->2018
2018-10-31 18:33:56 +01:00
Thomas Bernard 6ae3445c2e
miniupnpcmodule.c: check return of WSAStartup() 2018-10-31 16:34:00 +01:00
Thomas Bernard 33de3996d7 Merge branch 'uwp_upnpc' 2018-10-31 16:30:56 +01:00
Thomas Bernard 4b87224e6f fix WIN32 warnings introduced in a31c86b8db 2018-10-31 16:26:01 +01:00
Brett 9638371244 Update renamed file in MSVC Project (#331) 2018-10-20 08:56:12 +02:00
Fabio Alessandrelli a31c86b8db Replace GetBestRoute with UWP-compatible API
Everything should still work with Windows XP as minimum version.
Those API are, according to Microsoft docs, compatible with XP.
2018-09-21 14:56:59 +02:00
Thomas Bernard bde31cd4f1 update miniupnpd/Changelog.txt 2018-09-07 17:28:42 +02:00
Thomas Bernard 95d707a71f
pcpserver.c: properly fill the opcode field of response
fixes #327
2018-09-07 17:24:43 +02:00
Pali Rohár a2baa36312 Fix compilation with nftables
Fixes #324
2018-09-06 17:44:41 +02:00
Thomas Bernard ab4559a432
Make testigddescparse work under Win32
fixes #325
Line endings are CRLF
2018-09-02 18:50:58 +02:00
irwir a7626af053 Fix conditions for Windows versions below Vista 2018-08-05 15:20:44 +03:00
Thomas Bernard 5ddf1e7edb
update miniupnpc README about MINIUPNP_STATICLIB 2018-08-03 02:52:10 +02:00
Thomas Bernard db4463e694 disable building of linux_nft
not available yet with travis-ci
2018-07-15 15:57:31 +02:00
Thomas Bernard cd94372942
gitlab-ci: add net-tools pkg for ifconfig command 2018-07-15 15:39:34 +02:00
Thomas Bernard 7806a58e78
add gitlab/framagit.org URL 2018-07-15 15:33:54 +02:00
Thomas Bernard f676144be7
gitlab-ci: also build miniupnpd for libnft
https://netfilter.org/projects/libnftnl/index.html
2018-07-15 14:30:18 +02:00
Thomas Bernard bdf8f50754 mingw32-gcc is i686-w64-mingw32-gcc 2018-07-15 14:22:19 +02:00
Thomas Bernard 7ae64999a8 gitlab-ci: make clean before cross building for windows 2018-07-15 14:17:09 +02:00
Thomas Bernard dc11f02d37
gitlab-ci: cross-compile miniupnpc for Win32 2018-07-15 14:11:31 +02:00
Thomas Bernard 8a2af6e9e6 gitlab-ci: add make and gcc packages
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-15 14:06:43 +02:00
Thomas Bernard 075064806b add a simple .gitlab-ci.yml file
see https://framagit.org/miniupnp/miniupnp
2018-07-15 13:58:47 +02:00