Bug 197477 - net/opentracker: Does not allow to change bind/listen IP
Summary: net/opentracker: Does not allow to change bind/listen IP
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Chris Rees
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-02-09 11:23 UTC by matorola
Modified: 2017-08-13 14:28 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (crees)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matorola 2015-02-09 11:23:45 UTC
When I try to specify bind/listen ip address via config file (/usr/local/etc/opentracker/opentracker.conf) or via command line, I always get message "V6 Tracker is V6 only!" and it doesn't start.

for example (default configuration file, without any uncommented directives) :

# egrep -cv "^#|^$" /usr/local/etc/opentracker/opentracker.conf
0

# /usr/local/bin/opentracker -i 127.0.0.1 -p 6969 -P 6969 -f /usr/local/etc/opentracker/opentracker.conf
V6 Tracker is V6 only!

# /usr/local/bin/opentracker -i 127.0.0.1 -f /usr/local/etc/opentracker/opentracker.conf                
V6 Tracker is V6 only!


but it does allow to change ports:

# /usr/local/bin/opentracker -p 6969 -P 80 -f ../opentracker/opentracker.conf
(runs in foreground)

But configuration file does not allow to specify port values without IP address, and it returns error on a try, for example:

# echo listen.tcp_udp 127.0.0.1:6969 > /usr/local/etc/opentracker/opentracker.conf

# /usr/local/bin/opentracker  -f /usr/local/etc/opentracker/opentracker.conf
V6 Tracker is V6 only!


Currently, I have to change start script /usr/local/etc/rc.d/opentracker to honor command line arguments from a newly defined variable from /etc/rc.conf.
Comment 1 Chris Rees freebsd_committer freebsd_triage 2017-08-13 14:27:57 UTC
Hey, I'm really sorry I missed this one!

Please let me know if the new version fixes it...

Chris
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-08-13 14:28:23 UTC
A commit references this bug:

Author: crees
Date: Sun Aug 13 14:27:28 UTC 2017
New revision: 447894
URL: https://svnweb.freebsd.org/changeset/ports/447894

Log:
  Update to latest git-- 9c7be324f5a4306dd81eab2f982f87e2c42ffdf1

  PR:		ports/197477

Changes:
  head/net/opentracker/Makefile
  head/net/opentracker/distinfo
  head/net/opentracker/files/patch-Makefile
  head/net/opentracker/files/patch-ot_accesslist.c