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
0answers
15 views

Python html Page reporter

My program, page_reporter, attempts to port scan a network and identify servers hosting web pages. From here it will create an HTML report using iframes to give you a snapshot of what the page looks ...
4
votes
0answers
115 views

Socket application using TPL

This is an application I wrote that allows multiple TCP clients to share a single TCP connection to a remote server (hosted project, and a demo). Traffic generated by the server is forwarded to all ...
4
votes
2answers
128 views

Python 3 NetScanner Daemon

I’m pretty new to programming and python in particular. This is a simple ICMP/TCP scanner that dumps output to a terminal and/or csv file. My goal was to make a daemon that could do simple scanning ...
1
vote
1answer
42 views

TicTacToe Telnet server in Python

The code below works. The timings are as close as I can get to the system not packing out. Basically telnet to a server to play tic-tac-toe. Automated it. Bottom left is 1, middle left is 2, middle ...
3
votes
0answers
47 views

Simple port scanner

At the moment, prtscn takes a server, and a list of port ranges to test (of the form x,y-z,a-c,d,e etc). The -v option will show ...
1
vote
1answer
39 views

Store and output hard-coded relationships among hosts

The following code has begun to smell, but I have not yet decided with what to replace it, other than, obviously, a database. I made a very unsatisfactory workaround for my attempt to make ...
0
votes
1answer
60 views

NetBuffer - buffer specialized for socket read / write

This class is for fast and small footprint buffering made specially for network I/O. It is similar to so-called circular buffers, but is not circular. ...
4
votes
0answers
56 views

ICMP ping program in Go

I've just written a ping application in Go. I'm proud of the logic, but I want some help to refactor it. The program has too much code in main, and pulling ...
4
votes
2answers
74 views

Port pinger command line tool

Checking if some port is up on the network is a very common task when working with remote services. A common way to check is using telnet, but I have two practical ...
1
vote
0answers
20 views

Samba Access Wrapper V2

Follow up on this post. 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 ...
5
votes
1answer
82 views

Game Networking between 2 players

I'm making a game and I want to establish a network connection between 2 players through a server(so the players are clients). So far all I have is: ...
5
votes
1answer
33 views

Fetch data from co-processor on network in background

My code communicates with a Raspberry Pi (with a static IP address) running on a network. The client sends a signal to the Pi, and the Pi sends back a double (encoded as a string) with the angle ...
1
vote
1answer
101 views

Python implementation of Netcat, new design

I've made a simple netcat in Python and would appreciate any advice/opinions of how I've implemented it. test.py: ...
-1
votes
1answer
35 views
3
votes
1answer
62 views

Python implementation of netcat

I'm trying to write a simple python script that acts like the nc program (netcat). I've got it working on OSX (the client that is) by testing against a netcat server, but I'm unsure about the way I've ...
9
votes
1answer
55 views

Powershell Script for setting DHCP reservation description & host value

I'm new to Powershell scripting and trying to write a script that will go through printer queues on a print server, get the print queue's port address, then compare the print queues port address to ...
4
votes
2answers
74 views

Terminal Chat Room

Summary I have written a pair of Perl scripts that form a UDP chat room allowing users to send messages over the internet with RSA encryption, making the messages imune to MITM attacks. The scripts ...
2
votes
0answers
241 views

Execute commands over Telnet, logging to a file

I have made some code that will login to a device and send all your additional commands. It also logs the commands and the returned values to a file on the local system. Hope somebody can tell me if ...
3
votes
1answer
50 views

Minimal, Low-level Telnet API

I've started Python some days ago and wrote a small Telnet implementation according to RFC 854 and RFC 5198. It is pretty low-level and sending messages directly isn't even supported. The highest ...
2
votes
2answers
56 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
54 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 ...
2
votes
3answers
72 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
137 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
324 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
101 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 ...
17
votes
1answer
282 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
103 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
92 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
302 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
87 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
96 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
207 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
47 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 ...
5
votes
2answers
200 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
305 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
417 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 ...
10
votes
3answers
233 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
932 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
111 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
198 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
575 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
581 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. ...
21
votes
3answers
753 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
314 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
86 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
781 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
164 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
491 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
139 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
170 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 ...