Re: smtpd: socket: Protocol not supported on FreeBSD9.2
On Tue, Jan 07, 2014 at 08:25:00PM +0100, Martin Kropfinger wrote: Am Tue, 7 Jan 2014 20:14:31 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Can you try to replace listen on localhost with listen on 0.0.0.0, I suspect the ipfw0 interface is causing smtpd to fail listening Hey thanks a lot! This solved the problem. Can you tell me why the ipfw0 breaks this? Actually I have no idea, I'll have to look, can you open a ticket on our bug tracker ? So using 0.0.0.0 instead of localhost seems to work, is it recommended? Well, it depends on what you intend to do, as far as your jail is concerned this will be functionnally equivalent -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
On Tue, Jan 07, 2014 at 07:19:10PM +0100, Martin Kropfinger wrote: Hi there! Hi! I tried installing OpenSMTPd in a jail on my FreeBSD server. I had OpenSMTPd running in an other jail some time ago without problems. I installed it using the ports-system. But when I try to start smtpd it stops with an error. [...] fatal: smtpd: socket: Protocol not supported [...] Care to share your ifconfig output ? -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
Am Tue, 7 Jan 2014 19:27:13 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 07:19:10PM +0100, Martin Kropfinger wrote: Care to share your ifconfig output ? This is the ifconfig output from within the jail. The host holds five IPs on one interface distributing them to the jails. The jail itself has only one IP. I hope it is ok for you that I changed the output a bit (I changed ether, inet and broadcast). # ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether rr:ss:tt:uu:vv:ww inet xxx.yyy.53.125 netmask 0xffe0 broadcast xxx.yyy.53.127 media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Am Tue, 7 Jan 2014 19:27:13 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 07:19:10PM +0100, Martin Kropfinger wrote: Care to share your ifconfig output ? This is the ifconfig output from within the jail. The host holds five IPs on one interface distributing them to the jails. The jail itself has only one IP. I hope it is ok for you that I changed the output a bit (I changed ether, inet and broadcast). # ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether rr:ss:tt:uu:vv:ww inet xxx.yyy.53.125 netmask 0xffe0 broadcast xxx.yyy.53.127 media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 Is security.jail.allow_raw_sockets and/or security.jail.sysvipc_allowed set to 0? -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Am Tue, 7 Jan 2014 19:27:13 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 07:19:10PM +0100, Martin Kropfinger wrote: Care to share your ifconfig output ? This is the ifconfig output from within the jail. The host holds five IPs on one interface distributing them to the jails. The jail itself has only one IP. I hope it is ok for you that I changed the output a bit (I changed ether, inet and broadcast). # ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether rr:ss:tt:uu:vv:ww inet xxx.yyy.53.125 netmask 0xffe0 broadcast xxx.yyy.53.127 media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 Can you try to replace listen on localhost with listen on 0.0.0.0, I suspect the ipfw0 interface is causing smtpd to fail listening -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
Am Tue, 7 Jan 2014 19:09:53 + schrieb James Polera pol...@mubsd.org: On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Is security.jail.allow_raw_sockets and/or security.jail.sysvipc_allowed set to 0? Yes, both are set to 0. But Using 0.0.0.0 instead of localhost in the configfile, as gilles told me, seems to fix the problem. Thank you Martin -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: smtpd: socket: Protocol not supported on FreeBSD9.2
Don't you have to nat your interface (/etc/pf.conf) within the jail to be viewed externally?? On Tue, 7 Jan 2014, Gilles Chehade wrote: Date: Tue, 7 Jan 2014 20:14:31 +0100 From: Gilles Chehade gil...@poolp.org To: Martin Kropfinger free...@rakor-net.de Cc: misc@opensmtpd.org Subject: Re: smtpd: socket: Protocol not supported on FreeBSD9.2 On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Am Tue, 7 Jan 2014 19:27:13 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 07:19:10PM +0100, Martin Kropfinger wrote: Care to share your ifconfig output ? This is the ifconfig output from within the jail. The host holds five IPs on one interface distributing them to the jails. The jail itself has only one IP. I hope it is ok for you that I changed the output a bit (I changed ether, inet and broadcast). # ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether rr:ss:tt:uu:vv:ww inet xxx.yyy.53.125 netmask 0xffe0 broadcast xxx.yyy.53.127 media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 Can you try to replace listen on localhost with listen on 0.0.0.0, I suspect the ipfw0 interface is causing smtpd to fail listening -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= Robert S. Sciuk http://www.controlq.com 259 Simcoe St. S. Control-Q Research tel: 905.706.1354 Oshawa, Ont. r...@controlq.com Canada, L1H 4H3 -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org