r/rust_networking • u/angelafra • Aug 29 '17
Dig and nslookup
How dig and nslookup can be used for network troubleshooting?
r/rust_networking • u/angelafra • Aug 29 '17
How dig and nslookup can be used for network troubleshooting?
r/rust_networking • u/angelafra • Aug 29 '17
why can a specifiec dns like 8.8.8.8 in the dns file resolve all dns for websites since 8.8.8.8 is google dns that's mean it resolvs only google why people doesn't set fb dns in the dns file
r/rust_networking • u/Wolverine_6011 • May 11 '23
r/rust_networking • u/an-apple-dev • Mar 15 '18
I'm working on a packet capturing library for Windows via raw sockets, and need to test it with a myriad of packet types.
r/rust_networking • u/Behfor • Sep 29 '19
r/rust_networking • u/explortionnoex • Jun 29 '18
r/rust_networking • u/Wolverine_6011 • May 26 '23
r/rust_networking • u/[deleted] • Jun 23 '16
Hi there,
So I have a very basic question about ports. I know that an application will use a port and I've been told that this port, once it's used can't be used by another application.
My question here is: why I can use for example Firefox and Chrome at the same time without any problem (both using port 443).
I think I misunderstood something.
Thank you
r/rust_networking • u/mrmonday • Dec 07 '15
We're still in the process of setting up the subreddit, but in the mean time, come and join us:
On IRC, in #rust-networking (click here for a web link) over on irc.mozilla.org
Here! Drop a little comment below about what you're working on and why it's interesting, and let us know any great ideas you have for the community!
We follow the Rust Code of Conduct, so please give it a quick look over if you haven't already.
r/rust_networking • u/griceluke • May 03 '16
Hello
I am looking to anyone who works or has worked within Networking / Servers / and Cloud server/networking
I have an second/final stage interview on Friday and the only thing I was lacking in the first interview was Networking knowledge.
I was told to know some stuff by the next interview!!
I have bought and am reading bits of the Networking For Dummies 9 in 1 book.
The servers run on a linux system, they have cloud servers also. This is for an intern job so I only need to know basics but I want to firmly suggest I know my stuff! They have also mentioned DNS and DHCP to know about.
Could anyone give me any bullet point topics to read about and if youre feeling generous with your time some key jargon words to go with it. I want to impress them by knowing some key things about networking and network maintenance when im coming from a non-networking university background.
Thank you in advance Luke
r/rust_networking • u/nsizemore • May 10 '16
Hey-o!
Just wanted to share my socket server framework I've been working on to see if anyone else might find it useful, and to get some feedback.
https://github.com/nathansizemore/hydrogen
This type of socket management has been what I've been using Rust for the most the past year. This crate combined with
https://github.com/nathansizemore/simple-stream
can create a powerful and scalable realtime socket server, at least that's the plan ;). These two crates provide the networking core of an application currently running in production, and I'm grateful to be able to provide them as OSS back to the rest of the community.
Any feedback is greatly appreciated.
r/rust_networking • u/[deleted] • Sep 13 '18
r/rust_networking • u/mrmonday • Jan 23 '16
r/rust_networking • u/mrmonday • Aug 06 '16
r/rust_networking • u/mrmonday • Jan 23 '16
r/rust_networking • u/mrmonday • Oct 02 '16
r/rust_networking • u/fortysixplustwo • Jun 30 '16
I built a closed off network with a firewall, two switches, and two DHCPs. It is a simple setup, the firewall has two NICs representing LAN and WAN respectively. DHCP_1 is connected to switch_1. The WAN port of the firewall is also connected to switch_1. The LAN port is connected to switch_2 as well as DHCP_2.
My question is, how come I can access the firewall using a computer connected to switch_2, but I can't access it using the DHCP_1 server (WAN)?
My friend told me that's just the way it is, but I can't accept that as an answer.
r/rust_networking • u/mrmonday • Jul 01 '16
r/rust_networking • u/mrmonday • Apr 23 '16
r/rust_networking • u/mrmonday • Apr 23 '16
r/rust_networking • u/allmudi • Jan 24 '23
r/rust_networking • u/allmudi • Jan 27 '23
I created a mitm proxy that intercept connection but I'm going crazy on CONNECT METHOD requests:
once I intercepted CONNECT requests with a normal http tcp listener I spawn a new tokio task and send 200 ok to the client. In the just spawned task I have to:
wait the SNI from the client SSL handshake
establish a new ssl connection to the server with the given SNI
wait for CN and SAN from the server to generate the certificate
generate the certificate
complete the SSL handshaking with the client
-- snip --
if Method::CONNECT == req.method(){
tokio::task::spawn(async move {
match hyper::upgrade::on(req).await { // wait for the client response
Ok(upgraded) => manage_SSL_connection(upgraded).await,
Err(e) => eprintln!("upgrade error"),
}
});
}
-- snip --the function to manage certificate
async fn manage_SSL_connection(mut upgraded: Upgraded) -> Result<Response, hyper::Error> {
// get SNI from upgraded
// send a request to SNI and get CN and SAN (Client phase)
// create the certificate with CN and SAN
// Response::new( -- with certificate -- )
Ok(Response)}
is it the right way to manage this type of connection or not?