Re: Who is responsible for ports.su? (admittedly a non-canon resource)

2021-06-13 Thread Edgar Pettijohn
On 6/13/21 4:18 PM, ropers wrote: Sorry to disturb, but does anyone know how to contact whoever is responsible for ports.su? An email address would be great, though I'm not sure if it's okay to post that on-list. Perhaps it's okay to send that off-list? Thank you, Ian

Re: Packages/libraries in disarray after sysupgrade

2021-05-13 Thread Edgar Pettijohn
On Thu, May 13, 2021 at 07:50:35PM -0500, Edgar Pettijohn wrote: > On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > > finding it not possible to install packages via pkg_add &

Re: Packages/libraries in disarray after sysupgrade

2021-05-13 Thread Edgar Pettijohn
On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > finding it not possible to install packages via pkg_add > > When I try to install something, I get a series of errors like " dependency library

Re: Not possible to sysupgrade via snapshots right now?

2021-05-11 Thread Edgar Pettijohn
On May 11, 2021 3:42 AM, Robert Klein wrote: On Sun, 9 May 2021 07:47:32 -0700 Scott Vanderbilt wrote: > On 5/9/2021 4:04 AM, Stuart Henderson wrote: > > On 2021-05-08, Scott Vanderbilt wrote: > >> Apologies if this is a question to which there is an obvious > >> answer, but I

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-31 Thread Edgar Pettijohn
On Mar 31, 2021 3:02 AM, Ottavio Caruso wrote: On 31/03/2021 04:46, Marc Espie wrote: > On Tue, Mar 23, 2021 at 09:41:06AM +, Ottavio Caruso wrote: >> On 23/03/2021 05:53, misopolemiac wrote: >>> I'd appreciate some pointers to documentation or minimal examples of >>> the

Re: Auto-mounting removable disks

2021-03-22 Thread Edgar Pettijohn
hotplugd(8) can probably do what you want. Edgar On Mar 22, 2021 7:43 PM, tetrahe...@danwin1210.me wrote: I have a removable disk that I want to auto-mount. However, it may not always be present. If I put an entry in fstab for it, will the system be able to cope even if the disk is

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
On Sat, Feb 27, 2021 at 11:21:45PM +, tetrahe...@danwin1210.me wrote: > On Sat, Feb 27, 2021 at 08:27:07PM +, James Cook wrote: > > Something's strange about your setup. The installer normally creates a > > separate partition for /usr and maybe /usr/local. If you're using > > pkg_add, then

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
On Sat, Feb 27, 2021 at 03:32:44PM +, tetrahe...@danwin1210.me wrote: > When installing OpenBSD, the default partition layout only allocates 1GB to > / ... most of the disk space is allocated to /home. > > Once you start installing packages, / quickly grows beyond 1GB, and it looks > like

Re: spamd vs IPv6

2021-02-22 Thread Edgar Pettijohn
On Mon, Feb 22, 2021 at 06:28:29PM +, Nick Guenther wrote: > February 22, 2021 1:22 PM, "Edgar Pettijohn" wrote: > > > Have you tried starting spamd with '-l ::1' to alter its address to bind > > to? > > I hadn't! But it's no help: > > comms# /usr/l

Re: spamd vs IPv6

2021-02-22 Thread Edgar Pettijohn
Have you tried starting spamd with '-l ::1' to alter its address to bind to? Edgar On Feb 22, 2021 10:11 AM, Nick Guenther wrote: July 1, 2020 7:34 AM, "Harald Dunkel" wrote: > Hi folks, > > spamd(8) still mentions 127.0.0.1, but no indication of IPv6 support. > Looking on

Re: using kevent to catch signals

2021-02-19 Thread Edgar Pettijohn
On Fri, Feb 19, 2021 at 06:49:45AM +0100, Sebastien Marie wrote: > On Thu, Feb 18, 2021 at 10:23:05PM -0600, Edgar Pettijohn wrote: > > I'm having trouble using kevent(2) to catch signals. Below is a sample > > program. It should catch SIGHUP and SIGUSR1 and just print it out. >

using kevent to catch signals

2021-02-18 Thread Edgar Pettijohn
I'm having trouble using kevent(2) to catch signals. Below is a sample program. It should catch SIGHUP and SIGUSR1 and just print it out. Instead when i send the process sighup with `kill -SIGHUP $PID` it exits and the word Hangup is writtin to the terminal. If I use `kill -SIGUSR1 $PID` the

Re: httpd, PHP7.4, phpIPAM, MariaDB

2021-02-09 Thread Edgar Pettijohn
On Tue, Feb 09, 2021 at 05:30:52PM -0600, Jesse Barton wrote: > Hey OpenBSD Community, > > I am working on getting phpIPAM setup on a OpenBSD system but so far i'm > running into an issue with connecting the php site to the database. > > I used parts of these documentation pages to get

Re: OpenSMTPD is not sending e-mail.

2021-01-28 Thread Edgar Pettijohn
On Thu, Jan 28, 2021 at 08:41:46PM +0100, Radek wrote: > Hi, > a few days ago all my boxes using the same ISP stopped to send me emails from > local users and daemons (daily outputs and any other cronjob reports) to > @gmail.com. > I have tried to send email to a few not_gmail mailboxes - the

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Edgar Pettijohn
You may want to look at table(5) specifically the credentials section. Not sure how ugly it would get with multiple relay rules, but I think it should be possible. However, I think it would just be easier to teach your mua to do it for you. Edgar

Re: pkg_info(1) manpage issue

2021-01-24 Thread Edgar Pettijohn
On Sun, Jan 24, 2021 at 09:35:46PM +0100, Andrew Easton wrote: > Hello everyone, > > it appears that there may be a way to misinterpret > the man page for pkg_info(1) in the state of > commit 0b249e2164be2385bc6a5e82814435649b2b06e0 > Date: Sun Jan 24 10:21:43 2021 + > on the github

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Edgar Pettijohn
On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > Hey gang, > > I'm trying to setup some rewrites in httpd that are needed to make some > software we just purchased work. > > The vendor's official docs only support nginx and apache, and I'm having a > helluva time understanding how to

Re: OpenSMTPD-extras manual

2020-12-20 Thread Edgar Pettijohn
gh socketmap. > > But again no clear manual entry makes it useless. > No hint in the manual how to configure this type > of table access > > > 20.12.2020 01:34, Ingo Schwarze ??: > > Hi Maksim & Edgar, > > > > Edgar Pettijohn wrote on Sa

Re: OpenSMTPD-extras manual

2020-12-19 Thread Edgar Pettijohn
On Sat, Dec 19, 2020 at 08:02:19PM +0300, ?? wrote: > Hello. > Where can I find any manuals and examples regarding OpenSMTPD-extras? > Which table types are supported and do not have status "experimental" > like ldap tables? > E.g. what is opensmtpd-extras-python and how can I

Re: OpenSMTPD-extras manual

2020-12-19 Thread Edgar Pettijohn
On Sat, Dec 19, 2020 at 08:02:19PM +0300, ?? wrote: > Hello. > Where can I find any manuals and examples regarding OpenSMTPD-extras? > Which table types are supported and do not have status "experimental" > like ldap tables? > E.g. what is opensmtpd-extras-python and how can I

perl hex possible bug

2020-07-21 Thread Edgar Pettijohn
I was playing around with the hex function in perl. So naturally I started with: perldoc -f hex Which showed me a few examples namely the following: print hex '0xAf'; # prints '175' print hex 'aF'; # same $valid_input =~ /\A(?:0?[xX])?(?:_?[0-9a-fA-F])*\z/ However, I

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 09:50:17PM +, Kevin Chadwick wrote: > On May 20, 2020 9:31:19 PM UTC, Edgar Pettijohn > wrote: > >On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > >> Hi Misc, > >> > >> I have an interactive shell program which

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > Hi Misc, > > I have an interactive shell program which has an authentication section and I > want to login via my program. How can I do that? > > Actually I want to run this program instead of /bin/ksh. I changed the root's >

Re: rc.d: Webserver is removing daemonization - now what?

2020-05-03 Thread Edgar Pettijohn
On Sun, May 03, 2020 at 04:53:42PM +0200, Marcus MERIGHI wrote: > chad.hoo...@protonmail.com (Chad Hoolie), 2020.05.03 (Sun) 15:43 (CEST): > > So the folks over at my webserver is removing its daemonization > > feature, telling its users to use systemd/upstart/a process supervisor > > instead. >

Re: UNIX crash course

2020-04-21 Thread Edgar Pettijohn
On Tue, Apr 21, 2020 at 09:17:50PM +0300, Pekka Niiranen wrote: > Hello Sirs, > > That is very comprehensive list of books, but I have > not found any concise example of "OpenBSD development environment". > There are KNF settings for vim and emacs in github but not much more. > > OpenBSD is in

Re: strncasecmp

2020-04-11 Thread Edgar Pettijohn
On 4/11/20 8:47 PM, Stuart Longland wrote: On 12/4/20 11:39 am, zeurk...@volny.cz wrote: "Stuart Longland" wrote: On 11/4/20 2:30 am, zeurk...@volny.cz wrote: https://doomwiki.org/wiki/Absurd texture name in error message No, what I wrote is: 'https://doomwiki.org/wiki/Absurd texture

Re: pthread_mutexattr_setpshared and Apache Guacamole remote desktop gateway

2020-03-05 Thread Edgar Pettijohn
On Mar 5, 2020 10:15 AM, Steve Williams wrote: > > Hi, > > Should this be on ports@?  I'm not working on a port... > > TL;DR: > Does anyone have any recommendations on how to work around not having > pthread_mutexattr_setpshared in the OpenBSD pthreads library? > Have you tried searching the

Re: PPTP NAT passthrough

2020-02-26 Thread Edgar Pettijohn
This appears to be actively maintained. https://sourceforge.net/projects/pptpclient/ On 02/25/20 12:15, Szél Gábor wrote: Dear @misc Our customer need more parallel outgoing PPTP session. I know PPTP is no security VPN, but our client not have any options. (our customer remote partner accept

Re: [*EXT*] Re USB printer?

2020-02-17 Thread Edgar Pettijohn
On Feb 17, 2020 11:47 AM, Claus Assmann wrote: > > I got a > HP DeskJet 2630 > printer and connected it via usb > I tried to use it "directly", i.e., /etc/printcap: > usb:lp=/dev/ulpt0:sd=/var/spool/output/usb:sf:sh:tr=^D: > as mentioned in the original mail > > but this results in an "output

Re: 550 Invalid recipient domain

2020-02-03 Thread Edgar Pettijohn
On 02/03/20 16:33, Anne Wainwright wrote: Hi, OK, maybe this query should be for another mailing list. Getting mail to my BSD 6.4 server has been an issue. I have Postfix running. The mail is fetched by fetchmail. As far as I know both .fetchmailrc and /etc/aliases are correct. But the 550

Re: wpa_supplicant error

2020-02-02 Thread Edgar Pettijohn
Try without wpa_supplicant /etc/hostname.iwm0 nwid yournwid wpakey yourwpakey dhcp sh /etc/netstart On Feb 2, 2020 3:42 PM, Charlie Burnett wrote: > > Hey @misc, > I've used OpenBSD on my desktop and server for a while, however they both > have an Ethernet connection. I recently got my hands

Re: How to hide my server's IP?

2020-02-02 Thread Edgar Pettijohn
On Feb 2, 2020 3:24 PM, Arthur Wayside wrote: > > Hello. > > Say I run a websapp inside a chroot and someone manages to hack it and gain > shell access. Or just don't put it in the chroot. Can I then somehow hide my server's IP from the likes of ifconfig? > > Thanks! > > Artur. > > Sent

Re: How to hide my server's IP?

2020-02-02 Thread Edgar Pettijohn
On Feb 2, 2020 3:24 PM, Arthur Wayside wrote: > > Hello. > > Say I run a websapp inside a chroot and someone manages to hack it and gain > shell access. Can I then somehow hide my server's IP from the likes of > ifconfig? > > Thanks! > > Artur. > > Sent with

Re: From nginx to openbsd httpd

2020-01-16 Thread Edgar Pettijohn
On Jan 16, 2020 9:27 AM, Michael Hekeler wrote: > > > > > Hello, > > > > I use poudriere pkg builder on FreeBSD and I use nginx to get poudriere web > > status interface. > > > > I'm looking for a less complex httpd server and obhttpd seems to be right > > choice. I have installed obhttpd

Re: Syspatch

2020-01-16 Thread Edgar Pettijohn
On Jan 16, 2020 8:09 AM, Christer Solskogen wrote: > > On Thu, Jan 16, 2020 at 1:45 PM Jan Betlach wrote: > > > > > Any ideas what is wrong? Might as well be a pebkac I am unaware of… > > > > > Clock out of sync? I have seen this a few times and it was always my system clock out of whack.

Re: OpenBSD's extremely poor network/disk performance?

2020-01-07 Thread Edgar Pettijohn
On Jan 7, 2020 9:18 AM, Joe Greco wrote: > > On Tue, Jan 07, 2020 at 02:47:02PM +, cho...@jtan.com wrote: > > Hamd writes: > > > It's 2020 and it's -still- sad to see OpenBSD -still- has the > > > ... lists full of the uninteresting type of wine and that their > > > twitterings -still-

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Edgar Pettijohn
On 2020-01-02 16:52, Marc Chantreux wrote: You have something like 3 lines of perl to play with ;) is there a todo list somewhere ? find /usr/src -name '*.pm' | xargs grep XXX Shows some promising results. Edgar regards marc

Re: sending mail from wordpress

2020-01-02 Thread Edgar Pettijohn
On Jan 2, 2020 7:21 AM, Jiri B wrote: > > https://wordpress.org/plugins/post-smtp/ > This looks promising. Thanks, Edgar > j. > > On Thu, Jan 2, 2020 at 1:44 PM Stuart Henderson wrote: > > > On 2020-01-02, Edgar Pettijohn wrote: > > > I'm havin

Re: sending mail from wordpress

2020-01-02 Thread Edgar Pettijohn
On Jan 2, 2020 6:27 AM, Stuart Henderson wrote: > > On 2020-01-02, Edgar Pettijohn wrote: > > I'm having trouble getting mail to go through wordpress. > > Confogure it to send by SMTP instead. (I don't use wordpress and can't > help tell you exactly how, but it's definit

sending mail from wordpress

2020-01-01 Thread Edgar Pettijohn
I'm having trouble getting mail to go through wordpress. I have femail installed as /var/www/usr/sbin/sendmail. In /etc/php-7.1.ini I have: sendmail_path = "/usr/sbin/sendmail -f ed...@pettijohn-web.com" I can: echo "HI" | chroot /var/www /usr/sbin/sendmail -f ed...@pettijohn-web.com

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-30 Thread Edgar Pettijohn
On 2019-12-30 18:07, ansim...@tutanota.com wrote: Hi, I'd like to bring up the following suggestion: Would it be desirable for the OpenBSD project to replace Perl with Lua in the base system? A smaller base afforded to by Lua will reduce the attack surface and complexity of the OpenBSD

Re: The OpenBSD talk at 36c3

2019-12-30 Thread Edgar Pettijohn
On Dec 30, 2019 5:31 AM, Kevin Chadwick wrote: > > > > I liked the presentation.  An excerpt from https://isopenbsdsecu.re/about/: > >> This website was done because studying mitigations is fun, not to get > >> involved in a huge flamewars or endless bike-shedding on mailing lists. > > It is

Re: Re-organising partitions without re-installation

2019-12-23 Thread Edgar Pettijohn
On Dec 23, 2019 4:42 PM, rgci...@disroot.org wrote: > > December 24, 2019 4:42 AM, "Dumitru Moldovan" wrote: > > > On Sun, Dec 22, 2019 at 10:56:20AM +1000, Stuart Longland wrote: > > > >> So, a few years ago now, I deployed a router VM with OpenBSD 6.1 AMD64. > >> Later that got updated to

Re: What do you use to generate invoices on OpenBSD?

2019-12-22 Thread Edgar Pettijohn
I don't, but I wonder if there is a WordPress or similar way to do it. That way you have a searchable database plus you can just pull it up on your browser and print it out. Just a thought. Edgar On Dec 22, 2019 4:14 AM, cho...@jtan.com wrote: > > Mikolaj Kucharski writes: > > Hi, > > > > Do

Re: Installing OpenBSD -current snapshots

2019-11-28 Thread Edgar Pettijohn
On Nov 28, 2019 2:15 AM, Bruno Flueckiger wrote: > > On 27.11., Clay Daniels wrote: > > I have successfully installed OpenBSD 6.6 release and would like to give > > the Current Snapshots a try. I went to a mirror, and to: > > > > Index of /pub/OpenBSD/snapshots/amd64/ > > > > I saw install66.fs

Re: Installing OpenBSD -current snapshots

2019-11-27 Thread Edgar Pettijohn
On Wed, Nov 27, 2019 at 08:05:30PM -0600, Clay Daniels wrote: > I have successfully installed OpenBSD 6.6 release and would like to give > the Current Snapshots a try. I went to a mirror, and to: > > Index of /pub/OpenBSD/snapshots/amd64/ > > I saw install66.fs (probably for usb memstick) and

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 3:21 PM, Consus wrote: > > On 22:05 Sun 17 Nov, Unicorn wrote: > > On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > > > On 16:25 Sun 17 Nov, Unicorn wrote: > > > > After installing redis (and rspamd), before having modified any > > > > part of > > > > redis, starting redis

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 2:35 PM, Lev Lazinskiy wrote: > > Hi folks, > > I am new to openBSD, so forgive me if I am missing something obvious. > > I recently installed openBSD on a server using the auto-partition layout > during installation and am quickly starting to run out of disk space. > > I

Re: auto_upgrade.conf et al man pages or documentation?

2019-10-17 Thread Edgar Pettijohn
On Thu, Oct 17, 2019 at 03:15:16PM -0700, Chris Bennett wrote: > On Fri, Oct 18, 2019 at 10:56:07AM +1300, Shane Lazarus wrote: > > > > So, I just ran sysupgrade with no options to see what would happen. > > > > Unsurprisingly, it proceeded to install ALL of the sets, without bothering > > to

Re: Can minecraft run on OpenBSD i386 with less than 2Gb Ram ?

2019-10-05 Thread Edgar Pettijohn
On Oct 5, 2019 8:02 AM, Solene Rapenne wrote: > > On Sat, Oct 05, 2019 at 12:20:09PM +0100, Tom Smyth wrote: > > Hi all, > > My 5 year old son as a laptop .. Running OpenBSD 6.5 stable and im trying > > to > > I figured current would be a little tricky for him :) ... > > I have tried to get

Re: OpenSMTPD filters and "Masquerading"

2019-10-04 Thread Edgar Pettijohn
Search the opensmtpd mailing list archives. I believe someone posted an awk script that does this or at least something similar. Good luck, Edgar On Oct 4, 2019 3:08 AM, Jon Arlund wrote: > > Hi misc, > I was delighted to see the inclusion of OpenSMTPD filters in the latest > snapshot. >

ugen0 chatter on xconsole

2019-09-29 Thread Edgar Pettijohn
I'm guessing someone is working on some ugen code or something similar. Not sure exactly when it started, but around 6.4-6.5 my xconsole never told me much of anything. Starting about 2 weeks ago on current it won't shut up about ugen0 detached ... If this information would be useful to anyone

Re: Desktop full text search

2019-09-18 Thread Edgar Pettijohn
On Sep 18, 2019 10:37 AM, Oriol Demaria wrote: > > So finding some code between large amounts of repos can be tricky. I > don't use Gnome or KDE so I was wondering what do people use for this. > Been looking at the ports and I see Xapian and others. Any advice on a > nice setup? > > Regards,

plackup and httpd

2019-09-16 Thread Edgar Pettijohn
Not sure if I'm just dense, but it took awhile to figure this out. So I'm just posting here to help out the next person that needs to know and happens upon this in the archives. doas plackup -s FCGI --listen /var/www/run/psgi.sock myapp.psgi #/etc/httpd.conf location "/*" { fastcgi

man.openbsd.org/table.5

2019-09-08 Thread Edgar Pettijohn
Not sure if its just me or not, but I was looking at the table(5) manual online and sections look odd. Particularly `Mailaddr tables' and `Addrname tables'. Thanks, Edgar

Re: ldapd hangs/stalls

2019-08-28 Thread Edgar Pettijohn
On Aug 28, 2019 5:39 PM, Allan Streib wrote: > > Allan Streib writes: > > > I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: > > > > [...] > > _ldapd   ldapd  42641  117* internet stream tcp 0x0 172.29.202.69:389 > > <-- 172.29.200.108:47864 > > _ldapd   ldapd 

Re: What is you motivational to use OpenBSD

2019-08-28 Thread Edgar Pettijohn
It's easy to upgrade. I'm never worried that upgrading will break something. As far as BSD's go it's the easiest to get a desktop going. Since x is in base you just have to do a few pkg_add's. And those packages will be built the way you expect 9 out of 10 times. Edgar On Aug 28, 2019 3:37

Re: build with DEBUG defined

2019-08-06 Thread Edgar Pettijohn
On Aug 6, 2019 8:51 PM, Gleydson Soares wrote: > > On Tue, Aug 06, 2019 at 06:55:15PM -0500, Edgar Pettijohn wrote: > > I'm trying to build smtpd with `-g'. I tried the following: > > > > deathstar$ make -DDEBUG > > ===> smtpd > > yacc  -o parse.c /

build with DEBUG defined

2019-08-06 Thread Edgar Pettijohn
I'm trying to build smtpd with `-g'. I tried the following: deathstar$ make -DDEBUG ===> smtpd yacc -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations

Re: ampd(8) -Z option

2019-08-04 Thread Edgar Pettijohn
On Aug 4, 2019 12:10 PM, Walter Alejandro Iglesias wrote: > > 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, > > > > > &g

Re: ampd(8) -Z option

2019-08-04 Thread Edgar Pettijohn
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 critical. Convenient because I made it portable among > unix-like systems. In the case of OpenBSD the script asks

sysupgrade

2019-07-27 Thread Edgar Pettijohn
I had been neglecting trying out sysupgrade because I didn't see how you could make what is already an easy process any easier. I was mistaken. It worked like a charm and somehow even easier than before. Thanks!! Edgar

Re: perl privilege drop

2019-07-25 Thread Edgar Pettijohn
On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > Is there a standard OpenBSD approved method for dropping privileges in > > a perl server? Currently looking into Privileges::Drop, but since it > >

Re: makewhatis for man page changes

2019-07-24 Thread Edgar Pettijohn
man 5 man.conf Need to add /usr/local/man to your manpath. On Jul 24, 2019 11:39 AM, Jungle Boogie wrote: > > Hi All, > > Turns out I don't know everything and I need to read man pages from > time-to-time. I'm sure you're like me and also want to consult the man pages. > How do you do it on

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-22 Thread Edgar Pettijohn
On Jul 9, 2019 4:40 AM, mansoor wrote: > > Hi, > I am using OpenBSD 6.4 and php version 5.6, I am trying to execute shell > commands through php file using exec, shell_exec or system (tried all of > them) but none is working. > > Here is a sample code in my index.php file. > > $output =

Re: OpenBSD Project

2019-07-21 Thread Edgar Pettijohn
In OpenBSD fashion. --- email.orig Sun Jul 21 19:12:04 2019 +++ email.new Sun Jul 21 19:12:38 2019 @@ -7,7 +7,7 @@ Perhaps the reason it has worked so long is because we don't have a sentence like this, which some may consider contentious, and use as reason to pick yet another infamous

Re: OpenBSD Project

2019-07-21 Thread Edgar Pettijohn
> To everyone who took the time to respond, your responses were outstanding; if > only a short and sweet additional page could be added to the main OpenBSD > Project WWW site (e.g., under ???Project Team??? or ???Developers") that just > succinctly summarizes exactly what you all said. For

perl privilege drop

2019-07-20 Thread Edgar Pettijohn
Is there a standard OpenBSD approved method for dropping privileges in a perl server? Currently looking into Privileges::Drop, but since it isn't in base makes me curious if there is a better way. Thanks, Edgar

Re: cd command, chdir syscall, shell behavour

2019-06-29 Thread Edgar Pettijohn
On Jun 29, 2019 5:50 PM, Ingo Schwarze wrote: > > Hi Ian, > > ropers wrote on Sat, Jun 29, 2019 at 10:40:30PM +0200: > > > This relates to a long-standing annoyance: When I do `man kill` for > > example, the manpage shown is for code that won't be what runs when I > > do `kill `. > > I suppose

Re: crontab

2019-05-28 Thread Edgar Pettijohn
On May 28, 2019 3:14 PM, Carlos Aguilar wrote: > > Hi, > > I am having lots of problems to execute a shell script at boot time. > > My crontab is as follows; > >> > SHELL=/bin/ksh > > @reboot $HOME/bin/app-ferre > << > My shell script is as follows: > >> > #!/bin/ksh > >

Re: OpenBSD on Soekris net4801

2019-05-22 Thread Edgar Pettijohn
On May 22, 2019 6:05 PM, Chris Zakelj wrote: > > When I set my 4801 up years and years ago, I did it by using an IDE>CF > adapter on an old Athlon system I had hanging around rather than messing > around with virtual images, PXE booting, or the like.  The Geode processor > is roughly equivalent

Re: ffs undelete was: Re: single user question

2019-05-18 Thread Edgar Pettijohn
On May 18, 2019 4:08 AM, Solène Rapenne wrote: > > Le 2019-05-17 22:47, Edgar Pettijohn a écrit : > > On May 17, 2019 3:14 PM, gwes wrote: > >> > >> > >> > >> On 5/17/19 2:34 PM, Nathan Hartman wrote: > >> > On Fri, May 17, 2019 at

Re: ffs undelete was: Re: single user question

2019-05-17 Thread Edgar Pettijohn
On May 17, 2019 3:14 PM, gwes wrote: > > > > On 5/17/19 2:34 PM, Nathan Hartman wrote: > > On Fri, May 17, 2019 at 12:28 PM ropers wrote: > > > > > > In the history of the (Berkeley) Fast File System, has there ever been > > an attempt to implement DOS-like undelete for FFS/UFS? > > > > Maybe

Re: i3bar not working after 6.5 upgrade

2019-05-13 Thread Edgar Pettijohn
On May 13, 2019 2:58 AM, shadrock uhuru wrote: > > > > On 5/13/19 1:35 AM, shadrock uhuru wrote: > > hi everyone > > since upgrading to 6.5 my i3bar no longer works. > > i have not changed the configuration in any way > > when i run the i3status command manually in a terminal the bar is not > >

Re: 6.5 PowerPC Packages

2019-05-09 Thread Edgar Pettijohn
On May 9, 2019 2:45 PM, Henry Bonath wrote: > > Only if said trailer is Delorean-shaped. Maybe just attach a second delorian to the first. > > On Thu, May 9, 2019 at 3:43 PM Edgar Pettijohn > wrote: > > > > > > On May 9, 2019 10:41 AM, danieljb...@icloud.c

Re: 6.5 PowerPC Packages

2019-05-09 Thread Edgar Pettijohn
On May 9, 2019 10:41 AM, danieljb...@icloud.com wrote: > > On Thu, May 09, 2019 at 08:55:40AM -0600, Theo de Raadt wrote: > > The real reason is because we're low on current for the flux capacitor, > > after shifting time for the early 6.5 release.  Not all the machines > > were able to fit into

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

2019-05-07 Thread Edgar Pettijohn
On May 7, 2019 3:39 PM, Steve Litt wrote: > > On Tue, 07 May 2019 14:47:15 -0500 > Edgar Pettijohn wrote: > > > > I use dwm on everything so my desktop experience is the same > > everywhere. > > Just the man I want to talk to. > > Do you have dmenu r

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

2019-05-07 Thread Edgar Pettijohn
On May 7, 2019 2:29 PM, Steve Litt wrote: > > On Tue, 7 May 2019 14:45:34 -0300 > Clark Block wrote: > > > Was developed the Isotop: > > > > https://www.reddit.com/r/BSD/comments/8of042/isotop_french_desktoporiented_openbsd_distro/ > > > > https://3hg.fr/Isos/isotop/ > > > > The Isotop is

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-24 Thread Edgar Pettijohn
On Apr 24, 2019 5:30 AM, Noth wrote: > > > On 24/04/2019 02:13, Edgar Pettijohn wrote: > > On Apr 23, 2019 6:35 PM, Noth wrote: > >> > >> On 23/04/2019 23:51, Edgar Pettijohn wrote: > >>> On Apr 23, 2019 2:49 PM, Noth wrote: > >>>

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 6:35 PM, Noth wrote: > > > On 23/04/2019 23:51, Edgar Pettijohn wrote: > > On Apr 23, 2019 2:49 PM, Noth wrote: > >> Hi, > >> > >>    I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > >> there. The scenari

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 2:49 PM, Noth wrote: > > Hi, > >   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > there. The scenario is this: > > - OpenBSD client machines have smtpd set up to send the daily/weekly > mails to an address u...@example.org handled by central server

Re: OpenBSD 6.3 syspatch

2019-04-07 Thread Edgar Pettijohn
On Apr 7, 2019 10:03 AM, Monah Baki wrote: > > Hi all, > > I am running OpenBSD 6.3 in AWS, and I want to run sysptach since > https://www.openbsd.org/errata63.html shows several patches exist. > > So on the openbsd 6.3 server I ran the following; > > uname -a displays OpenBSD

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Edgar Pettijohn
On Mar 26, 2019 9:41 AM, Markus Rosjat wrote: > > Hi, > > might not to much help but > > Am 26.03.2019 um 14:57 schrieb Maurice McCarthy: > > I never looked at your dmesg earlier. These lines > > > > cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e > >  SENSE KEY: Illegal

Re: what about security ?

2019-03-25 Thread Edgar Pettijohn
On Mar 25, 2019 7:00 PM, Flipchan wrote: > > Check out pledge > > On March 25, 2019 11:20:13 PM GMT+01:00, Cord > wrote: > >Hi, > >what security technology can I implement to securify for example script > >that connect to any website ? > >Is there any howto for chroot ? > >Thank you. > >Cord

Re: man httpd.conf option does not mention option blocks

2019-03-11 Thread Edgar Pettijohn
On Mar 11, 2019 5:20 PM, Evan Silberman wrote: > > Jason McIntyre wrote: > > On Mon, Mar 11, 2019 at 12:29:41PM -0700, Evan Silberman wrote: > > > Jason McIntyre wrote: > > > > > > > > Index: httpd.conf.5 > > > > === > > > > RCS

Re: spamd blacklist-mode logging

2019-02-22 Thread Edgar Pettijohn
On Feb 22, 2019 5:51 PM, Geir Svalland wrote: > > Hello all. > > When running spamd in blcklist-mode, does it log it's actions anywhere? > can't find any info on it, and I'm not even sure it's working. > > /Hasse > Pretty sure it logs to /var/log/daemon Maybe start it with the -d flag to see

Re: Best practices for validating downloaded config files in OpenBSD

2019-02-21 Thread Edgar Pettijohn
On Feb 21, 2019 6:38 AM, Tom Smyth wrote: > > Hello All , > > we have an in house shell script based deployment system for our > OpenBSD boxes in the field > this involves the boxes  pulling config files over https but Im always > concerned that if the downloaded files are incomplete or empty

Re: 3g/4g modem access from within chroot

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 2:21 PM, Kihaguru Gathura wrote: > > > > > Is there a /var/www/dev/cuaU2 > > Indeed this is present. created it before as follows: > > www# mkdir /var/www/dev > www# cd /var/www/dev > www# sh /dev/MAKEDEV ttyU2 > www# ls > cuaU2 ttyU2 >

Re: Best way to fix a directory's permissions?

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 12:02 PM, Mike Coddington wrote: > > Last night I screwed up my /tmp directory's permissions. I fixed it by > looking at another machine's permissions and editing the directory with > chmod(1). Is there a tool in OpenBSD which would work better than this? > I'm fortunate enough

Re: 3g/4g modem access from within chroot

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 9:01 AM, Kihaguru Gathura wrote: > > Hi, > > What effective way can be used to apply permission to /dev/cuaU2 to > avoid the error below. > > > www# chroot -u www /var/www cgi-bin/modem Is there a /var/www/dev/cuaU2 > Status: 200 OK > Content-type: text/html > > cu:

[SOLVED] Re: apu2 em0/dhclient problems

2019-01-29 Thread Edgar Pettijohn
On Tue, Jan 29, 2019 at 12:03:23PM -0600, Edgar Pettijohn wrote: > > On Jan 29, 2019 11:01 AM, Marcus MERIGHI wrote: > > > > Hello, > > > > ed...@pettijohn-web.com (Edgar Pettijohn), 2019.01.27 (Sun) 18:44 (CET): > > > I'm trying to replace my diei

Re: apu2 em0/dhclient problems

2019-01-29 Thread Edgar Pettijohn
On Jan 29, 2019 11:01 AM, Marcus MERIGHI wrote: > > Hello, > > ed...@pettijohn-web.com (Edgar Pettijohn), 2019.01.27 (Sun) 18:44 (CET): > > I'm trying to replace my dieing soekris box with an apu2 dmesg below. > > However, I can't seem to get em0 to connect to my is

Re: apu2 em0/dhclient problems

2019-01-27 Thread Edgar Pettijohn
On Sun, Jan 27, 2019 at 09:34:54PM +0100, Mikkel C. Simonsen wrote: > Den 27-01-2019 kl. 19:45 skrev trondd: > > On Sun, January 27, 2019 12:44 pm, Edgar Pettijohn wrote: > > > I'm trying to replace my dieing soekris box with an apu2 dmesg below. > > > However, I can't

apu2 em0/dhclient problems

2019-01-27 Thread Edgar Pettijohn
I'm trying to replace my dieing soekris box with an apu2 dmesg below. However, I can't seem to get em0 to connect to my isp. It will work when connecting to the soekris box though. So I don't think its the interface that is the problem. But everything I try seems to rule out eachother as the

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-27 Thread Edgar Pettijohn
On Jan 27, 2019 12:34 AM, Steve Williams wrote: > > On 26/01/2019 11:03 p.m., ed...@deathstar.my.domain wrote: > > On Sat, Jan 26, 2019 at 08:53:06PM -0700, Steve Williams wrote: > >> Hi, > >> > >> I upgraded from OpenBSD 6.3 to OpenBSD 6.4 today.  I upgraded all packages, > >> switched to

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Edgar Pettijohn
It would be helpful if you show what you have tried. Should be as simple as: action "relay-01" lmtp /var/run/lmtp.sock virtual match from src action "relay-01" Edgar On Jan 16, 2019 7:37 AM, Adam Thompson wrote: > > [Cross-posting here before I give up and switch to Postfix  -Adam] > > > I

Re: Opensmtpd auth in 6.4

2019-01-14 Thread Edgar Pettijohn
Sorry for top post. Make sure your match rules start with the most specific and work your way down to the least specific. 'tag's are your friend. Also you will need to have a match auth ... rule as auth is no longer the same as local. Edgar On Jan 14, 2019 6:42 AM, Flipchan wrote: > > I

Re: vultr

2019-01-07 Thread Edgar Pettijohn
On Jan 7, 2019 9:31 AM, lists+m...@ggp2.com wrote: > > On Mon, Jan 07, 2019 at 08:44:03AM -0500, Nick Holland wrote: > > Use their install ONLY to put your own bsd.rd in root (everyone seems to > > obsess over loading an ISO.  Who cares?  Just use a -current bsd.rd!), > > boot off that,

Re: Blocking "shodan.io" - What are my options?

2019-01-04 Thread Edgar Pettijohn
On Jan 4, 2019 12:44 PM, Misc User wrote: > > On 1/3/2019 11:20 PM, Radek wrote: > >> A little ncat, sed, pfctl, and a dash of cron are able to do > >> the job just fine.  cron is just there to start the ncat processes at > >> boot and run an hourly script to do a pfctl -T expire 86400 to > >>

Re: make obj failed

2019-01-02 Thread Edgar Pettijohn
On Jan 2, 2019 7:29 AM, Maciej Jan Broniarz wrote: > > Hi, > > I am following the same  guide as always: https://www.openbsd.org/stable.html > > mjb > Did you rm -rf /usr/obj Before building? I think the only time I've ever had a build fail was because I had something old hanging out in

  1   2   3   4   >