Re: Jailed Samba not getting broadcasts
- From: Nejc Škoberne <nejc@xxxxxxxxxxxx>
- Date: Thu, 24 Apr 2008 10:42:39 +0200
Hello Dewayne,
I have encountered a similar problem, when I configured a SAMBA PDC over the wan (through IPSEC of course). You might like to consider using these in your smb.conf:
hosts allow = 10.1. 10.2.
remote announce = 10.1.1.255 10.2.1.255
remote browse sync = 10.1.1.255 10.2.1.255
I have tried that, but no luck. Still can't resolve the NetBIOS name using
solely NetBIOS broadcasts.
If that doesn't solve the need, then perhaps you should modify /etc/devfs.rules in your base system, to behave a little more promiscuously, and include something like:
[devfsrules_samba_jail=6]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path bpf0 unhide
I also tried that. Of course I also configured "devfsrules_samba_jail" policy for
my jail. So now I can also tcpdump in my jail. But still, those broadcasts seem to
be ignored by samba (although I can see them with tcpdump). This works for you?
Note the latter opens a potential security hole if someone breaches samba jail, providing a means to tcpdump (...) your network
This is not a great concern for me since this will be running locally.
Thanks a lot for your help,
Nejc
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Jailed Samba not getting broadcasts
- From: Bjoern A. Zeeb
- Re: Jailed Samba not getting broadcasts
- Prev by Date: Re: read() returns ETIMEDOUT on steady TCP connection
- Next by Date: Re: Jailed Samba not getting broadcasts
- Previous by thread: Jailed Samba not getting broadcasts
- Next by thread: Re: Jailed Samba not getting broadcasts
- Index(es):
Relevant Pages
|