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 

FreeBSD 7, Xbox 360, miniupnpd
Goto page Previous  1, 2
 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP
View previous topic :: View next topic  
Author Message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Wed Oct 29, 2008 8:03 pm    Post subject: Reply with quote

jedinite wrote:
My syslog.conf
Code:
*.err;kern.warning;auth.notice;mail.crit                /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err   /var/log/messages
security.*                                      /var/log/security
auth.info;authpriv.info                         /var/log/auth.log
mail.info                                       /var/log/maillog
lpr.info                                        /var/log/lpd-errs
ftp.info                                        /var/log/xferlog
cron.*                                          /var/log/cron
*.=debug                                        /var/log/debug.log
*.emerg                                         *
!startslip
*.*                                             /var/log/slip.log
!ppp
*.*                                             /var/log/ppp.log


Well some of the message that interest us are in /var/log/message but not all...
I advise you to "#define LOG_MINIUPNPD LOG_LOCAL0" in config.h and then add a line
Code:
local0.*  /var/log/miniupnpd
in /etc/syslog.conf. dont forget to touch /var/log/miniupnpd before restarting syslogd and then all interesting messages will end in that file Smile
run miniupnpd with -d flag to have all messages.
jedinite wrote:

Is there a list of command line options somewhere?

for miniupnpd ?
Code:

$ ./miniupnpd
Usage:
        ./miniupnpd [-f config_file] [-i ext_ifname] [-o ext_ip]
                [-a listening_ip] [-p port] [-d] [-L] [-U] [-S] [-N]
                [-u uuid] [-s serial] [-m model_number]
                [-t notify_interval] [-P pid_filename]
                [-B down up] [-w url]

Notes:
        There can be one or several listening_ips.
        Notify interval is in seconds. Default is 30 seconds.
        Default pid file is /var/run/miniupnpd.pid.
        With -d miniupnpd will run as a standard program.
        -L sets packet log in pf and ipf on.
        -S sets "secure" mode : clients can only add mappings to their own ip
        -U causes miniupnpd to report system uptime instead of daemon uptime.
        -B sets bitrates reported by daemon in bits per second.
        -w sets the presentation url. Default is http address on port 80

jedinite wrote:

Also if there are rules like

Code:
rdr on $ext_if inet proto udp from any to any port 88 -> $comp2
rdr on $ext_if inet proto { tcp, udp } from any to any port 3074 -> $comp2

pass in quick on $ext_if inet proto udp from any to $comp2 port 88 keep state
pass in quick on $ext_if inet proto {tcp, udp} from any to $comp2 port 3074 keep state


and then miniupnpd has a request for those ports to be maped, and another for them to me unmapped will the orignal rule in the pf.conf remain or be cleared? I think the xbox is unmaping them after it maps, I need to get miniupnpd logging every action to file to see.

Miniupnpd does not touch anything outside the anchors miniupnpd
_________________
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 -> NAT/UPnP All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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.