edrikk
70a2eee3e2
Define "TOMATO" in Tomato portion of config file creation
...
Define "TOMATO" in Tomato portion of config file creation
2015-06-09 15:53:11 -04:00
Thomas Bernard
76f52c81de
fixes 5c6a140098
2015-06-09 17:20:30 +02:00
Thomas Bernard
df85522c73
miniupnpd/miniupnpd.c: commenting #endif + minor cleaning
2015-06-09 15:13:25 +02:00
edrikk
ec0707d559
Add Tomato modifications exactly as is, wrapped by ifdef TOMATO
...
Add Tomato modifications exactly as is in Tomato firmware, wrapped by #ifdef TOMATO so that it is dormant in base miniupnpd.
This will ease merging upstream changes back to Tomato.
2015-06-05 23:19:52 -04:00
edrikk
9fe747894c
Drop log severity level to reduce verbosity
...
Dropping syslog message severity from WARNING to INFO.
Tomato makes this change each update, to reduce verbosity. This change will allow for easier merging of upstream changes back into Tomato.
2015-06-05 22:31:28 -04:00
edrikk
bc69cece0e
Add client address to syslog message
...
Align with Tomato, to ease merges back downstream.
Adds client address to syslog message, corrects typo "inexpectedly" -> "unexpectedly"
2015-06-05 22:27:20 -04:00
edrikk
2c8e3c1fc2
Align with active Tomato builds genconfig.sh entry
...
The current active Tomato builds do not incorporate these two lines. Removing to ease merging upstream changes.
Toastman:
http://repo.or.cz/w/tomato.git/blob/refs/heads/Toastman-RT-N:/release/src/router/miniupnpd/genconfig.sh#l249
Shibby:
f799186a9d/release/src-rt-6.x.4708/router/miniupnpd/genconfig.sh
?at=shibby-arm#cl-265
2015-06-05 22:14:47 -04:00
Thomas Bernard
a43beeccf1
fix minor typo
2015-05-27 15:31:49 +02:00
Thomas Bernard
55752518f0
minissdpd/README: update README
2015-05-27 11:01:13 +02:00
Thomas Bernard
4f51356fc3
minissdpd/testminissdpd.c: add compatibility with old minissdpd versions
2015-05-27 10:49:06 +02:00
Thomas Bernard
a48fbe86f2
minissdpd/testminissdpd.c: improve large buffer support
...
update 122617e5a6
2015-05-27 10:48:05 +02:00
Thomas Bernard
210851edc2
minissdpd/testminissdpd.c: minor comment/log changes
2015-05-27 10:41:37 +02:00
Thomas Bernard
68f819d58a
Merge remote-tracking branch 'tedshroyer/master'
...
PR #122
2015-05-27 09:50:49 +02:00
ted shroyer
122617e5a6
Update test for to support larger buffer size
2015-05-26 14:32:39 -05:00
ted shroyer
72f09b6582
Using setting for unix socket response buffer size
...
On networks with about 200 upnp devices, search type 3 (all) truncates the full response. Adding a configuration setting that allows for building minissdpd to have a larger buffer for the response.
2015-05-26 14:31:18 -05:00
ted shroyer
0c2ea99a32
Add setting for unix socket response buffer size
...
On networks with about 200 upnp devices, search type 3 (all) truncates the full response. Adding a configuration setting that allows for building minissdpd to have a larger buffer for the response.
2015-05-26 11:50:14 -05:00
Thomas Bernard
5459ab79cb
Merge remote-tracking branch 'tedshroyer/master'
...
Update minissdpd.init.d.script
2015-05-22 12:54:22 +02:00
Thomas Bernard
a2adfcd05d
miniupnpc/miniupnpc.c: don't wait several times for the timeout in upnpDiscoverDevices()
2015-05-22 12:44:38 +02:00
Thomas Bernard
0bf168d306
miniupnpc.c: minor comment reformatting
2015-05-22 12:27:38 +02:00
Thomas Bernard
fce3099080
miniupnpc/listdevices.c: add -l option to search for several dev types
2015-05-22 12:26:54 +02:00
Thomas Bernard
5c6a140098
miniupnpc: add searchalltypes param to upnpDiscoverDevices()
...
increase API_VERSION to 13
2015-05-22 12:25:51 +02:00
ted shroyer
f4f21897e2
Update minissdpd.init.d.script
2015-05-18 15:53:17 -05:00
Nevo Hed
94a5af0c15
Allow user to explicitly specify local (source) port
...
See https://github.com/miniupnp/miniupnp/issues/119
- Replace the sameport parameter to the upnpDiscover* functions
- Added constants UPNP_LOCAL_PORT_ANY(0) & UPNP_LOCAL_PORT_SAME(1). The
value "1" was chosen for presumed backwards compatability with the
previous "sameport" parameter (assuming usesr would have set to 1 if
they wanted same port)
- Can be specified with "-z" to the test programs "upnpc" & "pymoduletest.py"
2015-05-12 19:05:48 -04:00
Nevo Hed
f11b8b2a0d
Init accepts multicastif, minissdpdsocket, discoverdelay
...
+ Created initialize for the UPnP class. Initializer accepts named
arguments to override defaults.
+ multicastif & minissdpdsocket ars strduped and thus freed in the dealloc
(tho could/should they be native py objects instead?)
+ The pymoduletest.py test has been modified to support these but I only
tested multicastif & discoverdelay.
2015-05-06 13:12:43 -04:00
Nevo Hed
82969aec1d
Wrong field mapped for minissdpdsocket
2015-05-05 13:16:10 -04:00
Thomas Bernard
5ec6fa2953
Merge branch 'nft_support'
...
Add linux/nftables project thanks to Tomofumi Hayashi
https://github.com/s1061123
2015-04-30 10:52:30 +02:00
Thomas Bernard
01eb15af3d
Adding linux/nftables support
2015-04-30 10:52:11 +02:00
Thomas Bernard
42a5e2ae22
Merge remote-tracking branch 's1061123/nft_support' into nft_support
...
Conflicts:
miniupnpd/Makefile.linux_nft
miniupnpd/netfilter_nft/README.md
miniupnpd/netfilter_nft/nftnlrdr.c
miniupnpd/netfilter_nft/nftnlrdr_misc.c
2015-04-30 10:49:11 +02:00
Thomas Bernard
9b9c7dfe1d
upnpc: output version on the terminal
2015-04-30 10:34:22 +02:00
Thomas Bernard
c7943b6db3
upnpc.c: output Version on the terminal
...
fixes #115
2015-04-30 10:31:53 +02:00
Tomofumi Hayashi
8fedfdc4ae
Fix compiler warning.
2015-04-28 17:23:09 +09:00
Tomofumi Hayashi
a39365279c
Fix d_printf() compile error.
2015-04-28 17:22:46 +09:00
Tomofumi Hayashi
af3ac20395
Change printf to d_printf (only valid in case of -DDEBUG)
2015-04-28 17:13:09 +09:00
Tomofumi Hayashi
79d4028a93
Change message.
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
7948b7d754
Fix SEGV issue (due to invalid memory alloc case).
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
101c443192
Update README.md
...
Fix format.
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
73f02afca9
Remove .travis.yml and rename README.md
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
34af65bcbb
Run TravisCI
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
e0f40cb9bb
Run TravisCI
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
5777a3815a
Run travisCI
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
c69f9692ed
TravisCI run.
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
23ab4d3cd7
TravisCI
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
af1babcb96
TravisCI
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
2e3347c405
TravisCI test.
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
8f690c179f
TravisCI try.
2015-04-28 17:13:08 +09:00
Tomofumi Hayashi
305e30d16f
Add sudo too.
2015-04-28 17:13:07 +09:00
Tomofumi Hayashi
acbf58fa2d
Add 'sudo' in apt-get
2015-04-28 17:13:07 +09:00
Tomofumi Hayashi
58221018e3
Change travisCI.
2015-04-28 17:13:07 +09:00
Tomofumi Hayashi
e167cc1675
Move travisCI to top.
2015-04-28 17:13:07 +09:00
Tomofumi Hayashi
1e97b408f1
First commit for travisCI.
2015-04-28 17:13:07 +09:00