gmake compile of python3.12 crashes on openBSD 7.5 but not on openBSD 7.4

2024-05-11 Thread Sandeep Gupta
I was able to compile Python 3.12 from source code on openBSD 7.4. However,
after upgrade to 7.5 the compile process crashes with core dump:

cc -pthread   -g  -Wl,--export-dynamic -o Programs/_testembed
Programs/_testembed.o -L. -lpython3.12 -lpthread  -lutil
 -lm
_testembed.c:1848
(./Programs/_testembed.c:1848)(Programs/_testembed.o:(test_init_use_frozen_modules)):
warning: wcscpy() is almost always misused, please use wcslcpy()
sed -e "s,/usr/bin/env
python3,/home/kabiraatmonallabs/Execution/Runtime/bin/python3.12," <
./Tools/scripts/2to3 > build/scripts-3.12/2to3-3.12
sed -e "s,/usr/bin/env
python3,/home/kabiraatmonallabs/Execution/Runtime/bin/python3.12," <
./Tools/scripts/idle3 > build/scripts-3.12/idle3.12
sed -e "s,/usr/bin/env
python3,/home/kabiraatmonallabs/Execution/Runtime/bin/python3.12," <
./Tools/scripts/pydoc3 > build/scripts-3.12/pydoc3.12
Illegal instruction (core dumped)
gmake[2]: *** [Makefile:1142: checksharedmods] Error 132
gmake[2]: Leaving directory
'/home/kabiraatmonallabs/Execution/Runtime/Python-3.12.2'
gmake[1]: *** [Makefile:793: profile-gen-stamp] Error 2
gmake[1]: Leaving directory
'/home/kabiraatmonallabs/Execution/Runtime/Python-3.12.2'
gmake: *** [Makefile:805: profile-run-stamp] Error 2

  I am unable to find a proper debugger into which to load the python.core
generated after core dump, so can't provide any useful debug info.
I don't think this is due to some changes in Python code that is creating
the core dump. Any ideas would be helpful.

Thanks
Sandeep


Re: https://twitter.com/openbsd

2024-05-11 Thread tux2bsd
Stuart L, your rant is unhinged.

> The OpenBSD team owe us (you included), nothing.

No shit.

I only asked, in my own way, why there was an inconsistency in release posts on 
Twitter.  They've been somewhat regular.

By blocking me the little tyrant T.J. Townsend demonstrated just how trivially 
a release post could have been made.  It takes just a tiny little bit less 
effort to make a post on that platform.  He said "we" at one point to deflect 
from the fact he didn't want to, I just don't understand why.

"Ah, one of us forgot & it's a bit late now" would have been a normal person's 
response, not immediately *I blocked you*.

tux2bsd



Re: https://twitter.com/openbsd

2024-05-11 Thread Stuart Longland

On 12/5/24 10:02, tux2bsd wrote:

The rest of what you blathered about is in your head, I only ever
mentioned the lack of an (singular) announcement via Twitter.


You want announcements on Twitter, you make it happen.

As it happens, Twitter is DEAD.  Ask that idiot @elonmusk -- he'll 
confirm it for you.  He calls it 핏.  The domain remains "twitter.com" 
because they've likely hard-coded it into too many places to make a 
feasible switch-over to "x.com" possible.


It's also dead because how how things are being run there.  It's a site 
for misinformation.  "OpenBSD 7.5 is released" isn't misinformation, 
it's fact, so has no place on twitter.com or x.com.  It's also news 
about an open-source free-software project, something that also is 
off-topic for twitter.com and x.com.


But, that's beside the point.  There's an API there… it's not rocket 
science to write a script that takes an email from `stdin`, scrapes the 
subject line and a hyperlink, then slaps that into a HTTP POST request… 
then configure your mail server to call it on receipt of an email.


I for one, am thankful they provide this project at all.  OpenBSD and 
its spin-off projects like OpenSSH… have made the Internet a better 
place.  The OpenBSD team owe us (you included), nothing.


They already give plenty.  And I've given this thread enough attention.
--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



Re: Kernel debugging

2024-05-11 Thread Alexis

Daniel Hejduk  writes:

Is there any way to build the kernel on Linux preferably Arch 
Linux?


In a VM, sure. Otherwise, no. Here's a comment from a thread about 
this topic, from a couple of years ago:


 https://www.reddit.com/r/openbsd/comments/r6wj3c/comment/hmwhk4a/


Alexis.



Re: https://twitter.com/openbsd

2024-05-11 Thread tux2bsd
On Sunday, May 12th, 2024 at 12:34 PM, Chris Petrik  wrote:

> Still amusing regardless

Thanks for the inspiration.  I made the following they-speak so that it's in 
the left's lobotomy language.

One wonders why T.J. Townsend doesn't simply sell OpenBSD's Twitter credentials 
to some porn site, make they's $458.12 then they not need to bother their they 
with Twitter ever again.

T.J. Townsend won't close OpenBSD's Twitter account because their they needs it 
for their they's ego.  "I manage OpenBSD's Twitter!!" they boasts as they plays 
the children's game Minecraft.  Triumphantly they regales "I blocked tux2bsd 
based on a single email which made this they felt personally attacked.  This 
they sure showed tux2bsd!!!".

Meanwhile, Stuart Longland is lost somewhere in at the commune looking for 
they's bourgeoisie reading glasses.

tux2bsd



Re: https://twitter.com/openbsd

2024-05-11 Thread Chris Petrik
Yeap a reason why ML suck 

Sent from Proton Mail Android


 Original Message 
On 5/11/24 7:02 PM, tux2bsd  wrote:

>  On Sunday, May 12th, 2024 at 11:25 AM, Stuart Longland
>  > since you seem to want evidence that it was announced…
>  
>  Learn to read:
>  
>  > No post about the 7.5 release on https://twitter.com/openbsd
>  
>  The rest of what you blathered about is in your head, I only ever mentioned 
> the lack of an (singular) announcement via Twitter.  At no point in time did 
> I suggest it was not announced via standard channels.
>  
>  You and T.J. Townsend have a personal issue with Twitter, so much so that 
> the pair of you are being irrational.
>  
>  tux2bsd
>  
>



Re: https://twitter.com/openbsd

2024-05-11 Thread tux2bsd
On Sunday, May 12th, 2024 at 11:25 AM, Stuart Longland 
> since you seem to want evidence that it was announced…

Learn to read:

> No post about the 7.5 release on https://twitter.com/openbsd

The rest of what you blathered about is in your head, I only ever mentioned the 
lack of an (singular) announcement via Twitter.  At no point in time did I 
suggest it was not announced via standard channels.

You and T.J. Townsend have a personal issue with Twitter, so much so that the 
pair of you are being irrational.

tux2bsd



Re: https://twitter.com/openbsd

2024-05-11 Thread tux2bsd
On Sunday, May 12th, 2024 at 11:04 AM, T.J. Townsend  wrote:

> On Sat, May 11, 2024 at 10:26:49PM +, tux2bsd wrote:
> 
> > Seemed strange, if deliberate then exceptionally petty.

> Wasting everyone's time by complaining on a mailing list that
> we didn't post a tweet seems a little petty too. Anyway I just
> blocked you from the OpenBSD account, so that should make life
> easier for everyone going forward.

I checked, you did too.  Taking that action only feeds your own ego T.J. 
Townsend.

I said it "Seemed strange,".  The rest of the sentence was if it was 
deliberate, which it must have been since you felt the need to overreact.

You also showed how trivial it would have been for a post like "OpenBSD 7.5 
released" to have been made but one can only conclude you didn't want to.  
Bizarre.

tux2bsd



Re: https://twitter.com/openbsd

2024-05-11 Thread Stuart Longland

On 12/5/24 09:12, tux2bsd wrote:

On 12/5/24 08:26, tux2bsd wrote:

No post about the 7.5 release on https://twitter.com/openbsd

Seemed strange, if deliberate then exceptionally petty.




Twitter is dead.


You forgot CC.  Here, I'll add Reply-To so you don't get confused next time.


That's your leftism talking, not reality.


No, it's reality.  It was irrelevant before, it's irrelevant and dead 
now.  Much of the infosec community have jumped ship, and these days, 
sites like https://infosec.exchange/ pretty much have surpassed the need 
for Twitter.


As for the announcement, since you seem to want evidence that it was 
announced…


https://marc.info/?l=openbsd-announce=171228270018970=2

If you want announcements on your ${SOCIAL_MEDIA_SITE}, subscribe an 
email client, write a script to publish it to said site.  There's no 
need for people here to help you flog a dead horse.

--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



Re: https://twitter.com/openbsd

2024-05-11 Thread tux2bsd
> On 12/5/24 08:26, tux2bsd wrote:
> > No post about the 7.5 release on https://twitter.com/openbsd
> > 
> > Seemed strange, if deliberate then exceptionally petty.
> > 

> Twitter is dead.

That's your leftism talking, not reality.




Re: https://twitter.com/openbsd

2024-05-11 Thread T.J. Townsend
On Sat, May 11, 2024 at 10:26:49PM +, tux2bsd wrote:
> I'm a bit late remembering to follow this up.
> 
> No post about the 7.5 release on https://twitter.com/openbsd
> 
> Seemed strange, if deliberate then exceptionally petty.
> 
> IIRC I saw it on OSNews on the day.

Wasting everyone's time by complaining on a mailing list that
we didn't post a tweet seems a little petty too. Anyway I just
blocked you from the OpenBSD account, so that should make life
easier for everyone going forward.



Re: https://twitter.com/openbsd

2024-05-11 Thread Stuart Longland

On 12/5/24 08:26, tux2bsd wrote:


I'm a bit late remembering to follow this up.

No post about the 7.5 release on https://twitter.com/openbsd

Seemed strange, if deliberate then exceptionally petty.

IIRC I saw it on OSNews on the day.



Twitter is dead.

OpenBSD has a website you can check, and an announcements list you can 
subscribe to if you're too busy to check the website.


While there's possibly some benefit in having a presence on the 
fediverse, I think the era of commercialised social media would be a 
good one to leave behind.

--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



https://twitter.com/openbsd

2024-05-11 Thread tux2bsd


I'm a bit late remembering to follow this up.

No post about the 7.5 release on https://twitter.com/openbsd

Seemed strange, if deliberate then exceptionally petty.

IIRC I saw it on OSNews on the day.



Re: Kernel debugging

2024-05-11 Thread Kirill A . Korinsky
On Sat, 11 May 2024 21:49:42 +0100,
Daniel Hejduk  wrote:
> 
> Is there any way to build the kernel on Linux preferably Arch Linux?
>

It is theoretically possible, but you need to change Makefiles a lot, and
probably to hack your toolchain.

-- 
wbr, Kirill



Re: Favorite configuration and system replication tools?

2024-05-11 Thread Страхиња Радић
Дана 24/05/11 10:36PM, Страхиња Радић написа:
>   cd "$target" &&
>   find "$dirs" | sort | uniq > "$target_list"

Lapsus: the variable dirs should not be quoted here if it contains more 
than one directory to be passed to find. It is vulnerable to directory 
names containing spaces and weird characters, however.

So:

   cd "$target" &&
find $dirs | sort | uniq > "$target_list"



Re: Kernel debugging

2024-05-11 Thread Daniel Hejduk
Hello again,
Is there any way to build the kernel on Linux preferably Arch Linux?

Best regards,
Daniel Hejduk

11. května 2024 22:05:50 SELČ, "Kirill A. Korinsky"  napsal:
>On Sat, 11 May 2024 20:28:08 +0100,
>Daniel Hejduk  wrote:
>> 
>> I want to enable kernel debugging how can I do it?
>> 
>
>See: https://man.openbsd.org/options
>
>-- 
>wbr, Kirill
>


Re: Favorite configuration and system replication tools?

2024-05-11 Thread Страхиња Радић
Дана 24/05/11 07:41PM, Walter Alejandro Iglesias написа:
> Today I realized that the loop above is not necesary:
> 
> ---
> dirs=$(echo "$files" | grep '/$')
> 
> cd && find $dirs | sort | uniq > $source_list
> cd $target && find $dirs | sort | uniq > $target_list
> diff $source_list $target_list |\
>awk '/^> / { print "'$target'/" $NF }' > $delete_list
> 
> cat $delete_list | sed 's/^/delete /'
> rm -rf $(cat $delete_list | xargs)
> 
> # Clean
> rm $source_list $target_list $delete_list
> 

A few notes:

- You don't need a backslash after a pipe (|) or a list operator (||
  and &&) - a line ending with a pipe is an incomplete pipeline. So 
  (with added quoting):

  diff "$source_list" "$target_list" |
awk '/^> / { print "'"$target"'/" $NF }' > "$delete_list"

  As an example for a list operator, the second line beginning with cd
  could also be written as:

  cd "$target" &&
find "$dirs" | sort | uniq > "$target_list"

  This works even when entering commands interactively from the command 
  line.

- Before the `rm -rf` line, a useless use of cat[1]:

  sed 's/^/delete /' "$delete_list"

- The xargs is unnecessary in `rm -rf $(cat $delete_list | xargs)`; 
  BTW, that line is vulnerable to weird pathnames (for example, 
  those including spaces, line feeds and special characters).


[1]: https://porkmail.org/era/unix/award



Re: Kernel debugging

2024-05-11 Thread Vitaliy Makkoveev
> On 11 May 2024, at 22:28, Daniel Hejduk  wrote:
> 
> Hello,
> I want to enable kernel debugging how can I do it?
> 

See ddb(4) man page.

> Best regards,
> Daniel Hejduk



Re: Kernel debugging

2024-05-11 Thread Kirill A . Korinsky
On Sat, 11 May 2024 20:28:08 +0100,
Daniel Hejduk  wrote:
> 
> I want to enable kernel debugging how can I do it?
> 

See: https://man.openbsd.org/options

-- 
wbr, Kirill



Kernel debugging

2024-05-11 Thread Daniel Hejduk
Hello,
I want to enable kernel debugging how can I do it?

Best regards,
Daniel Hejduk

Re: Favorite configuration and system replication tools?

2024-05-11 Thread Walter Alejandro Iglesias
On Sat May 11 20:20:04 2024 "Robert B. Carleton" wrote:
> Another tool you might want to take a look at is rdist(1). It's limited
> in some ways, but is a native capability to OpenBSD. It has a long
> history.
>

I've never used rdist(1) either, I will learn about it.  Thanks Robert
for mention it to me!

With unix I always feel like I'm just starting out, blissfully ignorant,
(I was about to also say "young" but that would be an exaggeration :-)).



Re: Favorite configuration and system replication tools?

2024-05-11 Thread Robert B. Carleton
Walter Alejandro Iglesias  writes:

> On Fri May 10 08:36:50 2024 Walter Alejandro Iglesias wrote
>> Then I do something like this (simplified for clartiy):
>>
>> [...]
>>
>> dirs=$(echo "$files" | grep '/$')
>>
>> for i in $dirs ; do
>>  find $source/$i | sed 's#'$source'##' | sort | uniq > $source_list
>>  find $target/$i | sed 's#'$target'##' | sort | uniq > $target_list
>>  diff $source_list $target_list |\
>>   awk '/^> / { print "'$target'" $NF }' >> $delete_list
>> done
>>
>> cat $delete_list | sed 's/^/delete /'
>> rm -rf $(cat $delete_list | xargs)
>>
>> rm $source_list $target_list $delete_list
>> 
>>
>
>
> Today I realized that the loop above is not necesary:
>
> ---
> dirs=$(echo "$files" | grep '/$')
>
> cd && find $dirs | sort | uniq > $source_list
> cd $target && find $dirs | sort | uniq > $target_list
> diff $source_list $target_list |\
>awk '/^> / { print "'$target'/" $NF }' > $delete_list
>
> cat $delete_list | sed 's/^/delete /'
> rm -rf $(cat $delete_list | xargs)
>
> # Clean
> rm $source_list $target_list $delete_list
> 

Another tool you might want to take a look at is rdist(1). It's limited
in some ways, but is a native capability to OpenBSD. It has a long
history.



Re: Localnet Hacking

2024-05-11 Thread Peter J. Philipp
On Sat, May 11, 2024 at 05:55:11PM +, Lucretia wrote:
> I would love some used books but don't have 1000???. I will have $750 around 
> beginning of June if you want to send me a Paypal invoice to my Apple email: 
> openbsd.g...@icloud.com I was going to buy my second laptop but books are 
> probably better for me at this point in time.
> 
> Your other message was crammed full of info, I don't know most of what you 
> said but I'll try to spend time in the mentioned manpages this week.

Hi Lucretia,

Sorry there is a communication failure.  I meant you should pick three books
for 20 EUR shipping or whatever it was for your country.  I'll have to look it
up.  I'm distributing it to anyone interested, first come first serve.  With
a limit of up to 3 (sometimes an exception for a 4th book is made) per person.

Best Regards,
-pjp



Re: Localnet Hacking

2024-05-11 Thread Lucretia
I would love some used books but don't have 1000€. I will have $750 around 
beginning of June if you want to send me a Paypal invoice to my Apple email: 
openbsd.g...@icloud.com I was going to buy my second laptop but books are 
probably better for me at this point in time.

Your other message was crammed full of info, I don't know most of what you said 
but I'll try to spend time in the mentioned manpages this week.

Lux of the Agony
720077 Bishkek
Altyn Kazyk 31A
KYRGYZSTAN
l...@openbsdgirl.com


 Original Message 
On 5/11/24 12:45, Peter J. Philipp  wrote:

>  On Sat, May 11, 2024 at 02:52:32AM +, Lucretia wrote:
>  > Book recommendations are most welcome!
>  >
>  > Lux of the Agony
>  > 720077 Bishkek
>  > Altyn Kazyk 31A
>  > KYRGYZSTAN
>  > l...@openbsdgirl.com
>  
>  If you want some used books, I'm moving across the Atlantic soon and I can't
>  take my books along.  In total the new value of them was 8000 odd EUR.  If
>  I send three books to kyrgystan and it's under 2 kg, I checked with DHL
>  it will cost under 20 EUR.  If I send all these books out in batches of three
>  it will cost 1000 odd EUR, which I don't have.  So I ask you pay shipping if
>  you want any of these.  They are all dear to me, however I tried donating 
> them
>  to local clubs, libraries and noone wants them, and I can't take them along.
>  
>  Even if you don't like what you're getting (or you don't like used books.. I
>  know I don't) you can pass them on to someone who doesn't mind.  However you
>  can also just request three books, in order to look into them and if you like
>  them you can repurchase them.  I know in some locations it's very hard to get
>  a peek into a book.
>  
>  So willing to end out 53-54 batches of 3 books to people who want some of
>  these.  Very little of these I got used but they are all mostly 5 years+
>  old.  Some were purchased in Canada and most were purchased in Germany while
>  I had work.
>  
>  Here is the booklist:  https://mainrechner.de/Buecher2024/
>  
>  Contact me privately if you would like a batch with what you like.  I'll
>  make note on that webpage of what's given away.  Offer ends July 1st of this
>  year.
>  
>  Best Regards,
>  -pjp
>  
>  --
>  ** all info about me:  lynx https://callpeter.tel, dig loc delphinusdns.org 
> **
>  
>



Re: Favorite configuration and system replication tools?

2024-05-11 Thread Walter Alejandro Iglesias
On Fri May 10 08:36:50 2024 Walter Alejandro Iglesias wrote
> Then I do something like this (simplified for clartiy):
>
> [...]
>
> dirs=$(echo "$files" | grep '/$')
>
> for i in $dirs ; do
>   find $source/$i | sed 's#'$source'##' | sort | uniq > $source_list
>   find $target/$i | sed 's#'$target'##' | sort | uniq > $target_list
>   diff $source_list $target_list |\
>awk '/^> / { print "'$target'" $NF }' >> $delete_list
> done
>
> cat $delete_list | sed 's/^/delete /'
> rm -rf $(cat $delete_list | xargs)
>
> rm $source_list $target_list $delete_list
> 
>


Today I realized that the loop above is not necesary:

---
dirs=$(echo "$files" | grep '/$')

cd && find $dirs | sort | uniq > $source_list
cd $target && find $dirs | sort | uniq > $target_list
diff $source_list $target_list |\
 awk '/^> / { print "'$target'/" $NF }' > $delete_list

cat $delete_list | sed 's/^/delete /'
rm -rf $(cat $delete_list | xargs)

# Clean
rm $source_list $target_list $delete_list




7.5 stable wsmoused question

2024-05-11 Thread mindfsck
Hello,

I am trying to narrow down an issue (and learn along the way) with
wsmoused. The issue is:
- X (wsfb) is running with xfce4 and xenodm, the mouse works fine in X.
- I go to a console and execute wsmoused (as root) with no parameters, so
as per sources, /dev/wsmouse is opened.
- I have a working mouse cursor now on the console.
- Going back to X (ctrl-alt-F5)
- Here the mouse seems to still be in console mode, the framebuffer is
getting riddled when moving the mouse and the black background of the
console comes to light.

Ok, this is the issue, but more importantly is my question :-)

I tried the following:
1) wrote a C program that opens /dev/wsmouse and checks perror output.
2) running this as root on the console works (no error).
3) running this as root inside X gives me a "device busy".

I am puzzled re. (3)! How does it know that I'm in X?


Re: Localnet Hacking

2024-05-11 Thread Peter J. Philipp
On Sat, May 11, 2024 at 08:45:45AM +0200, Peter J. Philipp wrote:
> If you want some used books, I'm moving across the Atlantic soon and I can't
> take my books along.  In total the new value of them was 8000 odd EUR.  If
> I send three books to kyrgystan and it's under 2 kg, I checked with DHL
> it will cost under 20 EUR.  If I send all these books out in batches of three
> it will cost 1000 odd EUR, which I don't have.  So I ask you pay shipping if
> you want any of these.  They are all dear to me, however I tried donating them
> to local clubs, libraries and noone wants them, and I can't take them along.
> 
> Even if you don't like what you're getting (or you don't like used books.. I
> know I don't) you can pass them on to someone who doesn't mind.  However you
> can also just request three books, in order to look into them and if you like
> them you can repurchase them.  I know in some locations it's very hard to get
> a peek into a book.
> 
> So willing to end out 53-54 batches of 3 books to people who want some of
> these.  Very little of these I got used but they are all mostly 5 years+
> old.  Some were purchased in Canada and most were purchased in Germany while
> I had work.
> 
> Here is the booklist:  https://mainrechner.de/Buecher2024/
> 
> Contact me privately if you would like a batch with what you like.  I'll
> make note on that webpage of what's given away.  Offer ends July 1st of this
> year.

Wow, thanks for the 4 people who got some books already!  They come from all
over the world, Australia, Germany, Finland, and United States.

Just to clarify, anyone can get around 3 books.  Look at the book chart of
mine if you see a country flag beside the title it's taken.  I thank you
all for taking this off my hands (like said I can't take them along on the
plane, they don't fit in a suitcase).

I'm happy to be mailing out a batch of 10 parcels per week give or take a few.
More I can probably not handle before July 1st.

Lux, get a book or three, sorry to be hijacking your thread here, I mean well.

-pjp

-- 
** all info about me:  lynx https://callpeter.tel, dig loc delphinusdns.org **



Re: Localnet Hacking

2024-05-11 Thread Kirill A . Korinsky
On Sat, 11 May 2024 03:52:32 +0100,
Lucretia  wrote:
> 
> I have a laptop and am looking to purchase a second computer. Neither of them 
> will be connected to The Internet, but will be networked together.
> 
> My goal is to study networking, starting with some of the most basic commands 
> and routines. This will be purely for educational purposes. I may build upon 
> the network later, perhaps with unconventional devices, but for now I want to 
> focus just on having two Amd64 machines communicating with one another.
>

I wonder why to buy any physical devices if you may run virtual machines?

-- 
wbr, Kirill



Re: Localnet Hacking

2024-05-11 Thread Peter J. Philipp
On Sat, May 11, 2024 at 08:45:45AM +0200, Peter J. Philipp wrote:
> Contact me privately if you would like a batch with what you like.  I'll
> make note on that webpage of what's given away.  Offer ends July 1st of this
> year.

Three books have already been given away.  They went to Finland.  Look for
a marking of a flag beside the name of the title of the book.

Also if I may interest some people:  The Java book is autographed by Ian F.
Darwin who is also on this list.  Also the 4.4BSD book which is quite beaten
up was autographed by 3 of the 4 authors at BSDCon 2000.  They were everyone
other than John Quarterman.  Maybe I'll run into him one day but then I'll
be missing 3 signatures hehe.

-pjp

-- 
** all info about me:  lynx https://callpeter.tel, dig loc delphinusdns.org **



Re: Localnet Hacking

2024-05-11 Thread zeloff
Familiarise yourself with IPv4: addreses, network segments, netmasks, and 
private IP ranges. Even a careful reading of wikipedia might be enough to get 
you started. By the end you shouls have a basic understanding of how packets 
are routed. You won't be building a router, so no need for complex stuff, that 
will come later. Then the OS itself: ifconfig and (some of) route will help. 
Read their man pages (at least the parts about inet (aka IPv4) for ifconfig and 
how 'get' and 'show' work on route. By then you'll be able to assign an address 
to each host, and have them communicating with each other.ping will help you to 
check if things are flowing, tcpdump might help to see if and why things are 
/not/ flowing.By now you got to where you wanted, but my next step would be 
going deeper into routing, handling hosts with multiple interfaces,  and 
subnets. Then perhaps NAT, and redirecting and for that you need pf.  Peter 
Hansteen's "The Book of PF" might help you there, but there's also the PF parts 
of OpenBSD's FAQ, and several other places online.Take it one step at a time, 
and let your curiosity lead you.Cheers-- Sent from my phone, apologies for bad 
formatting
 Original message From: Lucretia  Date: 
11/05/2024  03:53  (GMT+00:00) To: misc@openbsd.org Subject: Localnet Hacking I 
have a laptop and am looking to purchase a second computer. Neither of them 
will be connected to The Internet, but will be networked together.My goal is to 
study networking, starting with some of the most basic commands and routines. 
This will be purely for educational purposes. I may build upon the network 
later, perhaps with unconventional devices, but for now I want to focus just on 
having two Amd64 machines communicating with one another.What are some basic 
networking commands from the base installation or from ports that would be good 
for a novice to learn more in-depth?I have no plans to connect this system to 
The Internet now or in the future, so keep that in mind when suggesting.Book 
recommendations are most welcome!Lux of the Agony720077 BishkekAltyn Kazyk 
31akyrgyzstan...@openbsdgirl.com

Re: Localnet Hacking

2024-05-11 Thread Peter J. Philipp
On Sat, May 11, 2024 at 02:52:32AM +, Lucretia wrote:
> Book recommendations are most welcome!
> 
> Lux of the Agony
> 720077 Bishkek
> Altyn Kazyk 31A
> KYRGYZSTAN
> l...@openbsdgirl.com

If you want some used books, I'm moving across the Atlantic soon and I can't
take my books along.  In total the new value of them was 8000 odd EUR.  If
I send three books to kyrgystan and it's under 2 kg, I checked with DHL
it will cost under 20 EUR.  If I send all these books out in batches of three
it will cost 1000 odd EUR, which I don't have.  So I ask you pay shipping if
you want any of these.  They are all dear to me, however I tried donating them
to local clubs, libraries and noone wants them, and I can't take them along.

Even if you don't like what you're getting (or you don't like used books.. I
know I don't) you can pass them on to someone who doesn't mind.  However you
can also just request three books, in order to look into them and if you like
them you can repurchase them.  I know in some locations it's very hard to get
a peek into a book.

So willing to end out 53-54 batches of 3 books to people who want some of
these.  Very little of these I got used but they are all mostly 5 years+
old.  Some were purchased in Canada and most were purchased in Germany while
I had work.

Here is the booklist:  https://mainrechner.de/Buecher2024/

Contact me privately if you would like a batch with what you like.  I'll
make note on that webpage of what's given away.  Offer ends July 1st of this
year.

Best Regards,
-pjp

-- 
** all info about me:  lynx https://callpeter.tel, dig loc delphinusdns.org **