Re: [dev] A secure wireless protocol

2023-10-16 Thread Josuah Demangeon
Sergey Matveev wrote: >*** Josuah Demangeon [2023-10-15 16:43]: >>Not possible to do "tcpdump -i ipsec0" to see the packets going >>*over* the VPN as there is no network interface for it > >That depends on OS/configuration. There could be literally "ipsec&q

Re: [dev] A secure wireless protocol

2023-10-15 Thread Josuah Demangeon
> (OpenBSD added the pflog interface for tcpdump purpose though) My bad, it is the enc(4) interface: https://man.openbsd.org/enc.4 # ifconfig enc0 enc0: flags=0<> index 2 priority 0 llprio 3 groups: enc status: active # tcpdump -i enc0 tcpdump:

Re: [dev] A secure wireless protocol

2023-10-15 Thread Josuah Demangeon
Sergey Matveev wrote: > *** Sagar Acharya [2023-10-15 18:00]: > >How many devices can connect to IPSec VPN? > > Thousands easily. Depends on bandwidth and CPU speed mainly. You can also find that protocol in almost any 'hardware' router that claims to support a VPN: Mikrotik, StormShield, Forti

Re: [dev] Use of sdhcp

2023-10-05 Thread Josuah Demangeon
if you have something misconfigured, you might still be able to deduce what is going wrong thanks to tcpdump. > Thanking you > Sagar Acharya > > On 5 October 2023 7:55:25 pm IST, Josuah Demangeon wrote: > >Hello Sagar Acharya, > > > >Let me know if I misunderstood, bu

Re: [dev] Use of sdhcp

2023-10-05 Thread Josuah Demangeon
Sean MacLennan wrote: > On Thu, 05 Oct 2023 16:25:25 +0200 > Josuah Demangeon wrote: > > > Which would provide something acting like Ethernet, > > but out of a serial cable instead of a cat6 cable. > > They could be running serial over a cat6 cable. Some of the embed

Re: [dev] Use of sdhcp

2023-10-05 Thread Josuah Demangeon
Hello Sagar Acharya, Let me know if I misunderstood, but I believe you are mixing two things: If you have a cat6 ethernet cable, then you likely already have a network card. You do not need DHCP to get two computers communicate, you can use static addressing, which is easier to use than DHCP. #

Re: [dev] Simpler WiFi alternatives

2023-05-14 Thread Josuah Demangeon
To anyone who was genuinely interested in the topic: Since Arduino was pointed out, something on that level that is very widely used is the ESP32: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-ethernet-kit.html It happens that WiFi is cheap: a piece o

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread Josuah Demangeon
fo...@dnmx.org wrote: > > On 23/05/11 04:03PM, fo...@dnmx.org wrote: > > > > How am I a troll, and more importantly: so what if you don't like > swearwords? I > also don't like many things about you, for example you being a little > worthless > snowflake. > > Sweardwords is literally just a list

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread Josuah Demangeon
Страхиња Радић wrote: > On 23/05/11 04:03PM, fo...@dnmx.org wrote: > Good point: if the author cares about the project presented, why would he interleave every sentense with swearing. > This list needs moderation ASAP, otherwise it risks turning into another > Reddit (which, for those who migh

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-29 Thread Josuah Demangeon
Rodrigo Martins wrote: > What if instead of changing every program we changed the standard > library? We could make stdio line buffered by setting an environment > variable. I applaude this idea! Environment variables seems to be the right spot for any config a library could need: are unobstrusive

Re: [dev] Status of compilers that suck less for riscv

2022-02-27 Thread Josuah Demangeon
> > What are some compilers for riscv architecture that suck less? > Short answer: not for now, but I wish I would! I should reword: I do not *know* any for now, but maybe there are some around! Like this work for TCC: https://github.com/sellicott/tcc-riscv32 or maybe other small projects like th

Re: [dev] Status of compilers that suck less for riscv

2022-02-27 Thread Josuah Demangeon
> I need support for riscv32.  By the way, I am curious about what you are working on.

Re: [dev] Status of compilers that suck less for riscv

2022-02-27 Thread Josuah Demangeon
> What are some compilers for riscv architecture that suck less? > I checked the 5 mentioned on suckless website and only tcc has riscv64 files > in it. > I need support for riscv32.  Short answer: not for now, but I wish I would! For cross-compiling for embedded, I tried riscv64-unknown-elf-gcc

Re: [dev] [surf] segmentation fault

2022-01-13 Thread Josuah Demangeon
m...@datameer.com wrote: > Does that mean I have to compile surf incl all dependencies with > https://github.com/void-linux/void-packages? > > Or do you have any other hint for me? Страхиња did show you the way : config.h is the user configuration file, distributions might also want packages with

Re: [dev] Privilege escalation on remote hosts. MANY remote hosts.

2017-09-26 Thread Josuah Demangeon
Other people make different choices than you. That is great. Imagine that! Especially if they have other priorities than you. This as well, but I feel large side effects of these choice is being hidden to the people that make them: the cost of maintaining all of these different languages in

Re: [dev] Opinions on GNU stow

2017-09-01 Thread Josuah Demangeon
In fact, I was thinking of writing a GNU Stow drop in replacement in Suckless-style C when I find some time (GNU Stow is written in Perl, I believe). I am always a bit confused when I hear about GNU stow. Does it provide more feature than this: ETC=$(cd "${0%/*}" && pwd) find "$ETC" -name .g

Re: [dev] announcing edit-pipe

2017-08-27 Thread Josuah Demangeon
A similar tool made for the dvtm pager: https://github.com/martanne/dvtm/raw/master/dvtm-editor.c It saves stdin to a file and open an editor on it, then if the file has changed since its creation, it print all the content of the file to stdout. It is used to copy a fragment of a file: select th

Re: Re: [dev] Interesting Web Browser Decoupling Concept

2017-06-13 Thread Josuah Demangeon
sylvain.bertr...@gmail.com: > worst: it is an obvious troll. > > going to shorten it: > > He's right, computer systems are ultra-secure: viruses and hacks (software and > hardware) are a very rare thing, they do not happen all the time, at best this > is an illuminaty conspiracy to make us beli

Re: Re: [dev] Interesting Web Browser Decoupling Concept

2017-06-13 Thread Josuah Demangeon
On June 13, 2017 7:39:28 PM GMT+02:00, hiro <23h...@gmail.com> wrote: > this is not a philosophy list, go back to school please. You are right. I fooled myself into believing it was for some technical reasons.

Re: Re: [dev] Interesting Web Browser Decoupling Concept

2017-06-13 Thread Josuah Demangeon
On June 13, 2017 7:29:14 PM GMT+02:00, sylvain.bertr...@gmail.com wrote: > Only fools believe in computer security. > I'm not one of them. I am curious about the reasons as I am a total beginner in that domain. Do you mind to develop about it ?

Re: [dev] slconfigure

2017-05-29 Thread Josuah Demangeon
I am not disappointed when I see a simple ./configure script that generate a clean config.mk. Would something like this be acceptable to for a suckless project ? case "$(uname -a)" in *Linux* ) XXXINC=/... ;; *OpenBSD* ) XXXINC=/... ;; *FreeBSD* ) XXXINC=/... ;; esac te

Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

2017-03-27 Thread Josuah Demangeon
> Only recording raw output from commands, logging it to a text file > like the script(1) command and calling a pager on this file while > asking for scrollback. man.openbsd.org/script: > BUGS > > script places everything in the log file, including linefeeds and > backspaces. This is not what th

Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

2017-03-27 Thread Josuah Demangeon
Of course some tool like acme would solve the problem, but it is a different approach. For acme, the editor is a plain-text-only multiplexer (much easier to implement), and replaces every ncurses interfaces, so it is skipping the problem. For sam, the editor '!' command, pipes the output to a

Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

2017-03-27 Thread Josuah Demangeon
In-between tmux and nothing, there is abduco(1): only attach/detach features. One could set some $ABDUCO to the session name, and if not set, attach to latest abduco session. Here is what I currently use [2]: if [ "$ABDUCO" ]; then printf 'session already active: %s\n' "$ABDUCO"

Re: [dev] [sltar] Listed project idea to extend sltar with compression

2017-02-10 Thread Josuah Demangeon
On 2017-02-10 20:47, Hiltjo Posthuma wrote: On Fri, Feb 10, 2017 at 2:54 PM, yamada yohei wrote: Why we have to specify -z -j -a -Z or -J when decompress tar ball? Why doesn't tar distinguish them automatically? (It should achieve using file(1) or magic(5) database.) I cannot remember all thes

Re: [dev] [ubase] pager

2017-02-09 Thread Josuah Demangeon
roqbin.a.t.peder...@gmail.com: > I vaguely remember pagers discussed in a thread, and the conclusion was > that pagers are unecessary because its the job of something like dvtm or > tmux. I also like to have the multiplexer managing the scrolling, but for dvtm, what provides the scrolling (and c

Re: [dev] looking for a simple music player

2017-02-07 Thread Josuah Demangeon
Simple Audio Daemon may be interesting: http://git.2f30.org/sad/files.html

Re: [dev] looking for a simple music player

2017-02-07 Thread Josuah Demangeon
I would also be interested by such a program if one of you already know one. My workaround is this script: http://github.com/josuah/config/raw/master/bin/play

Re: [dev] [ubase] pager

2017-02-04 Thread Josuah Demangeon
On February 4, 2017 10:49:52 AM GMT+01:00, "Mattias Andrée" wrote: > On Sat, 4 Feb 2017 10:22:24 +0100 > Josuah Demangeon wrote: > > > On February 4, 2017 2:03:16 AM GMT+01:00, "Mattias > > Andrée" wrote: > > > > > > Well, this

Re: [dev] [ubase] pager

2017-02-04 Thread Josuah Demangeon
On February 4, 2017 2:03:16 AM GMT+01:00, "Mattias Andrée" wrote: > > Well, this is embarrassing, I forgot to check you program > before starting on ul(1). However, I just ran > > MAN_KEEP_FORMATTING=y man man | ./iode I made escape sequences tooglable with flags, maybe that is the reas

Re: [dev] [ubase] pager

2017-02-02 Thread Josuah Demangeon
I started such a tool recently. It is probably not suckless, as it is already 1600 loc, but can properly display a man page, colour escape codes and content from UTF-8-test.txt and UTF8-demo.txt without ncurses. http://github.com/josuah/iode If this one sucks, I would be glad to see the implem

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread Josuah Demangeon
sylvain.bertr...@gmail.com: > > Write it in simple C, it's the best compromise. Compose C programs with > simple sh scripts. It is fine this way, I will take this route. > If you are here, you are looking for a cure to those diseases. Yes, and am glad of what I already found here. Thank you

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-01 Thread Josuah Demangeon
sylvain.bertr...@gmail.com: > Useless to spend time on this, since guile is not suckless. I am curious about the languages that you would consider suckless. I learned POSIX shell scripting and awk, I am also trying C and a few lua. Is there something else you would advise to learn or somethi

Re: [dev] [surf] Webkit2 with proxy server

2016-12-23 Thread Josuah Demangeon
On 2016-12-17 20:22, Cág wrote: And this is why the web engine should be in C, hackable, simple and small enough to be compiled with tcc/pcc/scc, just like other suckless software (I haven't tried scc though, looks like active work is in progress by glancing at the log and hackers list). I j

Re: [dev] [lnanosmtp]

2016-06-12 Thread Josuah Demangeon
Sorry, I was trying s-nail, and answered by mistake. Have a nice day!

Re: [dev] Re: Linux distros that don't suck too too much

2016-05-12 Thread Josuah Demangeon
> The reason many people does not regard activities performed with > computers as "complex" in the modern age is because they have been > exposed to them long enough to learn how to use them up to some point. > It is worth noticing that people with actually zero exposition to > computers - like old