View previous topic :: View next topic |
Author |
Message |
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Wed Mar 10, 2010 6:22 pm Post subject: parsing error lease_file |
|
|
parsing error file /etc/miniupnpd/miniupnpd.conf line 37 : lease_file=/var/log/upnp.leases
# cat /etc/miniupnpd/miniupnpd.conf |grep lease
Code: | # lease file location
lease_file=/var/log/upnp.leases |
miniupnpd-1.4.20100308 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Mar 11, 2010 11:06 am Post subject: |
|
|
enable ENABLE_LEASEFILE #define in config.h if you want to use the lease file. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Thu Mar 11, 2010 7:23 pm Post subject: |
|
|
ok.
recompile
test fail
# touch /var/spool/upnp.leases
# ls -l /var/spool/upnp.leases
-rw-r--r-- 1 root root 0 2010-03-11 22:17 /var/spool/upnp.leases
# /etc/init.d/miniupnpd start
Starting miniupnpd: [ OK ]
# ls -l /var/spool/upnp.leases
ls: cannot access /var/spool/upnp.leases: No such file or directory
Where the file?
my config:
# cat /etc/miniupnpd/miniupnpd.conf |grep -v ^# |grep -v ^$
Code: | ext_ifname=eth0.28
listening_ip=10.76.255.65/27
port=0
enable_natpmp=yes
enable_upnp=no
upnp_forward_chain=upnpd
upnp_nat_chain=upnpd
lease_file=/var/spool/upnp.leases
bitrate_up=1000000
bitrate_down=10000000
secure_mode=no
system_uptime=yes
notify_interval=60
clean_ruleset_interval=600
uuid=a7248a3b-a613-45f2-96fa-0567fa6f93b2
serial=12345678
model_number=1
allow 1024-65535 192.168.0.0/24 1024-65535
allow 1024-65535 192.168.1.0/24 1024-65535
allow 1024-65535 192.168.0.0/23 22
allow 12345 192.168.7.113/32 54321
deny 0-65535 0.0.0.0/0 0-65535 |
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Sun Jan 02, 2011 10:59 pm Post subject: |
|
|
Were some redirections added by UPnP during your test ? _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|