#networks

1 messages · Page 11 of 1

edgy pelican
#

haiii

hazy root
#

they have their own web server, but I won't be surprised if the original people working on it long left and there are some misconfigs

#

and to be fair, exports as large as the ones that give me errors are rare, I have 4 problematic cases in more than a million exports

hazy root
#

Server: adf_http_server/4.3.0205

#

yup

edgy pelican
#

you know its fun when an rfc is 5 meters long

sullen ether
#

The last question is asking "Why weren't there any NDP events?" The answer is supposed to be "PCA1 already knows the MAC address of PCA2 so it doesn’t need to use Neighbor Discovery." But in my case, there is an NDP event at RTA. What's happening here?

gentle trench
#

How does UPNP work, and what are its uses?

Some articles say it allows devices to communicate in your LOCAL network, and some say it automates the port forwarding process, for which you had to set up port forwarding on your router admin panel.

Well, aren't devices already discoverable in local network? And even if they aren't why does it open ports for LOCAL network communication?

edgy pelican
#

why are you capitalizing LOCAL

crystal current
gentle trench
gentle trench
cedar forum
#

it is two devices on local networks establishing a p2p connection

#

also -- it would help to maybe cite one of these articles, that wording could mean anything

#

i think you are probably confused here because uPnP does both of these things

#

the local part of uPnP is essentially just SSDP, iirc it builds on top of SSDP to discover local devices

#

but then local devices are able to negotiate port opens as well

#

so when you wire up a new device it will both publish "i am a device at address X.X.X.X and provide Y features", like printers or TVs or w/e

#

but it can also say "i require port 8080 opened on the router" and uPnP enabled routers can understand that request

#

it's confusing because it's such an expansive but also kind of little-known protocol (at least for the specifics)

gentle trench
#

ye, I got most of your points

karmic glen
#

Hello guys !

I am hosting a game (Palworld) server on my PC. I coded a discord bot that sends the IP adress of the PC on a discord channel (couple of Irl friends and family dw about security issues).

The bot will send the IP whenever it changes (due to connexion resets or anything), or when querried with a command. The bot works well the code is pretty straightforward.

I have a domain name and I wish I just point it to the IP adress that would work even better than copy pasting the ip every time from the bot.

The issue is: the ip changes 2-3 times a day.

I'm lazy to just go do host dns setting and point it again with the new adress so, is there a way I can do that automatically?

edgy pelican
#

we ❤️ duckdns

#

make an account by signing in with your service of choice

#

try using the windows-gui option

karmic glen
#

I will check this thanks !

pseudo rampart
#

ruchanie

worldly hollow
#

Hey everyone I think this is the correct channel for this. Im using a program called scapy for IPv6 packet minpulation. When ever i send a packet it gets no replys. But if i turn on wireshark it gets a reply. I thought this was the strangest thing ever. Is it that wire shark is actively lessoning to the connection and that is why there is a reply?

worldly hollow
worn drift
#

Hey guys, has anyone used fabric to create chain of jumphosts for networking devices? Im trying to have a core switch be a jump host, by jumping from it into an access switch. Im currenlty using the "Connection" class for connecting to the access switch, but I don't know how to do this for local network connections where the connection string is ssh host instead of ssh user@host.

conn = Connection(
    '1.2.3.4',
    connect_kwargs={'password': 'password'},
    gateway=jump3
)
modest echo
#

im trying to check if forwarded a port in the correct way but it shows this, does that mean the port 25565 didnt get forward?

modest echo
cedar forum
#
   ESTABLISHED
          The socket has an established connection.
   SYN_SENT
          The socket is actively attempting to establish a connection.
   SYN_RECV
          A connection request has been received from the network.
   FIN_WAIT1
          The socket is closed, and the connection is shutting down.
   FIN_WAIT2
          Connection is closed, and the socket is waiting for  a  shutdown
          from the remote end.
   TIME_WAIT
          The socket is waiting after close to handle packets still in the
          network.
   CLOSE  The socket is not being used.
   CLOSE_WAIT
          The remote end has shut down, waiting for the socket to close.
   LAST_ACK
          The remote end has shut down, and the socket is closed.  Waiting
          for acknowledgement.
   LISTEN The  socket is listening for incoming connections.  Such sockets
          are  not  included  in  the  output  unless  you   specify   the
          --listening (-l) or --all (-a) option.
   CLOSING
          Both  sockets are shut down but we still don't have all our data
          sent.
   UNKNOWN
          The state of the socket is unknown.
modest echo
cedar forum
modest echo
cedar forum
#

and you've added the port to your router?

modest echo
cedar forum
#

so you put your own public IP in? that probably doesn't test anything because you are on that network

#

it sounds like a firewall thing or a problem with the port forward, though it's a really niche one and quite hard to debug over discord

modest echo
#

I have an idea, is there a way to check if the 25565 port got opened correctly?

cedar forum
#

see if your friend can ping the IP maybe, though that's not always reliable. you should see entries in your netstat when they attempt to connect to you, including if it gets blocked by the firewall, something like wireshark might help to debug actual packet stuff

#

but port forwarding is a pain and there is no great way to tell you which bit of the process to start by diagnosing

modest echo
cedar forum
modest echo
cedar forum
#

only if it's a TCP port though, i am unsure what minecraft uses

modest echo
cedar forum
#

yes but does minecraft use TCP or UDP

#

you can only port check TCP due to the nature of how UDP connections are "fire and forget"

#

okay it's TCP

#

so yeah if it's closed then your router is not port forwarding correctly

#

or you have not set the forward correctly to push it to your computer

modest echo
#

im not sure what to not show on a public discord server but i think this is fine

cedar forum
#

yeah i'm unsure really -- if that is your desktop IP and it's not registering then next step is to check the PC

#

you added a windows firewall rule right?

modest echo
cedar forum
#

hmmm

modest echo
#

maybe i did sumn wrong here? i dont think so tho hmmmmm

cedar forum
#

i am completely clueless then, i am only familiar with linux networking really so can't really help you isolate where this is going wrong

#

that port forward looks correct

#

it also depends entirely on whether your ISP allows port forwarding at all, the presence of it on the router does not necessarily mean anything here

#

a lot of ISPs will not

#

or will make you pay extra

modest echo
cedar forum
#

you could speak to your ISP

modest echo
cedar forum
#

yikes

#

then your best bet is probably getting a cheap VPS somewhere to run a minecraft server on or looking at a VPN that allows for port forwarding through the VPN IP, or something like Cloudflare Tunnels

modest echo
#

if you have a problem they just tell you to "restart the router" 💀

modest echo
modest echo
cedar forum
#

that sounds like a problem from the router to your PC then

edgy pelican
#

are you sure they dont have a CGNAT

modest echo
modest echo
safe lantern
#

hey I'm not sure which channel to ask this in, but is anyone familiar with connecting to a mysql server on an AWS RDS instance?

#

I keep getting a "no address associated with hostname" error

crystal current
safe lantern
tropic robin
#

Dose anyone know about the game osu?

sullen ether
#

I subscribed for an internet plan that provides speeds up to 200mbps, but when I run a speed test by Ookla, I usually get around 400mbps. What could be the reason for this?

brazen ferry
#

I know this channel is mostly about code that talks to the network, but what do people use to simulate networks in python? LAN/WAN etc.?

sullen ether
coarse summit
#

Pretty cool

rain bear
#

Hey, I've a question about networking but it's not related with python
recently I studied network topologies and I found one of them called "Star topology" and it seemed pretty similar to the idea of the switch so is it the same thing or there is a difference between them ?

cedar forum
#

a switch is a physical implementation of a star network

#

the difference is that the concept of a star network also encompasses hubs

rain bear
#

so all the topologies are logical ideas to connect devices ?

cedar forum
#

yeah, and you combine a selection of hardware devices to achieve those topologies

#

are you familiar with switch vs. hub?

rain bear
#

yeah switch sends data to a specific PC while hub streams it to all the devices

cedar forum
#

yep exactly, so if you look at the start topology, you can see that both of those technically fit that description, whilst also acting slightly differently

#

in terms of the physical cabling layer, they are the same, but they differ at the routing layer

rain bear
#

I thought about it and find that the bus & ring topology can be like hub-based while star can be done with switch
that's why I asked (I mean the idea not the shape of the circuit)

#

thank you so much btw

cedar forum
#

which as you've identified, hubs will do

#

that's around the time where you start mixing together topologies and having, say, a bus network running off a star network, one central hub and then chains of devices running the bus network, etc. etc.

cedar forum
ionic blade
#

I am writing a connection class for server and client. I have got into a problem while closing the socket.

sock.shutdown(socket.SHUT_RDWR) # ERROR
sock.close()

my unittests failing saying

self.sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

On linux (wsl) it dont raise any error on windows it raised this error.

hallow python
#

can anyone help with a connection problem

cedar forum
hallow python
#

im trying to send sum to my ip but it denies connection

cedar forum
hallow python
#

ConnectionRefusedError[WinError 10061]

cedar forum
#

this sounds fairly simple though, just that the destination port is not open

hallow python
#

oh

woeful ridge
#

Hi

#

I Want To be a network Engineer

#

So Can I get some support

ionic blade
#

and see as per docs

Note close() releases the resource associated with a connection but does not necessarily close the connection immediately. If you want to close the connection in a timely fashion, call shutdown() before close().
ionic blade
#

Is it okay to get error while awaiting to read data from socket which suddenly closes.

async def read(sock, n, loop):
  return await loop.sock_recv(sock, n)

I get this error on both client and server sides as well

Client:

ERROR - Caught error while listening data
Traceback (most recent call last):
  File "...\whisper\whisper\client.py", line 52, in listen
    data = await self.read(self.chunk_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\whisper\whisper\core\client\base.py", line 77, in read
    return await self.connection.read(n, self.loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\whisper\whisper\core\client\connection.py", line 82, in read
    return await loop.sock_recv(self.sock, n)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\Python\Python311\Lib\asyncio\proactor_events.py", line 701, in sock_recv
    return await self._proactor.recv(sock, n)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\Python\Python311\Lib\asyncio\windows_events.py", line 837, in _poll
    value = callback(transferred, key, ov)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\Python\Python311\Lib\asyncio\windows_events.py", line 462, in finish_recv
    return ov.getresult()
           ^^^^^^^^^^^^^^
ConnectionAbortedError: [WinError 1236] The network connection was aborted by the local system
#

Server:

ERROR - Caught error while serving ('127.0.0.1', 50419)
Traceback (most recent call last):
  File "...\whisper\whisper\server.py", line 87, in serve
    await self.recv(conn, **request)
  File "...\whisper\whisper\server.py", line 107, in recv
    await self.send(**response)
  File "...\whisper\whisper\server.py", line 118, in send
    await super().write(conn, data)
  File "...\whisper\whisper\core\server\base.py", line 54, in write
    return await self.connection.write(conn.sock, data, self.loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\whisper\whisper\core\server\connection.py", line 104, in write
    return await loop.sock_sendall(sock, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\Python\Python311\Lib\asyncio\proactor_events.py", line 716, in sock_sendall
    return await self._proactor.send(sock, data)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\Python\Python311\Lib\asyncio\windows_events.py", line 557, in send
    ov.WSASend(conn.fileno(), buf, flags)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
fringe crystal
#

can anyone test the server connections for me?

hallow python
#

yo all my ports are closed why is that

cedar forum
hallow python
cedar forum
#

do you have any port forwarding set up

hallow python
#

nope

cedar forum
#

there we go then

hallow python
#

i dont even know what that means sir

cedar forum
#

are you talking about your home IP?

hallow python
#

yea

#

ik that its good that they are all closed but idk why thry are tho

cedar forum
#

so every device on your network shares the IP of your router, that's called NAT (network address translation)

#

that means that when someone tries to connect to a port on your public IP (your router), the router by default doesn't know which device on your home network to send it to

#

you have to configure a rule in your router (port forwarding) to say "when someone connects on port 8000 to the router, forward it to <LAN IP>"

hallow python
#

oh

#

but thats weird even http and https are closed

#

how am i connected to the internet then

crystal current
cedar forum
#

yeah so when you connect to say, google.com, you connect on port 443 for HTTPS

#

your computer picks an outbound port in the ephemeral port range

#

on Linux that's ports 32768 through 60999

#

so then the actual communication is between 192.168.0.1:42531 (or whatever ephemeral port is picked) and google.com:443

#

when google replies, it sends it back to your computer on that temporary port, and that port is directed back through your router firewall

#

NAT complicates things slightly because your PC has an outbound port and the router also has an outbound port and translates between them, but that's the basics of it

hallow python
# cedar forum

thats a really good thing to explain it ty for ur time

#

did u make that

cedar forum
#

hahaha no stole it from google

hallow python
#

ty for explaining

#

am new to cyber so i only got like 50% of what u said but ty still

cedar forum
#

the basics is, to send data to google, you need to know the google port, and to receive data from google, google needs to know your temporary port

#

think about it like sending letters in the post, the recipient can only send you a letter back if you include your address

hallow python
#

yea

cedar forum
#

that's all the source ports are, they are temporary receiving addresses that let the server send you information in reply to your packets

#

and they are ephemeral (essentially meaning "temporary") because they are picked randomly and recycled after a connection has finished

hallow python
#

source ports are from 1 to 1000?

cedar forum
#

varies by operating system, source ports on windows are around 49000 to 65535

#

linux is 32768 through 60999 as mentioned

ember ledge
cedar forum
#

when you say not working, do you just mean that nthing can connect? how are you running this? what platform?

ember ledge
#

I can not connect by entering the link above into a web browser

cedar forum
#

and for the latter two questions?

#

that's an AWS IP, are you just using an EC2 instance?

edgy pelican
hasty quest
#

That's what the source port field in a packet is for

#

it goes in the destination port field of the reply

#

i.e. router knows 53129 is available because it hasn't been reserved for any other purpose yet

#

it puts src: 53129, dst: 443 in the TCP connect and reserves that port for this connection

#

webserver sees this and replies with dst: 53129, src: 443

#

router remembers that it picked 53129 for this specific connection and knows where to route it.

edgy pelican
#

interesting

hasty quest
#

It can even multiplex ports if they have different remote ports and/or remote IPs

#

as long as there is some specific combination of connection-identifying info that's unique to one connection, it's possible to determine how to route it.

#

Though that makes the routing code more complicated - some routers work this way, others don't.

ember ledge
#

Can someone explain the difference between an empty string and a local host?

autumn roost
#

hi got a question regarding to a synology nas

#

so it won t get on the cloud

#

all my sync rules are oipen so not sure what to do

#

Also no new change logs

autumn roost
#

Did it again the .init file ruins all (100gb file for game engine)

autumn roost
#

🤡

trail bridge
#

why do you think you need to sync the desktop.ini file?

autumn roost
trail bridge
#

oh.. exclude.. i read it wrong from the start

#

it looks like you are excluding it, the file is unsynced. isnt that what you want?

autumn roost
trail bridge
#

you can try to check for the actual files instead of the icon representing the task instead.

autumn roost
#

yeah on my other devices it is synced guess it is a smal ui problem on their side ig and it is triggering my autistic brain leave it for what it is for now ig

#

(can test it cuz my laptop hardware is too weak) for ue5

#

so it should be fine? (it only won t do the desktop.ini file of the 100+gb

#

still seems to store it on my pc wich is weird because of that

autumn roost
#

still stuck btw

ember ledge
#

i cant start server with my own ip adress

#

with the public ip any help?

lyric oak
ionic blade
#

Can my locally hosted server can listen connections from outside the local network? How can i do it in python?

crystal current
ionic blade
#

I probably not hinking of using any external alternatives

crystal current
ionic blade
#

I want to do it in python only. I might prefer the python packages.

#

i have made a chat app whose server is hosted by the client iteslf locally so i was looking for way to listen incming connections from outside the network

crystal current
ionic blade
#

SO whats the solution then?

crystal current
ionic blade
#

Thats just out of my scope.I thoguth it would be not that much difficult

crystal current
ionic blade
#

It seems like you are thinking at another level. Isn't there any python package for that?

#

Im just a student who made a chat app project

crystal current
ionic blade
#

The code looks small I am thinking to modify that for my app!

crystal current
ionic blade
#

You said that you In order to listen for outer (outside local network) connections i need to have settings configured on the network then how doe theses able to work with tunneling?

crystal current
ionic blade
#

Well thanks, I go an understand tunneling 👍

ripe hollow
#

Hi everybody, I hope this is the correct channel for my question. I'm searching for TCP connection configuration for a server but I have to keep eme (electromagnetic emission) low but I don't have any information about that. So due to my research about the situation; using ping pong, heartbeat or tcp keepalive options increase eme but if I don't use them I cannot know the connection status right? any idea about that? I'm thinking about enabling the tcp keepalive option, then keep the values high and randomizing the transmission intervals in order to avoid predictable patterns.

crystal current
# ripe hollow Hi everybody, I hope this is the correct channel for my question. I'm searching ...

I've never had to deal with this personally but I'd be focusing on Layer 1 here, so you can hopefully send whatever traffic you need. https://www.emfanalysis.com/low-emf-internet-connection/

ripe hollow
#

@crystal current Thanks for the information. We will also control the hardware setup. Besides I learned that emitting a significant amount of radio power or sending an excessive number of messages to a server can increase the likelihood of detection. So, I would like to keep the sending messages as minimal. I found about passive monitoring. I think passive monitoring to check server status will work for me, right?

https://www.baeldung.com/linux/tcp-passively-monitor-packet-loss

cedar forum
#

yeah there's various things you can do here to try tune things, I would look into:

  • tcp nodelay (disable nagle's algo and send packets immediately)
  • tune your window size (see TCP_WINDOW_CLAMP if on linux)
  • use a proto that allows for connection multiplexing
  • as you've mentioned, adjust your keepalive
  • compress where possible
#

i will say your description of this problem does make you sound like a three letter intelligence agency, but i'm here for it

ripe hollow
#

Thanks for valuable information! Disabling nagle's algo can be very useful for me but please correct me if I'm mistaken, if we disable Nagle's algo the system will send small packets immediately rather than waiting to combine them into larger packets. So, this can lead to more packets being sent over the network, which can increase network traffic that means more em right?

cedar forum
#

you are correct, I was recommending that based off:

in order to avoid predictable patterns.
it sounds like you're going to be doing quite a bit of compromise so it's just one option that gives you a little bit less predictable payloads at the expense of more frequent sending

strong idol
#

It generated 4 threads for 3 users you were right it'd mess up system with large no of users 😅

#

@trail bridge

trail bridge
#

if you need one thread pr user, you need to actually do that based on your users and not in a while loop

strong idol
#

Ohh

#

for user2 as shown on the screenshot i had to press the enter key for the cmd to be updated it would'y update automatically

edgy pelican
#

async™️

fallen coral
#

Hey!, I am building and flet chat app using Client server method , were the client is an flet app hosted on single server where using that website only clients are going to use to chat , I am have an doubt how to identify the specific user in that website?

mellow loom
#

hello , i have a irc but dont know how to make it online can someone help?

ember ledge
mellow loom
#

thanks <3

ember ledge
#

Is there any free course on network with python

#

On YouTube

ember ledge
#

Thanks man I owe you

mellow loom
#

Sorun degil

worn drift
#

Hey guys, trying to setup a static IP on my ubuntu server. But its causing me to lose access to the internet. What could be happenning?

fleet acorn
#

Hello can anyone send me c++ server I am newbie:))

crystal current
crystal current
digital folio
#

not sure if this is the best place to ask this but I am having trouble reading serial
I am attempting to automate login to a particular computer component so that I can set a temporary ip

If I login through command line, I do screen /dev/ttyUSB0 115200
and then I am met with
Login:
When I try to read and print this, I just get a blank space

If I run a command such as 'help' once im already logged in, I can read just fine

worn drift
edgy pelican
#

what's the difference between QUIC and DTLS?

flint crescent
#

Feel free to submit a pull request or set up a repository, would be pretty cool

cedar forum
#

neat!! this reminds me a little of Gopher (at least in idea), nice work 😄

waxen plaza
#

Your website doesn’t work on mobile phones

#

Please fix

mellow loom
#

can someone help me with my python code?

ocean bay
#

ok

flint crescent
worthy mirage
#

Hello Everyone!
I am a Full stack developer with over 8 years of experience in the web development.
As my resume reflect, I have worked with several big and medium clients and companies and developed strong skill set.
I have extensive knowledge about React, Angular, Node, TypeScript, AWS and Unit Testing.

One notable achievement that demonstrates my capabilities was independently building a social media website from scratch, featuring real-time messaging and seamless live calling, which contributed to its growth from 0 to 20K monthly users with recurring AdSense revenue.

Should you require further insights into my technical skill set or wish to discuss how I can contribute to the continued success of your projects, please DM me.
I look forward to the opportunity to further discuss about the growth of your company.
Thanks.

waxen plaza
flint crescent
#

Yes, the video on the website

#

I'm pretty sure I fixed it

sage light
#

Gotcha!

#

This script capture handshake with EAPOL packets.

With this you can do a brute force without log and timeout, since it is running without request.

I'll do the brute force script soon...

hasty quest
fossil panther
#

yo guys, since telnetlib is deprecated, what module you guys are currently using instead?

proud swift
fossil panther
edgy pelican
#

people still use telnet in 2024?

cedar forum
#

i.e. all the Cisco stuff I've ever used has had a telnet interface over the management port

edgy pelican
#

that doesnt sound fun

cedar forum
#

it's no different to commanding a device over SSH

#

I am very grateful that the telnet interface exists because it means you can built out-of-band for older switches that doesn't rely on serialport 😛

grand kayak
grand kayak
cedar forum
#

correct -- but there are situations such as management VLANs where cryptography doesn't matter

cedar forum
grand kayak
cedar forum
#

iirc there are certain features in the telnet protocol that netcat won't interpret because it's solely looking at raw bytes

#

trying to find a good example / source but am on mobile rn

#

this shows a little bit -- basically there are some bytes that the telnet command will interpret and use that netcat won't

grand kayak
#

oh I see. some form of control flow

#

that can be useful with embedded devices, I think, yeah

cedar forum
#

yeah there are certain control codes used for Cisco switches to do things like disable the password being shown when you type it in

#

still insecure and transmitted in plaintext, but at least secure against screen peekers 😛

grand kayak
#

lol nice for recording tutorials and screenshotting, sure

#

thanks

dull plover
#

Does anyone know how to decode S/MIME emails and get body text from them?

crystal current
dull plover
crystal current
# dull plover Do you know how I can *connect* it to my mailbox and automatically retrieve & de...

There's a thing here about getting MIME messages. I suspect you'd have to do something like that first, then decrypt. https://docs.python.org/3/library/email.examples.html

sage light
#

Combinate Sniff and Deauth attack, coded on python, ruinning on Linux

#

sorry low qualy

dull plover
#

Nevermind, managed to do it. Thank you!

shadow sage
#

hi i want to create simple websocket script to test my cpp code, i just need to open a couple of websocket and be able to send and receive (and print ) data thrue them what would be the best approach

ember ledge
#

Anyone know how i can get something like this but on laptop

#

I just wanna apply the conection mode on my laptop

crystal current
leaden rover
#

Can someone explain to me NAT because I don’t understand it

crystal current
# leaden rover Can someone explain to me NAT because I don’t understand it

It's just translating IPs between network, generally public vs private. Here's a more thorough explanation: https://www.youtube.com/watch?v=NkCx8AnzBaI

Network+ Training Course Index: https://professormesser.link/n10008
Professor Messer’s Course Notes: https://professormesser.link/008cn
Discount exam vouchers: https://professormesser.com/vouchers/


Network administrators often use Network Address Translation (NAT) to modify IP addresses as they traverse the network. In this video, you...

▶ Play video
ember ledge
crystal current
# ember ledge yes

You could use a free VPN like Proton, host your own with OpenVPN or Wireguard, or pay for one... it depends on exactly what you're trying to do, which you haven't explained.

ember ledge
#

Like in my country , they have social packages that only work on facebook and any social media but nothing else , i wanna bypass that so i use that app

dreamy magnet
civic bay
steady horizon
errant bayBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

hasty quest
#

It's even topical

prisma cobalt
#

the people that implemented the library in python most likely 🤷‍♂️ do you have a query?

prisma cobalt
#

might it be possible that the socket closes between you sending messages one by one

somber dune
#

anyone able to help me?

lyric quest
#

Why does it say attack?!

#

btw i know nothing about networking so no

ember ledge
river nest
#

Hey, I'm having an issue, I'm running a simple webserver in python, and I set for it's IP (my machine) to point to custom local domain. However, I can't seem to access it. I've tried Firefox and edge, and they both just can't find it. I can ping and run the telnet command, and I can see in the server logs it's responding. I've tried flushing my DNS already.

#

but still both browsers can't seem to find it

#

the server is currently listening on port 80

edgy pelican
errant bayBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

lilac sail
#

is there any way i can change my ip without restarting the router ?

somber dune
#

anyone able to help me run a script via multiple proxies

mental raft
#

You can logout from your local network @lilac sail

somber dune
#

in dms

jade garden
# mental raft Send it

By the way, you shouldn't just blindly run the code someone sends you, it could be malicious

crystal current
tropic moon
#

Correct channel to ask a question about webscraping?

#

I need to get capacitors from a distributor's website so I can plug them into an auto-solving tool. Or, at least that's the plan. Currently stuck bashing my head why a request works on postman but not on python with beautifulsoup.

#

^postman request. Nothing too crazy, just probing the home page for now.

#
HEADERS = { #use human headers to dodge anti-scraping tools
    "Postman-Token" : "13c9fd9e-34a5-4f05-a1ee-a33aeecf526e",
    "Host" : "www.tdk.com",
    "Cookie": "_abck=E..." 
}

def getCapacitorPage(page=1):
    try:
        print("try")
        url = "https://www.tdk.com/en/index.html"
        test_url = "https://quotes.toscrape.com/"
        cookies = dict(cookies_are='working')
        #page = requests.post(url, headers=HEADERS)
        page = requests.get(url, headers=HEADERS, cookies=cookies, timeout=1)
        print("got page")
        soup = BeautifulSoup(page.text, "html.parser")
        print(soup.text)
    except(TimeoutError):
        print("timeout error")
    return page

page = getCapacitorPage(2)```
#

^python code that gets stuck at the page = requests.get(url, headers=H...line.

#

It times out without any response from TDK.

#

I looked online into webscraping pitfalls but I could find nothing. Then, I stripped the postman request bare of all optional headers until it stopped working. I know Hostis a key header, but I still for the life of me can't get python to work.

All help is appreciated.

tropic moon
#

Found it I had mistakes in the headers. I needed both "" and '' for certain fields.

#

Also, I needed more fields to pretend being a hummie.

#

(I shamefully admit that gpt came in clutch with spotting the syntax mistakes.)

faint hemlock
#

!warn 1139389352187793548 Offering your services as a freelancer is against the rules. And regardless of your intentions, please stop messaging in a bunch of channels and telling people to DM you. Say what you want to say in the server.

errant bayBOT
#

:incoming_envelope: :ok_hand: applied warning to @coarse tusk.

narrow laurel
#

!warn 1139389352187793548 spam

#

finding an IP address from an ID (such as a user ID or another identifier within a system) is generally not possible without access to the internal systems and logs of the service or server you're referring to

hasty quest
#

how are you communicating with the server in the first place if you dont know its IP address?

#

in most circumstances, an IP address isn't really something you find

#

Because you have to be directly told it to interact with the thing at all

dense harbor
#

are you asking if someone could get your IP just from sharing a discord server?

#

the discord ID?

#

seems very sketchy yea

jade garden
#

it's most likely a virus instead of a bot. you download it, run it, and the scammer gets your personal information (+ the money you paid for the bot)
usually sketchy bots like that are malware

void geode
#

I would love to network with some of you

#

Does someone know how to code really good ai here

ember ledge
#

What should I learn besides python for network

grand kayak
# ember ledge What should I learn besides python for network

If you're talking about programming languages, the important ones are C and golang (and JS if you are a web dev).
However, if you wanna learn network theory I recommend a book such as Jim Kurose's computer networking: a top down approach.
Learn Linux too, as well as Operating Systems fundamentals.

#

this will 100% get you a job

grand kayak
ember ledge
#

Okay

simple bobcat
#

can anyone tell me why internal architecture of requests is in such a way that requests.json() is a function and response.text is a class or obj?

barren ocean
prisma cobalt
#

also, as every response has a text field but not every response contains JSON, then trying to parse JSON on every response is a terrible idea and should only be done when the programmer requests

distant harness
# barren ocean

Nice to see this these days im learning cisco packet tracer

#

Do you know any tutorials or any other source to learn about that software?

keen cloud
#

Hi I have 20 Raspberry Pi devices, and each has an application installed. Some devices are running version 1.2, while others are on version 1.6. Since database migrations are included with each version, updates must be applied sequentially without skipping versions. For example, devices on version 1.2 should update to 1.3 -> 1.4 -> 1.5 -> … -> 2.0, while those on 1.6 should update to 1.7 -> 1.8 -> … -> 2.0.

How can I manage this, or is there a separate application for it? I am considering a node-based approach where each device is updated sequentially, similar to how Windows Updates work, ensuring that no version jumps occur and that all intermediate updates are applied in sequence. How can I achieve this?

crystal current
# keen cloud Hi I have 20 Raspberry Pi devices, and each has an application installed. Some d...
keen cloud
# crystal current Some relevant discussions about the database issue specifically: - https://stac...

Hi, I have never performed incremental upgrades before. For example, initially, I had five Raspberry Pi 2GB devices on version 1.2. I used these devices first. Later, I acquired 15 more devices. Before buying these new ones, I distributed version 1.3 to some of the old devices, and I installed version 1.6 on the new ones.
However, now I need to perform incremental updates with migrations. On my test device, I upgraded to version 2.0 step by step. I want to apply incremental updates to the other devices as well, to avoid issues with migrations.

crystal current
wide plover
#

Okay, so I'm asking here also if anyone read this kindly reply,
I need your help to make a #hastags in "X" Popular, so that authorities are forced to take action

edgy pelican
#

!rule 5

errant bayBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

wraith breach
frail tulip
#

I’m trying to setup my home pc as ssh server over WAN, I can SSH into it in LAN but not WAN, I already setup port forwarding on my ASUS router behind a ATT gateway. I’m not sure what else I need to do

#

Do I also need to setup another port forwarding on the ATT gateway too?

#

If I try to SSH over WAN it just says operation timed out

edgy pelican
#

yeah

#

both gateways

#

also if its behind a CGNAT it wont be possible

frail tulip
#

welp nevermind after a reboot of the ssh server i cant even ping the server from LAN anymore let alone connecting to it

#

lol

#

guess ill just stick to good old local

#

or spin up some VMs on the cloud

reef ferry
#

I was thinking of buying a router for lan parties? It's mostly for my siblings and I because the wifi is terrible. Will that work? I just want to be sure.

#

Oh we'll be playing on mobile devices as one of my siblings prefers it. Just want to have it up as it's very important to her

edgy pelican
#

is it a router problem or isp package problem

crystal current
silver sky
#

Hello i need hel

#

Help

#

Soo im trying to get the video streaming link from an app how do i do it it a mi camera with live feed i need yo take it out from there

#

@crystal current can you

#

@helpers

#

@rough igloo

#

Anyone??

#

Anyone???

#

@misty bane

#

Can u?

#

I'm trying to use wireshark

#

@honest pasture

crystal current
reef ferry
crystal current
dreamy magnet
# barren ocean

Looks like the packets have a path there but no path back. Check that the other pc has proper network settings like default gateway, subnet mask etc.

wooden light
#

Hello, is it feasable to host PRAW bots through a VPN?

#

I've noticed that on the free ones the bots just die if I have too many running at once

#

One bot alone will run for weeks on its own

#

Two for several days

#

Three for hours

#

Etc

#

Is it just the VPN's bandwidth/quality and the python bot not being able to handle the disconect?

inland rampart
#

I'm not sure, but generally speaking, you should probably just write your code in such a way that it can be restarted without loss of information if it fails, and then you can just automatically restart the bots when they fail and not worry about it.

crimson escarp
#

is this channel for

#

neural neural network

#

?

#

can someone provide me with a good docum about it

crimson escarp
#

okey bro thanks

wooden light
#

Any stuff on how to start?

#

Assume I need some sort of main launcher program

crystal current
#

!rules 4

errant bayBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

hazy root
#

long story short, I had to rewrite their wrapper from urrlib to urllib3 and use it to access socket (could be done differently) and set TCP keepalive options on

orchid axle
#

hello guys is there like chart about check ips to block before accepting vs accepting than checking ip to block using sockets, i dont know if we go above a certain rate one will be better or the opposite

dusty lance
#

i hv been googling to find cisco IOS
havent found any yet
anyone know where to find ?

#

its for this project

#

i wan IOSes for GNS3

dusty lance
#

i alr have cisco acc though

snow harbor
#

Hello everyone,
I'm seeking assistance with a network detection issue in Python. Specifically, I'm trying to determine if a logged-in user is accessing the system through a VPN or directly over the internet, using just Python and without relying on any external packages.
If anyone has experience with this or can suggest an approach, your help would be greatly appreciated!
Thanks,

crystal current
snow harbor
dusty lance
#

anyone here is familiar with GNS3?

#

i try to get images for router as long its isnt Cisco's images

dusty lance
wooden light
dusty lance
#

?

slate swift
#

Im kinda lost
Which is the correct channel for Machine Learning stuff?

wicked flume
#

Dumb question, are the standard security protocols from out-of-the-box routers and modems like WPA3 actually secure even though they are mainstream and have been out for ever?

crystal current
rigid wadi
#

hey i got a question on how i can tackle my problem im trying to make a multiplayer module that can send data from user to user but so far im having the problem of only being able to send data locally between programs but i wanna know how i can get it from device to device more without the need of the user enabling a port to be forwarded etc

crystal current
jade garden
#

Are websockets different from sockets? I've heard on this server that HTTP is abstraction over sockets and websockets is abstraction over HTTP
But then I tried googling this stuff and got really confused (maybe my google skills just need work), I couldn't find any resource describing the difference between websockets and sockets and when you would use each

vale raptor
# jade garden Are websockets different from sockets? I've heard on this server that HTTP is ab...

https://datatracker.ietf.org/doc/html/rfc6455.html
from my understanding, websockets is a protocol just like HTTP, and both of them normally rely on communicating over TCP sockets, making them "TCP-based" protocols (besides HTTP/3 which uses QUIC, a protocol based on UDP sockets)

see also their introduction sections, 1.1, 1.5, and 1.7:

The WebSocket Protocol is designed to supersede existing bidirectional communication technologies that use HTTP as a transport layer to benefit from existing infrastructure (proxies, filtering, authentication). Such technologies were implemented as trade-offs between efficiency and reliability because HTTP was not initially meant to be used for bidirectional communication (see [RFC6202] for further discussion).
...
Basically [websockets are] intended to be as close to just exposing raw TCP to script as possible given the constraints of the Web. It's also designed in such a way that its servers can share a port with HTTP servers, by having its handshake be a valid HTTP Upgrade request.
...
The WebSocket Protocol is an independent TCP-based protocol. Its only relationship to HTTP is that its handshake is interpreted by HTTP servers as an Upgrade request.

prisma cobalt
hasty quest
#

Most commonly TCP and UDP

#

They're basically the most primitive part of the network stack you'll ever interact with, unless you're doing something weird or writing the netstack for a kernel. You use them to do things like implement HTTP servers from scratch.

#

It's not really correct IMO to say that HTTP is an abstraction over sockets

#

HTTP is a protocol which is built on TCP

#

It's not really an abstraction over that either

#

It is made from TCP but I don't think that's really the same thing.

jade garden
hasty quest
#

one side sends "some data", that data becomes available for the other side to read

#

this is extremely primitive. It exists so that other, more structured things can be made out of it - these things actually depend on the shape of the data, and HTTP is one of these.

jade garden
hasty quest
#

HTTP gives structure to a binary data stream

#

An HTTP request has a clear format and size

#

It always starts with a request line, and headers. These are delimited using special byte sequences. And one of the headers is used to delimit the rest of the request.

#

So given a binary data stream which contains any number of requests, you can always tell where each one starts and stops, as long as you're following the rules.

#

Something that's important to note is that there is no direct mapping between "number of HTTP requests" and "number of TCP segments"

jade garden
hasty quest
#

The two protocols operate independently. One HTTP request could span multiple TCP segments. Or one TCP segment could contain multiple HTTP requests.

#

Check out the TCP IP Guide for more on this topic, it's free to read online

jade garden
#

Oh, it has a whole section on "Networking fundamentals", nice. Seems like exactly what I need

jade garden
#

The only thing I'm worried about is it's old, seems to be written in 2005 but I assume the fundamentals that I will learn as a beginner haven't really changed

hasty quest
#

It is slightly old but most of it still applies

jade garden
#

I see, thank you!

tacit zenith
#

why can't you just connect your wifi to your pc normally like i would on a phone

rugged fern
#

hey guys anyone knows how i can host my flask app on my local machine while still accessible on the internet by other users? I looked online and couldnt find a specific solution

prisma cobalt
prisma cobalt
rugged fern
#

sure, so i looked into it and first i had to reserve the ip address for my pc so that it doesnt change in the future

#

I set the protocol to both cuz idk if it should be tcp or udp

prisma cobalt
#

a static private ip is a good idea but not the biggest issue

#

that looks good

#

assuming you're ona standard consumer plan with your ISP, your public IP address is liable to change every so often which makes it very difficult for clients to connect to your machine, you can solve this either by buying a static ip from your ISP (if they offer them) or configuring DDNS

rugged fern
#

ohh

prisma cobalt
#

first though, is the port forwarding working?

rugged fern
#

I havent tested it yet, should i just replace localhost with my public ip?

prisma cobalt
#

yeah that should do it

rugged fern
#

hmm its not working

#

it could be my ISP not allowing port forwarding

prisma cobalt
#

usually it's a router setting which appears to be this. if this rule was saved correctly it should™️ work

#

make sure to include the port in the url

rugged fern
#

should i set a DMZ IP address

#

well its actually not even working on my own pc

#

wait, it might have been because i was using the wrong ip address

crystal current
# rugged fern well its actually not even working on my own pc

Heheh, that's important

If port forwarding ends up being troublesome or impossible, the alternative is to use a tunnel. Cloudflare is nice and easy but you have to register a domain name with them to use it. There are more open alternatives like Ngrok but I've never used them personally

crystal current
#

Your nextjs server is running on the EC2 and responding normally if you curl it directly on there?

dusky oyster
#

I fogot to delete the question

crystal current
fallow jasper
#

Anyone know how fix ssl error 1000 on a windows 2012 r2 server when trying to run a discord bot ?

shrewd kite
#

I would like to profile network usage and build something like a flame graph for code paths that emit or recieve on the network.

Anyone know how to do that without too much trouble?

shrewd kite
#

@crystal current How does pyflame profile the network? AFAIK it's a sampling stack profiler, not a network or memory profiler.

#

The issue with network profiling seems to be that you need to setup some kind proxy, socket, or container, and count the packets across that boundary... while also attributing packets to the program's stack samples

tall wadi
#

Hey, how can i use Flask to initiate a DHCP Connection? is it possible to do it?

hasty quest
#

I can't really tell from this description what you're trying to do

#

If you just want to do DHCP things, you can use a library for it. Doesn't really have anything to do with flask, but there's no reason you couldn't call a routine dealing with DHCP from a flask endpoint handler

tall wadi
hasty quest
#

integrate how?

tall wadi
#

wait, lemme show

hasty quest
#

I mean no matter what you're doing it's basically a matter of gluing the two different functionalities together, using the appropriate libraries or software for each.

tall wadi
#

@hasty quest

Nothing complicated, i just want something like this -

when i click on the "Connect all devices" button, it should show me a list of devices connected via DHCP to my laptop, and my router ats like DHCP server. That should be it

jade garden
#

Reading the TCP/IP guide, turns out this networking stuff is really interesting

tall wadi
tiny condor
#

Does anyone know why I can connect to a websocket with cloudfare via an online websocket connnection website but not using the websockets library in Python and how would I fix it?

cedar forum
#

code samples and error messages would be a good start

lyric oak
# tall wadi <@156556663124525056> Nothing complicated, i just want something like this - ...
  1. You do need to find a TCP/IP book and correct the misunderstanding of DHCP. There is never "a list of devices connected via DHCP to" either your laptop, nor the the router even if it works as DHCP server, because like others pointed out DHCP is over UDP and connectionless. 2) Your other wish to collect which devices talked to the DHCP and acquired IP addresses is only possible if your router opens up that via some protocol. This is vendor/device specific. Some go through SNMP, some through other protocols, and others might even not have such an interface for you to integrate with.
lyric oak
bright ether
#

anoyne

#

can help me

prisma cobalt
#

we wont know until you ask your question 😄
dont ask to ask, what's the problem?

crystal current
bright ether
#

pc

tardy dagger
#

I just got started into Networking

#

This is pretty cool not going to lie

umbral shore
#

Are you connected to an ethernet cable? How much bandwidth does your isp allocate to you? Is your pc old, is the network chip updated? How far away are you from the router or hub if not connected via ethernet?

#

Many more questions i could add to that. If you want people to help you, be specific because most people won't take time out of their day diagnosing a black box issue.

finite bay
#

I did a self installation of a modem. I plugged the coaxial cable into the coaxial outlet as well as the power cord to the power outlet for the modem. The green light keep flashing. Could it be that I don’t have a router yet and I haven’t plugged the Ethernet cord into anything?

#

Or the green light shouldn’t be flashing regardless?

crystal current
finite bay
crystal current
# finite bay Any ideas?

Plug in a device and if it still doesn't work, ask them?

It's pretty normal for you to need to contact your ISP when installing a new modem. They register the MAC or whatever they do manually. Plus you need to check if they support your device, right DOCSIS version and all that

stiff pagoda
#

Hmm im using flask and websockets, firewall disabled so what is the reason if server is running?

from flask import Flask
from flask_socketio import SocketIO
import socketio

app = Flask(__name__)
socket = SocketIO(app)
sio = socketio.Client()

Server is using socket, client sio

Error

Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

SS from server machine

#

SS from client machine

broken sorrel
#

Looks like server is only listening on 127.0.0.1 - you’re connecting to a different IP so even if it’s the right machine, it won’t connect. Try having the server listen on 0.0.0.0

simple kettle
#

I've been asked to decrypt tls packets recv by sockets, now I am in bad headache🤣

#

only thing I have is an useless pem certificate

obsidian crag
#

In sockets you have two clients on two seperate namespaces “x” and “y” how do you connect x to y without the interference of the server as a proxy. Example, transferring audio data, should transfer from y to x on x’s request to the server, y starts transport and the data is directly given to x without server interaction (to not proxy the data, it causes overload in high volume)

neat jolt
#

Hi everyone! I've worked lately on a game with sockets. Today, I found this article about basics of thread locking that was helpful for me cause I wasn't sure what thread locking was. Maybe there's someone around with some questions about it so I just want to share my findings.

https://www.pythontutorial.net/python-concurrency/python-threading-lock/

In this tutorial, you'll learn about the race conditions and how to use the Python threading Lock object to prevent them.

hasty quest
narrow axle
#

Quick question, is there a way to close a connection uncleanly (mimic network loss) using asyncio ?

maiden palm
#

hello

#

guys can anybody tell me what does this code do??

import requests
from itertools import product

def brute_force_directories(url, wordlist):
    for word in wordlist:
        response = requests.get(f"{url}/{word}")
        if response.status_code == 200:
            print(f"Found: {url}/{word}")
#

basically i know shit about cyber security and I have to make a Comprehensive Web Application Fuzzer.

#

so I'm taking chat gpt help can anybody help?

crystal current
#

But essentially that function will check for a URL based on each word in the word list and let you know which, if any, of those URLs exist

maiden palm
maiden palm
crystal current
maiden palm
maiden palm
crystal current
# maiden palm is this enough?

I know nothing about your assignment and its requirements.

If you search the web for Python web fuzzers, you'll see endless examples to look at.

tardy dagger
#

Networking goates

dusty lance
#

Anyone ever use win server 2019?....mine i can ping from client to the server but cant join the domain...and the statically configured IPV4 didn overwrite the APIPA address

tall wadi
#

Hey, for any 5G cellular network, is it wrong to use the handover data for research purposes? is there any open sourcr data available?

tardy harness
#

Is it possible for me to tunnel my internet connection through Facebook if my internet service provider gives me free unlimited access to Facebook?

tardy harness
ocean bay
#

wouldnt you have to connect to their router

compact mist
crystal current
tardy harness
crystal current
#

If not you should probably find their support forum or something

safe storm
#

267624335836053506

#

hello

#

hi

#

sup

brazen ferry
lyric oak
tardy harness
lyric oak
tardy harness
lyric oak
sinful snow
#

Where can I learn computer networking to such an extend that will help me configure docker networks properly.
My main idea is to learn networking in such a way that will cover fundamentals and adavance topics for networking which will help me understand docker networking.
Documentation/blogs are my priority, videos suggestions are also okay.

crystal current
# sinful snow Where can I learn computer networking to such an extend that will help me config...

You will probably have a better idea of what fundamentals you may be missing if you focus on specific projects and problems. Docker in itself doesn't assume much network knowledge.

That said, ConpTIA Network+ study materials cover more than what you really need. Maybe read through the official exam objectives and if you're missing certain things you can read up about them or check Professor Messer's free videos

sinful snow
atomic orbit
#

Let's say you have a LAN with 3 subnets. Let's then say that in Subnet1, you have computer1 and computer2, and on subnet2, you have computer3. If you have mDNS configured in all 3 computers, only computer1 and computer2 would be able to communicate via the mDNS, right? (Since computer3 is on a different subnet, it wouldn't be able to communicate with computer1 and computer2?)

neat jolt
#

Hi! I'm happy to share with you guys that after battling a lot with sockets and streams I could finally connect two players and a server and transfer data between them in json format to play blackjack. This is something to be shared here, friends and family would only frown if I told them

ember ledge
#

oi. question for my barematetal server-at-home folk. i have a linux machine, a windows machine and possibly a mac machine in the near future. i want to be able to share files between all of them and back them up with at least some little level of safety. my boss told me that 3 is the magic number of backups and thats what people use at google. but i was thinking about a RAID 10 NAS instead. 4 bays holding 2tb NVMEs. one drive would be personal stuff, one drive would be work stuff and the rest would be mirrors. the problem im imposing on myself is that i would like it to be fast too... so 1gigabit wont cut it because im telling myself that it wont, not because this is fundamented in anyway. ive just watched too many LTT videos. does this configuration make sense? if 1gigabit is too slow, is there some type of docking station out there with a 10gigabit connection? cause i can get the card onto the PCs but no way im opening my laptop to install another network card. so docking station + thunderbolt usb-c seems like the way to go. if this is all a bad idea, just crush it and give me a better one?

#

(about the drives, theyre gonna be all exfat. same model. about personal stuff, that includes pictures of cats, game files, and possibly some self-hosting)

umbral shard
#

I think network describe my problem at best.

def send_input_to_server():
    while True: PROBLEM IS HERE
        if pygame.key.get_focused(): 
            keys = pygame.key.get_pressed()
            if keys[pygame.K_w]:  
                client_socket.sendto(b"UP", (SERVER_IP, SERVER_PORT))
            elif keys[pygame.K_s]:
                client_socket.sendto(b"DOWN", (SERVER_IP, SERVER_PORT))


# Hauptprogramm
def main():
    # Thread zum Senden der Inputs
    input_thread = threading.Thread(target=send_input_to_server)
    input_thread.daemon = True  # Thread beenden, wenn das Hauptprogramm beendet wird
    input_thread.start()
    ......

Can I set a delay in a threaded function? Because if I press a key, the loop is too fast. So too much sendto(....) will be runned by a simple press and release for under second

#

Is there only the two cheap ways? Read the time of OS and add some time or use a for-loop that just calculates an variable with += 1.

grand kayak
# umbral shard Is there only the two cheap ways? Read the time of OS and add some time or use a...

I didn't understand that well those two ways you described.
However, the one approach that came to mind was: https://stackoverflow.com/questions/43503995/pygame-key-get-pressed-how-to-add-interval

Does this help you out in any way?

umbral shard
grand kayak
#

or some solution similar to this

hollow mortar
brave shuttle
#

How can i host django application on godaddy

mellow raven
#

Hello, im tryna do this project and we need to remotely control my friends android phone from my PC

Android phone is in USA
My PC is in a different country.

I dont wanna use any service like Anydesk/teamviewer because its very laggy,is there any other way? like a hosting hardware he can buy?

jaunty frigate
spice vigil
#

Looking for an experienced programmer for website and SEO

Hey everyone,

I’m looking for someone skilled in programming with experience in building and optimizing websites. SEO knowledge is essential to ensure the site ranks well on search engines.

If this sounds like you, feel free to reach out to me! 🙂

What I’m looking for:

Experience in web development (HTML, CSS, JavaScript, etc.)
Strong understanding of SEO practices
Reliability and creativity
Looking forward to hearing from you!

steady horizon
jade garden
#

Currently learning requests (Python library) and learning the basics of HTTP requests in general, for some reason I find this much more interesting than I expected

frigid cradle
#

boys, is my understanding correct that this is solely local and i launch the receiver server on another device thats not on the same wifi it wont work?

#

if so how do i make it public

#

plug in some kind of public server, but can i somehow i make the senders computer be that server

#

bcs the implication is p2p messanging

steady horizon
frigid cradle
#

thanks a lot, that worked

spice jay
#

what is zmq

#

and i dont think sockets are good

#

i mean you cant use them outside your local net

limpid girder
#

someone knows how i can expose my pi zero to the internet?

steady horizon
#

Probably the same way you would expose any other machine to the internet

#

Port forwarding yada yada yada

limpid girder
#

i added a port forwarding profile already#

#

but what should i do now

steady horizon
#

If your pi only needs to send out requests and receive their responses, you don't need to set up port forwarding

limpid girder
#

nah it should be a socket server

steady horizon
limpid girder
#

yea, but i wont work

steady horizon
#

Are you binding to (socket.gethostbyname(socket.gethostname()), the_port_that_is_open)?

#

You need to bind to the matching local address and port you defined when setting up port forwarding

limpid girder
#

i am binding „0.0.0.0“, 9999

#

so yeah

steady horizon
#

If that port number is correct than maybe you set up UDP accidentally instead of TCP or vice versa

limpid girder
#

do i have to setup the Port forwarding at the pi too or just at the router

steady horizon
#

It's a locally served page you can access via a web browser

#

usually

limpid girder
#

hmm

#

okay i did that but

#

idk whats the prob then

steady horizon
#

Well I'm going off with 0 error tracebacks

#

If it's a TCP socket, did you call socket.listen?

limpid girder
#

my code is working but when i try to Connect to that Server without beeing in the same network it just cant Connect to that

limpid girder
#

my problem is not the code

#

just the thing that i cant reach my pi about the internet

steady horizon
#

Wait how is your client trying to connect to the server

#

You're supposed to use your public IP address for that

limpid girder
#

ik

#

there the prob

steady horizon
#

So does it work now?

limpid girder
#

nope

steady horizon
#

I thought you changed it from whatever IP address to use the public IP address

#

Are you using the right public port number?

#

It can be different

limpid girder
steady horizon
#

You can only check this in the port forwarding configuration you set

limpid girder
#

ah okay

#

wait

#

where can i see that

steady horizon
#

Okay it is set to 9999

limpid girder
#

yeah but wheres the public ip

steady horizon
#

You can look it up with a Google search

limpid girder
#

now am confused

steady horizon
#

Go to like aws.whatismyip.com and you'll see the IP address your clients should be connecting to

limpid girder
#

bro thats the ip on the img before

steady horizon
#

Supposed to be the pi's IP address in the local network

#

For communication within the local network (includes the router)

limpid girder
steady horizon
#

I don't know what ifconfig.me gives but that may very well be your (router's) public IP address

limpid girder
#

but thats it

steady horizon
#

So are your clients connecting to that?

limpid girder
#

😢 ....

#

nooo

steady horizon
#

I don't know how I can help you further without seeing your client connection code

limpid girder
#

its just that for testing a connection:

import socket

server = socket.socket().connect(("95.91.234.163", 9999))```
steady horizon
#

Should be

from socket import socket
SERVER_ADDRESS = "95.91.234.163"
SERVER_PORT = 9999

with socket() as client_socket:
    client_socket.connect((SERVER_ADDRESS, SERVER_PORT))
#

What error are you getting with this?

limpid girder
#

same error as before

steady horizon
#

Which says what?

limpid girder
#

connection timeout

#

and bro thats literally the same code as mine just prettier

steady horizon
#

What if you change SERVER_ADDRESS to "192.168.178.63"

#

And use the same network

limpid girder
#

then its working

atomic orbit
#

without using a third party package like zeroconf, how can i send an mDNS query to devices on my local network (and get a response)?

median island
#

No one does their job

#

“Everything looks good to me”

lyric oak
atomic orbit
lunar marsh
#

i have a doubt why is the Domain names paid. from where are these websites like Namescheap and Godaddy brokers us domains

edgy pelican
#

with a licensing fee

lunar marsh
#

oh

edgy pelican
#

i can allow this person to sell domains that have a .hello TLD

#

and they pay me money

lunar marsh
#

oh so its just for uniformity and the process of hosting this dns stuff we pay money to these brokers which give us .org .com stuff

#

like i did'nt see any other websites like .hello or something .com .net all are very common and uniform among all sites

hasty quest
#

Your company then charges other companies and people, and they'll say you're in charge of some domain

edgy pelican
#

smh monopoly = bad

neat jolt
#

I found this pretty interesting video about time servers. It was cool to see how we can get time with nano second precision nowadays in such a small device

Get NordVPN 2Y plan + 4 months extra plus up to 20 GB Saily data voucher ➼ https://nordvpn.com/networkchuck

It’s risk-free with Nord’s 30-day money-back guarantee!

In this video, I install a high-precision time server in my studio using the OpenTimeCard Mini from TimeBeat. Instead of relying on external Network Time Protocol (NTP) server...

▶ Play video
haughty solar
#

is anybody know remote software other than anydesk or teamviewer

lunar tree
#

Bro💀

dusty lance
frank sundial
#

Is there an area where I can ask docker questions

midnight hill
#

I'm using Obsidian for a lot of my documentation but I think there's a limit to how much mermaidjs plugin can do. Can anyone share recommendation on documenting and creating network diagrams via markdown?

neat jolt
flint crescent
#

Might try it out some time

midnight hill
neat jolt
#

Hello everyone! I'm working on an automated system to play this ctf. Basically I'm using paramiko to connect through ssh to copy a python script, run such script and create a password from the result. My code uses invoke_shell to get the results from exec_command that runs later. However exec_command throws a paramiko.ssh_exception.SSHException: Channel closed. I've tried to implement this solution but it didn't work, also tried fabric and same luck.

neat jolt
#

I'll be trying pwntools in the meantime.

midnight hill
#

Gee thanks

midnight hill
neat jolt
midnight hill
#

Sure

neat jolt
glossy dust
#

Hey how can i change my port in pihole

#

It says failed to create listening socket since it's already in use

midnight hill
glossy dust
#

Ahh thanks I'll refer this now

zenith perch
#

its this channel ok for asking network packet related questions?

neat jolt
#

Hey @midnight hill, I found this by accident, you might find this useful, I'm not sure though

midnight hill
neat jolt
dusty lance
#

it doesnt suport markdown

#

like this

midnight hill
karmic patio
edgy pelican
#

(possible unrelated) but wow curl -vvvv is verbose

gentle trench
#

Sent some message to a local tcp server, and it sent some extra bytes along with the message. What are these?

grand kayak
gentle trench
#

before and end both

gentle trench
#

When an app stops listening on a port, it remains bound for a while. Why was I able to bind a new app to the same port immediately after closing the first one

grand kayak
# gentle trench before and end both

0d 0a is a line break, your message possibly ends in a \n.

The bytes before your message are the headers of the ethernet, IP and TCP protocols, in that order.
They contain the source and destination IP addresses, source and destination TCP ports as well as lots of other information so that your message gets to the correct destination intact.

gentle trench
grand kayak
gentle trench
#

Windows

#

11 if that matters

grand kayak
#

I'm not 100% sure on that one. But my guess is the network layer on your OS prioritizes a process requesting to listen on a port over the old one which has stopped listening.

gentle trench
#

O_o 👍

steady horizon
brazen ferry
proud swift
#

Do you mean the TIME_WAIT state?

gentle trench
#

I am not sure which one was which

muted dust
#

Does anyone knows how can calculate MTR in Linux?

cursive willow
#

Hi everyone,

I need to implement a solution in Python that can send requests through a proxy using Kerberos and NTLM authentication to hit specific target URLs. I've looked into libraries like requests-kerberos and requests-ntlm, but I'm not entirely sure how to set them up for proxy usage.

Could anyone provide guidance or code examples on how to code Python requests to authenticate via Kerberos and NTLM through a proxy?

stable tusk
#

Can some1 help and vc

midnight hill
#

Just getting started

wild estuary
#

woah that looks good

paper arrow
#

Hello

steady horizon
#

#cybersecurity message @flat arch
You can implement your own protocols using raw sockets in different OSI layers. It's not harmful or anything because recipients who are unable to communicate in it will simply ignore its packets

flat arch
#

But what if I want the recipient to understand my protocol, how can I do that?

#

@steady horizon

steady horizon
#

You'd implement the protocol on your recipient's machine and make sure that implementation runs

#

The only difference between doing that and implementing protocols over TCP/IP or UDP/IP is that there is no specialized hardware component that would run your implementation for you. You'd be running it on the CPU like a program

flat arch
steady horizon
#

Python works

flat arch
storm dagger
#

Yo staff they add website

#

Yes @storm dagger

ember ledge
dusty lance
#

anyone know the default route 0.0.0.0/0?

dapper dew
#

Hey, I've got a simple routing issue with my rpi. I'm trying to route local traffic through eth0 and wan traffic through wlan0. I'm not sure where to even begin, as wlan0 doesn't even have an IP. sh dan@raspberrypi:~ $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ... 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether d8:3a:dd:e8:15:8a brd ff:ff:ff:ff:ff:ff inet 192.168.10.102/24 brd 192.168.10.255 scope global dynamic noprefixroute eth0 valid_lft 84170sec preferred_lft 84170sec inet6 fe80::5480:8b26:5310:8113/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether d8:3a:dd:e8:15:8b brd ff:ff:ff:ff:ff:ffand my routing tables:sh dan@raspberrypi:~ $ ip route show default via 192.168.10.1 dev eth0 proto dhcp src 192.168.10.102 metric 100 192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.102 metric 100

Fwiw I have set the network in /etc/wpa_supplicant/wpa_supplicant.conf though I assume it's not connecting since ethernet is plugged in

stiff dragon
#

hello

sonic holly
#

hi
i have a number if different audio cables connected to my system
I'm using windows

how can i find the port number if eache cable

gaunt flare
#

guys

#

i need help

#

my web client i wrote isnt working anymore

#

??

#

whats this websocket issue

#

bruh

stiff pagoda
#

Easiest way to get ssl working for flask socketio based app? I would love to use adhoc but it doesn't work correctly...

edgy kettle
analog shadow
# gaunt flare

A 426 error, also known as "Upgrade Required," is an HTTP status code that indicates the server requires a specific upgrade or a different protocol to process the request. In other words, the server is telling the client (your browser or application) that it needs to upgrade its protocol or request method to access the requested resource.

gaunt flare
#

Alright thank you

#

Ill see what i can do

ember ledge
#

Hello Everybody

sturdy breach
ember ledge
#

I do a sorts of that, but I am currently focusing of penetration testing and building servers from scratch.

sturdy breach
#

Woah, you went the other way haha. do you have a plan in mind youre trying to execute?

ember ledge
#

I am trying to secure my new server with using multiple VM on my laptop. The original idea was to try and make each virtual machine attack each other on my computer locally( with adjacent ai to help it of course) to see the weaknesses in each VM. But then I had an idea of creating a web UI for each VM so that I can execute code or work on features of that specific VM. The final goal is too get all VMs working in tandem for testing, counter offensive attacks, defensive attacks, and rewriting of code for defense.

#

@sturdy breach It is just an idea and I am about 5% done with the project.

full roost
#

hi

#

is this the support chat i am having issue with google colab

fading quest
#

Hi, iam trying to sneak into a MAN network in my area, which allows only one device at one time for 30 days (pack). They give password.

And once the device is connected it locks the first device MAC address.
Even if u turn on the hotspot of that device it won't let another device to connect. It directly takes to the login page and by adding same password it show it wont connect for this device...

No matter whtever i try i lt wont allow me connect more than 1 device...

How to solve this???

dull gate
errant bayBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

edgy pelican
#

this seems extremely legally (and morally) questionable

fading quest
# edgy pelican this seems extremely legally (and morally) questionable

How so?

I am already paying for 1 device, which is worth for more than 5 members or private family wifi..

It's just in our complex they overcharging and cutting other competitors so they can rule and make money...

If i want to connect my phone and laptop then i have to pay double amount.

sour patrol
edgy pelican
#

overcharged things doesnt make it right for you to steal them

gloomy root
#

I mean you can probably do this without trying to bypass device limits things if you can configure a NAT gateway so your two devices route via the nat which is the main device connecting

#

That being said though the words "Free wifi" as your general means of connecting would probably warrant also setting up a VPN configuration while you're at it... Since any managed network like that can be pretty sketchy

#

Also other less annoying alternatives include:

  • starlink
  • 4/5g cellular wifi routers
frosty creek
#

lol I managed to get GPT to print its IP adress, is it valueable at all?

hasty quest
#

It's all bandwidth lol

#

Downloading 50 gigabytes on one device and 50 on another is not any different from downloading 100 gigabytes from the service provider's perspective.

#

They just want to charge you twice as much for literally nothing, because most people are stupid enough to pay them double for no reason.

edgy pelican
#

i mean they can just tell the netadmin to change it to charge by bandwidth ¯_(ツ)_/¯

#

but how they charge it doesnt affect its questionability (idk the word here)

hasty quest
#

I don't think it can even technically be really called theft of service

#

because for it to be theft of service, you'd have to be getting service that you didn't pay for. But operating two client devices instead of one is neither more service nor a different service.

edgy pelican
#

i mean

#

if i have 1 website

#

and put it behind cloudflare

#

i can't take another website and also put it behind cloudflare

#

even if i own the website

rose vessel
gloomy root
#

you absolutely can

hasty quest
#

I don't think you actually read anything I wrote

#

Downloading 50 gigabytes on one device and 50 on another is not any different from downloading 100 gigabytes from the service provider's perspective.
Consuming twice as much bandwidth as you should be allotted is pretty fucking obviously different from the service you paid for from the service provider's perspective.

#

Consuming bandwidth within the limits that you paid for is not.

#

I have literally no idea where this comparison comes from.

ember ledge
#

How many collision domains and broadcasts domains are there?

#

5 collisions for the hubs, 2 for the switches?

#

and 2 because the router goes to 2 switches?

fading quest
fading quest
# gloomy root That being said though the words "Free wifi" as your general means of connecting...

How to do that?.

Okay, here's what i did.
There are two steps that were working but not very well.

  1. I used reverse tethering from my phone to my laptop via a cable, which works perfectly on both devices.

  2. I directly connected the router to the network, and it broadcasts Wi-Fi to both my devices and even more devices. However, the data(internet) doesn’t work simultaneously. If I use it on my phone, it doesn’t work on my laptop, and vice versa.,
    It stop for like 2-3 mins before connecting to other device.

dusty lance
# ember ledge

for you to determine how many broadcast domain, you have first to know how many subnet in the topology

#

say left the left side is 192,168.1.0/24 and right side is 192.168.2.0/24
then there's 2 broadcast domains

#

and as for collson domain, how i do look it is
i dont really look at devices perspective

#

rather just count how many cable are there

#

although cable isnt really exactly right
as some LAN uses trunk port instead of access port

#

and iirc hub is differ to switch and router

#

like regardless of how many connection from hub are, theyre 1 collison domain

dusty lance
hollow jackal
#

can i open different websocket connections to the same server in websockets library in python?

fallow thistle
#

similar to port security configurations we use on our networking devices

burnt pulsar
#

hello

waxen sage
burnt pulsar
#

do you know how to stop tcp retransmissions or rst packets

#

idk what caused it

#

i just get a lot of them and my ping is double unless i use ip allocation and it knocks it back down to 50 or 60 but i can get eu ping on a na server

opal crane
#

hi i just learnt about vlans and subnet masks

#

I am lookinjg at recreating a network where i have a subnet mask of 255.255.255.192 for (2^2 networks, 2^6 hosts)

#

if i am correct the way this works is. 192.168.0.[1100000]

#

so i have 6 available bits for host assignment

#

this is my test network.
I have 3 VLANS
10 - Finance
20 - HR
30 - Management

#

this is my router on a stick network

#

if i want to assign each department their own vlan

#

do i assign it to PT switch 5

#

each port

#

or do i have to manually assign it to each port within PT Switch 3,6 and 4

opal crane
#

on top of that so i have assigned trunking ports to sweitch PT 5

#

to the 3 switches and the router

native sapphire
#

Hello everyone, I hope you guys are having good time.

I had this thought in mind, I have a fastapi application and I was thinking to host it on Mac Mini M4 .

Is it possible to do it in real life for real project or is it a stupid idea?

Please Advise.

prisma cobalt
#

if it has an ethernet port, I'd recommend plugging it in so it doesn't drop connection but it's not neccesary

dusty lance
# opal crane do i assign it to PT switch 5

whichever switch is fine , in industry level , they even have says most of VLAN 10 on sw1 but some of the other of PCs that is part of VLAN 10 is on another switch, but make sure theyre still connected, and its usually bcuz of how their building are designed
as for trunk port
you can manually configure them or use DTP
but in enterprise level they dont use DTP for security reason sometimes

#

but you need to understand how the frame will travels and how the router will route the interVLAN's communication

tight drum
#

Hello, im trying to use a socket to send messages between computers but im having issues on the client side, code after the connection to the server isnt running. On the server side it is printing the connection fine so i know line 7 is working, but line 8 never prints to the console

#

(im very new to sockets so sorry if this is a dumb question)

proud swift
#

Also show your server code, and the output

#

Show the full code as text, using a multi-file paste

#

!paste

errant bayBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

mellow sundial
#

i need sophisticated advice on networking protocols

lyric oak
dark kestrel
#

Does anyone have an idea on how to install ($(LIBdir)/libhpl.a) on Ubuntu

dusty lance
#

also i dont think new potocol would be come in handy like homebrew

mellow sundial
#

make server send me stuff while i reject it so it doesnt even count to my data limit @dusty lance

#

straight up drop packets

rose vessel
#

With Networking protocols are you talking about routing protocols or more like TCP/UDP?

dusty lance
#

yh

#

like shadow says

#

which one

dusty lance
#

if it something like TCP/UDP i think @rose vessel would be the right person

#

he have experience working in ISP
so, maybe he have the required understanding

#

i just can help if it something like OSPF/BGP/ a bit of EIGRP and layer 2 stuff

mellow sundial
#

no idea in just want to drop some packets to not count to the proxy network

mellow sundial
dusty lance
#

if it something like proxy,server,dns...tbh, i havent really dive deep on those stuff

mellow sundial
#

i just need bunch of ips

#

ill setup software myself

opal crane
#

please help me

#

i can send a packet from 192.168.1.254 -> .2.254

#

but not from 1.254 -> 3.254

#

show run is identical in all switched

#

router options are also identical for all sub interfaces

dusty lance
#

although i dont rmb EtherChannel

#

wait , do you even have trunk configured from switch1 and router?

opal crane
#

you can combine up to 8 cables into an ether channel

#

let’s say each cable is 1gb/s

#

you now have 8gb/s

dusty lance
#

is it like load balancing?

#

you share the load

#

or what

opal crane
#

emm yes

#

redundancy too

#

and simply being able to send more traffic at once across the channel

#

as the bandwidth doubles in this case

#

however just because it can be used for load balancing

#

that does not mean that the loads are distributed equally across the channel

dusty lance
# opal crane double the speed

for layer 2 i just know trunking,DTP,Switch stacking,STP,RSTP,MSTP,private VLAN,Port security but i nvr knew this 2 cable interconnection even though theyre just single VLAN

ebon notch
#

Anyone can help in Python socket client side
I am sharing large size file NodeJS socket to Python socket client side socket but program show (packet queue is empty, aborting)

#

How to solve this problem

warm stream
#

had anyone made ftp server in python
not client jsut server

rose vessel
#

No stop this spam stuff please

patent wadi
#

hi everyone, im working on a project where i need to detect if someone is remotely accessing my system. One approach i thought was to check the background running apps if there is any suspicious software installed but that would not be sufficient as the name of the software can be changed. so is there any way how to detect if some is remotely accessing my system ?
and i want to detect in such a way that there should be minimal or no false positives

paper venture
#

so you can of course analyse your network traffic in userspace using tcdump or wireshark. you can also check processes and your ssh keys. then theres also the kernelspace. so that depends on your system. on linux you can use ebpf. that brings us to intrusion detection like suricata which is implemented in opnsense

#

i would advise you to use zero trust access and get rid of ssh directly

#

the cool thing about kernelspace network filters is that you can drop suspicious packets directly in kernel space before they even reach your apps

ebon notch
warm stream
ebon notch
#

work but with (packet queue is empty, aborting) this message

warm stream
#

import socket

def send_file(server_ip, server_port, file_path):
try:
# Create a socket object
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

    # Connect to the server
    client_socket.connect((server_ip, server_port))
    print(f"Connected to server {server_ip}:{server_port}")

    # Send the file name to the server
    file_name = file_path.split("/")[-1]
    client_socket.sendall(file_name.encode())

    # Open and send the file data
    with open(file_path, "rb") as file:
        while True:
            data = file.read(1024)  # Read in chunks
            if not data:  # End of file
                break
            client_socket.sendall(data)

    print(f"File {file_name} sent successfully.")

    # Close the connection
    client_socket.close()

except Exception as e:
    print(f"Client error: {e}")

if name == "main":
server_ip = input("Enter the server IP: ")
server_port = int(input("Enter the server port: "))
file_path = input("Enter the path to the file to send: ")

send_file(server_ip, server_port, file_path)
#

i used this code

#

a week ago

tawdry charm
#

Hello can someone code this thing for me

#

its an email sender that sends emails through gmail and it sends in like 0.01 seconds and it has a text file of every email/user to send it to

gentle trench
#

How ethernet wires prevent two way traffic collision, i.e. traffic from both sides at the same instant of time?

urban depot
#

Who here can explain this??

I'm experiencing a significant difference in download speeds between my PC (wired via MoCA (Coaxial Cable over Ethernet)) and my iPhone 15 Pro (connected via 5GHz Wi-Fi) while downloading an ISO file for VMware vCenter from an MSP in the US.

My PC over MoCA gives me: 406.8 Mbps download, 19.5 Mbps upload (measured), but the ISO download was only at 0.8 GB after an hour.

My iPhone 15 Pro (Wi-Fi): Downloads the same ISO at ~4 GB per 5 minutes, with measured speeds nearly matching the PC’s, if not, slightly lower than the speeds above.

Interestingly, other downloads (e.g., Steam games), bulk downloads on the PC are near-instant, so this issue seems specific to the ISO download. Why might my iPhone be outperforming my PC in this case, despite being on the same network?

dusty lance
#

what is the bandwith of your Iphone's WI-FI and your cable

#

would be the answer ig

#

they both are different link

ebon notch
dull gate
#

hey! let's say i install some package which supposed to access internet to my app (for instance i don't trust package authors so much). and i want to profile all network requests it does. what is the best tool to do that?

deep mortar
#

Yes wireshark is best

#

Installation is super easy and it's very easy to learn how to use

warm stream
ebon notch
#

ok

surreal pumice
#

hi
i'm using httpx to post data to an API
the request containes a file and some text

        response = await client.post(url=url, data=data, headers=headers, files=files)

the problem is, i have to encode the data to json so the API can read it
but if i do that, httpx won't include the file in the request