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 i

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 th

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 to

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: open("/dev/c

[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

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 connec

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

apu2 em0/dhclient problems

2019-01-27 Thread Edgar Pettijohn
achother as the problem, leaving me in a viscious cycle. I'm going to try disabling pf and after that current. If you have any other suggestions please send them. Thanks, edgar OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/com

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

2019-01-27 Thread Edgar Pettijohn
;> # Listen on all interfaces as "mail.williamsitconsulting.com" > >> listen on all hostname "mail.williamsitconsulting.com" > >> > >> action "local" mbox alias > >> > >> # Incoming mail for the two domains. > >>

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

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

2019-01-15 Thread edgar
on 22, but I was surprised to see so many on 23. $ egrep "23$" /var/log/messages | wc -l 247 Edgar > > > > On Sun, 13 Jan 2019 12:43:15 -0600 > > ed...@pettijohn-web.com wrote: > > > > > On Fri, Jan 11, 2019 at 09:30:38AM +1100, Aaron Mason wrot

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 wr

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

2019-01-13 Thread edgar
; > > > > > > > > > > > > > > > > -- > > > Aaron Mason - Programmer, open source addict > > > I've taken my software vows - for beta or for worse > > > > > > > I wrote a little daemon to do w

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

2019-01-13 Thread edgar
o what we're looking for. It listens on specified ports, accepts the connection and executes a script so you can either use something like logger or pfctl, etc to do what you want with the address it connected from. If anyone wants to play with it let me know and I'll send you the tarball. Edgar

Re: Opensmtpd auth in 6.4

2019-01-12 Thread edgar
u 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 36700160 250-DSN 250-AUTH PLAIN LOGIN 250 HELP auth plain "base64 encoded user/password" 235 2.0.0: Authentication succeeded quit 221 2.0.0: Bye maillog Jan 12 13:08:15 mail smtpd[37141]: cbd466550ed95895 smtp connected address=ip host= Jan 12 13:08:15 mail smtpd[37141]: cbd466550ed95895 smtp tls ciphers=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 Jan 12 13:08:37 mail smtpd[37141]: cbd466550ed95895 smtp authentication user=edgar result=ok Jan 12 13:09:49 mail smtpd[37141]: cbd466550ed95895 smtp disconnected reason=quit

Re: vultr

2019-01-07 Thread Edgar Pettijohn
It's rare for me to need to make any changes. Other than httpd and smtpd, but even those are generally real easy and you can almost just guess at the syntax needed. Edgar

Re: vultr

2019-01-05 Thread edgar
d the FBSD one in the past, but the default install was all > > whacked out and I had to start over with a fresh install. > > > > Thanks, > > > > Edgar > > > The default is alright, but comes with keys and passwords they generated, > plus they do a singl

vultr

2019-01-05 Thread edgar
I was thinking about spinning up a new instance on vultr to play with. They have an option to install OBSD 6.3/4. Has anyone tried these? I attempted the FBSD one in the past, but the default install was all whacked out and I had to start over with a fresh install. Thanks, Edgar

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

2019-01-04 Thread Edgar Pettijohn
cons to something like: nc -kl 22 > /dev/null & You wouldn't get the benefits of a pf table but it would still be fun knowing they are wasting their time. Edgar

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 there

Re: ports/devel/pygame make install error

2018-12-27 Thread Edgar Pettijohn
> >> i have openbsd 6.4 release installed > >> how do i fix this ? Don't mix release with current ports. Either install a current snapshot or ... > doas cvs -d anon...@anoncvs1.ca.openbsd.org:/cvs -q up -Pd -A > rm -rf /usr/ports And checkout a release ports tree. See the FAQ for instructio

Re: I can't make build stable 6.4

2018-12-22 Thread Edgar Pettijohn
On Dec 22, 2018 9:00 AM, Krzysztof Strzeszewski wrote: > > Hi, > > I can't "make build" stable 6.4. What iswrong? > > > # > > P  -MD -MP  -c /usr/src/lib/libcrypto/x509v3/v3_info.c -o v3_info.o > error: error opening 'v3_info.o.d': Permission denie

Re: I can't make build stable 6.4

2018-12-22 Thread Edgar Pettijohn
On Dec 22, 2018 9:00 AM, Krzysztof Strzeszewski wrote: > > Hi, > > I can't "make build" stable 6.4. What iswrong? > > > # > > P  -MD -MP  -c /usr/src/lib/libcrypto/x509v3/v3_info.c -o v3_info.o > error: error opening 'v3_info.o.d': Permission denie

Re: install portslist?

2018-12-17 Thread Edgar Pettijohn
On Dec 14, 2018 10:40 AM, Marcus MERIGHI wrote: > > Hello, > > rsyk...@disroot.org (Rudolf Sykora), 2018.12.14 (Fri) 15:40 (CET): > > odin$ pwd > > /usr/ports > > > > odin$ make search key=texmacs  > > Please install portslist > >  pkg_add portslist > > *** Error 1 in /usr/ports (Makefile:80

Re: statethreads crashes in ld on 6.4

2018-12-04 Thread Edgar Pettijohn
t; ... > #if defined (MAP_STACK) >   mmap_flags |= MAP_STACK; > #endif >   vaddr = mmap(NULL, size, PROT_READ | PROT_WRITE, mmap_flags, zero_fd, 0); > > > Thanks! > Cool. I enjoy playing with meta1 from time to time. Haven't been entirely successful yet, but every mta has a learning curve. Edgar > -- > Address is valid for this mailing list only. >

Re: statethreads crashes in ld on 6.4

2018-12-02 Thread Edgar Pettijohn
Sorry just saw it came with some examples. Testing with the `lookupdns' program ended with a Bus error (core dumped). Here is gdb output: Core was generated by `lookupdns'. Program terminated with signal SIGBUS, Bus error. #0 _longjmp () at /usr/src/lib/libc/arch/amd64/gen/_setjmp.S:99 99 1:

Re: statethreads crashes in ld on 6.4

2018-12-02 Thread Edgar Pettijohn
I downloaded state threads from sourceforge and had to make the following change to get it to build. I didn't test further than just compiling though. Not sure what you would need to change to get your `autotools' makefiles to work. --- ./st-1.9/Makefile Thu Oct 1 17:55:03 2009 +++ Makefile

Re: apmd: howto resume with screen locked

2018-11-25 Thread Edgar Pettijohn III
On 11/25/18 7:16 PM, shadrock uhuru wrote: Hi everyone i have in my /etc/rc.conf.local apmd "-A -Z8 -t120" my laptop doesn't hibernate when the power falls below 8% is there more that i need to configure ? shadrock try: rcctl set apmd status on rcctl set apmd flags -A -Z 8 -t 120 rcc

Re: smtpd.conf and junk

2018-11-21 Thread Edgar Pettijohn
On Nov 21, 2018 8:22 AM, Thuban wrote: > > Hi, > I can't figure how to make this "junk" argument to work as > mentioned in The smtpd.conf manpages : > > If the junk argument is provided, the message will be > moved to the Junk folder if it contains a positive X-Spam > header. > > > spams detect

Re: X won't start with latest snapshot as user (Solution provided)

2018-11-11 Thread Edgar Pettijohn III
On 11/11/18 12:59 AM, Marc Espie wrote: On Sat, Nov 10, 2018 at 10:42:57PM -0600, Andrew wrote: Personally I use spectrwm, so I can't speak for other the wm's. In my case, all I had to do was: $> cp .xinitrc .xsession $> chmod +x .xsession ... and it "just worked" as expected :-) You were l

Re: Graphical debugger for C/C++ ?

2018-10-21 Thread Edgar Pettijohn III
On 10/11/18 10:40 AM, Kevin Chadwick wrote: On Thu, 11 Oct 2018 12:32:06 +0200 The gdb from packages is then called egdb. Make sure cgdb is using egdb, if you use cgdb too. I wanted to give cgdb a shot. How do I make sure its using egdb? Documentation is required for gdb unlike eclipse a

Re: _writes_to_HOME directories in /

2018-10-18 Thread Edgar Pettijohn
On Oct 18, 2018 11:53 AM, schwack wrote: > > Was prepping for 6.4 upgrade and noticed a bunch of *_writes_to_HOME > directories in my root file systyem. (as shown below) > > All created on Sept 16th. Not sure what I might have been doing on the system > that day. > > Any thoughts on what the

Re: Graphical debugger for C/C++ ?

2018-10-11 Thread Edgar Pettijohn
gdb -tui On Oct 11, 2018 4:44 AM, Peter Kay wrote: > > Just looking at writing a small enhancement to dhcpd, and starting to use > gdb properly for the first time. OK, it is functional, but it's a bit > awkward compared to graphical alternatives. > What does everyone use? I can see ddd and eclip

Re: pf.conf: identifying a specific user from dhcpd-table

2018-10-10 Thread Edgar Pettijohn
On Oct 10, 2018 10:23 AM, Paul de Weerd wrote: > > On Wed, Oct 10, 2018 at 10:17:21AM -0500, Edgar Pettijohn wrote: > | When looking for pf info I generally just Google Peter Hansteen. > > So is Peter misnamed, should he be called Peter Fansteen, or is pf(4) > misnamed,

Re: pf.conf: identifying a specific user from dhcpd-table

2018-10-10 Thread Edgar Pettijohn
een, member of the first RFC 1149 implementation team > http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ > "Remember to set the evil bit on all malicious network traffic" > delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. > When looking for pf info I generally just Google Peter Hansteen. Edgar

Re: Dual boot OpenBSD with DragonFly BSD

2018-10-07 Thread Edgar Pettijohn
As a user of both dragonfly and openbsd, and former slackware user. I would recommend skipping the dual boot and just installing openbsd. It will be much easier and will do everything you want. Maybe just keep half the disk unpartitioned so you can add a second os later or just mount it. I know it doesn't answer the question. Edgar

Re: Monitoring system

2018-10-05 Thread Edgar Pettijohn
On Oct 5, 2018 3:48 PM, flipchan wrote: > > Maybe I need to set some sys variable or something similar cuz > php-mysqli > php-pdo_mysql > php-mysql is installed > But are they enabled. Read the package read me for PHP for instructions. > On October 5, 2018 6:16:07 PM UTC, Stuart Henderson >

Re: hijack client DNS query to localhost cache in the router 

2018-09-23 Thread Edgar Pettijohn
On Sep 22, 2018 11:21 PM, Fung wrote: > > simple router build with OpenBSD > Wan a.b.c.d > Lan 192.168.0.1/24 > Unbound run for DNS cache in 127.0.0.1 > > > we want: > no mater a client pc set dns to any address (  8.8.8.8 or 9.9.9.9 ) > all clients' dns query are redirect to the localhost cache

Re: Best USB WIFI Dongle

2018-09-22 Thread Edgar Pettijohn III
On 09/22/18 12:28, Ken M wrote: Can anyone make a recommendation for the best usb wifi dongle to use with OpenBSD. Criteria (in order) 1. good range 2. good speed 3. low profile/small size I realize priority 3 is typically going to compromise the first 2 priorities, so I guess I am looking

wifi manager

2018-09-22 Thread Edgar Pettijohn III
I've just uploaded what I feel to be a completed gui wifi manager to complement the base tools. https://sourceforge.net/projects/openbsd-wifi-manager/ Thanks, Edgar

Re: Vultr hosting of OpenBSD

2018-09-08 Thread edgar
th the swap size as I recall. I would suggest just installing it yourself so you set up the partitions and what not how you want it. Such as a small /home and a larger /var since it's a server. Edgar

Re: 6.3 router crash

2018-09-08 Thread edgar
On Sep 8, 2018 11:27 AM, Jay Hart wrote: > > Hello, > > My new router crashed this morning.  About 4-5 days ago I ran 'syspatch' and > think that 14, 15, > and 16 patches were installed. At the conclusion of the install, the kernel > "relinked". No issues > reported.  I did not reboot the box.

Re: resize /usr

2018-09-03 Thread edgar
gt; need to backup what I got and then drop those partitions/disklabels and remake > them. That is probably the cleanest, I am guessing it will be best to do that > from single user mode. > > Ken > This obviously isn't the officially recommended way to do it, but it works here. I put everything in my $HOME and use symlinks to trick the build system into thinking it's in /usr/ports, etc. Thus, no need to fool with partitions. Edgar

Re: Some information needed, HELP!

2018-09-02 Thread edgar
On Sep 2, 2018 9:55 AM, Ken M wrote: > > I am backing up my config info right now and then will try that route, thank > you > > Sent from my iPad > > > On Sep 2, 2018, at 10:52 AM, Solène Rapenne wrote: > > > > Le 2018-09-02 16:21, Ken M a écrit : > >> So I did something careless and stupid.

Re: wifi gui manager

2018-09-01 Thread Edgar Pettijohn III
Please check out the new version. https://sourceforge.net/projects/openbsd-wifi-manager/ Includes a README and Makefile. I believe it should connect to a WEP network, but I don't have access to one to test with. Thanks, Edgar

Re: Selling things through the mailing list allowed? I have compatible THIN CLIENTS for Firewall / Router appliance use Available

2018-08-30 Thread edgar
On Aug 30, 2018 1:48 PM, Daniel Corbe wrote: > > > at 1:35 PM, flauenroth wrote: > > > This mail keeps crawling out the dumpster again and again. Are we done  > > with this topic here? Correct me when I am wrong but afaik there are  > > pretty simple rules about the mailing list(s) so asking

Re: wifi gui manager

2018-08-28 Thread Edgar Pettijohn
Sent from my Verizon Smartphone On Aug 28, 2018 9:23 AM, "Heppler, J. Scott" wrote: > > It is possible to put together a gui, wifi tray applet that utilizes  > doas. > > http://daemonforums.org/showthread.php?t=10400  > > > --  > J. Scott Heppler > I looked into it some, but my wm doesn't have a t

Re: getting scrollback buffer on OpenBSD 6.3

2018-08-26 Thread edgar
On Aug 26, 2018 3:18 PM, joshua stein wrote: > > On Sun, 26 Aug 2018 at 13:28:24 -0500, ed...@pettijohn-web.com wrote: > > I'm guessing > > > > dmesg | grep drm > > > > Should help since it won't work with inteldrm nor radeondrm. > > Just for the archives, scrollback support for rasops consol

Re: getting scrollback buffer on OpenBSD 6.3

2018-08-26 Thread edgar
On Aug 26, 2018 12:40 PM, Alceu Rodrigues de Freitas Junior wrote: > > Hello folks, > > I'm running OpenBSD 6.3 over a Aspire One netbook, and looking for > enabling the "scrollback buffer" mentioned in the related FAQ > (http://www.openbsd.org/faq/faq7.html#Scrollback). > > Unfortunately, it

Re: wifi gui manager

2018-08-23 Thread edgar
On Aug 23, 2018 2:34 AM, Stefan Sperling wrote: > > On Wed, Aug 22, 2018 at 06:38:11PM -0700, Chris Bennett wrote: > > Well, there are probably additional reasons too, but my father happily > > runs OpenBSD. Of course, he needs to be able to turn the computer off. > > I would recommend using doa

Re: wifi gui manager

2018-08-22 Thread edgar
On Aug 22, 2018 9:10 AM, Theo de Raadt wrote: > > Edward Lopez-Acosta wrote: > > > Can't properly reply to the thread. I need to fix my subscription, but why > > not just update the following to work on OpenBSD? > > > > https://github.com/ghostbsd/networkmgr > > > > Seems like a better use of

Re: wifi gui manager

2018-08-22 Thread edgar
It's python. On Aug 22, 2018 9:07 AM, Edward Lopez-Acosta wrote: > > Can't properly reply to the thread. I need to fix my subscription, but why > not just update the following to work on OpenBSD? > > https://github.com/ghostbsd/networkmgr > > Seems like a better use of resources than reinventing t

Re: wifi gui manager

2018-08-21 Thread edgar
On Aug 21, 2018 5:46 AM, Stuart Henderson wrote: > > On 2018-08-20, Edgar Pettijohn III wrote: > > I've written a simple gui wifi manager. It can be found at: > > > > https://sourceforge.net/projects/openbsd-wifi-manager/ > > I'd strongly recommend using

wifi gui manager

2018-08-19 Thread Edgar Pettijohn III
hing completely stupid let me know :) Thanks, Edgar

Re: Conundrum with pf

2018-08-19 Thread edgar
Not a pf magician, but think I found a typo below that could be the problem. On Aug 19, 2018 6:51 PM, Jay Hart wrote: > > Hello all, > > I finally got my "new" server online, still have to disable inteldrm to get > it to boot though. > > Ran into two issues upon initial bootup: > > 1. DHCPD fail

Re: perlish question

2018-08-16 Thread edgar
On Aug 16, 2018 1:41 AM, Ed wrote: > > On Tue, Aug 07, 2018 at 05:40:21pm -0500, Edgar Pettijohn III wrote: > > I am attempting to create and verify password hashes from within perl. The > > easiest way I saw was to use Inline::C like this: > > > > __C__ > &

Re: Python flask socket with httpd problems

2018-08-12 Thread edgar
What are the permissions on the socket? Can user www read and write to it? On Aug 12, 2018 11:40 AM, Tony Boston wrote: > > On 12.08.18 03:25, flipchan wrote: > > Hello all, > > > > im trying to run a python flask application with httpd > > as a reverse proxy and im not getting it to work. > > >

Re: What is the proper way to release a DHCP lease

2018-08-07 Thread edgar
On Aug 7, 2018 5:57 PM, Jay Hart wrote: > > Hello all, > > About ready to put a new box online, but need to "release" the MAC / IP > address [of the old box] > if I can prior to swapping out the boxes.  This might save me a call to > Verizon. > > I tried "dhcp release", but the OS returned a "

Re: "no route to host" from pkg_add

2018-08-07 Thread Edgar Pettijohn III
On 08/07/18 13:18, traveller wrote: After OpenBSD, one too many “/“ I concur. cat /etc/installurl https://fastly.cdn.openbsd.org/pub/OpenBSD You probably did the ole copy/paste from somewhere and got a trailing '/'. On Aug 7, 2018, 11:16 AM -0700, Benjamin Walkenhorst , wrote: Hello ev

perlish question

2018-08-07 Thread Edgar Pettijohn III
st likely I would be reading the hash from a file or some such thing and then using the method for the $hash above, but that doesn't appear to work. I may break down and ask in more appropriate perl question locations, but since its an OBSD function I figured I'd ask here first, so I don't have to explain its a proper function, etc, etc... Any thoughts? Thanks, Edgar

Re: Re : pf - NAT not working after systemboot

2018-07-26 Thread edgar
You could try disabling pf in rc.conf then enable it in your hostname.ppoe0. On Jul 26, 2018 6:34 AM, gro...@grompf.net wrote: > > Hello, > > For example : Try to add an anchor in your main pf.conf and populate it > using a secondary pf-pppoe.conf file which will be loaded at the end of > your host

Re: xconsole keeps dieing

2018-07-18 Thread edgar
On Jul 17, 2018 6:57 PM, Andrew wrote: > > On 07/17/18 17:53, Edgar Pettijohn III wrote: > >For some reason xconsole has decided to start seg faulting regularly. > >I can't remember how to build X with debugging symbols. Could anyone > >give me a quick

xconsole keeps dieing

2018-07-17 Thread Edgar Pettijohn III
For some reason xconsole has decided to start seg faulting regularly. I can't remember how to build X with debugging symbols. Could anyone give me a quick rundown so I can provide more information. Thanks, Edgar OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 r...@syspat

Re: rying to get meta-data configured for cloud-image VMM instances

2018-07-16 Thread edgar
On Jul 15, 2018 4:52 PM, Ax0n wrote: > > I'm hoping someone on-list has actually gotten this to work and can point > out where I'm going wrong. > > I've been trying for months off and on to get this to work. I have a > feeling I just don't understand the documentation for meta-data ( > https://g

Re: disable fvwm screensaver?

2018-07-12 Thread Edgar Pettijohn III
On 07/12/18 20:19, Jordan Geoghegan wrote: Hello, Sorry for the noob question. I am having trouble disabling the screen saver / screen timeout for fvwm. I am using an OpenBSD machine as a video terminal for my CCTV system and need the screen to be on 24/7 so employees can see the camera pl

Re: roundcube installation php modules

2018-07-10 Thread edgar
Have you altered your php.ini to load the extensions and restart php-fpm? On Jul 10, 2018 7:00 AM, Teno Deuter wrote: > > Dear list, > > in a OpenBSD 6.3 machine I run httpd and opensmptd and try to intall > roundcubemail 1.3.5 from the OpenBSD packages repository. > > When running the installer,

Re: cgi issues

2018-07-08 Thread Edgar Pettijohn III
On 07/08/18 08:41, Florian Obser wrote: On Sun, Jul 08, 2018 at 08:30:29AM -0500, Edgar Pettijohn III wrote: On 07/08/18 08:09, Florian Obser wrote: On Sun, Jul 08, 2018 at 07:53:41AM -0500, Edgar Pettijohn III wrote: I am playing around with cgi written in c. I am getting what seems like

Re: cgi issues

2018-07-08 Thread Edgar Pettijohn III
On 07/08/18 08:09, Florian Obser wrote: On Sun, Jul 08, 2018 at 07:53:41AM -0500, Edgar Pettijohn III wrote: I am playing around with cgi written in c. I am getting what seems like a weird error though. I'm starting off with a very basic program: #include int main(void) {     fp

cgi issues

2018-07-08 Thread Edgar Pettijohn III
t 127.0.0.1 - - [08/Jul/2018:07:45:55 -0500] "GET /cgi-bin/test HTTP/1.1" 500 0 server default, client 1 (1 active), 127.0.0.1:46773 -> 127.0.0.1, empty stdout (500 Internal Server Error) I'm not sure what `empty stdout' means. Thanks, Edgar

Re: Mail Server

2018-07-06 Thread edgar
On Jul 6, 2018 5:56 PM, "Elias M. Mariani" wrote: > > Hello, > I'm moving some sites that my friends and I handle from a cheap > webserver to a cloud server with OpenBSD. > I have the webserver part figured out (httpd+mariadb+php7). > But I need to choose how to handle the mails. > I'm mostly wo

Re: httpd serving php

2018-07-06 Thread edgar
enable just enables it you need rcctl start php56_fpm On Jul 6, 2018 11:31 AM, Teno Deuter wrote: > > sorry, if you mean the following: > > rcctl enable php56_fpm > > then yes, I did it but I still get a 500 error! > > On Fri, Jul 6, 2018 at 6:07 PM, Daniel Corbe wrote: > > at 11:40 AM, Teno Deut

Re: httpd setup info?

2018-07-02 Thread edgar
On Jul 2, 2018 6:30 AM, John Long wrote: > > On Mon, 2018-07-02 at 06:27 -0500, ed...@pettijohn-web.com wrote: > > On Jul 2, 2018 5:58 AM, John Long wrote: > > > > > > Hi, > > > > > > I read the man pages for httpd and httpd.conf but I remain > > > clueless. > > > > > > I would like to serve

Re: httpd setup info?

2018-07-02 Thread edgar
On Jul 2, 2018 5:58 AM, John Long wrote: > > Hi, > > I read the man pages for httpd and httpd.conf but I remain clueless. > > I would like to serve static content (directory listings and contents). > Must I use a chroot for httpd? If so, how do I set it up? > > I have my content in /var/content/

Re: RDONLY but for the good ( pledged ) guys

2018-06-26 Thread Edgar Pettijohn III
On 06/26/18 13:50, Raul Miller wrote: Personally, I can't totally figure out what this policy would be. My current best approximation is: there's a period of time when pkg_add and syspatch are running and that is a time when writes are allowed, other than that, not. I could maybe rig up some

Re: OpenBSD logo on my private hompage. It is allowed?

2018-06-07 Thread Edgar Pettijohn III
On 06/07/18 18:51, justina colmena wrote: On June 7, 2018 3:27:30 PM AKDT, Johannes Krottmayer wrote: Hallo, Thanks! I have read over that. Best regards, Johannes Krottmayer On Thu, Jun 07, 2018 At 18:23:31 -0500, Constantine A. Murenin wrote: On 7 June 2018 at 17:36, Johannes Krottmayer

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
the username or just the user part? How is your set up? Personally, I think its easier in the long run to either use a passwd-file from extras or an sql table of some sort. That way smtpd and dovecot can share more easily. Edgar On 27/05/2018 08:51, viq wrote: On 18-05-27 09:34:10, Mark

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
After reading the new table(5). I can really see the power of the new config syntax.  I was kind of thinking a new mailertable similar to sendmail might be nice. It would clean up the config, but I don't think its really worth spending time on.  Its not like anyone prints out their smtpd.conf and frames it on the wall to look at daily. Haven't tried it, but the "/path/to/mail.lmtp -args" could probably go into a variable so it looks cleaner also: action "lmtp-local" mda $lmtp Edgar

Re: smtpd.conf new grammar

2018-05-27 Thread edgar
On May 27, 2018 2:10 AM, viq wrote: > > On 18-05-26 20:30:32, Amelia A Lewis wrote: > > On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > > > Sorry, I've read the announcements, looked at man pages and examples, > > > but still didn't manage to figure out how to translate "deliver via > > > dovec

[patch] Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
On 05/26/18 19:18, Edgar Pettijohn III wrote: Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: ta

Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: table vusers ldap:/etc/mail/ldap.conf table vdomains ldap:/etc/mail/ldap.con

Re: SMTP client added to -current

2018-05-10 Thread edgar
On May 10, 2018 11:10 AM, Gilles Chehade wrote: > > On Thu, May 10, 2018 at 10:18:32AM -0400, Predrag Punosevac wrote: > > > > I was wondering if somebody could give me some insight into how is the > > new SMTP client related to OpenSMTPD? > > > > Eric wrote code to simplify the SMTP client engi

Re: tap+bridge: arp reply not forwarded

2018-05-05 Thread Edgar Pettijohn
On Sat, May 05, 2018 at 11:37:07PM -0400, Xavier Guerin wrote: > Hello list, > > Working with a user-space TCP-IP, I tried to setup a local bridge > between two taps, each tap being driver by a user-space client and > server. > > user-space <-> TAP0 <-> BRIDGE0 <-> TAP1 <-> user-space > > I am i

Re: kernel relink segfaults on ALIX

2018-04-19 Thread edgar
One step further would be to put that in your rc.local so it survives an upgrade. On Apr 19, 2018 9:44 AM, IL Ka wrote: > > Ancient UNIX way to disable anything: ``doas chmod -x > /usr/libexec/reorder_kernel`` ;) > > Although ``reorder_kernel`` is very simple ksh script, I agree it should be > do

Re: Beg for Atheros wifi driver

2018-04-16 Thread edgar
On Apr 15, 2018 10:05 PM, Stuart Longland wrote: > > On 16/04/18 08:08, Manuel Solis wrote: > > Sorry for that, i havent figure it out, maybe i should reinstall windows to > > get the info > >  My bad. > > Does `lspci` work on pcidump(8) OpenBSD?  Failing that, boot a Linux LiveCD and run > `

Re: pfstat package dependencies missing on 6.3 amd64

2018-04-16 Thread edgar
Do you have the X sets installed? I'm not at my computer but fontconfig sounds like something that would be in the base x install. On Apr 16, 2018 8:48 AM, mabi wrote: > > Hello, > > It looks like some package dependencies are missing on the package repository > of 6.3 amd64 or pfstat dependenci

Re: Beg for Atheros wifi driver

2018-04-15 Thread Edgar Pettijohn
On 04/15/18 14:33, Jan Lambertz wrote: I have three of these run0 at uhub0 port 2 configuration 1 interface 0 "Ralink 80 .11 n WLAN" rev 2.00/1.01 addr 2 run0: MAC/BBP RT5592 (rev 0x0222), RF RT5592 (MIMO 2T2R) https://www.amazon.de/dp/B00LLIOT34/ref=cm_sw_r_cp_apa_eI60AbX2326EP One of them

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

2018-04-15 Thread Edgar Pettijohn
rg/pub/OpenBSD/ does not; I tried that because it was listed on the OpenBSD website FAQ, having forgotten fthat I'd used cloudflare before; the same error came up with the address listed on the website, as I mentioned previously. You are missing the `cloudflare' part. Yes

Re: Beg for Atheros wifi driver

2018-04-15 Thread Edgar Pettijohn
https://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Supports/dp/B003MTTJOY This one works well. urtwn0 at uhub2 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 4 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:66:0f:3c On 04/15/18 13:32, Je

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

2018-04-14 Thread Edgar Pettijohn
On 04/14/18 19:34, Jeffrey Joshua Rollin wrote: Sent from Blue <http://www.bluemail.me/r?b=12687> On 15 Apr 2018, at 00:31, Edgar Pettijohn <mailto:ed...@pettijohn-web.com>> wrote: On 04/14/18 15:08, Jeffrey Joshua Rollin wrote: Hi, I've installed Ope

Re: counting dropped packets for pf

2018-03-30 Thread edgar
On Mar 30, 2018 4:08 AM, Mihai Popescu wrote: > > > You would need a 1/4" wrench and a screwdriver tip that fits an impact > > driver. > > I want to see you using your method for a deep sunken screw inside a > cylindrical channel of a case. > You can give a chance to the other guy, too. > People

Re: counting dropped packets for pf

2018-03-29 Thread edgar
On Mar 29, 2018 8:35 AM, Eric Furman wrote: > > On Wed, Mar 28, 2018, at 7:10 PM, 3 wrote: > > > 3(ba...@yandex.ru) on 2018.03.28 23:03:27 +0300: > > >> > On 03/28/18 15:04, 3 wrote: > > >> >> hi guys. when the pflow option first appeared, i was surprised by the > > >> >> stupidity of those who i

Re: httpd.conf path substitution

2018-03-29 Thread edgar
On Mar 29, 2018 4:58 AM, Markus Rosjat wrote: > > Hi there, > > its not really an issue but I noticed if I want to substitute a path for > the tls key or cert  I get a syntax error from httpd -n > > So is there some special syntax for this or is it simply not possible to > do something like > >

Re: unbound reload crashes the server

2018-03-22 Thread edgar
On Mar 22, 2018 4:19 PM, "Todd C. Miller" wrote: > > On Thu, 22 Mar 2018 16:02:56 -0500, Edgar Pettijohn wrote: > > > It is chroot'd to /var/unbound so it looks for /etc/unbound.conf from > > that false root.  At least that is my best guess. What is in &g

Re: unbound reload crashes the server

2018-03-22 Thread Edgar Pettijohn
On 03/22/18 14:49, Rupert Gallagher wrote: This happens on plain 6.1. ls -l ls -l /var/unbound/etc/unbound.conf -rw-r--r-- 1 root wheel 4309 Mar 21 13:06 /var/unbound/etc/unbound.conf doas rcctl start unbound unbound(ok) (log) Mar 22 20:29:34 unbound[71209:0] info: server stats for t

Re: OpenSMTPd maillist "compatible" manager Majordomo or what?

2018-03-20 Thread edgar
On Mar 20, 2018 11:35 AM, "Todd C. Miller" wrote: > > On Tue, 20 Mar 2018 09:32:09 -0400, Allan Streib wrote: > > > Does mlmmj provide self-service-via-email? I could not quite tell from > > their online man pages. > > > > E.g. as a subscriber to a list, can I send an email to something like > >

Re: Minor user space issues

2018-03-16 Thread edgar
On Mar 16, 2018 2:33 AM, Janne Johansson wrote: > > 2018-03-16 6:04 GMT+01:00 Z Ero : > > > Hello, > > > > Two quick questions that may be basic but I never learned to solve yet > > since they are not necessary for my work. Solving them would just make > > my user experience a little better. > >

Re: manual assistance

2018-03-15 Thread Edgar Pettijohn
On 03/15/18 20:17, Mike Burns wrote: On 2018-03-15 19.39.53 -0500, Edgar Pettijohn wrote: Is there a man page template somewhere that I can use to get started writing a manual? /usr/share/misc/mdoc.template That is exactly what I needed. Thanks!

manual assistance

2018-03-15 Thread Edgar Pettijohn
doc(7). Thanks, Edgar

Re: Imsg question

2018-03-13 Thread edgar
On Mar 13, 2018 2:04 PM, Theo de Raadt wrote: > > > If a process forks two children does the parent need separate imsg > > bufs for each? I'm thinking one will do and just use the header to > > decide who it's from. Is that correct or should they be separated? > > The socket layer will conspire a

<    1   2   3   4   5   6   >