r/rust_networking • • Dec 07 '15

Welcome to /r/rust_networking!

4 Upvotes

We're still in the process of setting up the subreddit, but in the mean time, come and join us:

We follow the Rust Code of Conduct, so please give it a quick look over if you haven't already.


r/rust_networking • • May 26 '23

COMPUTER NETWORKING FOR CCNA BEGINERESS | PART

Thumbnail
guerillateck.com
2 Upvotes

r/rust_networking • • May 11 '23

COMPUTER NETWORKING FOR CCNA BEGINERESS PART-2

Thumbnail
guerillateck.com
0 Upvotes

r/rust_networking • • Jan 27 '23

The good way to manage CONNECT Requests in a proxy?

1 Upvotes

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:

  1. wait the SNI from the client SSL handshake

  2. establish a new ssl connection to the server with the given SNI

  3. wait for CN and SAN from the server to generate the certificate

  4. generate the certificate

  5. 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?


r/rust_networking • • Jan 24 '23

Update out of scope Struct inside a Closure - async/await

Thumbnail self.rust
1 Upvotes

r/rust_networking • • Sep 29 '19

Maximum WiFi Transmit Power! Good or Bad?

Thumbnail
youtu.be
2 Upvotes

r/rust_networking • • Sep 13 '18

The Networking Working Group Newsletter - 01

Thumbnail
internals.rust-lang.org
4 Upvotes

r/rust_networking • • Jun 29 '18

Online raiding roof-campers Rust

Thumbnail
youtube.com
0 Upvotes

r/rust_networking • • Mar 15 '18

Any good network traffic generators for windows?

1 Upvotes

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 • • Aug 29 '17

Dig and nslookup

0 Upvotes

How dig and nslookup can be used for network troubleshooting?


r/rust_networking • • Aug 29 '17

dns

0 Upvotes

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 • • Oct 02 '16

Easily generate unique and reproducible IP addresses in Rust • [x-post /r/rust]

Thumbnail
reddit.com
3 Upvotes

r/rust_networking • • Aug 06 '16

Announcing Tokio: A Finagle inspired network application framework for Rust. • [x-post /r/rust]

Thumbnail
reddit.com
2 Upvotes

r/rust_networking • • Jul 01 '16

A 100% Rust SSH library, doing both client and server. [x-post /r/rust]

Thumbnail
pijul.org
9 Upvotes

r/rust_networking • • Jun 30 '16

Understanding LAN vs WAN

4 Upvotes

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 • • Jun 23 '16

Basic question about ports

2 Upvotes

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 • • May 10 '16

Multithreaded, non-blocking Linux server framework

5 Upvotes

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 • • May 03 '16

Job interview help - Networking (intern)

1 Upvotes

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 • • Apr 29 '16

A forwarding/caching DNS resolver

Thumbnail
reddit.com
1 Upvotes

r/rust_networking • • Apr 23 '16

Rust PassiveDNS Monitoring Utility [x-post /r/rust]

Thumbnail
bitbucket.org
3 Upvotes

r/rust_networking • • Apr 23 '16

RustMQ is a Set of Crates for the MQTT Protocol

Thumbnail
github.com
1 Upvotes

r/rust_networking • • Jan 23 '16

Low level networking using libpnet now possible on Rust stable

Thumbnail
reddit.com
3 Upvotes

r/rust_networking • • Jan 23 '16

rust-vnc: an implementation of VNC protocol, client state machine and a client [x-post /r/rust]

Thumbnail
github.com
3 Upvotes