miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

parsing error lease_file

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
zamir



Joined: 01 Mar 2010
Posts: 16

PostPosted: Wed Mar 10, 2010 6:22 pm    Post subject: parsing error lease_file Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1497

PostPosted: Thu Mar 11, 2010 11:06 am    Post subject: Reply with quote

enable ENABLE_LEASEFILE #define in config.h if you want to use the lease file.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
zamir



Joined: 01 Mar 2010
Posts: 16

PostPosted: Thu Mar 11, 2010 7:23 pm    Post subject: Reply with quote

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? Smile

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1497

PostPosted: Sun Jan 02, 2011 10:59 pm    Post subject: Reply with quote

Were some redirections added by UPnP during your test ?
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.