Re: Option -p in apropos(1)

2022-06-03 Thread David H. Gutteridge
On Tue, 2022-05-17 at 08:24 -0400, David H. Gutteridge wrote:
> On 2022-05-17 04:33, Rocky Hotas wrote:
> > On mag 16 21:51, David H. Gutteridge wrote:
> > 
> > > It does accept $PAGER as a definition of what tool to use for the
> > > purpose, though that wasn't documented in the apropos(1) man page.
> > > I
> > > just added it.
> > 
> > FTR, for some reason in my default env(1) variable PAGER is not set:
> > it
> > is empty. However, if (for example) I try to set it to `more', 
> > apropos(1)
> > behaves as described yesterday, so there are no improvements.
> 
> Yes, it won't be set by default, no more than $APROPOS would be. I
> didn't mean to imply setting it will fix your issue, I was just noting
> it wasn't documented before. You'd have to try a patched version of
> the apropos(1) command.

This (along with other fixes) has now been pulled up to the netbsd-9
branch, so the next releng build of 9.2_STABLE will include it.

Regards,

Dave



Re: I can't add accent marks on letters ,only on Qt Applications ! i'm using english and greek keyboards layouts

2022-06-03 Thread Fekete Zoltán
I see now. Sorry I've just read your letter not carefully enough. I have 
no experience with these accent problems honestly.

I hope you'll figure it out.
Cheers,
Fez

2022-06-03 15:27 időpontban chris greek ezt írta:

i can type greek characters i can't add accents to greek letters

Στις Παρ 3 Ιουν 2022 στις 5:40 π.μ., ο/η Fekete Zoltán
 έγραψε:




Ekkor: 2022. június 2. 21:04:48 CEST, chris greek 
 írta:

>I can't add accent marks on letters ,only on Qt Applications ! , i'm
>using english and greek keyboards layouts
>I have installed NetBSD and on the installer i had selected us english
>by mistake
>I can't add accent marks on qt applications like featherpad kate qterminal etc
>Where i can add them on gedit firefox libreoffice etc etc
>
>Something has to do with qt ?
>
>For example to add tone/accent on α
>i press the ; key and the i press the letter ά

Hi Chris,

My first step would be to open a terminal, and as a normal user, issue 
this command:


setxkbmap gr

Then try typing greek characters in libreoffice.

If it works, then write this command into your .xinitrc and/or 
.xsession file, to make it persistent.


Try typing greek characters in your terminal, too. If it does not 
work, then install an appropriate fixed character set (search for it 
with something like 'pkgin se font'), and setup the terminal program 
to use it.


I hope this helps.

Cheers,
Fez


NPF ruleset not blocking IPs

2022-06-03 Thread Emile `iMil' Heitor



I am trying to use npf along with blacklistd as an anti-bruteforce system.
Configuration-wide, everything seems to work together, yet blacklisted IPs,
while present in the "blacklistd" ruleset, don't seem to be blocked.

Here's my npf.conf file:

# npf.conf

$ext = vioif0
$ip4 = inet4(vioif0)
$ip6 = inet6(vioif0)

set bpf.jit on;
alg "icmp"

$tcp_allowed = {25, 53, 465, 587, 995, ssh, http, https}
$udp_allowed = {53}

table  type ipset file "/etc/npf_blacklist"

procedure "log" {
log: npflog0
}

group "external" on $ext {
ruleset "blacklistd"

block in final from 
}

group default {
pass final on lo0 all
pass stateful out final all
pass all

block in family inet6 all
pass proto ipv6-icmp all
pass stateful in family inet6 proto tcp to any port $tcp_allowed
pass stateful in family inet6 proto udp to any port $udp_allowed
}
# end of npf.conf

This virtual machine acts like an IPv6 router, hence the default rules.
Here's an extract of rules inserted by blacklistd:

$ sudo npfctl rule blacklistd list
ruleset block in final family inet4 proto udp from 64.231.104.8/32 to any port 53 # id="1" 
ruleset block in final family inet4 proto udp from 94.181.160.42/32 to any port 53 # id="2" 
ruleset block in final family inet4 proto udp from 209.126.8.168/32 to any port 53 # id="3" 
ruleset block in final family inet4 proto udp from 85.28.98.113/32 to any port 53 # id="4" 
ruleset block in final family inet4 proto udp from 44.200.125.213/32 to any port 53 # id="5" 
ruleset block in final family inet4 proto udp from 120.71.145.56/32 to any port 53 # id="6" 
ruleset block in final family inet4 proto udp from 90.90.90.90/32 to any port 53 # id="7" 
ruleset block in final family inet4 proto udp from 107.119.41.101/32 to any port 53 # id="8" 
ruleset block in final family inet4 proto udp from 78.116.212.157/32 to any port 53 # id="9" 
ruleset block in final family inet4 proto udp from 189.203.104.245/32 to any port 53 # id="a" 
ruleset block in final family inet4 proto udp from 193.124.7.9/32 to any port 53 # id="b" 
ruleset block in final family inet4 proto udp from 173.179.63.249/32 to any port 53 # id="c" 
ruleset block in final family inet4 proto udp from 174.244.240.203/32 to any port 53 # id="d" 
ruleset block in final family inet4 proto udp from 72.9.7.72/32 to any port 53 # id="e" 
ruleset block in final family inet4 proto udp from 95.105.64.219/32 to any port 53 # id="f" 
ruleset block in final family inet4 proto udp from 185.156.46.34/32 to any port 53 # id="10" 
ruleset block in final family inet4 proto tcp from 183.134.6.42/32 to any port 22 # id="7276" 
ruleset block in final family inet4 proto tcp from 185.220.100.253/32 to any port 22 # id="729a" 
ruleset block in final family inet4 proto udp from 35.174.16.235/32 to any port 53 # id="72b6"


Yet none of those IPs are blocked, I tried with a server of mine, it gets added 
to the list but is not blocked.

As the rules in the ruleset are declared as "final", I presume the default
`pass all` is not reached, am I right?
I am probably missing something obvious but can't figure out what.

Any ideas?

Thanks


Emile `iMil' Heitor  | https://imil.net



Re: I can't add accent marks on letters ,only on Qt Applications ! i'm using english and greek keyboards layouts

2022-06-03 Thread Pedro Pinho
See,
https://www.unitedbsd.com/d/606-keyboard-dead-keys-dont-work-in-qt-applications

Den tors 2 juni 2022 21:05chris greek  skrev:

> I can't add accent marks on letters ,only on Qt Applications ! , i'm
> using english and greek keyboards layouts
> I have installed NetBSD and on the installer i had selected us english
> by mistake
> I can't add accent marks on qt applications like featherpad kate qterminal
> etc
> Where i can add them on gedit firefox libreoffice etc etc
>
> Something has to do with qt ?
>
> For example to add tone/accent on α
> i press the ; key and the i press the letter ά
>