Netgroup using LDAP in FreeBSD 11.1

2018-02-06 Thread zjlinickey
Hi We try to use netgroup and backend is LDAP. We use nss-pam-ldapd, it contains nss_ldap, pam_ldap and nslcd. passwd and group have been impelemented in nslcd, and work ok. But nslcd looks like not impelement function __nss_compat_getnetgrent_r in FreeBSD. There in only __nss_compat_getgrent_r in

Netgroup using LDAP in FreeBSD 11.1

2018-02-06 Thread zjlinickey
Hi We try to use netgroup and backend is LDAP. We use nss-pam-ldapd, it contains nss_ldap, pam_ldap and nslcd. passwd and group have been impelemented in nslcd, and work ok. But nslcd looks like not impelement function __nss_compat_getnetgrent_r in FreeBSD. There in only __nss_compat_getgrent_r in

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
> On 6 Feb 2018, at 22:47, Eugene Grosbein wrote: > > Well, that explains everything. You should use "vlan and not port 22" and > "vlan and host X.X.X.X" > (same without "not") when filtering vlan-tagged traffic as documented in the > pcap-filter(7) manual page > or else you get wrong results

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Eugene Grosbein
07.02.2018 5:26, David Athay wrote: >> 802.1Q vlan header can be a reason for exactly such behaviour. >> Please add -e flag to tcpdump flags and post output again. > > # /usr/local/sbin/tcpdump -eni igb0 not port 22 |less > tcpdump: verbose output suppressed, use -v or -vv for full protocol decod

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
> On 6 Feb 2018, at 22:19, Eugene Grosbein wrote: > > 07.02.2018 5:10, David Athay wrote: > >> # /usr/local/sbin/tcpdump --version >> tcpdump version 4.9.0 >> libpcap version 1.8.1 >> OpenSSL 1.0.2n-freebsd 7 Dec 2017 >> >> Still same weirdness. >> >> # /usr/local/sbin/tcpdump -ni igb0 not p

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Eugene Grosbein
07.02.2018 5:10, David Athay wrote: > # /usr/local/sbin/tcpdump --version > tcpdump version 4.9.0 > libpcap version 1.8.1 > OpenSSL 1.0.2n-freebsd 7 Dec 2017 > > Still same weirdness. > > # /usr/local/sbin/tcpdump -ni igb0 not port 22 | less > tcpdump: verbose output suppressed, use -v or -vv f

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
# /usr/local/sbin/tcpdump --version tcpdump version 4.9.0 libpcap version 1.8.1 OpenSSL 1.0.2n-freebsd 7 Dec 2017 Still same weirdness. # /usr/local/sbin/tcpdump -ni igb0 not port 22 | less tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on igb0, link-type EN

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Eugene Grosbein
07.02.2018 4:33, David Athay пишет: > Same issue with tcpdump from ports, looks like its at the same version. > > $ which tcpdump > /usr/sbin/tcpdump > > $ /usr/sbin/tcpdump --version > tcpdump version 4.9.2 > libpcap version 1.8.1 > OpenSSL 1.0.2n-freebsd 7 Dec 2017 > > $ /usr/local/sbin/tcpdu

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Alarig Le Lay
On mar. 6 févr. 21:03:12 2018, David Athay wrote: > I was originally using 11.1-RELEASE but I have since updated to 11-STABLE. > Weirdness still persists > > $ tcpdump --version > tcpdump version 4.9.2 > libpcap version 1.8.1 > OpenSSL 1.0.2n-freebsd 7 Dec 2017 > > $ uname -aUK > FreeBSD s5.pk

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
Same issue with tcpdump from ports, looks like its at the same version. $ which tcpdump /usr/sbin/tcpdump $ /usr/sbin/tcpdump --version tcpdump version 4.9.2 libpcap version 1.8.1 OpenSSL 1.0.2n-freebsd 7 Dec 2017 $ /usr/local/sbin/tcpdump --version tcpdump version 4.9.2 libpcap version 1.8.1 O

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Eugene Grosbein
07.02.2018 4:03, David Athay пишет: > I was originally using 11.1-RELEASE but I have since updated to 11-STABLE. > Weirdness still persists > > $ tcpdump --version > tcpdump version 4.9.2 > libpcap version 1.8.1 > OpenSSL 1.0.2n-freebsd 7 Dec 2017 > > $ uname -aUK > FreeBSD s5.pkfm.banes 11.1-S

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
I was originally using 11.1-RELEASE but I have since updated to 11-STABLE. Weirdness still persists $ tcpdump --version tcpdump version 4.9.2 libpcap version 1.8.1 OpenSSL 1.0.2n-freebsd 7 Dec 2017 $ uname -aUK FreeBSD s5.pkfm.banes 11.1-STABLE FreeBSD 11.1-STABLE #2 r328930: Tue Feb 6 16:05:

Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread Eugene Grosbein
07.02.2018 0:29, David Athay wrote: > I am running tcpdump -ni igb0 with a filter, and I see some weird results. > > If I use ‘not’ with host or port then it shows only those hosts or ports, and > if I don’t use not, and just use host’ or ‘port’ it filters them out as if I > had used ‘not’. >

tcpdump filter not functioning correctly with igb on FreeBSD 11.1

2018-02-06 Thread David Athay
I am running tcpdump -ni igb0 with a filter, and I see some weird results. If I use ‘not’ with host or port then it shows only those hosts or ports, and if I don’t use not, and just use host’ or ‘port’ it filters them out as if I had used ‘not’. tcpdump -ni igb0 not port 22 tcpdump: verbose out

Re: Looking for a Wireless NIC with 802.11ac or 802.11n support

2018-02-06 Thread Victor Sudakov
Peter Blok wrote: > > I have been using a TP-Link TL-WDN4800. > > It has hostap support, because that???s how I used it. Had lots of stuck > beacon messages, but it kept doing its job. > Thank you, Peter, it costs 2000 Rub locally (about $35). I think I'll get it. Will use an external antenna