Commit Graph

1167 Commits

Author SHA1 Message Date
Thomas Bernard 0cf182e51e miniupnpd: remove int_if_name, use ip_mreqn if available 2015-08-25 20:33:47 +02:00
Timothy Redaelli 138ec9e972 miniupnpd: Bind to device
This is needed when you have two interfaces with the same IP address
(for example using tinc)
2015-08-21 16:05:26 +02:00
Thomas Bernard d31a7a23c3 travis CI: make pythonmodule 2015-08-17 16:24:56 +02:00
Thomas Bernard cdb23ff377 python module: change UPnP_discover() invocation
fixes #148
2015-08-17 16:22:03 +02:00
Thomas Bernard fd8e8e7593 miniupnpc: Also accept "Up" as ConnectionStatus value 2015-08-16 22:10:48 +02:00
Thomas Bernard 8ec33b7691 add -f command line option to filter for a specific device type
fixes #138
2015-08-06 16:07:33 +02:00
Thomas Bernard 6ddb505f68 minissdpd: disable multicast loop 2015-08-06 16:07:07 +02:00
Thomas Bernard 8e5d55a7e8 minissdpd: Version 1.4 2015-08-06 15:20:39 +02:00
Thomas Bernard aefeada189 minissdpd: added command 0 (version) 2015-08-06 15:20:30 +02:00
Thomas Bernard 1c84e560ac minissdpd: add "make check" 2015-08-06 12:21:56 +02:00
Konstantin Tokarev a95c501959 Use MINISSDPC_* error codes instead of UPNPDISCOVER_*. 2015-08-04 14:15:56 +03:00
Konstantin Tokarev 353f101655 Moved SSDP discovery code into minissdpc.c 2015-08-03 20:09:26 +03:00
Konstantin Tokarev fd65c0a9df Moved UPNPDev definition to separate header. 2015-08-03 20:09:26 +03:00
Thomas Bernard b55ecd70ef miniupnpc: mem leaks fixes. 2015-07-30 01:10:03 +02:00
Thomas Bernard 02a4050ae8 Merge commit '1542d55a2cfc2152fb1d450a101edb7ea2639695' 2015-07-30 00:11:02 +02:00
Thomas Bernard d9b25c25c0 miniupnpc: declspec.h => miniupnpc_declspec.h 2015-07-30 00:03:58 +02:00
Thomas Bernard 24e0ba6bd4 Travis CI : make check inside script: 2015-07-29 23:59:25 +02:00
Thomas Bernard 4cad722f38 testminissdpd.c: store result of write() 2015-07-29 23:50:08 +02:00
Thomas Bernard 8beb3c8f49 travis CI : add 'make install' 2015-07-29 23:45:24 +02:00
Yuriy M. Kaminskiy 1542d55a2c minissdpd: Fix compiler warning
Same as a93028913c for miniupnpd
2015-07-26 16:26:00 +03:00
Thomas Bernard 1da63faa4f miniupnpc: add ttl argument to upnpDiscover() functions
increments API_VERSION to 14
2015-07-23 22:44:37 +02:00
Thomas Bernard 20efc8f03e 2015 2015-07-23 22:44:03 +02:00
Thomas Bernard f9b53898e7 add link to Travis CI 2015-07-23 19:18:49 +02:00
Thomas Bernard e145efe36a Update list... still some are missing :) 2015-07-23 19:16:49 +02:00
Thomas Bernard 507c664706 miniupnpc/Changelog.txt: update 2015-07-23 19:16:20 +02:00
Konstantin Tokarev 7ccbdb6511 Report more error kinds from minissdpc functions. 2015-07-23 16:23:39 +03:00
Konstantin Tokarev f29b026f38 Use /var/run/minissdpd.sock as default socketpath in connectToMiniSSDPD(). 2015-07-23 16:22:54 +03:00
Konstantin Tokarev cffba15387 Split getDevicesFromMiniSSDPD into 4 steps to allow reuse of local socket.
It allows allows client application to use event loop instead of blocking
in read() while waiting for server reply.
2015-07-23 16:22:23 +03:00
Konstantin Tokarev 2c56ffceeb Fixed typo in setsockopt invocation which sets TTL. 2015-07-23 12:40:42 +03:00
Thomas Bernard af2ec81f14 Merge branch 'read_usn' 2015-07-22 23:50:44 +02:00
Thomas Bernard 963eefcae5 miniupnpc.c: dont break if USN is not set
USN is mandatory, but don't break if the packet don't follow the standard and misses USN: header
2015-07-22 23:46:44 +02:00
Thomas Bernard bfc7c4f042 listdevices.c: print both ST: and USN: 2015-07-22 23:37:40 +02:00
Thomas Bernard 1dcab82a7b check memory allocation
see a3179fb284
2015-07-22 15:53:07 +02:00
Thomas Bernard 4be2f4c9b5 miniupnpc-libevent: set multicast TTL to 2 2015-07-22 15:52:33 +02:00
Thomas Bernard 1512081a40 Travis CI:
removed git: depth: 1: this could break non-HEAD builds
interchange env: and compiler: sections
make -j3
make check in after_success: section
2015-07-22 15:06:53 +02:00
Thomas Bernard 151b16a1ed miniupnpc.c: set multicast TTL to 2 by default 2015-07-22 15:00:01 +02:00
Konstantin Tokarev eb74f5c886 Read USN from SSDP messages. 2015-07-22 12:08:52 +03:00
Thomas Bernard ed4a01d2d6 minissdpd: set multicast TTL to 2 by default and configurable
fixes #140
2015-07-21 17:40:51 +02:00
Thomas Bernard d456889b52 miniupnpc: renamed declspec.h in order to avoid conflicts 2015-07-21 12:39:40 +02:00
Thomas Bernard 6a2912c6a4 Travis CI : legacy => container-based infrastructure 2015-07-21 12:15:06 +02:00
Thomas Bernard 5aa2181336 testigddescparse.c: check fread() return value 2015-07-21 12:02:10 +02:00
Thomas Bernard 7ee1dd097c execute "make check" in travis 2015-07-21 11:54:30 +02:00
Chocobo1 3e449c3195 Hookup with Travis CI
Conflicts:
	README.md
2015-07-21 11:45:43 +02:00
Thomas Bernard 29b1201c8e Merge remote-tracking branch 'Chocobo1/compile_fix' 2015-07-20 11:01:51 +02:00
Chocobo1 d78ccf931a Fix compilation on TravisCI 2015-07-19 21:36:09 +08:00
Thomas Bernard 6db99a1a40 use mktemp properly ?
-t option to put in /tmp dir
2015-07-16 17:16:52 +02:00
Thomas Bernard 904399cd62 => (c) 2015 2015-07-16 17:16:09 +02:00
Thomas Bernard 07cc6215b5 minissdpd/getifaddr.c: fix strncpy() call 2015-07-16 17:15:36 +02:00
Thomas Bernard d02b1d4ec3 genconfig.sh: 2014 => 2015 2015-07-15 18:13:01 +02:00
Thomas Bernard 81d03ad41d DECODELENGTH_READ 2015-07-15 18:11:27 +02:00