Re: OpenBSD 6.1: httpd.conf macro usage and string concatenation

2017-05-05 Thread Walter Alejandro Iglesias
In article <39c822f4-07f1-3544-0a8e-b75446f94...@4ss.de> you wrote: > Hi! > > I thought I could copy the same static server definition block and only > change a unique macro definition at the top of each server. But this is > not working: > > ## > # from httpd.conf > #

mime headers quoted-printable

2017-05-22 Thread Walter Alejandro Iglesias
Hello everyone, With mailx(1) in mind and resurrecting the few I know about C I wrote the code pasted below. It encodes mail headers in MIME quoted-printable format. Unless I'm missing something it complies with all stated here: https://www.ietf.org/rfc/rfc2047.txt You can pipe to it a line or

Re: mime headers quoted-printable

2017-05-23 Thread Walter Alejandro Iglesias
I was pointed out words (no spaces) longer than 256 characters produce a buffer overflow with my previous version. I scanned my saved (since ~ 2005) mbox for header lines without spaces longer than 256 and found several. Most of them are non wrapped base64 encoded text, a few are "References:" s

Re: mime headers quoted-printable

2017-05-24 Thread Walter Alejandro Iglesias
An overlook I can't figure out why didn't core dumped. --- encode-qprint-header.c Wed May 24 22:04:24 2017 +++ encode-qprint-header.c Wed May 24 22:03:49 2017 @@ -66,13 +66,12 @@ main() } else { if (c > ASCII) eightb

Re: mime headers quoted-printable

2017-06-01 Thread Walter Alejandro Iglesias
Inspired in the new utf8 man page (thanks tedu@) I think I found a solution to the charset issue. New version: /* * MIME encode mail header quoted-printable. * */ #include #define ASCII 0x7f #define IN 1 #define OUT 0 #define MAX 1024 int main() { int c, i, n, nl,

Re: Helping out

2017-08-02 Thread Walter Alejandro Iglesias
Hello Bryan and Radoslav, In article <20170802015654.ga64...@c.brycv.com> you wrote: > On Tue, Aug 01, 2017 at 08:19:23PM -0400, Radoslav_Mirza wrote: > > Dear Group, Are there any places to start helping out for a beginner? > > Any junior jobs or todo lists? > > > > I have a new Ryzen 1700 runni

gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hello everyone, I was using smtpd(8) (static IP and FQDN resolving direct and reverse) for a year without problems. Today sending from my server (from the same address I'm using now) to gmail and hotmail they answered the following (MAILER-DAEMON answer). Sending to gmail addresses: *@gmail.c

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Martijn, On Sun, Aug 06, 2017 at 05:09:10PM +0200, Martijn van Duren wrote: > Not an authority on this, so take my reply for what you want. > > As far as I know this list is used to keep track of ip-addresses by ISPs > for home-addresses, which are not intended to be used for outgoing mail. >

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Gareth, On Sun, Aug 06, 2017 at 04:12:45PM +0100, Gareth Nelson wrote: > I'm assuming that you have your SPF records setup correctly. > I did that at first, and all the tricks (dkim, etc) they ask to make you appear as a legal sender, but after confirming my mail still went to SPAM in both (g

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
On Sun, Aug 06, 2017 at 06:02:25PM +0200, Jesper Wallin wrote: > Like Martijn pointed out, you're sending mail from a IP which is not > intended for mail-servers. This was my main question. What is an "IP intended for mail-servers"?

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Niels, On Sun, Aug 06, 2017 at 07:19:04PM +0200, Niels Kobschätzki wrote: > > > On 6. Aug 2017, at 18:40, Walter Alejandro Iglesias > > wrote: > > > >> On Sun, Aug 06, 2017 at 06:02:25PM +0200, Jesper Wallin wrote: > >> Like Martijn pointed out, you

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
In article you wrote: > On 2017-08-06, Walter Alejandro Iglesias wrote: > > I visited spamhaus.org site and found out my IP is included in a list > > called PBL that, as they explain is not a spammers list, it just > > includes dynamic and "non mail server IP ranges&q

Re: gmail and hotmail blocking mail sent from my IP

2017-08-08 Thread Walter Alejandro Iglesias
In article <20170808121343.46a8ddb9@fir.internal> you wrote: > Hi Walter: > > On Sun, 6 Aug 2017 19:45:22 +0200 Walter Alejandro Iglesias wrote: > > What determines those "ranges", who regulates that? > > Some ISPs submit IP blocks to various blacklists

How about to let this die?

2017-08-09 Thread Walter Alejandro Iglesias
Guys, The issue was solved after the fist answer (Martijn van Duren's). Everyone's opinions have been very useful. But since this is not OpenBSD related I propose to let it die.

Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Walter Alejandro Iglesias
Hello Rupert, In article you wrote: > https://www.dnsinspect.com/roquesor.com/10171765 Try the link again. The reason it showed false results was because dnsinspect.com IP was blocked in my pf firewall. I have a script to detect hacking attempts in my port 25 and block those IPs automaticall

New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
Hi Stuart, In article you wrote: > On 2017-08-10, Rui Ribeiro wrote: > > An email server in a residential setting will fail PTR unless you are > > working with a medium sized/an ISP that cares about their customers. > > > > see answer here > > https://unix.stackexchange.com/questions/371329/bind

Re: New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
In article you wrote: > Hi Stuart, > > In article you wrote: > > On 2017-08-10, Rui Ribeiro wrote: > > > An email server in a residential setting will fail PTR unless you are > > > working with a medium sized/an ISP that cares about their customers. > > > > > > see answer here > > > https://uni

Re: New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
On Thu, Aug 10, 2017 at 07:26:16PM +0100, Stuart Henderson wrote: > Rephrasing: if you make an outgoing SMTP connection, a reverse DNS PTR > record should exist for the source address you're connecting from (whether > that's v4 or v6), and an A (for v4) or (for v6) lookup for the name > in tha

SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
Yesterday while copying a big file from one machine to another in my LAN I noticed that restarting pf: # pfctl -d && pfctl -e -f /etc/pf.conf scp stops and quits showing this message: - stalled - Conection reset by 192.168.1.* Lost connection Is this expected or is a bug?

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
On Sat, Aug 12, 2017 at 11:08:23AM +0200, Walter Alejandro Iglesias wrote: > Yesterday while copying a big file from one machine to another in my LAN > I noticed that restarting pf: > > # pfctl -d && pfctl -e -f /etc/pf.conf I assume it's not necessary to say I'

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
Hi Stuart, In article you wrote: > On 2017-08-12, Walter Alejandro Iglesias wrote: > > Yesterday while copying a big file from one machine to another in my LAN > > I noticed that restarting pf: > > > > # pfctl -d && pfctl -e -f /etc/pf.conf > > >

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
In article <5127ac707aa6f...@server.roquesor.com> you wrote: > Hi Stuart, > > In article you wrote: > > On 2017-08-12, Walter Alejandro Iglesias wrote: > > > Yesterday while copying a big file from one machine to another in my LAN > > > I noticed that

Re: SSH: lost connection after restarting pf. [SOLVED]

2017-08-12 Thread Walter Alejandro Iglesias
In article <20170812123632.p7zgt2l4kz43y...@symphytum.spacehopper.org> you wrote: > On 2017/08/12 14:33, Walter Alejandro Iglesias wrote: > > In article <5127ac707aa6f...@server.roquesor.com> you wrote: > > > Hi Stuart, > > > > > > In article yo

Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
Hello everyone, I'd appreciate experienced opensmtpd users tell me if I'm understanding well the mechanism in the following rule. Currently, in my smtpd.conf I have this line: accept from any for domain virtual deliver to mbox But since all keys in my "valiases" table are full email address

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
Hi Gilles, On Tue, Aug 15, 2017 at 11:15:32AM +0200, Gilles Chehade wrote: > On Tue, Aug 15, 2017 at 09:22:41AM +0200, Walter Alejandro Iglesias wrote: > > Hello everyone, > > > > I'd appreciate experienced opensmtpd users tell me if I'm understanding > > wel

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
> > accept from any for any virtual [...] > Besides, after modifying that rule in the file I also had to change the order. Since rules below the "catch-all" one never get evaluated, it has forcibly to be the last one: [...] accept from local for local alias deliver to mbox accept

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
On Tue, Aug 15, 2017 at 05:10:00PM +0200, Gilles Chehade wrote: > On Tue, Aug 15, 2017 at 01:29:16PM +0200, Walter Alejandro Iglesias wrote: > > > > > > accept from any for any virtual [...] > > > > > > > Besides, after modifying that rule in t

Re: SSH: lost connection after restarting pf. [SOLVED]

2017-08-18 Thread Walter Alejandro Iglesias
On Fri, Aug 18, 2017 at 07:31:05PM +0200, Otto Moerbeek wrote: > On Sat, Aug 12, 2017 at 02:40:41PM +0200, Walter Alejandro Iglesias wrote: > > > In article <20170812123632.p7zgt2l4kz43y...@symphytum.spacehopper.org> you > > wrote: > > > On 2017/08/12 14:33

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026083919.ga38...@www.stare.cz> Jan Stary wrote: > I am not sure whether man -Tpdf and man -Tps honour the paper size. I think it does. I don't have a printer at hand to verify it but if in the gv(1) menu I select alternativelly A4 (or Letter) and Default I can see how the page

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026122507.ga13...@www.stare.cz> Jan Stary wrote: > On Oct 26 11:36:45, w...@roquesor.com wrote: > > In article <20171026083919.ga38...@www.stare.cz> Jan Stary > > wrote: > > > I am not sure whether man -Tpdf and man -Tps honour the paper size. > > > > I think it does. > > > >

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026104155982590.bfb59...@talsever.com> Amelia A Lewis wrote: > On Thu, 26 Oct 2017 16:14:36 +0200 (CEST), Walter Alejandro Iglesias > wrote: > > In the ps file generated by mandoc you should have this line: > > > > %%DocumentMedia: Default 595

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
Answering myself. In article Walter Alejandro Iglesias wrote: > As a side note. You made me realize of something I didn't notice when > I migrated to openbsd; I have files generated with GNU roff that > defaults to letter size. This doesn't happen on Linux, I ignore why.

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
On Thu, Oct 26, 2017 at 07:24:43PM +0200, Ingo Schwarze wrote: > Hi Walter, > > Walter Alejandro Iglesias wrote on Thu, Oct 26, 2017 at 05:44:16PM +0200: > > > I have files generated with GNU roff that defaults to letter size. > > That's the upstream (GNU troff)

Re: cwm 6.2: Windows losing focus while cycling (ALT-TAB)

2017-10-26 Thread Walter Alejandro Iglesias
Hi Ruben, In article Ruben Miller wrote: > In article > Ruben Miller wrote: > >The speed is not a problem, since the bug is triggered because cwm raise > > two windows in every cycle. > > Just start the cycle with seamonkey selected, so it's always the previous > > window. > > Just in case,

Sent here by mistake (instead to bugs@) Sorry!

2017-10-26 Thread Walter Alejandro Iglesias
In article Walter Alejandro Iglesias wrote: > Hi Ruben, > > In article > Ruben > Miller wrote: > > In article > > > > Ruben Miller wrote: > > >The speed is not a problem, since the bug is triggered because cwm raise > > > two wind

Re: mandoc output paper size

2017-10-27 Thread Walter Alejandro Iglesias
In article <20171026193138.ga41...@www.stare.cz> Jan Stary wrote: > > > > In the ps file generated by mandoc you should have this line: > > > > > > > > %%DocumentMedia: Default 595 841 0 () () > > > > > > > > Where 595 841 correspond to A4. If you set output paper to "letter" > > > > that li

Re: mandoc output paper size

2017-10-27 Thread Walter Alejandro Iglesias
In article <20171027104221.gd9...@www.stare.cz> Jan Stary wrote: > On Oct 27 12:12:21, w...@roquesor.com wrote: > > In article <20171026193138.ga41...@www.stare.cz> Jan Stary > > wrote: > > > > > > In the ps file generated by mandoc you should have this line: > > > > > > > > > > > > %%Documen

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-18 Thread Walter Alejandro Iglesias
In article <20180518004729.gl68...@athene.usta.de> Ingo Schwarze wrote: > Hi Aner, > > Aner Perez wrote on Thu, May 17, 2018 at 06:32:44PM -0400: > > On 05/17/2018 05:22 PM, x...@dr.com wrote: > >> "Ingo Schwarze" wrote: > > >>> Absolutely not. > >>> Mandoc output is not optimized for any devi

Checking my new smtpd.conf syntax

2018-05-25 Thread Walter Alejandro Iglesias
Could someone tell me if my changes below are OK. :-) The part I'm not clear is I read in current.html remote authenticated users need a explicit rule. Do I need to add some "match auth" rule? # /etc/mail/smptd.conf egress_int="em0" server="server.roquesor.com" table aliases file:/etc/mail/

Re: Checking my new smtpd.conf syntax

2018-05-25 Thread Walter Alejandro Iglesias
On Fri, May 25, 2018 at 03:58:59PM +0300, Consus wrote: > On 14:31 Fri 25 May, Gilles Chehade wrote: > > On Fri, May 25, 2018 at 02:20:50PM +0200, Walter Alejandro Iglesias wrote: > > > Could someone tell me if my changes below are OK. :-) > > > > > >

Re: Checking my new smtpd.conf syntax

2018-05-26 Thread Walter Alejandro Iglesias
On Sat, May 26, 2018 at 08:15:18AM +0200, Gilles Chehade wrote: > > Gilles, I also saw the "ca" directive. I've been using the acme > > certificates in pki directives, can I use them in the "ca" directive > > too? (any advantage in doing this?) > > > > don't touch a knob if you don't KNOW that y

Re: Checking my new smtpd.conf syntax

2018-05-26 Thread Walter Alejandro Iglesias
On Sat, May 26, 2018 at 12:35:57PM +0200, Walter Alejandro Iglesias wrote: > On Sat, May 26, 2018 at 08:15:18AM +0200, Gilles Chehade wrote: > > > Gilles, I also saw the "ca" directive. I've been using the acme > > > certificates in pki directives, can I use

I got smtpd.conf working thanks to the man page

2018-05-29 Thread Walter Alejandro Iglesias
Just in case it could be useful to others. After upgrading the snaptshot requiring the new version of smtpd.conf it happend that the new rules I'd written (included the last one Gilles passed me) were all wrong. I could get it working thanks to the man page. The result: # OLD accept from local

kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hello, I had a kernel panic while reproducing a video with mpv. It's my first kernel panic with OpenBSD, so I didn't know how to use ddb(4). Since I'm running my http and smtp server in this machine I cannot entertain myself too much reproducing the panic to get more info. That's why I don't inc

Re: kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hi Visa, On Sun, Jun 24, 2018 at 05:54:15PM +, Visa Hankala wrote: > On Sun, Jun 24, 2018 at 12:37:45PM +0200, Walter Alejandro Iglesias wrote: > > panic: mtx 0x81c86470: locking against myself > > Stopped at db_enter+0x12: popq%r11 > > TIDP

Re: what would a POP3s daemon best look like?

2018-11-04 Thread Walter Alejandro Iglesias
Hi Todd, Not an expert here and just to be sure, :-) In article <21bf906b4c6c6...@sudo.ws> Todd C. Miller wrote: > I don't think there is much interest in having a pop3 daemon in > base due to the use of plain-text passwords I've been assuming that running pop3d(8) from ports, listening in 995

Re: what would a POP3s daemon best look like?

2018-11-04 Thread Walter Alejandro Iglesias
On Sun, Nov 04, 2018 at 05:38:42AM -0700, Todd C. Miller wrote: > On Sun, 04 Nov 2018 12:26:27 +0100, Walter Alejandro Iglesias wrote: > > > I've been assuming that running pop3d(8) from ports, listening in 995 > > only and with 110 port firewalled my passwords aren't

Re: Useful cwm patch [was: When will be created a great desktop experience for OpenBSD?]

2020-04-23 Thread Walter Alejandro Iglesias
In article <20200415193758.csp3wtf4hnhdc...@gmx.com> Dumitru Moldovan wrote: > On Tue, Oct 29, 2019 at 10:43:26AM +0100, Walter Alejandro Iglesias wrote: > >This second one is still pending (no response from the maintainer so > >far): > > > > https://marc.info/

Restore pf tables metadata after a reboot

2020-05-26 Thread Walter Alejandro Iglesias
I understand that this command: # pfctl -t spam -T expire Takes in care the "Cleared" date: # pfctl -t spam -vT show ___.___.22.65 Cleared: Mon May 25 16:10:22 2020 ___.___.167.62 Cleared: Mon May 25 16:10:22 2020 [...] Is there a way to save and res

Re: Restore pf tables metadata after a reboot

2020-05-26 Thread Walter Alejandro Iglesias
On Tue, May 26, 2020 at 11:25:21PM +0200, Anders Andersson wrote: > On Tue, May 26, 2020 at 2:14 PM Walter Alejandro Iglesias > wrote: > > > > I understand that this command: > > > > # pfctl -t spam -T expire > > > > Takes in care the "Cl

About pf max-src-conn-rate

2020-05-27 Thread Walter Alejandro Iglesias
Another question about pf. Perhaps I don't fully understand how connection rate is calculated. The following line in /etc/pf.conf: pass in log inet proto tcp to any port { smtp smtps } synproxy state \ (max-src-conn-rate 5/30, overload flush global) Shouldn't avoid this happen? In /

Re: About pf max-src-conn-rate

2020-05-27 Thread Walter Alejandro Iglesias
Hello Brian, On Wed, May 27, 2020 at 02:35:46PM -0400, Brian Brombacher wrote: > What do you do with table in other rules? If you’re doing nothing, > you need to do something like block additional connections, or adjust the > pass rule to include from ! You're right. I forgot to mention I h

Re: About pf max-src-conn-rate

2020-05-28 Thread Walter Alejandro Iglesias
Brian Brombacher wrote: > Keep in mind operations using pfctl such as reloading rule set or table > from file, any IP’s caught in the smtp table by the max-src-conn-rate > will be flushed de pending on your command line. > Every hour I scrape logs for AUTH failures and add them to a pfctl > table

Re: About pf max-src-conn-rate

2020-05-28 Thread Walter Alejandro Iglesias
On Thu, May 28, 2020 at 12:06:18PM +0200, Marko Cupać wrote: > On 2020-05-27 14:27, Walter Alejandro Iglesias wrote: > > Another question about pf. > > > > Perhaps I don't fully understand how connection rate is calculated. > > > > The following line in /et

Re: Restore pf tables metadata after a reboot

2020-05-29 Thread Walter Alejandro Iglesias
In article <20200528165448.ga22...@flueckiger.lan> Bruno Flueckiger wrote: > On 26.05., Walter Alejandro Iglesias wrote: > > I understand that this command: > > > > # pfctl -t spam -T expire > > > > Takes in care the "Cleared" date: > >

Re: Restore pf tables metadata after a reboot

2020-05-29 Thread Walter Alejandro Iglesias
Hello Peter, In article Peter Nicolai Mathias Hansteen wrote: > > 28. mai 2020 kl. 19:09 skrev Bruno Flueckiger : > > > > > > You can save the list of IPs in a table and reload it after a reboot as > > described here: https://www.bsdhowto.ch/savepftables.html > > > I have a similar setup at

Re: Restore pf tables metadata after a reboot

2020-05-30 Thread Walter Alejandro Iglesias
In article Peter Nicolai Mathias Hansteen wrote: > It is a possibly desirable feature, but I an not aware whether any of the > currently capable developers are considering putting in the work to implement > it. > Let me finish the idea, not with the intention to pressure developers asking fo

em(4) issue I reported time ago seems to be fixed now

2020-06-30 Thread Walter Alejandro Iglesias
Today I burned the latest snapshot in a USB pen-drive and booted it in a HP desktop of mine where happened this: https://marc.info/?l=openbsd-bugs&m=156682947025229&w=2 It seems to be fixed, the card is now recognized out of the box as 1000baseTX as expected. :-) (I didn't change anything in my

bc(1) bug?

2019-07-14 Thread Walter Alejandro Iglesias
Hello everyone, Lately I noticed that using bc(1) interactively I have to hit Enter twice to get the result of an operation printed on screen. Plus, a new empty line is printed below the result. Example: $ bc 2 + 1 (after hitting Enter twice the two lines below get printed) 3 2 + 2 (

Re: bc(1) bug?

2019-07-15 Thread Walter Alejandro Iglesias
Hi Ingo, On Sun, Jul 14, 2019 at 11:09:40PM +0200, Ingo Schwarze wrote: > Hi Walter, > > Walter Alejandro Iglesias wrote on Sun, Jul 14, 2019 at 09:57:11PM +0200: > > > Lately I noticed that using bc(1) interactively I have to hit Enter > > twice to get the result of

ampd(8) -Z option

2019-08-04 Thread Walter Alejandro Iglesias
Hello, Since years I've been using a shell script of mine to shutdown my laptop when battery is critical. Convenient because I made it portable among unix-like systems. In the case of OpenBSD the script asks battery and AC status to apm(4). Now I gave a try to the apmd(8) -Z option but, so far,

Re: ampd(8) -Z option

2019-08-04 Thread Walter Alejandro Iglesias
Hi Edgar, On Sun, Aug 04, 2019 at 11:43:19AM -0500, Edgar Pettijohn wrote: > On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > > Hello, > > > > Since years I've been using a shell script of mine to shutdown my laptop > > when battery is

Re: ampd(8) -Z option

2019-08-11 Thread Walter Alejandro Iglesias
Jan Stary wrote: > Eventualy it does suspend, but much later than > when the battery life goes below the specified value. Doing more testing I noticed the same. For example, with these options: # apmd -d -t 60 -z It took *5* minutes to suspend the machine. In my first tests I passed bigger v

Erratically losing connection on usb port from UPS unit

2019-08-21 Thread Walter Alejandro Iglesias
Hello everyone, Weeks ago I purchased a UPS unit for my home server. It's attached to the machine via a usb port: uhidev0 at uhub3 port 2 configuration 1 interface 0 "EATON Eaton 3S" rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 32 report ids upd0 at uhidev0 At first I used NUT from package

Re: Erratically losing connection on usb port from UPS unit

2019-08-23 Thread Walter Alejandro Iglesias
On Wed, Aug 21, 2019 at 03:06:17PM +0200, Walter Alejandro Iglesias wrote: > On the Internet some NUT users mention issues with libusb. There is an > old tutorial about using NUT in OpenBSD that advices to install > libusb-compat but, given the current nut package doesn't i

Re: Erratically losing connection on usb port from UPS unit

2019-08-23 Thread Walter Alejandro Iglesias
Hi Boudewijn, In article Boudewijn Dijkstra wrote: > Op Wed, 21 Aug 2019 15:06:17 +0200 schreef Walter Alejandro Iglesias > : > > [...] > > > > It has been working for days (with and without NUT) apparently without > > problems except for three times in which t

Re: When will be created a great desktop experience for OpenBSD?

2019-10-29 Thread Walter Alejandro Iglesias
In article <20191028083820.ga43...@nausicaa.home> Marc Espie wrote: > On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > > Apparently not just theo is using fvwm after all. :) > > Considering all the people using it, it would be great if someone were to > look at the enhancements of

Re: mandoc output paper size

2017-10-29 Thread Walter Alejandro Iglesias
In article Mike Williams wrote: > Hiya > > On 10/27/17 14:31, Ingo Schwarze wrote: > > [ sending this particular one back to the list > > because it contains something useful for everyone and nothing private ] > > Replying to list to archive comments even if not acted on. > > > Hi Jan, > >

Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
A question to the experts here. My home router (a crappy one provided by my ISP) has ipv6 disabled, at least it's what its guied configuration tells me. :-) And I have ipv6 disabled in all my LAN machines. The laptop I use with OpenBSD has slaacd(8) up and running by default, even when I didn't

Re: Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
On Sat, Nov 11, 2017 at 05:58:59AM -0700, Theo de Raadt wrote: > >A question to the experts here. > > > >My home router (a crappy one provided by my ISP) has ipv6 disabled, at > >least it's what its guied configuration tells me. :-) And I have ipv6 > >disabled in all my LAN machines. The laptop I

Re: Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
On Sat, Nov 11, 2017 at 04:57:14PM -0700, Theo de Raadt wrote: > >On Sat, Nov 11, 2017 at 05:58:59AM -0700, Theo de Raadt wrote: > >> >A question to the experts here. > >> > > >> >My home router (a crappy one provided by my ISP) has ipv6 disabled, at > >> >least it's what its guied configuration te

pax and ext2fs

2024-04-30 Thread Walter Alejandro Iglesias
Hello, I'd never used pax(1), reading the man page I found this command can be used to make a backup: $ pax -r -w -v -Y -Z home /backup Faster than using rsync indeed, but it seems that the -Y and -Z options don't work with ext2fs? -- Walter

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
I expect from that command no more and no less than what is explained in the man page: Update (and list) only those files in the destination directory /backup which are older (less recent inode change or file modification times) than files with the same name found in the source fil

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
On Thu, 2 May 2024 12:03:10, Stuart Henderson wrote > I don't have a suitable filesystem handy to test, but does OpenBSD's > implementation of ext2fs support sub-second timestamps? > > stat -f %Fm $filename > > If not, that's a probable explanation for the difference in behaviour. > You could proba

Re: pax and ext2fs (update)

2024-05-02 Thread Walter Alejandro Iglesias
Removing the inode check (-Y option) files are updated correctly to ext2fs. So the command would be: $ pax -rw -v -Z $files $target So, it's something with the inode check what doesn't work with ext2fs.

init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Walter Alejandro Iglesias
I'm posting this here since I'm not sure if it's a bug or something I did wrong. Today I upgraded to the latest snapshot and while booting to the new system init ran syspatch(8). I can't figure out why. dmesg: OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT 2022 dera...@amd64.openbsd

A new version of fmt enhanced for *roff files

2023-03-06 Thread Walter Alejandro Iglesias
Hello everyone, I wrote my own version of fmt, with some enhancements and a new feature to break lines in *roff files. https://en.roquesor.com/Downloads/fmtroff.c In the head comment is explained why I reinvented the wheel. :-) I guess someone could find it useful. -- Walter

Re: CVS: cvs.openbsd.org: src

2018-12-21 Thread Walter Alejandro Iglesias
Hello Gilles, In article <20181221145201.ga90...@ams-1.poolp.org> Gilles Chehade wrote: > On Fri, Dec 21, 2018 at 07:41:41AM -0700, Gilles Chehade wrote: > > CVSROOT: /cvs > > Module name: src > > Changes by: gil...@cvs.openbsd.org 2018/12/21 07:41:41 > > > > Modified files: > >

Re: CVS: cvs.openbsd.org: src (maillog simplified)

2019-01-01 Thread Walter Alejandro Iglesias
On Fri, Dec 21, 2018 at 06:59:58PM +0100, Gilles Chehade wrote: > On Fri, Dec 21, 2018 at 06:56:57PM +0100, Walter Alejandro Iglesias wrote: > > Hello Gilles, > > > > In article <20181221145201.ga90...@ams-1.poolp.org> Gilles Chehade > > wrote: > > >

Re: CVS: cvs.openbsd.org: src (maillog simplified)

2019-01-02 Thread Walter Alejandro Iglesias
Hello Gilles, In article <20190101143249.ga41...@ams-1.poolp.org> Gilles Chehade wrote: > On Tue, Jan 01, 2019 at 01:14:54PM +0100, Walter Alejandro Iglesias wrote: > > On Fri, Dec 21, 2018 at 06:59:58PM +0100, Gilles Chehade wrote: > > > On Fri, Dec 21, 2018 at

About some smptd(8) log message

2019-03-05 Thread Walter Alejandro Iglesias
Hello Gilles, When some spammer try to reach an invalid address in my server the log says "Invalid recipient": [...] smtp failed-command command="RCPT TO: " result="550 Invalid recipient: " But, when the domain name part is valid (one of those included in my "vdomains" and "valiases" tables), i

Opinion about pflog

2016-09-28 Thread Walter Alejandro Iglesias
I know complaining is useless. Forgive me this time. I'm about to run my own web server using OpenBSD. I'm giving my first steps with pf. I was very enthusiastic till I got to this point: https://www.openbsd.org/faq/pf/logging.html It says: The log file written by pflogd is in binary for

Re: Opinion about pflog

2016-09-29 Thread Walter Alejandro Iglesias
On Wed, Sep 28, 2016 at 02:36:10PM -0600, Theo de Raadt wrote: > > So, *binary* logs. Sounds familiar to me. And then: > > Your type of person seems familiar to be me. Undeducated *check* > opinioned *check* Contrasting authoritatively without any education > to back it up *check* > > pflog g

Re: Opinion about pflog

2016-09-30 Thread Walter Alejandro Iglesias
To the other people who answer me here, sorry for the delay, I took some time to calm down and not degrade myself to the level of discussion some person here proposed me. Martin Brandenburg, I know what pcap files are, I used them. But, as I said, I'm not an expert, I didn't take in care that c

A detail about pf.conf

2016-10-29 Thread Walter Alejandro Iglesias
I post this here because I don't know if considering it bug. To use a macro in the "file" table option I had to enclose double on single quotes: blockIP='"/path/to/file"' table persist file $blockIP Any of these syntax examples return errors: blockIP="/path/to/file" blockIP=/path/to/fi

Is /etc/acme-client.conf used by acme-client?

2016-10-29 Thread Walter Alejandro Iglesias
Does acme-client take in care /etc/acme-client.conf in any way? Entries as the documented in acme-client.conf man page: domain example.com { alternative names { secure.example.com } domain key /etc/ssl/private/example.com.key domain certificate /etc/ssl/example.com.crt

dkimproxy_out doesn't sign my outgoing messages

2016-11-09 Thread Walter Alejandro Iglesias
Hi everyone, First of all, is dkimproxy a work in progress? If it's not, then the long one. I've tried something similar to the example in smtpd.conf(5). Outgoing messages don't get signed. # dkim-genkey -s default -d mydomain.com -r -D /var/dkimproxy /etc/dkimproxy_out.conf

Re: dkimproxy_out doesn't sign my outgoing messages

2016-11-09 Thread Walter Alejandro Iglesias
On Wed, Nov 09, 2016 at 09:27:58AM -0500, trondd wrote: > On Wed, November 9, 2016 9:14 am, Walter Alejandro Iglesias wrote: > > Hi everyone, > > > > First of all, is dkimproxy a work in progress? > > > > If it's not, then the long one. I've tr

Re: dkimproxy_out doesn't sign my outgoing messages

2016-11-09 Thread Walter Alejandro Iglesias
trondd, Your response was also useful to me in another more important way. I took a look to the headers of your message and I observe gmail says your dkim is correct: Authentication-Results: mx.google.com; dkim=pass header.i=@kagu-tsuchi.com; However, I had to rescue your message from m

Re: dkimproxy_out doesn't sign my outgoing messages

2016-11-09 Thread Walter Alejandro Iglesias
On Wed, Nov 09, 2016 at 11:57:18AM -0500, trondd wrote: > Should also be in the maillog. Hey, I think I found the problem: Nov 9 10:37:12 server dkimproxy.out[38514]: signing error: Error: cannot read /var/dkimproxy/default.private: Permission denied The permissions are: # ls -l /var/dkimpro

Re: dkimproxy_out doesn't sign my outgoing messages

2016-11-09 Thread Walter Alejandro Iglesias
On Wed, Nov 09, 2016 at 06:13:47PM +0100, Walter Alejandro Iglesias wrote: > Taking in care /etc/rc.d/dkimproxy_out flags: > > daemon_flags="--conf_file=/etc/dkimproxy_out.conf --user=_dkimproxy > --group=_dkimproxy" > > These files should be owned by _dkimproxy u

mailx as root ignores set keep

2016-11-25 Thread Walter Alejandro Iglesias
Is this on purpose? I've tried adding 'set keep' to /etc/mail.rc and /root/.mailrc but mail(1) still removes empty mailbox files before quiting.

Re: mailx as root ignores set keep

2016-11-25 Thread Walter Alejandro Iglesias
Hello trondd, On Fri, Nov 25, 2016 at 11:03:49AM -0500, trondd wrote: > On Fri, November 25, 2016 4:17 am, Walter Alejandro Iglesias wrote: > > Is this on purpose? > > > > I've tried adding 'set keep' to /etc/mail.rc and /root/.mailrc > > but mail(1

Re: mailx as root ignores set keep

2016-11-25 Thread Walter Alejandro Iglesias
On Fri, Nov 25, 2016 at 01:13:17PM -0500, trondd wrote: > On Fri, November 25, 2016 12:36 pm, Walter Alejandro Iglesias wrote: > > Hello trondd, > > > > On Fri, Nov 25, 2016 at 11:03:49AM -0500, trondd wrote: > >> On Fri, November 25, 2016 4:17 am, Walter Alejandro

How to detect this kind of attacks

2016-11-26 Thread Walter Alejandro Iglesias
Hello everyone, Is there a way to detect on the fly spam attacks like the pasted below (maillog)? It seems pf max-src-conn-rate takes in care only the "connected" event. I obscured the recipients. Basically sorted addresses of the same target Chinese host. Nov 26 05:59:42 server smtpd[55880]:

Re: How to detect this kind of attacks

2016-11-26 Thread Walter Alejandro Iglesias
On Sat, Nov 26, 2016 at 12:18:23PM +0100, Gilles Chehade wrote: > There's not much you can do besides adding the offending addresses in a > pf blacklist. Yeah, that's what I thought (at least using opensmtpd, I guess what Claus quoted is from actual sendmail man page). Thanks to all for answerin

Is using dkim really worth?

2016-12-10 Thread Walter Alejandro Iglesias
I mentioned this in other thread, now I'll ask this question directly. I was running my own mail server for a while but not enough to make a conclusion. I'd appreciate the opinion of the experienced. I'm noticing messages with no spf or dkim records reach my gmail inbox. At the same time, messag

Re: Is using dkim really worth?

2016-12-10 Thread Walter Alejandro Iglesias
On Sat, Dec 10, 2016 at 01:11:30PM +0100, Gilles Chehade wrote: > On Sat, Dec 10, 2016 at 11:51:34AM +0100, Walter Alejandro Iglesias wrote: > > I mentioned this in other thread, now I'll ask this question directly. > > > > I was running my own mail server for a whil

Too small default root partition

2016-12-12 Thread Walter Alejandro Iglesias
It seems the size picked by the partitioner at install time for / isn't large enough (I choose the defaults except I enlarged /var to run a web server). OpenBSD 6.0-current (GENERIC.MP) #25: Fri Dec 9 16:53:25 MST 2016 # dmesg | grep sd0 | grep MB | uniq sd0: 476940MB, 512 bytes/sector, 9767731

Re: Too small default root partition

2016-12-12 Thread Walter Alejandro Iglesias
On Mon, Dec 12, 2016 at 11:32:07AM +0100, Stefan Sperling wrote: > On Mon, Dec 12, 2016 at 11:26:31AM +0100, Walter Alejandro Iglesias wrote: > > # du -cs /bin /sbin /dev /bsd* > > 20800 /bsd > > 15552 /bsd.rd > > 20704 /bsd.sp > > 1932484 /dev > > Th

  1   2   >