#💽Programming Chat v2

1 messages · Page 4 of 1

full berry
#

ugfhhh shakes butt

#

ada AND postfix??

spare quartz
#

okay-

#

there you go

full berry
#

or am i schizo

spare quartz
full berry
#

ur using postfix for your mailserver right

spare quartz
#

no i

#

wrote it

full berry
#

im confused because i see a-

#

what

spare quartz
#

what do you think this is 😭

full berry
#

who in their right mind

#

i thought that was something like a.exe

#

lets see

#

whats .adb

spare quartz
timid quartz
#

@spare quartz check your terminal now

spare quartz
#

yes i see it

#

its not very fast though.

timid quartz
#

yeah I have 100ms delays

spare quartz
#

can you set up a server on your end and i try

timid quartz
#

uh ok

spare quartz
#

set it to 0 ms

timid quartz
#

I will rot

#

just gotta wait...

#

FORCIBLY CLSOED

#

die

spare quartz
#

i didnt close it

timid quartz
#

oh

#

LOL

#

THAT WAS 0 MS

#

IT WAS OVER IN AN INSTANT

spare quartz
#

i saw 💀

timid quartz
#

@spare quartz only issue is that my university has a firewall

full berry
#

that

#

might be me

timid quartz
#

I think 0ms is too fast lol

full berry
#

wait

#

no

full berry
spare quartz
#

yeah looks like the servers handling it just fine

spare quartz
full berry
#

the thing you sent

spare quartz
#

a log

full berry
#

yeah that's obvious

#

what is said log logging

spare quartz
#

the connections

full berry
#

oh okay um

#

do i like need to add anything else to my command cause its still refusing to connect lmfao

spare quartz
#

telnet javart.zip 25

#

this is all you need

#

if it doesnt work, a firewall might be blocking it

spare quartz
#

i sure know its not my firewalls cause my pcs firewall is off and the ip itself is DMZ'd

full berry
#

lets try now

#

yeah not a firewall i just turned it off

spare quartz
#

well then it could be your isp

#

uhh

#

do you have nmap installed

full berry
#

uhh no

#

why does that sound familiar

spare quartz
full berry
#

yeah i dont have nmap no

#

you're not allowed to scan other websites with nmap??

#

wow

spare quartz
#

you're allowed to scan anyone what

full berry
#

apparently its illegal

spare quartz
#

its not

#

also omggg hiii im freebsd apparently

spare quartz
#

have you updated your indexes

full berry
#

what

spare quartz
#

sudo apt update

full berry
#

fucking

#

forget that each time

proud creek
timid quartz
#

@spare quartz connect to my IP on port 6969

full berry
#

may i try

#

since i couldn't connect to atp's

timid quartz
#

u don't have my ip tho

full berry
#

give me your ip rot

timid quartz
#

no

spare quartz
full berry
#

laoo

timid quartz
spare quartz
#

what part of 3 nats dont you understand old man

#

modem/router -> router -> windows
windows <-> wsl

timid quartz
#

smh

spare quartz
#

even your ports hidden

#

since windows does the management, not me

timid quartz
#

ik how a nat works

#

ugh do I put this on my server then or what

spare quartz
spare quartz
timid quartz
#

I sent it to you

full berry
#

ughhh i love networking i wish we did something like this in school

#

not fucking

#

EXCEL

#

im prob gonna download ubuntu 24.04 for dual booting

lavish dove
#

when I used ubuntu my fan was on 24/7

#

that thing is bloated to hell and back

full berry
#

i could do fedora

lavish dove
#

never tried it

#

just debian and ubuntu

full berry
#

my robotics teacher uses ubuntu 22 on his personal laptop

#

what a chad GigachadQBC

lavish dove
#

gigachad

#

I could probably go full linux if I wanted to but im too lazy

full berry
#

i would if roblox had official support for it

lavish dove
#

yeah that would turn me over immediately

#

apparently it works just fine in a opengl passthrough vm tho

#

but the kvm stuff that has opengl passthrough gives me an error every step of the way lmao

spare quartz
#
with GNAT.Sockets; use GNAT.Sockets;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;

procedure Tcpspammer is
   Client  : Socket_Type;
   Address : Sock_Addr_Type;
   Channel : Stream_Access; 
begin
   Create_Socket (Client);
   --  IP REDACTED
   Address.Addr := Inet_Addr ("IP REDACTED");
   Address.Port := 6969;

   Connect_Socket (Client, Address);
   Channel := Stream (Client);
   
   loop
      String'Write (Channel, ":3" & LF);
   end loop;
end Tcpspammer;
#

superior version of this

#

actually

#

hmm how do i take in console input in ada

full berry
#

hmm theoretical question

#

how would you scan the network that you're currently on

#

like let's say uhhh what would be a good example

#

like school or work network let's say

spare quartz
#

Google: what is my ip
nmap <ip>

full berry
#

umm

lavish dove
#

localhos

full berry
#

isnt that just

#

yeah

#

i was about to ask that

spare quartz
lavish dove
#

wait but you would see everything

#

oh its just the ports

#

whats the tool that gives all the devices and shit

spare quartz
#

i think thatll work on any linux system i have no idea

lavish dove
#

i am not running that

spare quartz
#

trust

#

oh crap its still pinging the aera port

#

lemme just get line that

#

there we go

full berry
#

iwaitaiawtiatw

#

@spare quartz can i use nodemailer to make a mail/smtp server

spare quartz
#

i suppose

full berry
#

hmm

lavish dove
spare quartz
#

NO

#

its just

#

a load tester

#

yeah

lavish dove
#

now make it be impossible to see in the background, and connect to a master server that tells it what targets to load test

spare quartz
#

😭

timid quartz
#

it actually works quite well

full berry
#

oh?

#

i'll give it a try

#

i'm cleaning out my boot options because there's so many unused ones

lavish dove
#

oh its just a android emulator

#

why cant you use a normal one

#

wow and you can only install it through flatpak too

#

Sober is unfortunately closed-source. This could change in the future.
hahhahhaha

spare quartz
#

so dumb

lavish dove
#

I would not be surprised if its a compiled python script that downloads a normal emulator then runs roblox there

#

oh it only works with gnome too

#

it requires you to use gnome, crazy

lavish dove
# timid quartz Sober

I thought that would be like some wine extension that just magically worked but nah its a android emulator

spare quartz
#

aera is a bad person!!

#

though

#

im surprised my code worked first try

#

hold on thats an old file

#

there we are

timid quartz
spare quartz
#

i get to sit nice in comfy in my regulated console

#

while you get flooded in your rustlet

timid quartz
spare quartz
#

nope!

timid quartz
spare quartz
#

programmning chat to malware center transformation

#

okay well. cheater.

#

i have to deal with multiple threads .

timid quartz
#

I do too nerd

#

I spawn every connection you make in a new thread

spare quartz
#

WHAT

#

wait so if i make 5000

timid quartz
#

ughhh I have to study for combinatorics atp

#

@spare quartz spam me

spare quartz
#

im playing satisfactor yrn

#

😭

timid quartz
#

spam me rq

#

takes 5 seconds

spare quartz
#

port

timid quartz
#

same

#

how is satisfactory 1.0 anyways

#

I saw it released last tuesday

spare quartz
#

nice

timid quartz
#

but yeah ip/port is the same

spare quartz
#

done spammng

timid quartz
#

DAMNIT I

#

FOrgot

wraith scarab
#

guys wats a script

spare quartz
#

hi taffy

timid quartz
#

try one more time atp

wraith scarab
timid quartz
#

WHAT

spare quartz
#

uh

timid quartz
#

how is it still spamming

spare quartz
#

im assuming you turned it off considering all threads shut down

timid quartz
#

this is annoying

#

@spare quartz one last time

spare quartz
#

i did it

timid quartz
#

WHY DOE SIT NOT

#

AAA

#

do I need to arc it

#

@spare quartz can you try it again

#

I don't think LazyLock<Arc<...>> will be correct though

#

nope

#

@spare quartz what about now

#

YAY FINALLY

#

holy hell

spare quartz
#

BEST

#

RUST

#

PROGRAMMER

timid quartz
#

ok listen

spare quartz
#

what'd you do

timid quartz
#

I tried a

const INPUT_LOCK: LazyLock<Mutex<HashSet<String>>>>

first

#

but it seemed to maybe give a new hash set out every time it was called

#

so in the end I made an Arc<Mutex<HashSet<String>>>> in main() and passed that to each thread

spare quartz
#

wha-

#

what i did was just

timid quartz
spare quartz
#

put a function in a PO (essentially mutex) and put the value in a set

#

if it returned false for "already there", dont print

#

else print

timid quartz
#

you can only have const at top level

#

and const have to be there at compile time

spare quartz
#

well thats odd

#

we can have constants anywhere(*)

timid quartz
#

which is what the LazyLock is for (basically saying let me create this at runtime)

#

const is different from let (no mut)

#

the C analog is like

#
const int my_int = 5;  // const in rust

int main(void) {
  // ...
}
#

that's what I mean by top level

spare quartz
#

top level is a nearly universal thing i know what you mean

#

thats the same way its done in kotlin

#

(kotlin can also have consts in companion objects, too, but,)

timid quartz
#

the outermost type can't be mutable

#

but you can use something like a Mutex that allows for inner mutability

#

But the value inside has to be initialized at compile time

full berry
#

@spare quartz mind opening your mail server for like 5 seconds i wanna see if this worked or nah

spare quartz
#

foggmk

#

it is open

full berry
#

ok lets try

#

bro

#

@spare quartz did you try turning it off and then on again

#

because

spare quartz
#

again

#

its your side

#

not mine

full berry
#

hooooow omg

#

can you keep it open i wanna see if it actually is my side

timid quartz
#

@spare quartz try again I wanna see if this works

#

this will be the last time I swear

spare quartz
#

oh my god

timid quartz
#

oh lol it panicked

pastel tinsel
#

gerouhejsrgad

#

that reminds me I need to setup a mail server

#

my ISP doesn't block the ports for one

full berry
#

@spare quartz i asked someone else and they too cant connect to it 😭

timid quartz
#

croatian internet

full berry
#

BRO

#

do not even start

#

could it be a preset router blacklist???

full berry
#

because of the uh block they imposed on my cdn

#

ok i just turned off my router's internal firewall

#

gotta reboot brb

timid quartz
#

croatia's best ISP

full berry
#

BRO

#

oml it is my isp what the fuck

#

(online telnet thing)

#

WHY IS IT RUSSIAN

full berry
pastel tinsel
#

home one

full berry
#

wtf is unifi

pastel tinsel
full berry
#

oh my fucking go

#

d

#

i will

#

fucking kill myself

#

@timid quartz THERS AN OPTION HIDDEN AWAY IN DEVELOPER MODE WHICH IS SO HARD TO GET TO

#

mm is this even it idk

pastel tinsel
#

lol!

full berry
full berry
#

this looks liek

#

whats the word

#

enterprise typa shit not home network 💀

pastel tinsel
#

it is enterprise type shit

#

lol!

full berry
#

why in god's name would you pay for this

pastel tinsel
#

because it is so fucking cool and nice to have

full berry
#

or pay for this hardware

#

SO YOU PAY HUNDREDS OF DOLLARS

pastel tinsel
#

have you seen my rack astro

full berry
#

no

#

i thought you just had

#

like 2 old pcs bru

pastel tinsel
#

I got rid of them

#

kinda

#

and got a real server

full berry
#

buh

#

let me see your rack

pastel tinsel
#

44 core 512 GB of ram

full berry
#

😀

pastel tinsel
#

so in proxmox I have 88 threads

full berry
#

you know guardsman can run with 1 gb ram and 1 core right,,,,

pastel tinsel
#

yes but

full berry
#

in other words

#

what in ze fuck

#

do you need allat for

pastel tinsel
#

soon™️

full berry
#

soon what

pastel tinsel
#

oh I didn't

full berry
#

didnt you already show me this somewhere

#

i already remember seeing it

pastel tinsel
full berry
#

so

#

let me get this straight

#

you bought a whole ass server

#

just so you can run guardsman

pastel tinsel
#

no

#

lol

full berry
#

then what in god's name do you run on that

pastel tinsel
#

all of that is using like

full berry
#

is like

#

your hardware from unifi?

pastel tinsel
#

no

full berry
#

so

pastel tinsel
#

unifi is my router

#

that is my server

#

hold on

full berry
#

ok im having a hard time piecing something together

#

how do you

pastel tinsel
full berry
#

connect your router to your isp

#

unless unifi is also an isp?

pastel tinsel
#

no

#

modem lol

full berry
#

remind me what the difference is again

pastel tinsel
#

modem is what coax/fiber goes into to split out and give public ip's to

#

router gives the private ips

full berry
#

oh and is router just

#

okay

pastel tinsel
#

and is the firewall and other stuff

#

you port forward on the router

full berry
#

but..

#

why pay hundreds of dollars for this uhh

#

unifi softrware or whatever

pastel tinsel
#

because it is really good

full berry
#

for a homelab 😭

#

BUT HUNDREDS

#

of dollars

pastel tinsel
#

most people do

#

dude

#

astro I have spent

#

like

#

3k for the server and the unifi stuff lmfao

full berry
#

oml

pastel tinsel
#

oh and

#

that guardsman vm

full berry
#

oracle one?

pastel tinsel
#

no

#

on my server

full berry
#

oh the thing you sent

#

yes what about it

pastel tinsel
#

thats gonna be the public facing one

#

like

#

it will be a service

#

you create an account and manage it through that

#

or self host

full berry
#

so like

#

people who cant be asked to host servers and shit can just create a whole ass guardsman instance

#

if im getting that right?

pastel tinsel
#

yeah

full berry
#

that's pretty neat

#

you could earn a pretty penny from that

pastel tinsel
#

we have a free tier and paid

#

free has less features (we haven't planned on what less)

#

paid has all

#

then there is self host that just has all with no pay since they are hosting it themselves

full berry
#

interesting

pastel tinsel
#

oh and

#

we changed the licensing on everything

full berry
#

what's it like now

#

well i mean give me the license name so i can like look it up, my license knowledge ends at the mit license

pastel tinsel
#

GNU Affero General Public License v3.0

full berry
#

ok oh god

#

so what's the diff between that and mit

pastel tinsel
#

a lot

full berry
#

except mit being 2 paragraphs and this being 200

pastel tinsel
full berry
#

ooh not bad

#

gives you freedom while giving original creators the ccredit

#

neat

pastel tinsel
#

and

#

if someone is abusing it or something

spare quartz
#

mrrp

pastel tinsel
#

we have the right to have them open source it

full berry
#

what if they dont

#

like for anything under this license

pastel tinsel
#

we are able to sue

full berry
#

do you sue them

pastel tinsel
#

through uh

#

the main public copyright thingy

full berry
#

the what

full berry
#

i was more laughing at

#

like ok lets take this for example uh

#

you force x to open source their shit for whatever reason

#

they dont do it for whatever reason, who tf goes to court 😭

#

if its american that sorta makes sense but take me for example, or anyone else from non-america who will use guardsman

pastel tinsel
#

not directly to court lmao

spare quartz
#

elon was literally forced to buy twitter by legal action

full berry
#

wh

#

what to both of that

pastel tinsel
#

we can send a cease and desist

#

and get their stuff taken down

full berry
#

by who lo

#

uhh

#

domain providers?

#

forgot the official name

pastel tinsel
#

ICANN?

full berry
#

oh icann

spare quartz
#

a domain provider can be contacted for legal action yes

pastel tinsel
#

yeah

full berry
#

figures

#

okok interesting stuff

spare quartz
#

its in your WHOIS

pastel tinsel
#

yeah

full berry
#

yup

pastel tinsel
#

so like in other words we have a shit ton more rights

full berry
#

I KNOW MY RIGHTS OFFICER!!!

pastel tinsel
#

we have made so many changes

#

to Guardsman it is crazy

full berry
#

release when!!!

pastel tinsel
#

AC 24

full berry
#

oo

pastel tinsel
#

that is the official release date

#

ughareuhersg

#

I gotta move to toml on the discord side

full berry
pastel tinsel
#

yeah we finally ditched env's

full berry
#

smh...

#

@spare quartz ok final try, is your thing open

spare quartz
#

yes

full berry
#

alr gonna restart my router and try

pastel tinsel
#

oh and btw astro

full berry
#

ik

#

i dont need server tho

pastel tinsel
#

just use that lmfao

#

thats

#

client

full berry
#

but im on ubuntu rn

pastel tinsel
#

not

#

server

full berry
#

oh im blind

#

syes i have it on but im on ubuntu rn so

#

it shouldnt matter

pastel tinsel
full berry
#

bro im so done

#

it doesnt

#

work

pastel tinsel
#

does it just hang

full berry
#

no it just

pastel tinsel
#

mine hangs lol

full berry
full berry
pastel tinsel
full berry
#

@spare quartz ^

#

why are you on guardsman

pastel tinsel
#

I am using my guardsman dev vm because I didn't want to do this on my other ones lmfao

full berry
#

guh

pastel tinsel
#

I sent you the list

#

above

full berry
#

yeah ik

pastel tinsel
#

yeah I just time out

#

on the connection

full berry
#

do you have nmap

#

if you do can you like nmap javart.zip and see what the status of port 25 is

#

for me it says closed

pastel tinsel
full berry
#

buh??

pastel tinsel
#

OH

#

wtf

#

thanks discord

full berry
#

wtf is filtered

spare quartz
#

firewall is supressing a response

pastel tinsel
#

g

spare quartz
#

thats not my problem

pastel tinsel
#

oh so

#

idea

spare quartz
#

my firewall is off and DMZ'd

pastel tinsel
#

uhh

full berry
#

dmz?

#

demilitarized zone??

pastel tinsel
#

not sure if it is my router firewall or dnf

spare quartz
#

yes

#

my computer responds to all router requests

full berry
#

wtf is dnf

#

so many networking terms

spare quartz
#

im pretty sure dnf is a linux thing

pastel tinsel
#

oh wait

#

I meant

#

uhhh

#

fd

#

firewalld

#

what if I just

full berry
#

wtf is firewalld

pastel tinsel
#

shutdown firewalld

full berry
#

i dont even have it installed

spare quartz
full berry
#

yeah i knew that but

#

is that just the linux version of firewall

spare quartz
#

does the name not tell you enough

full berry
#

ughh

pastel tinsel
#

huh

#

why is it

#

I wonder if I can just shut off the firewall on my router

#

(can only go well)

full berry
#

i already

#

did

#

💀

pastel tinsel
#

BLACK HOLE

full berry
#

what now skul

spare quartz
#

yall are going thru a lot of trouble to talk to a mail server you wont have access to like, tomorrow

full berry
#

SHUR UP

#

must.. accomplish... mission...

pastel tinsel
#

oh

#

thats cool

full berry
#

ben i was looking at the unifi router

#

that reminds me of the time beagle said "anything can be a tampon if you're brave enough"

pastel tinsel
#

dawg what

full berry
#

FYM WHAT

pastel tinsel
#

I love how I don't have to restart my router now to update settings

full berry
pastel tinsel
#

oh thats

#

not what I have

#

I have this

#

and this

full berry
#

that's a router?? skul

full berry
#

buh

#

i mean they have interesting stuff but not nearly interesting enough for me to give them my (non existant) money

pastel tinsel
#

I can make a VLAN

#

this fast

full berry
#

v stands for..

pastel tinsel
#

virtual network

full berry
#

oh

#

heh yk whats funny

#

where i live i dont have a cable that goes into my modem and then that brings it wifi no no

#

i have a SIM CARD

#

that goes into the router which then supplies internet

pastel tinsel
full berry
#

in my old APARTMENT i had fiber optic

#

now i have this hsit

pastel tinsel
#

I am not in college yet so I don't have to worry

full berry
#

i mean im assuming this goofy software for unifi gives you

#

remote access

pastel tinsel
#

yeah

#

and built in vpn

full berry
#

nice

pastel tinsel
#

I am to the point where I can be at school

#

and can do anything with my server

full berry
#

that's neat

pastel tinsel
#

or router or whatever

full berry
#

me personally i dont want to invest into this typa stuff just yet because

#

well you said yourself the rqupment is expensive as shit and on top of that

#

add monthly charges for the software (what is it even, me saying hunders of bucks earlier was just me blabbering) and not to mention electricity

pastel tinsel
#

its all free

full berry
#

the unifi software is free??

pastel tinsel
#

yeah

full berry
#

i was under the impression that it was

#

paid or whatevr

pastel tinsel
#

you only pay for the hardware

full berry
#

ok then im assuming

#

one cant work without the other?

pastel tinsel
#

wdym

full berry
#

if you dont have the hardware, having the software is pointless

#

and if you dont have the software the hardware won't really function that well

pastel tinsel
#

uhhh

#

im pretty sure you can just download their OS to a vm or pc

#

and it works fine to connect APs

#

and other stuff

full berry
#

oh so

#

the word software is technically wrong

#

you need to download OS to control your local network?

pastel tinsel
#

only on the device

#

that everything is going through

#

since it will dedicate the router

full berry
#

oh

lavish dove
# full berry

micro sd card must have atleast 128 gigabyte storage 🤣

spare quartz
#

rewriting smtp

#

to spec this time!

spare quartz
#

140 lines of decoder logic

#

hoping it makes my life easier

timid quartz
#

The ramblings of an insane cat

full berry
#

@spare quartz i'm starting to mess around with telnet a bit more (after connecting to some goofy public ones), but i've been banging my head against a wall for like an hour
i'm not entirely sure what i need to do right now, any pointers?

full berry
#

i am heavily invested now.

spare quartz
#

Aside from calling your ISP about it (assuming you’re still on the same problem)

full berry
#

(i am NOT going to mess with it on my prod server)

spare quartz
#

Hosting what locally?

full berry
#

smtp server

spare quartz
#

Just download postfix or something

full berry
#

already done

spare quartz
#

Good luck

full berry
#

WYM GOOD LUCK

#

is it possible to like transmit messages between clients (person a and b) so it's visible in the shell instead of the mbox

#

i think thats what postfix calls it

spare quartz
#

it’s deprecated

full berry
#

bruu

#

can it be used at all tho?

spare quartz
#

If your mailing server supports it..?

full berry
#

i thought mail server == smtp server?

spare quartz
#

yes

#

your SMTP server needs to support the command

#

but I made that mailing server since generally it’s not just SMTP

full berry
spare quartz
#

i dont use postfix so i cant tell you

spare quartz
full berry
#

you just do it in plain ada??

spare quartz
#

im pretty sure partially why im writing this is cause years ago when i did it was frustrating

spare quartz
full berry
#

i see

#

well i mean i'd love to do it in JS/TS, but i don't even know if there are any packages for that

#

or if js can even do jobs like this

#

do you know of any packages?

spare quartz
#

of course it can

#

it just depends on where you want to start

#
  • write the protocol yourself
  • use a premade library for that
full berry
#

i mean i'd like to use a premade library first and then when i get a proficient grasp of how the entire protocol works, then maybe i can start doing it manually myself

#

but, do you know any libraries? the ones i've seen were only for sending mail, and therefore didn't support bidirectional communication

spare quartz
full berry
#

i thought nodemailer

#

was only for sending?

spare quartz
#

you didnt look hard enough then

full berry
#

buh

#

ok ill look into it in just a bit

#

ty

spare quartz
#

It seems that half of comp.lang.ada consists of professionals from the aerospace and embedded systems industry and the other half are crackpots who want to create a Caesar cipher plus spam. It always looked like a weird community to me (but that has indirectly to do with how Adacore conduct their business).

#

NOTE for future self

#

contents of Unbounded_String are void when returning the value in an access

#

(machine address changes)

timid quartz
#

@spare quartz rust or zig

spare quartz
spare quartz
#

all essential commands reimplemented

#

time for extensions

timid quartz
spare quartz
#

id say rust

spare quartz
#

forgot to make data work oops

#

tls done

#

in total: 2 hours, 23 minutes to do all basic smtp functions!!

timid quartz
#

@spare quartz you think you can open your non-TLS port

#

I promise it's not spam

spare quartz
#

rewriting fs rn, ill tell you when i can

timid quartz
#

ok I gtg then

#

I will be able to in like

#

3 hours

spare quartz
#

oh okay

timid quartz
#

but to give you a little preview

spare quartz
#

mf made SWAKS 2

timid quartz
#

:3

spare quartz
#

this is probably bad code but oh well

timid quartz
#

BitTorrent impl would be neat

#

And maybe a telnet impl that will allow you to initiate TLS mid-connection

spare quartz
#

so STARTTLS

timid quartz
#

Yeah

#

Telnet with STARTTLS support lol

spare quartz
#

wasnt telnet like

#

one of the predecessors of modern SSH

timid quartz
#

Probably

spare quartz
#

are you just inventing ssh 😭

timid quartz
#

Either telnet or netcat

timid quartz
#

Telnet you can talk with servers directly

spare quartz
#

you can do the same with SSH its just a little weirder

#

FTPS is an example of that

timid quartz
#

But telnet has no TLS support so you either have to find something that doesn’t use it or use like openssl s_client

spare quartz
#

BINARYMIME is broken so i gotta fix that

#

but this should make DATA write to fs again

#

(technically enough for a mail server)

#

oh yeah another TODO for the future

#

automatic NSLOOKUP so the email server doesnt require the domain be compiled into the program

timid quartz
#

@spare quartz if you’re able to open it now I can run this thing rq

spare quartz
#

DATA is corrupted when writing to file so gimme a minute

timid quartz
#

Rip

#

Ok just dw abt it rn then

#

I’ll be back around like 12:30

full berry
#

@spare quartz can you give me an email i can send stuff to with telnet i need to try something

#

i only have gmail so that wont work for testing

spare quartz
#

perfect

full berry
#

alr one sec

full berry
spare quartz
#

not yet

#

i got an email from google though for a test

#

OH

full berry
#

well i dont think you did because my dumbass FORGOT to implement email sending one sec

spare quartz
full berry
#

or

spare quartz
full berry
#

idk what u r doing

#

oh

spare quartz
#

tell me when to check im gonna play satisfactory now

spare quartz
#

¯_(ツ)_/¯

full berry
spare quartz
#

do I look like an smtp dev to you

full berry
#

uhh

#

do you reckon this could be a firewall issue

#

because after all it IS windows

#

gonna switch to linux rq and try

spare quartz
full berry
#

not 192.168.whatever

#

uh

spare quartz
#

i know

#

what does it start with

full berry
#

let me chekc

#

LOL this is funny i have to run my program with sudo

#

like sudo node .

#

@spare quartz im on linux now and like it went through APPARENTLY

#

can you check

#

as for my ip it starts with 95

spare quartz
#

could you try sending it again 🥺

full berry
#

yes

#

i just got a timeout error uhh

#

im assuming that's because your server didnt send a response

#

(for the previous one, im still writing the new one)

spare quartz
#

servers still working so not a timeout

full berry
spare quartz
#

hold on i just restarted it

full berry
#

@spare quartz did my glorious message reach you.

spare quartz
#

no

full berry
#

bro

#

wtf

#

??

#

oh um ir might be

#

@spare quartz would you be so kind to change your ports from 25 to anything else pleading

timid quartz
#

@spare quartz u alive?

spare quartz
#

tell me whart poeryt

full berry
#

like

#

69

#

idc

spare quartz
timid quartz
#

Anything below 1000 is reserved

full berry
#

ok then

#

6969

timid quartz
spare quartz
#

i set it to 43674

full berry
#

alr

spare quartz
#

lemme just port forward that

timid quartz
#

lmk when rdy

full berry
#

sent

#

a new msg

spare quartz
#

i havent opened it yet

full berry
#

b

spare quartz
#

@timid quartz @full berry 43674 is open

timid quartz
#

Ayo what the L

#

what the hell zig

full berry
#

THERE

#

@spare quartz anything

spare quartz
full berry
#

omfl

#

i keep getting connection timeout

timid quartz
#

LOL

#

@spare quartz it worked on my end

full berry
#

what'd you do

timid quartz
spare quartz
#

p.s. i think theres a bug where if a mailbox exists it crashes the connection

#

can you try sending that mail twice

full berry
#

me?

spare quartz
#

aera

timid quartz
#

Give me 30 seconds

full berry
#

oh

#

Just so i dont have to write the smae thing over and over

#

@spare quartz try 213421348z821394712893

#

check test

spare quartz
full berry
#

bor

#

i wonder if it will say connection timeout

timid quartz
#

@spare quartz resending

#

it worked

full berry
#

aera what are you doing exactly

spare quartz
#

i only have one letter

full berry
#

bro

umbral monolith
#

you'll fit right in

timid quartz
#

did it again @spare quartz

spare quartz
#

need to fix that

full berry
timid quartz
#

although I had to change that code slightly

full berry
#

oh you're using

#

a package to send mail

#

okok i see

#

@spare quartz did you get an email from like

spare quartz
#

(it has not received a letter)

full berry
#

bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

#

@spare quartz i just send an email to both of your inboxes

#

personally my code is not erroring

#
const nodemailer = require('nodemailer');

let transporter = nodemailer.createTransport({
    host: "smtp.astrohweston.xyz",
    port: 27,
    secure: false,
    sendmail: true,
});
transporter.sendMail({
    from: '[email protected]',
    to: '[email protected]',
    subject: 'Message',
    text: 'I hope this message gets delivered!'
}, (err, info) => {
    console.log('great job', info.envelope);
    console.log('greater job', info.messageId);
    console.log('fuck yourself', err)
});
#

but idk anymore this is the simplest shit i could come up with (i stole it from the docs)

spare quartz
#

there is no connection or inbox, and you shouldnt send to meower

full berry
#

and wdym there is no connection or inbox

spare quartz
#

you have not made a connection to my server

full berry
#

i dont think i need an inbox as im not really the one receiving mail

#

is the host javart.zip or smtp.javart.zip

spare quartz
#

both

full berry
#

what

#

you mean either

#

right,,

spare quartz
#

both

full berry
#

wdym both

spare quartz
#

@javart.zip -> smtp.javart.zip
javart.zip
smtp.javart.zip

full berry
#

wh

full berry
#

@spare quartz your port is 43674 right

#

OML

#

@spare quartz CHECK PLEASE

timid quartz
#

@spare quartz were you planning to keep this running or are you gonna be done with it in a few days

#

Also if you leave it up are you gonna require TLS

spare quartz
spare quartz
timid quartz
#

damn

#

Guess I gotta figure out TLS then

#

Your TLS is port 573?

full berry
#

wait isnt it

spare quartz
full berry
#

supposed to have the sender and whatever

spare quartz
#

thats not nessasary

full berry
#

yeah but

#

well i put it in the envelope

spare quartz
#

i just didnt choose to put that anywhere

full berry
#

put what

#

the from and to?

#

the envelope*

#

sent another one

spare quartz
#

the MAIL FROM and RCPT TO are things i dont need to put anywhere

spare quartz
#

i still havent fixed it

#

now i will

full berry
#

oh ok

spare quartz
#

there

full berry
#

is it running

spare quartz
#

now it is

full berry
#

there

#

or not

spare quartz
#

ill be waiting

full berry
#

it doesnt even wanna connect now

#

what did you do

spare quartz
#

oh

full berry
#

it's just hanging

spare quartz
#

changed hte ports

full berry
#

to wjhat

spare quartz
#

there i set it back to 43674

full berry
#

THERE we go

spare quartz
#

it broke again

full berry
#

what

spare quartz
#

hold on

#

there

#

@full berry try again

full berry
#

there

spare quartz
#

it failed againnn

full berry
#

bro what is wrong with nodemailer

spare quartz
#

no

#

my server failed

#

nto you

full berry
#

no not that

#

rcptTo is an array and mailfrom is an object like what

spare quartz
#

thats because there can be multiple recipients

#

there

#

now try

full berry
#

done

spare quartz
#

do it 3 more times

full berry
#

done

#

3 times

spare quartz
#

ugghh

#

another error

#

@full berry 4 more times, again

full berry
#

cant rn

spare quartz
#

oh okay

#

doooing one more stress test and i think this is ready for use as a real server

pastel tinsel
#

(it is going to explode)

spare quartz
#

i asked someone to send 3 emails each with 3 recipients at me with variable attachments so

#

i dunno

pastel tinsel
#

im gonna

#

spam you with emails

spare quartz
#

do it

#

any mailbox at javart.zip will take in your requests

pastel tinsel
#

uhhh

spare quartz
#

it doesnt even need to be in english

#

you can have chinese mailboxes

pastel tinsel
#

LOL

#

nodemailer :)

spare quartz
#

imagine having to rely on someone else write your libraries.....

pastel tinsel
#

why would I write my entire own lib for a stupid spam thing

spare quartz
#

think of the experriencee

pastel tinsel
#

I have better things to be doing!!!

spare quartz
#

like