socket

  1. Farhan Khan

    C/C++ Get numeric IP representation with getaddrinfo(1)

    Hi all, I am trying to perform two operations and wondering if I can use one libc function to do both. Specifically: Determine if a certain string is an IPv4 or IPv6 address Get its numeric IP representation. (ie, ::1 is 1, 192.168.1.1 is 3232235777) Currently, I am using getaddrinfo for the...
  2. L

    MariaDB socket in jail not created at host boot

    There's a jail for MariaDB mysql Ver 15.1 Distrib 10.2.15-MariaDB, for FreeBSD11.1 (amd64) using readline 5.1. A socket should be created in /var/run/mysql [client] port = 3306 socket = /var/run/mysql/mysql.sock [mysqld] port = 3306 socket =...
  3. sysnes

    Send command to jail from main host - Socket with openssl api

    Hi, first of all I want to thanks for this community, this forum have rich content. Is possible to send a command from the main host to jail host? Like this: ezjail-admin console WEBSERVER | nginx -s reload I want to restart a service and check status, so I think I need to do this via...
  4. D

    PF Socket connectivity between jails on different interfaces.

    Hi all- I recently jailed my externally-web-accessible services for security reasons. I currently have two separate jails: vpnjail: this jail hosts rtorrent, and connects to the outside world over a persistent openvpn connection on tun0. webjail: this jail hosts standard webservices such as...
  5. drhowarddrfine

    Solved PQconnectdb() causes program to crash

    I'm a little all over the place with this question so please read to the end. This is a program that connects to the database but really wasn't as I just found out. I have a program in C that talks to nginx, locally, to serve web pages via FastCGI and this works well. I use spawn-fcgi for the...
  6. A

    ftp server socket listen backlog is limited - "listen backlog limit Vs kernel maxfile limit"

    From ftp server code, we are limiting the connections to1024 (s.listen (1024) call), but when I do the sockstress tool test it overflowing the listen backlog limit to 12000+ connection. So my system reaching the kern.maxfile limit. Overflow scenario is Vulnerable to the system with sockstress...
  7. M

    lighttpd fails to start on Jail.

    Before www/apache24 was running on this jail. Removed it and restarted the jail after installing www/lighttpd root@http52:~ # service lighttpd start Starting lighttpd. 2016-03-06 07:24:16: (network.c.250) socket failed: Protocol not supported /usr/local/etc/rc.d/lighttpd: WARNING: failed to...
Top