Bug 234849 - net/rinetd allow deny
Summary: net/rinetd allow deny
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-11 09:57 UTC by Aleks
Modified: 2019-02-26 15:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleks 2019-01-11 09:57:54 UTC
FreeBSD 11.1-STABLE #0 r332428

with such settings is not working !!!


# cd /usr/ports/net/rinetd && make install clean
# echo 'rinetd_enable="YES"' >> /etc/rc.conf
#sockstat
#allow 192.168.2.122           #...... ... .... .......... ....
logcommon                      #... ... .....
logfile /var/log/rinetd.log    #.......... ... ... ....

???????
allow 192.168.*.*
allow 192.168.3.*
allow 192.168.31.*
deny 224.*.*.*
deny 172.16.*.*
deny 172.16.*.*
deny 10.*.*.*
deny 169.254.*.*
????????


********
****
Comment 1 Renato Botelho freebsd_committer 2019-02-25 13:47:41 UTC
Could you please elaborate a bit. What is the content of your config? What errors are you seeing?
Comment 2 Aleks 2019-02-26 10:57:30 UTC
# cd /usr/ports/net/rinetd && make install clean
# echo 'rinetd_enable="YES"' >> /etc/rc.conf
#sockstat
#allow  194.44.221.30     #... ..... . ...... IP ..... .....
#allow 192.168.2.122           #...... ... .... .......... ....
logcommon                      #... ... .....
logfile /var/log/rinetd.log    #.......... ... ... ....


#allow 192.168.*.*
#allow 192.168.3.*
#allow 192.168.31.*
#deny 192.*.*.*
#deny 224.*.*.*
#deny 172.16.*.*
#deny 172.16.*.*
#deny 10.*.*.*
#deny 169.254.*.*

# ....... ... .........
# ........... . ........ .. yyy.yyy.yyy.yyy .. 192.168.1.2 .... 3389
# 0.0.0.0 3839  192.168.3.21 3389 #
0.0.0.0 2222  192.168.3.70 22 #

#0.0.0.0 3222  192.168.3.2 22 #
0.0.0.0 3222  192.168.3.86 22 #
0.0.0.0 8888  192.168.3.107 8888 #
0.0.0.0 10222  192.168.3.10 22 #
Comment 3 Renato Botelho freebsd_committer 2019-02-26 14:38:23 UTC
and what is exactly the error you are facing?
Comment 4 Aleks 2019-02-26 15:49:48 UTC
The error is invisible.
but does not work with such rules

allow 192.168. *. *
allow 192.168.3. *
allow 192.168.31. *
deny 192. *. *. *
deny 224. *. *. *
deny 172.16. *. *
deny 172.16. *. *
deny 10. *. *. *
deny 169.254. *. *