Networking is associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

learn more… | top users | synonyms (1)

1
vote
2answers
46 views

Linux C Port Knock Implementation

Compile with: gcc -std=gnu11 -o "portknock" "portknock.c" -lpcap I did this as a learning experience, and it actually ended up being something useful. I made a ...
1
vote
1answer
24 views

Server client for distributed system

This is the code I am using for a distributed system. The code will be used to allow the server to send parts of a (really big) document which will be processed by the connected clients. Please tell ...
3
votes
3answers
67 views

Systems management using SSH for my school

I wrote this script in order to generate a hosts.txt file with the IP addresses of the laptops in my school. Each laptop is assigned a number, and their IP addresses are assigned to them with the ...
9
votes
1answer
69 views

UDP Server class

For my current project I need a basic UDP server. The first priority is to make it as fast, but as resource friendly as possible (it will be run on Raspberry Pi-like devices). I would like a review ...
1
vote
1answer
76 views

Secure RSA encryption with PyCrypto

I'm coding a very simple reverse shell in python, and I want to encrypt the communication between the server and the client. The idea is to exchange an AES key using RSA then use it to encrypt ...
2
votes
2answers
46 views

Resolving IP to hostname in Python 2

This piece of script will take one argument (file which contain list of ip, one per line) and convert it to its hostname. For now this will only work with IPv4. This definitely doesn't look good and ...
16
votes
1answer
271 views

Are your servers down…?

If you came here because of the title, chances are your server isn't down. But if by some miraculous reason it is: A while ago, I posted a program that would ssh and ping all the servers at work. I ...
6
votes
2answers
79 views

Server status checker

I've created a program for work that checks the status of all our servers quickly. What we use to have to do is ssh into each server manually. I'm looking for some ...
7
votes
3answers
83 views

Ruby module for Docker DNS updates

I wrote a Ruby module to update DNS zones on certain events of the Docker API. Its purpose is to make container reachable by their name over a network. I know this is also possible through ...
3
votes
2answers
126 views

Float to Byte Array Serialization Over Network

I wrote this code for a multiplayer game I am developing to transmit floats over the network. It works, on the systems that I have tested it with. What I am worried about is the little-endian ...
3
votes
1answer
72 views

ARP implementation

I am a beginner in C and wrote this code to implement ARP. 3 threads are present - one to respond/receive any ARP packet targeted to me, one to refresh the ARP table on a periodic basis, and one to ...
3
votes
3answers
55 views

Simple UDP server/client written in Python to report back IP address

I'd like to get some feedback/criticism on my attempt to write a simple client/server application that reports back the (client's) global IP address. It would be nice if you could comment on the UDP ...
5
votes
1answer
123 views

Heartbeat (haksock)

I've recently been working on a small project to provide a simple heartbeat between server and client applications. Pretty happy with it, just wondering if it could function better (I know it could ...
4
votes
1answer
36 views

Samba Access Wrapper

I created a Python module to access Samba shares some time ago, using Mike Teos' SMB module as some kind of a base to it. It is mostly a wrapper, but as I said, I wrote it some time ago and would ...
4
votes
2answers
170 views

Package for testing network connection

I wrote this package for monitoring the state of a network connection in the terminal because my net connection would go down for a few minutes at a time and come back up. I think it could be used in ...
1
vote
1answer
119 views

Accessing Wi-Fi network interface details from Java using netsh

I am developing a Java program on Windows. I want to access Wi-Fi interface details such as SSID, IP, subnet, enabled or not, connected or not and so on. I am currently trying with using netsh and ...
8
votes
5answers
414 views

Custom networked remote manager

I've spent my fair share of time criticizing other people's code on this site; but I'm finding out I'm kind of a hypocrite. Almost everything I've written so far has been some program whipped together ...
8
votes
3answers
224 views

Getting funky with Pi

Push a button and an LED lights up1 and sends a signal to another computer that plays a song. First project on the Raspberry pi, really simple but definitely fun and educational to implement. Also, ...
4
votes
1answer
421 views

Checking network status

I have this slightly popular Swift library called IJReachability up on Github. It checks the network connection status. Due to my office workload I've been very busy in the past few months so I ...
5
votes
1answer
79 views

Network chat in Perl

I have written a network chat program as my first major project in Perl. It makes simple use of REGEXP's, modules, sockets, command-line option parsing, and forking and uses these features to produce ...
7
votes
1answer
139 views

Implementing an IRC Bot

This is a (fairly) simple IRC bot. The whole idea of it was similar to Duga, except that it will post to an IRC server instead. The bot takes messages from a SQL table and posts them in the IRC ...
1
vote
1answer
251 views

Get network interfaces on Linux

I wrote this in order to get a list of network interfaces on Linux. In the past, I have used publicly available methods from, say, ActiveState, which uses ioctl and was annoying to get working under ...
6
votes
1answer
309 views

IP Range Port Scanner

I've been working on this project to learn networking and concurrency as well as C++11 practices. I'm just looking for a general code review. ...
20
votes
3answers
486 views

Network chat app

Applying a lot of unprecedented concepts here, it's a simple chat server capable of handling multiple clients, which are run through JavaFX, and have their individual threads instantiated and handled ...
4
votes
2answers
169 views

Test if a network is online by using urllib2

My concerns: Is the code pythonic Is the code practical I tend on expanding the usefulness of this script, if you don't think it's stupid idea. One thing I will implement is command-line arguments ...
3
votes
1answer
53 views

GRE Tunnel Script

I've made this script above for GRE Tunnels and I'd like to know how I can improve it. Also, at the bottom, you'll see "Do you want to forward more ports." I want an easier method of asking this and ...
6
votes
1answer
293 views

Netty multi-connection packet handling

On my free time, I was working on a system that could help some little private companies, like game servers, etc. The last few days I have been working in such small companies, and I noticed that ...
4
votes
2answers
110 views

Asynchronously accepting multiple client connections without impacting main thread

I am implementing a multi-player game in C# and having seen all sorts of projects, from indie developers all the way to large studios struggle to patch networking into existing products in the past, ...
16
votes
1answer
334 views

Powershell to quickly ping a number of machines

I came up with the below code to improve the peformance of pinging a large number of machines. At present it's fairly basic, but thought I should see what people thought before proceeding further. ...
7
votes
1answer
127 views

Script to create a customized, efficient adblocking hosts file

I am writing a Python script that creates a customized, efficient adblocking hosts file. Basically it checks the user's DNS cache and sees if any entries there are listed in the popular hosts files. ...
8
votes
2answers
146 views

Dynamic network messaging

I'm building a client and server for a game but wanted a generic messaging system in a shared library that let me focus on application logic and was largely separate form the underlying networking I/O ...
4
votes
1answer
72 views

Remote control receiver for robot control

I have built an RC car and attached a Raspberry Pi to it - in order to control it, I wrote some Java code to listen to commands over the network and make the car move accordingly. ...
8
votes
2answers
243 views

Gossip algorithm in distributed systems

I have implemented the gossip algorithm in distributed systems for review. Gossip class ...
2
votes
1answer
1k views

Checking for Internet connectivity on Android

I wrote this code to check an internet connection and was wondering if this is the best way to do this check. ...
9
votes
3answers
366 views

Network programming for an IRC Bot

I'm currently making my first steps into the territory of network programming, using the SFML Network library to simplify things. Later on, my bot shall post new pull requests and changes concerning ...
7
votes
1answer
530 views

C Socket API Call with Swift

I have a small function in Objective-C which uses the C Socket API to check if the device has an active internet connection: ...
4
votes
1answer
133 views

Network layer simulator - Implementation of the transport layer

I'm working on a programming assignment which simulates network traffic between two hosts. My task is to implement the transport layer, the code for the other layers, GUI etc. is already provided. I ...
3
votes
1answer
130 views

Loop for downloading file from the server (in client-server application)

In my client server application, client sends some commands and the server gives the results back. Now my special concern is about the looping for downloading file from the server class, that is ...
8
votes
2answers
195 views

Representing IPv6 addresses with PHP per RFC 5952

I wrote the following function in PHP to represent IPv6 addresses as short as possible: ...
0
votes
1answer
99 views

Reading WLAN packets

The script reads WLAN packets, looks for probe requests and then extracts SSID, MAC address and then stores them in a list if the MAC address/SSID combo is unique. ...
5
votes
1answer
689 views

Probe request capturing with Scapy

This is a probe request packet sniffer using python/scapy. It sniffs Dot11ProbeReq packets and display the ssid, MAC of device and manufacturer name from the probe requests. Can also output the data ...
5
votes
3answers
555 views

Class to wrap Netapi32.dll functions

I have made a class for some Netapi32.dll functions in C#. I would like to know if there are any big problems with it or if there is some other function needed in general. Functions: ...
8
votes
1answer
403 views

A rapidly-growing script that visualizes WiFi sniffing

Below is one of the versions of my wifimap script: ...
4
votes
2answers
140 views

Allowing googlebot to crawl a password protected page

The below I have put together as an experiment, I have profiles on my site that are password protected. I would still like them to be crawled by google. The script is taken from here and basically ...
4
votes
2answers
38 views

Network arithmetic, finding the next host for the given

Disclaimer: It's literally the second time I write in Haskell. The purpose of this module is to provide some basic operations with IP addresses (and networks). At the moment I only implemented the ...
7
votes
1answer
292 views

Simple C Port Scanner

I have been writing a Simple Port scanner in C, once I got it to work I decided I wanted to make it faster because it takes a very long time for it to get done with scanning all of the ports.Is there ...
6
votes
2answers
420 views

Get external IP via email

I wrote a script for my Raspberry Pi that keeps checking my external IP. If it changes, the Raspberry Pi will send me the new IP via email. Any suggestions for improvements? ...
3
votes
1answer
1k views

Efficient Ring Buffer (FIFO)

I need to implement a Ring Buffer/FIFO for data coming from a TCP socket. It must support the following operations: Append a the recv()'ed chunk of bytes. Allow me to peek at the beginning of the ...
3
votes
1answer
173 views

Webserver for handling GET and HEAD requests

I have a programming assignment where I need to build a webserver which can handle GET and HEAD requests. My webserver is working as it should but since I'm still a newbie at Java I'm not sure about ...
7
votes
1answer
461 views

Log probe requests of WiFi devices

I developed a program that collects probe requests from WiFi devices. It already works but I think that a programmer can improve it. ...