Tonight I decided to send ARP flood over the wireless link to find who is using it. This is a strange thing .. ok but it works pretty fine and quickly .. First step is to build the custom packet.. … Continue reading →
tag: Network, Python
While running my access point in public mode, i want to know when people log in. This can be a good way to find intruders too, but not my purpose. I decided to run arpwatch on my linksys access point, … Continue reading →
tag: Network, openwrt, sysadmin, wrt
Tcpdump is clearly one of my favorite tool. Here a little example to filter the traffic of my OSPF router. tcpdump -i eth0 ip[9] == 89 And the result: 12:43:48.219432 IP p2b.soif.fr > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 48 12:43:48.560817 … Continue reading →
tag: Network, sysadmin
Ever think of sniffing or forging packet in Python ? I spent a part of time hacking some UDP packet for my work and building Ethercap rules is a bit hard now you can do this with : http://oss.coresecurity.com/projects/pcapy.html http://oss.coresecurity.com/projects/impacket.html
tag: Network, Python
I’ve been hacking a part of the w-e w/ my firewall setting (mainly cause my firewall blocks my wifi network ..). Everything is fine right now, but i’m wondering what is the difference in satefull and stateless firewalls. Here is … Continue reading →
tag: Network, sysadmin
In fact, i’m trying to turn my Wifi gateway (which is really a gateway 2 interfaces + masquerading ) in a transparent bridge. You know only have a single IP for the two interfaces, so going on the wired networks … Continue reading →
tag: Network, Wifi
#!/usr/bin/python “”" A really simple piece of code that i use to track down my dynamics IP (assigned by my isp while using ppp). “”" filename = ‘/home/soif/Perso/Data/lastIp.sqlite’ import sys,os,time try: import sqlite except ImportError: print “Please install python sqlite … Continue reading →
tag: dsl, Network, Python