From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id CAE99193A1DB for ; Fri, 31 May 2024 08:07:16 -0400 (EDT) (envelope-from marcel@telka.sk) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 4F042677318; Fri, 31 May 2024 08:07:16 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1717157236; b=MEfL5tgCY6EUBMgJxGhesrA81gSy8WMzR8UFOOMKmIvA/Lgiph Cx12sE5/6AMQHGxlHVJvVsCjktr9O51pGMnCA2ome/R98ZbsDQqmggtUiTFwQX9g ezDhwKywttOSVwpBtrcbS0SdX8u4ZpnkCL37l7XxEz1N1EyKG0xF9IOVQhItRrEJ w43iCcX41DAIVLI5aHTw+rISNr1SZ5+lrjLRcO3dlMwxt+IDNJiBMi/U4KsV3fK+ OUTfTyafe9DDFWBvtDsuXV3VjaJiMZQlmnklxbUpipexY5fiA0HsQiVmPA9CRV3H SuiIsxKJUKz7zEX+/0UGOrRYivq3NPik+GMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=arcseal; t=1717157236; bh=H3qstu5F9ZNoKuVrAv4MEABuZ93v6ZcyKQ9GFDZQU8M=; b=lf4U1LOA8LY7 0+sn/j1Q0Nw7L5O0q3Vlysyi1F5le0JfQtsutEZxXPDd70XlkJNGJ78yDBATAvtX bYbWrYwBZRcBnGLjFMgFup9nEB0lmz4mN21YDI9VstV+dy2kzE+qabM0I91hZHza wPWjh/Es/Fbbmf3q1Mm5HE5QRXkaOxINehu+JaUhERqT3Vs4eG+YsGHxQMcyBkAd YORBqZHNYIFQkn1wlXfMhmUs+UaKgCeEDSgDNHEGLNcKo50KP78AXHinWS7EZ6Gf ldD1hxTsxXjO6KqNTFQAla4dslR9KWWphBkyuoHW9BSb4nZzzUQy4qareUe/3aQu 0UbHCPQZ0g== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=telka.sk; iprev=pass smtp.remote-ip=185.14.234.118 (tortuga.telka.sk); spf=pass smtp.mailfrom=marcel@telka.sk smtp.helo=tortuga.telka.sk; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=tortuga.telka.sk policy.ptr=tortuga.telka.sk; x-return-mx=pass header.domain=telka.sk policy.is_org=yes (MX Records found: tortuga.telka.sk); x-return-mx=pass smtp.domain=telka.sk policy.is_org=yes (MX Records found: tortuga.telka.sk); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=telka.sk; iprev=pass smtp.remote-ip=185.14.234.118 (tortuga.telka.sk); spf=pass smtp.mailfrom=marcel@telka.sk smtp.helo=tortuga.telka.sk; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=tortuga.telka.sk policy.ptr=tortuga.telka.sk; x-return-mx=pass header.domain=telka.sk policy.is_org=yes (MX Records found: tortuga.telka.sk); x-return-mx=pass smtp.domain=telka.sk policy.is_org=yes (MX Records found: tortuga.telka.sk); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekiedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecu hfhrohhmpeforghrtggvlhcuvfgvlhhkrgcuoehmrghrtggvlhesthgvlhhkrgdrshhkqe enucggtffrrghtthgvrhhnpedvudeuteeiteeuveefudeigfetvddvgeegudeuteegieet hedutdelheduleduteenucffohhmrghinhepihhllhhumhhoshdrohhrghdpthgvlhhkrg drshhknecukfhppedukeehrddugedrvdefgedruddukeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepihhnvghtpedukeehrddugedrvdefgedruddukedphhgvlhhope htohhrthhughgrrdhtvghlkhgrrdhskhdpmhgrihhlfhhrohhmpeeomhgrrhgtvghlseht vghlkhgrrdhskheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoeguvghvvghloh hpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (telka.sk: 185.14.234.118 is authorized to use 'marcel@telka.sk' in 'mfrom' identity (mechanism 'ip4:185.14.234.118' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="marcel@telka.sk"; helo=tortuga.telka.sk; client-ip=185.14.234.118 Received: from tortuga.telka.sk (tortuga.telka.sk [185.14.234.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Fri, 31 May 2024 08:07:15 -0400 (EDT) (envelope-from marcel@telka.sk) Received: (qmail 17547 invoked from network); 31 May 2024 12:07:14 -0000 Received: from telcontar.in.telka.sk (HELO telcontar) (marcel@10.0.0.10) by tortuga.telka.sk with ESMTPSA (DHE-RSA-AES256-GCM-SHA384 encrypted); 31 May 2024 12:07:14 -0000 Date: Fri, 31 May 2024 14:07:13 +0200 From: Marcel Telka To: illumos-developer Subject: Re: [developer] Raw ethernet packets Message-ID: References: <202405311423.04150.denis@tambov.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202405311423.04150.denis@tambov.ru> Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 56a925f2-1f46-11ef-867e-dc59fd8b7b06 On Fri, May 31, 2024 at 02:23:04PM +0300, Denis Kozadaev wrote: > The send() function can be used only when the socket is in a connected state. > (c) manual page at https://illumos.org/man/3SOCKET/send > Use sendto(), Marcel. sendto(s, buf, sizeof buf - 1, 0, NULL, 0); gives the same result: succeeds, but no packet on the network. -- +-------------------------------------------+ | Marcel Telka e-mail: marcel@telka.sk | | homepage: http://telka.sk/ | +-------------------------------------------+