Re: 1 line null webserver

2022-12-04 Thread Tim via users
On Sun, 2022-12-04 at 08:50 -0800, Mike Wright wrote:
> I'd tried that approach before but it left me with 404 errors splattered 
> across web pages.  Probably as annoying as the ads they replaced.

Zero pixel transparent gif as the webserver's 404 page.

But my other approach (domain doesn't exist) produces no
visible artefacts and doesn't need a webserver.

-- 
 
uname -rsvp
Linux 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: vlc and mp4 or mkv

2022-12-04 Thread Bill Cunningham


On 12/4/2022 5:06 AM, Barry wrote:




On 4 Dec 2022, at 03:07, Bill C  wrote:


Not for me for some reason. IDK about codecs or what but there's errors.


There is a user guide to ffmpeg that you might find interesting.
https://img.ly/blog/ultimate-guide-to-ffmpeg/

Barry


Thanks much I will look into it.

B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: vlc and mp4 or mkv

2022-12-04 Thread Bill Cunningham


On 12/4/2022 8:00 AM, Patrick O'Callaghan wrote:

On Sat, 2022-12-03 at 18:40 -0500, Bill Cunningham wrote:

On 12/3/2022 5:47 PM, Patrick O'Callaghan wrote:

On Sat, 2022-12-03 at 17:38 -0500, Bill Cunningham wrote:

On 12/3/2022 5:19 PM, Patrick O'Callaghan wrote:

On Sat, 2022-12-03 at 16:49 -0500, Bill Cunningham wrote:

But I try to save
movies/videos as an iso or if there is no special feature a
much
smaller
mpeg.

I've no idea if this fits your needs, but I always use mkvmerge
(from
the mkvtoolnix package) to create MKV files from (e.g. mp4 plus
srt
sources).

poc

I tried this and the response was single field picture found fix
audio
of mpeg before multiplexing, something likethat. I have no idea
what
is
means. This was an attempt to convert an ISO. Does mkvmerg work
on
VIDEO_TS VOBs that are not encrypted? This might be the right
tool
providing I can see what it wants fixed.

mkvmerge creates containers. It doesn't do any video
transformations if
that's what you need. You may want ffmpeg, transcode or handbrake,
but
again, I'm not an expert. I did use all of those tools for a time
many
years ago but without a lot of understanding of what I was doing.

poc

OK I see. I am running into the same problems I was running into
before.
I can't get handbrake to work at all on windows. IDK if there's a
linux
version or not. ffmpeg shows more errors the more I tweak it.

Not sure why you're mentioning Windows, but Handbrake is available on
Linux (in the RPMfusion repo).

poc


Only because I only tried handbrake on windows before, not linux. I have 
it now (handbrake) on my live workstation f37. It seems to work fine. I 
had all kinds of problems with ffmpeg before. ffmpeg from cli caused all 
kind of problems before I probably didn't have something installed it 
needed. Anyway, handbrake works fine :) I might post some ffmpeg error 
codes later, but, all seems to work thanks to all.


B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 1 line null webserver

2022-12-04 Thread Mike Wright

On 12/4/22 03:33, Tim via users wrote:

On Sat, 2022-12-03 at 13:40 -0800, Mike Wright wrote:

It's the dummy webserver that has me stumped.  I'd like it to return 0
bytes, status 200 for every connection to port 80.


You mightn't need to have a webserver pretend to answer their queries,
my approach of using a domain doesn't exist DNS response works well for
me.  Web browsers instantly failed to do anything related to the
advert, and carried on doing everything else that they could.

If you do want a webserver to respond in some way, it doesn't necessary
have to be a 200 response.  You could have a 0 byte 404 response, that
should work just as effectively, and be easy to implement it.

I tried that long ago, just having the webserver respond to any access
directed to it, and they'd always get a 404 as they'd never be
requesting anything it had.

But for me it didn't prove to be any advantage over the domain
blocking, other than the logs satisfying my curiosity about what had
been going on (or failing to go on, so to speak).
  


Thanks Tim,

I'd tried that approach before but it left me with 404 errors splattered 
across web pages.  Probably as annoying as the ads they replaced.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Can't log in as root in a console anymore, in F37

2022-12-04 Thread stan via users
On Sun, 4 Dec 2022 09:24:00 -0700
stan via users  wrote:

> On Sun, 4 Dec 2022 09:09:21 -0700
> stan via users  wrote:
> 
> > So after running dnf update on Dec 2, I can no longer log in as root
> > in a console.  I shut down last night, and when I booted this
> > morning, the problem was there.  I can su to root, and the root
> > account is still present in /etc/shadow, as is the root directory.
> > 
> > I have seen that root is being removed from install unless
> > explicitly requested, but I thought that was only for new installs
> > and existing installs wouldn't be affected.
> > 
> > Does anyone have any ideas about what might have gone wrong?  Here
> > is the list of updates that caused the problem (if it was an
> > update, and there isn't something else going on).  
> 
> This issue is already noted, caused by the new version of authselect.
> https://bugzilla.redhat.com/show_bug.cgi?id=2150155

Downgrading to 1.4.0 of authselect and authselect-libs fixes the issue.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Fedora 37: kernel: general protection fault, probably for non-canonical address PREEMPT SMP PT

2022-12-04 Thread Dario Lesca
I have boot with old previous kernel 5.18.6-200.fc36.x86_64 fortunately
still left installed from the previous Fedora 36

[root@igloo ~]# journalctl -b|head -1
dic 02 01:32:46 newigloo.solinos.it kernel: Linux version 
5.18.6-200.fc36.x86_64 (mockbu...@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 
12.1.1 20220507 (Red Hat 12.1.1-1), GNU ld version 2.37-27.fc36) #1 SMP 
PREEMPT_DYNAMIC Wed Jun 22 13:46:18 UTC 2022

Without changing anything in the hardware and from this time to now the
PC (used as a server) work great and the problem  "general protection
fault" it's gone.

At this point seem this is a kernel bug.

I have fill this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2150630

Thanks
Dario

Il giorno gio, 01/12/2022 alle 22.53 +0100, Dario Lesca ha scritto:
> On a Fedora 37 up to date (kernel 6.0.10-300.fc37.x86_64), sometime I
> get this error[1]
> 
> This problem occur often when I use nfs server from another PC, and
> if
> I try to restart nfs via systemctl the command it remains stuck and I
> must power off the PC
> 
> Other times PC freezes and I must power off and restart it.
> 
> Could it be a hardware problem (RAM? or CPU?) or I must fill a kernel
> or nfs bug?
> 
> Many thanks for your help.
> 
> Dario
> 
> [1] (https://paste.centos.org/view/c6f9c704)
> dic 01 21:12:46 kernel: general protection fault, probably for non-
> canonical address 0x17c008:  [#1] PREEMPT SMP PTI
> dic 01 21:12:46 kernel: CPU: 5 PID: 2103 Comm: nfsd Not tainted
> 6.0.10-
> 300.fc37.x86_64 #1
> dic 01 21:12:46 kernel: Hardware name: LENOVO 30BGS1BV00/103D, BIOS
> S06KT40A 03/15/2019
> dic 01 21:12:46 kernel: RIP: 0010:release_pages+0x46/0x590
> dic 01 21:12:46 kernel: Code: 48 8d 44 24 28 48 89 44 24 28 48 89 44
> 24
> 30 85 f6 0f 8e a2 00 00 00 48 63 f6 31 db 49 89 fc 45 31 ed 48 8d 2c
> f7
> 4d 8b 3c 24 <49> 8b 47 08 a8 01 0f 85 a9 01 00 00 0f 1f 44 00 00 4d
> 85
> ed 74 0c
> dic 01 21:12:46 kernel: RSP: 0018:a9a901697e40 EFLAGS: 00010206
> dic 01 21:12:46 kernel: RAX: 8c03 RBX: 
> RCX: 
> dic 01 21:12:46 kernel: RDX: fc6305e4dd48 RSI: a9a901697e68
> RDI: fc6304df1f48
> dic 01 21:12:46 kernel: RBP: 8c03dea64b78 R08: fc6305e4dd48
> R09: 
> dic 01 21:12:46 kernel: R10:  R11: fc63043ec208
> R12: 8c03dea64b28
> dic 01 21:12:46 kernel: R13:  R14: fc6304df1f48
> R15: 0017c000
> dic 01 21:12:46 kernel: FS:  ()
> GS:8c0b0dd4() knlGS:
> dic 01 21:12:46 kernel: CS:  0010 DS:  ES:  CR0:
> 80050033
> dic 01 21:12:46 kernel: CR2: 7f42a3ffefff CR3: 00035d010005
> CR4: 003726e0
> dic 01 21:12:46 kernel: DR0:  DR1: 
> DR2: 
> dic 01 21:12:46 kernel: DR3:  DR6: fffe0ff0
> DR7: 0400
> dic 01 21:12:46 kernel: Call Trace:
> dic 01 21:12:46 kernel:  
> dic 01 21:12:46 kernel:  ? nfsd_shutdown_threads+0x90/0x90 [nfsd]
> dic 01 21:12:46 kernel:  __pagevec_release+0x1b/0x30
> dic 01 21:12:46 kernel:  svc_xprt_release+0x1a1/0x200 [sunrpc]
> dic 01 21:12:46 kernel:  svc_send+0x59/0x160 [sunrpc]
> dic 01 21:12:46 kernel:  nfsd+0xd5/0x190 [nfsd]
> dic 01 21:12:46 kernel:  kthread+0xe6/0x110
> dic 01 21:12:46 kernel:  ? kthread_complete_and_exit+0x20/0x20
> dic 01 21:12:46 kernel:  ret_from_fork+0x1f/0x30
> dic 01 21:12:46 kernel:  
> dic 01 21:12:46 kernel: Modules linked in: tls snd_seq_dummy
> snd_hrtimer vhost_net vhost vhost_iotlb tap xt_recent xt_conntrack
> xt_hashlimit xt_addrtype xt_mark xt_TCPMSS nft_chain_nat
> xt_MASQUERADE
> xt_REDIRECT xt_multiport xt_nat xt_CT xt_NFLOG nfnetlink_log xt_LOG
> nf_log_syslog nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp
> nf_nat_sip nf_nat_pptp nf_nat_irc rpcrdma nf_nat_h323 nf_nat_ftp
> nf_nat_amanda ts_kmp rdma_cm nf_conntrack_amanda nf_nat iw_cm
> nf_conntrack_sane ib_cm nf_conntrack_tftp nf_conntrack_sip ib_core
> nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_netbios_ns
> nf_conntrack_broadcast nf_conntrack_irc nf_conntrack_h323
> nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 tun pppoe
> pppox ppp_generic slhc ipt_REJECT nf_reject_ipv4 nft_compat nf_tables
> nfnetlink bridge stp llc qrtr snd_hda_codec_hdmi
> snd_hda_codec_realtek
> intel_rapl_msr intel_rapl_common snd_hda_codec_generic iwlmvm
> ledtrig_audio intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp
> snd_hda_intel coretemp
> dic 01 21:12:46 kernel:  snd_intel_dspcfg kvm_intel
> snd_intel_sdw_acpi
> mac80211 snd_hda_codec kvm libarc4 iTCO_wdt ee1004 mei_wdt
> intel_pmc_bxt mei_hdcp iTCO_vendor_support mei_pxp snd_hda_core
> iwlwifi
> snd_hwdep irqbypass snd_seq snd_seq_device rapl intel_cstate snd_pcm
> cfg80211 snd_timer mei_me snd think_lmi intel_uncore i2c_i801
> intel_wmi_thunderbolt firmware_attributes_class wmi_bmof soundcore
> pcspkr rfkill i2c_smbus mei joydev intel_pch_thermal acpi_pad nfsd

Re: Can't log in as root in a console anymore, in F37

2022-12-04 Thread stan via users
On Sun, 4 Dec 2022 09:09:21 -0700
stan via users  wrote:

> So after running dnf update on Dec 2, I can no longer log in as root
> in a console.  I shut down last night, and when I booted this
> morning, the problem was there.  I can su to root, and the root
> account is still present in /etc/shadow, as is the root directory.
> 
> I have seen that root is being removed from install unless explicitly
> requested, but I thought that was only for new installs and existing
> installs wouldn't be affected.
> 
> Does anyone have any ideas about what might have gone wrong?  Here is
> the list of updates that caused the problem (if it was an update, and
> there isn't something else going on).

This issue is already noted, caused by the new version of authselect.  
https://bugzilla.redhat.com/show_bug.cgi?id=2150155
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Can't log in as root in a console anymore, in F37

2022-12-04 Thread stan via users
So after running dnf update on Dec 2, I can no longer log in as root in
a console.  I shut down last night, and when I booted this morning, the
problem was there.  I can su to root, and the root account is still
present in /etc/shadow, as is the root directory.

I have seen that root is being removed from install unless explicitly
requested, but I thought that was only for new installs and existing
installs wouldn't be affected.

Does anyone have any ideas about what might have gone wrong?  Here is
the list of updates that caused the problem (if it was an update, and
there isn't something else going on).

2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: authselect-1.4.0-3.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: 
sane-backends-devel-1.1.1-9.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: gd-devel-2.3.3-6.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: libavif-devel-0.10.1-3.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: libass-devel-0.16.0-2.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: hplip-gui-3.22.10-1.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: hplip-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: libsane-hpaio-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: hplip-libs-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: 
sane-backends-drivers-scanners-1.1.1-9.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: 
sane-backends-drivers-cameras-1.1.1-9.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: sane-backends-1.1.1-9.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: 
sane-backends-libs-1.1.1-9.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: gd-progs-2.3.3-6.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: efl-1.26.3-1.fc37.x86_64
2022-12-02T09:44:50-0700 SUBDEBUG Upgraded: 
python3-matplotlib-qt5-3.6.2-1.fc37.x86_64
2022-12-02T09:44:51-0700 SUBDEBUG Upgraded: 
python3-matplotlib-gtk3-3.6.2-1.fc37.x86_64
2022-12-02T09:44:51-0700 SUBDEBUG Upgraded: mock-3.4-1.fc37.noarch
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: 
python3-matplotlib-3.6.2-1.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: 
python3-matplotlib-data-3.6.2-1.fc37.noarch
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: gd-2.3.3-6.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: 
kf5-kimageformats-5.100.0-1.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: darktable-4.0.1-5.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
python3-matplotlib-data-fonts-3.6.2-1.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: mock-filesystem-3.4-1.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: hplip-common-3.22.10-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
php-phpspec-prophecy-1.15.0-3.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
freeipa-healthcheck-core-0.11-5.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libavif-0.10.1-3.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
python3-matplotlib-tk-3.6.2-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: efl-devel-1.26.3-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libass-0.16.0-2.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: authselect-libs-1.4.0-3.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
xdg-desktop-portal-gtk-1.14.0-2.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
python3-regex-2022.9.13-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: perl-Object-Pad-0.71-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libbluray-1.3.3-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: 
darktable-tools-noise-4.0.1-5.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: certmonger-0.79.15-4.fc37.x86_64
2022-12-02T09:44:57-0700 SUBDEBUG Upgraded: SDL2_image-2.6.1-1.fc37.x86_64
2022-12-02T09:44:57-0700 SUBDEBUG Upgraded: kiwi-tools-9.24.50-1.fc37.x86_64

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: vlc and mp4 or mkv

2022-12-04 Thread Patrick O'Callaghan
On Sat, 2022-12-03 at 18:40 -0500, Bill Cunningham wrote:
> 
> On 12/3/2022 5:47 PM, Patrick O'Callaghan wrote:
> > On Sat, 2022-12-03 at 17:38 -0500, Bill Cunningham wrote:
> > > On 12/3/2022 5:19 PM, Patrick O'Callaghan wrote:
> > > > On Sat, 2022-12-03 at 16:49 -0500, Bill Cunningham wrote:
> > > > > But I try to save
> > > > > movies/videos as an iso or if there is no special feature a
> > > > > much
> > > > > smaller
> > > > > mpeg.
> > > > I've no idea if this fits your needs, but I always use mkvmerge
> > > > (from
> > > > the mkvtoolnix package) to create MKV files from (e.g. mp4 plus
> > > > srt
> > > > sources).
> > > > 
> > > > poc
> > > I tried this and the response was single field picture found fix
> > > audio
> > > of mpeg before multiplexing, something likethat. I have no idea
> > > what
> > > is
> > > means. This was an attempt to convert an ISO. Does mkvmerg work
> > > on
> > > VIDEO_TS VOBs that are not encrypted? This might be the right
> > > tool
> > > providing I can see what it wants fixed.
> > mkvmerge creates containers. It doesn't do any video
> > transformations if
> > that's what you need. You may want ffmpeg, transcode or handbrake,
> > but
> > again, I'm not an expert. I did use all of those tools for a time
> > many
> > years ago but without a lot of understanding of what I was doing.
> > 
> > poc
> 
> OK I see. I am running into the same problems I was running into
> before. 
> I can't get handbrake to work at all on windows. IDK if there's a
> linux 
> version or not. ffmpeg shows more errors the more I tweak it.

Not sure why you're mentioning Windows, but Handbrake is available on
Linux (in the RPMfusion repo).

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 1 line null webserver

2022-12-04 Thread Tim via users
On Sat, 2022-12-03 at 13:40 -0800, Mike Wright wrote:
> It's the dummy webserver that has me stumped.  I'd like it to return 0 
> bytes, status 200 for every connection to port 80.

You mightn't need to have a webserver pretend to answer their queries,
my approach of using a domain doesn't exist DNS response works well for
me.  Web browsers instantly failed to do anything related to the
advert, and carried on doing everything else that they could.

If you do want a webserver to respond in some way, it doesn't necessary
have to be a 200 response.  You could have a 0 byte 404 response, that
should work just as effectively, and be easy to implement it.

I tried that long ago, just having the webserver respond to any access
directed to it, and they'd always get a 404 as they'd never be
requesting anything it had.

But for me it didn't prove to be any advantage over the domain
blocking, other than the logs satisfying my curiosity about what had
been going on (or failing to go on, so to speak).
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 1 line null webserver

2022-12-04 Thread Philip Rhoades via users

Mike,

  ruby -run -e httpd . -p 5000

P.


On 2022-12-04 21:01, Barry wrote:
On 3 Dec 2022, at 21:40, Mike Wright  
wrote:


Hi all,

I'm using dnsmasq to create an ad/media blocker.  Whenever it receives 
a request for any listed domain I want to return a specific IP that 
points to a dummy webserver.  That part works.


It's the dummy webserver that has me stumped.  I'd like it to return 0 
bytes, status 200 for every connection to port 80.


nc seems like a good candidate but I can't get it right.

Anybody have a nc one-liner or other alternative that would accomplish 
this?


I Use apache httpd, its very low over head to serve static content.
From memory I recall it used approx. 100k bytes of memory.

Barry


Thanks for any ideas,
Mike Wright
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: 
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: vlc and mp4 or mkv

2022-12-04 Thread Barry
On 4 Dec 2022, at 03:07, Bill C  wrote:Not for me for some reason. IDK about codecs or what but there's errors.There is a user guide to ffmpeg that you might find interesting.https://img.ly/blog/ultimate-guide-to-ffmpeg/BarryOn Sat, Dec 3, 2022, 8:20 PM Jack Craig  wrote:ffmpeg works fine for me, ...On Sat, Dec 3, 2022 at 1:50 PM Bill Cunningham  wrote:idk if anyone is having this problem or not, but creating a mp4 or mpg 
using vlc seems to be impossible. I have been trying with windows and 
IDK if that makes a difference but I also have the f37 live workstation 
environment. I can decrypt a dvd, copy and watch a dvd, and even create 
an iso using genisoimage. I cannot though create an mp4 or mpg.

 My latest attempt seemed to copy a title video_ts copy and convert 
that but the "link in the chain" to other VOBs and such did not 
continue. This is in regards to vlc which runs on windows and linux, but 
I have tried several codecs together. aac, aac3, mp4 and mpg, and mkv. 
There is something always off.

 IDK if this is helpful in regards to a problem. But I try to save 
movies/videos as an iso or if there is no special feature a much smaller 
mpeg. vlc seems to be unbelievably complex if it can create/convert an 
ISO or VOBs to mpg4 or another container format.

 Has anyone else struggled with this problem and found a solution? 
Can these things be done using the live image workstation?

B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

___users mailing list -- users@lists.fedoraproject.orgTo unsubscribe send an email to users-le...@lists.fedoraproject.orgFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesList Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.orgDo not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 1 line null webserver

2022-12-04 Thread Barry


> On 3 Dec 2022, at 21:40, Mike Wright  wrote:
> 
> Hi all,
> 
> I'm using dnsmasq to create an ad/media blocker.  Whenever it receives a 
> request for any listed domain I want to return a specific IP that points to a 
> dummy webserver.  That part works.
> 
> It's the dummy webserver that has me stumped.  I'd like it to return 0 bytes, 
> status 200 for every connection to port 80.
> 
> nc seems like a good candidate but I can't get it right.
> 
> Anybody have a nc one-liner or other alternative that would accomplish this?

I Use apache httpd, its very low over head to serve static content.
From memory I recall it used approx. 100k bytes of memory.

Barry
> 
> Thanks for any ideas,
> Mike Wright
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue