OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Hi, I have a piece o software to install that requires sendfile functionality . I installed hs-sendfile from ports, which should providesendfile, but now sendfile library or binary is present: I run the command , first:sudo /usr/local/lib/ghc/sendfile-0.7.9/register.sh and $ sudo ldconfig -r|grep

OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Hi, I have a piece o software to install that requires sendfile functionality . I installed hs-sendfile from ports, which should provide sendfile, but now sendfile library or binary is present: I run the command , first: sudo /usr/local/lib/ghc/sendfile-0.7.9/register.sh and $ sudo ldconfig -r

Re: OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Oh.. s^*%t, only haskell can use it, right? On Tuesday, September 29, 2015 6:48 PM, Bogdan Andu wrote: No, Erlang. Yaws wants it On Tuesday, September 29, 2015 6:33 PM, Ted Unangst wrote: Bogdan Andu wrote: > Hi, > I have a piece o software to install that re

Re: OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
No, Erlang. Yaws wants it On Tuesday, September 29, 2015 6:33 PM, Ted Unangst wrote: Bogdan Andu wrote: > Hi, > I have a piece o software to install that requires > sendfile functionality . > I installed hs-sendfile from ports, which should providesendfile, but no

Re: OpenBSD sendfile

2015-09-30 Thread Bogdan Andu
If one needs this linux-like crap, sendfile,and cannot disable it, how is he suppose to handle it? On Tuesday, September 29, 2015 6:50 PM, Bogdan Andu wrote: Oh.. s^*%t, only haskell can use it, right? On Tuesday, September 29, 2015 6:48 PM, Bogdan Andu wrote

Re: OpenBSD sendfile

2015-10-02 Thread Bogdan Andu
runs fine on OpenBSD (amd64/5.7) So, basically I have a non-sendfile-Yaws tree. Hurray! Bogdan On Friday, October 2, 2015 10:38 AM, Stuart Henderson wrote: On 2015-09-30, Bogdan Andu wrote: > If one needs this linux-like crap, sendfile,and cannot disable it, how is he > s

Re: OpenBSD sendfile

2015-10-02 Thread Bogdan Andu
2015 12:40 PM, Raimo Niskanen wrote: On Fri, Oct 02, 2015 at 08:19:28AM +, Bogdan Andu wrote: > Running linux in production is not an option, for me at least. > > I was surprised too. They put it recently into deps tree. > > Is disabled at run time, but is required > at compile t

Re: OpenBSD sendfile

2015-10-05 Thread Bogdan Andu
tuart Henderson wrote: > On 2015-09-30, Bogdan Andu wrote: > > If one needs this linux-like crap, sendfile,and cannot disable it, > > how is he suppose to handle it? > > Run it on linux? > > I'm surprised Yaws needs it though, from what it says on their website > i

Re: OpenBSD sendfile

2015-10-05 Thread Bogdan Andu
Yeah, I realized that after I posted the issue.. On Monday, October 5, 2015 3:29 PM, Sebastian Benoit wrote: Bogdan Andu(bo...@yahoo.com) on 2015.09.29 14:16:51 +: > Hi, > > I have a piece o software to install that requires > sendfile functionality . is y

__guard_local issue

2013-05-22 Thread Bogdan Andu
Hello, I compile from source Erlang R14B04 on a freshly installed OpenBSD 5.3 amd64 machine, configured with preinstalled opensssl library /usr/lib/libssl.so.19.0 . $ /usr/sbin/openssl OpenSSL> version OpenSSL 1.0.1c 10 May 2012 OpenSSL> ^D when I try to load the crypto module I get the follwi

Re: __guard_local issue

2013-05-23 Thread Bogdan Andu
sue, because I really need R14B04. Please help. I am really out of ideas. Maybe I should link against other libraries but I do not know what they are. How can I dicover these libraries that I should link erlang against? Bogdan From: Matthew Dempsky To: Bogdan

Re: __guard_local issue

2013-05-24 Thread Bogdan Andu
that symbol visible. Bogdan ____ From: Matthew Dempsky To: Bogdan Andu Cc: "misc@openbsd.org" Sent: Friday, May 24, 2013 12:04 AM Subject: Re: __guard_local issue On Thu, May 23, 2013 at 2:38 AM, Bogdan Andu wrote: > ./configure > sudo g

MariaDB and OpenBSD

2013-06-28 Thread Bogdan Andu
Hello, I have installed mariadb-server-5.5.31p0 and mariadb-client-5.5.31p0 on an OpenBSD 5.3 amd64 machine. I have also re-installed from ports p5-DBD-mysql with version 1.36 of Makefile, which supports mariadb. p5-DBD-mysql via pkg_add gives me this error: sudo pkg_add /usr/ports/packages/amd64

Re: MariaDB and OpenBSD

2013-06-28 Thread Bogdan Andu
ogdan Andu Cc: "misc@openbsd.org" Sent: Friday, June 28, 2013 12:06 PM Subject: Re: MariaDB and OpenBSD On Fri, Jun 28, 2013 at 01:49:09AM -0700, Bogdan Andu wrote: > Hello, > > I have installed mariadb-server-5.5.31p0 and mariadb-client-5.5.31p0 > on an OpenBSD 5.3 amd6

Re: MariaDB and OpenBSD

2013-06-30 Thread Bogdan Andu
? From: Stuart Henderson To: misc@openbsd.org Sent: Saturday, June 29, 2013 1:19 AM Subject: Re: MariaDB and OpenBSD On 2013-06-28, Bogdan Andu wrote: > Hello, > > I have installed mariadb-server-5.5.31p0 and mariadb-client-5.5.31p0 > on an OpenBSD 5.3 amd64 m

Re: MariaDB and OpenBSD

2013-07-01 Thread Bogdan Andu
impact on linux also and based on this comment, which seems to me very important, I want to know if it is safe to run mariadb server on linux also, as I do currently on an Ubuntu 13.04 linux x86_64 . Thank you all , for your comments, Bogdan From: Stuart H

Re: MariaDB and OpenBSD

2013-07-01 Thread Bogdan Andu
of that assembler code. Having these in mind what is the roadmap of integrating mariadb in OpenBSD? Bogdan From: Stuart Henderson To: Bogdan Andu ; Bogdan Andu ; "misc@openbsd.org" Sent: Monday, July 1, 2013 11:04 AM Subject: Re: MariaDB and Open

relayd crash

2013-08-21 Thread Bogdan Andu
Hello, I'm experiencing a strange behavior of relayd. relayd is used for reverse-proxy an Apache[localhost] web server instance and ssl acceleration. relayd engine crashes with the following errors: $ cat /var/log/daemon Aug 21 04:41:47 www-apps-int relayd[1592]: pfe exiting, pid 1592 Aug

Re: relayd crash

2013-08-21 Thread Bogdan Andu
From: Alexey E. Suslikov To: misc@openbsd.org Sent: Wednesday, August 21, 2013 11:40 AM Subject: Re: relayd crash Bogdan Andu yahoo.com> writes: > machine is OpenBSD 5.3/amd64 GENERIC.MP relayd on 5.3 is buggy. you either need newer version, or back

Re: relayd crash

2013-08-21 Thread Bogdan Andu
nishes From: Peter Hessler To: Bogdan Andu Cc: Alexey E. Suslikov ; "misc@openbsd.org" Sent: Wednesday, August 21, 2013 1:45 PM Subject: Re: relayd crash On 2013 Aug 21 (Wed) at 02:16:32 -0700 (-0700), Bogdan Andu wrote: :___

Re: relayd crash

2013-08-21 Thread Bogdan Andu
ect: Re: relayd crash On 2013-08-21, Bogdan Andu wrote: > I tried relayd -current and crashed with the error: > pwd: > /usr/src/usr.sbin/relayd > > $ sudo ./relayd -f /etc/relayd.conf -d > . A LOT > OF LOGS > relay www_ssl, session 1368 (1 active)

Re: relayd crash

2013-08-21 Thread Bogdan Andu
yes. we waiting for tests to finish - I launched 3 concurrent tests. tomorrow I'll give you the results. From: Stuart Henderson To: Bogdan Andu Cc: "misc@openbsd.org" Sent: Wednesday, August 21, 2013 6:06 PM Subject: Re: relayd crash On 2

Re: relayd crash

2013-08-22 Thread Bogdan Andu
m is not being run. (gdb) The program is not being run. (gdb) The program is not being run. (gdb) The program is not being run. (gdb) But the daemon relayd crashed. Bogdan From: Stuart Henderson To: Bogdan Andu Cc: "misc@openbsd.org"

Re: relayd crash

2013-08-23 Thread Bogdan Andu
81a in kevent () at :2 2   in (gdb) Continuing. Program exited normally. (gdb) The program is not being run. It seems that child with pid 32389 receives a SIGSEGV signal, amking the other threads to crash. But why this child crashes in /usr/src/lib/libevent/event.c, line 997 ? If the messa

Erlang 19.0

2016-09-21 Thread Bogdan Andu
Hello, I have 2 OpenBSD amd64 machines 5.4. and 5.7 which I cannot upgrade them now I want to compile erlang 19 on these machine and the compilation fails: The compilation process is:1. apply successfully 6.0 ports/lang/erlang/19/patches to the standard tree2. autoreconf-2.693. gmake .. and the err

Re: Erlang 19.0

2016-09-21 Thread Bogdan Andu
PM, Raimo Niskanen wrote: ...and does not this question belong better at erlang-questions(at)erlang(dot)org? On Wed, Sep 21, 2016 at 08:25:54AM +, Bogdan Andu wrote: > Hello, > I have 2 OpenBSD amd64 machines 5.4. and 5.7 which I cannot upgrade them now > I want to compile erl

Re: Erlang 19.0

2016-09-21 Thread Bogdan Andu
how invoked escript version 17 instead of 19? On Wednesday, September 21, 2016 2:06 PM, Raimo Niskanen wrote: On Wed, Sep 21, 2016 at 08:25:54AM +, Bogdan Andu wrote: > Hello, > I have 2 OpenBSD amd64 machines 5.4. and 5.7 which I cannot upgrade them now > I want to com

Apache 1.3 vs. nginx vs. base httpd

2014-11-06 Thread Bogdan Andu
Hi, There are some confusing info about which won the base-webserver in OpenBSD: In 5.6 it seems to be nginx 1.6.0 (http://www.openbsd.org/plus56.html) : Unhooked httpd(8) from build: use of nginx(8) is encouraged now. Removed Apache from base (replaced by nginx(8)).  and In current (http://www.o

Re: Apache 1.3 vs. nginx vs. base httpd

2014-11-13 Thread Bogdan Andu
to try it. Thanks for any thoughts, Bogdan On Thursday, November 6, 2014 6:48 PM, "li...@ggp2.com" wrote: On Thu, Nov 06, 2014 at 09:24:24AM +, Bogdan Andu wrote: > 4) will httpd be able to support Perl script processing without the need to > talk to an external (FasCGI

Re: Apache 1.3 vs. nginx vs. base httpd

2014-11-19 Thread Bogdan Andu
e FastCGI applications in Perl. | | | | View on www.fastcgi.com | Preview by Yahoo | | | |   |   On Thursday, November 13, 2014 9:36 PM, Stuart Henderson wrote: On 2014-11-13, Bogdan Andu wrote: > Are Perl scripts in FastCGI evaluated in same manner like in mod_perl, or > e

how to install a freeze point version of OpenBSD

2015-03-11 Thread Bogdan Andu
Hi, First, apologies for this question. I would like to put in production an OpenBSD server but I have no time to wait until May 1stso I have to either use 5.6 -stable or to follow -current. My question is: I would like to install 5.7 -current from freeze point which becomes 5.7 -release,but I

relayd ssl forward proxy

2015-03-24 Thread Bogdan Andu
Hi, I need to set-up a forward proxy using relayd with ssl. My /etc/relayd.conf: prefork 1 http protocol httpfilter {         return error         pass         match label "Prohibited!"         block url "social.network.example.com/"         # New configurat

ssl forward proxy with relayd

2015-03-25 Thread Bogdan Andu
Hi, I need to set-up a forward proxy using relayd with ssl. My /etc/relayd.conf: prefork 1 http protocol httpfilter {         return error         pass         match label "Prohibited!"         block url "social.network.example.com/"         # New configurat

relayd transparent proxy for a local daemon

2012-11-07 Thread Bogdan Andu
Hello, I am trying to solve a problem and I am really out of ideas. I want to use relayd to setup a transparent reversed proxy with ssl offloading for a local daemon. The data flow is the follwing: Client -->| $ext_if relayd box    lo0 (local daemon) |  It is possible for local d

Re: relayd transparent proxy for a local daemon

2012-11-09 Thread Bogdan Andu
IP to be seen by my daemon. Please somebody give me an advice of how can this become possible. At least somebody tell me if this is posible at all, and if yes how this can be achieved with relayd. With many thanks in advanced, Bogdan From: Bogdan Andu To

Re: relayd transparent proxy for a local daemon

2012-11-09 Thread Bogdan Andu
Hi Brett, Thank you for your suggestions. I sent the previous message  - a reply to my own message - to misc@ mailing list also Bogdan From: Bogdan Andu To: "t...@openbsd.org" Sent: Friday, November 9, 2012 12:40 PM Subject: Re: relayd transpa

relayd and header directives

2012-11-12 Thread Bogdan Andu
Hello, I have the follwing setup on a single machine: RELAYD[PUBLIC IP]:443 -> WEB_SERVER[127.0.0.1]:8080 pf is disbaled for testing purposes relayd is configured like this (snip): /etc/relayd.conf: ### table { 127.0.0.1} http protocol www_ssl_prot { #    h

Re: relayd and header directives

2012-11-14 Thread Bogdan Andu
uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (14433713b3e1a5dd.a) swap on sd0b dump on sd0b _

Re: relayd and header directives

2012-11-15 Thread Bogdan Andu
th". What is curious enough is that a plain http request does not even calls this function, and that is why is working. Bogdan From: Bogdan Andu To: Sebastian Benoit ; "misc@openbsd.org" Cc: "r...@openbsd.org" Sent: Thursday, November

Re: relayd and header directives

2012-11-25 Thread Bogdan Andu
21.207:443, invalid (500 Internal Server Error) > Nov 20 13:06:27 fw02 relayd[5856]: relay wwwssl, session 207 (2 active), 0, > ***.***.192.47 -> 192.168.21.218:443, invalid (500 Internal Server Error) > Nov 20 13:06:30 fw02 relayd[32703]: relay wwwssl, session 167 (1 active), 0, >

openbsd and vmware

2013-02-05 Thread Bogdan Andu
Hello, A few questions related to openbsd and vmware. What are the best practices to run OpenBSD in vmware? Are there any known problems one should take into consideration before virtualization? I already have a functional machine runnig OpenBSD 5.2 /amd64 on bare metal. It is possible to cr

Re: openbsd and vmware

2013-02-05 Thread Bogdan Andu
Thank you Nick, for your answers. I'll definitely consider them when I'll start to try these things out. Bogdan From: Nick Holland To: misc@openbsd.org Sent: Tuesday, February 5, 2013 2:19 PM Subject: Re: openbsd and vmware On 02/05/13 06:03, B

default apache consumes memory

2013-04-04 Thread Bogdan Andu
Hello, I have an OpenBSD box running default apache server  that its sole task is to present data, nothing more, nothing less. The logic of the applications is handled by an app. layer that never exceeds 40 Mbytes RAM and handles concurently all the connections (tcp based) from apache children wh

Re: default apache consumes memory

2013-04-05 Thread Bogdan Andu
for this is in the perl scripts you're running. http://modperlbook.org/html/14-2-6-Memory-Leakage.html has some suggestions for tracking these down. There is also maxrequestsperchild which might hide (but not fix) the problem. On 2013-04-05, Bogdan Andu wrote: > Hello, > > I have

relayd 5.1 vs. relayd 5.2

2013-04-15 Thread Bogdan Andu
Hello, I have two machines in production, M1 and M2. M1 : OpenBSD M1 5.1 GENERIC.MP#207 amd64 M2 : OpenBSD M2 5.2 GENERIC.MP#368 amd64 Both machines have relayd as reversed proxy and ssl acceleration for a default install Apache 1.3 non-chroot running on localhost. On both machines the relayd

Re: apache-httpd-openbsd?

2016-05-16 Thread Bogdan Andu
my 2 cents here... May be not what u want but have u considered Task::Plack ? or even better, u can easily modify your Perl scrips to use slowcgi + built-in httpd demon if u can make use of OpenBSD machine, otherwise Task::Plack is a wondefull solution. I would take this chance to get rid of A

ksh, csh same vulnerability as bash

2014-09-29 Thread Bogdan Andu
Hello list, the bug in bash shell discovered last day also seems to be present in ksh and csh. ksh is known to be the default shell in OpenBSD. the following piece of shell code executes succesffuly on both ksh and csh (besides bash of course): ksh: $ env VAR='() { :;}; echo Bash is vulnerable!

trunk0 with dual stack

2012-05-16 Thread Bogdan Andu
Hello, It is possible to build an interface aggregation on dual stack systems? I want my trunk0 interface to be bound to ipv4 and to ipv6 address and I don't know: 1. If this is possible, and 2. if it si possible how do I make the setup permanent? Currently the trunk0 interface works with IPv4

Re: trunk0 with dual stack

2012-05-17 Thread Bogdan Andu
Thank you very much for explanations. It works very good. Thank you, Bogdan From: Stuart Henderson To: misc@openbsd.org Sent: Wednesday, May 16, 2012 6:08 PM Subject: Re: trunk0 with dual stack On 2012-05-16, Bogdan Andu wrote: > It is possible to build

trunk0, inet6 , pf rules

2012-06-27 Thread Bogdan Andu
Hello, I have a service listening both on inet and inet6 sockets, so I have inet6 traffic going in to that service Because I have trunk0 setup, a rule like: (3) pass in inet6 proto tcp to port $service_port queue services does not solves the problem, because only few packets and sometimes no

relayd log file

2012-08-13 Thread Bogdan Andu
Hello, I have a reverse proxy based on relayd. however I am unable to see who accesses the server. general directive 'log all' writes the client_ip -> actual_web_server_ip in file /var/log/daemon which is enough but that file rotates to quickly and I do not want to change its default setup.

Re: relayd log file

2012-08-13 Thread Bogdan Andu
From: Remco To: Bogdan Andu ; misc@openbsd.org Sent: Tuesday, August 14, 2012 9:07 AM Subject: Re: relayd log file Bogdan Andu wrote: > Hello, > > > I have a reverse proxy based on relayd. however I am unable to see who > accesses the server.

Re: relayd log file

2012-08-19 Thread Bogdan Andu
From: Stuart Henderson To: misc@openbsd.org Sent: Sunday, August 19, 2012 3:27 PM Subject: Re: relayd log file On 2012-08-14, Remco wrote: > 2) this may be more to your liking, add the following to /etc/syslog.conf: > > !!relayd > *.*