今回はソケットプログラミングについて。 ソケットというのは Unix 系のシステムでネットワークを扱うとしたら、ほぼ必ずといっていいほど使われているもの。 ホスト間の通信やホスト内での IPC など、ネットワークを抽象化したインターフェースになっている。 そんな幅広く使われているソケットだけど、取り扱うときには色々なアーキテクチャパターンが考えられる。 また、比較的低レイヤーな部分なので、効率的に扱うためにはシステムコールなどの、割りと OS レベルに近い知識も必要になってくる。 ここらへんの話は、体系的に語られているドキュメントが少ないし、あっても鈍器のような本だったりする。 そこで、今回はそれらについてざっくりと見ていくことにした。 尚、今回はプログラミング言語として Python を使うけど、何もこれは特定の言語に限った話ではない。 どんな言語を使うにしても、あるいは表面上は抽象化さ
When it comes to the reconnaissance of some target network, the start point is undoubtedly on host discovering. This task might come together with the ability to sniff and parse the packets flying through the network. A few weeks ago, I talked about how to use Wireshark for packet sniffing, but what if you don't have Wireshark available to monitor a network traffic? Again, Python comes with severa
NetworKit is a growing open-source toolkit for large-scale network analysis. Its aim is to provide tools for the analysis of large networks in the size range from thousands to billions of edges. For this purpose, it implements efficient graph algorithms, many of them parallel to utilize multicore architectures. These are meant to compute standard measures of network analysis, such as degree sequen
Tweet Honeypots have not achieved wide adoption for cyber defense. While honeypot software is fairly mature and can provide high quality threat intelligence for organizations, they have never received wide adoption. We think the reason is that honeypots have been too complicated to deploy and manage at scale. The Modern Honey Network project makes deploying and managing secure honeypots extremely
While quite old fashioned, SNMP is still a ubiquitous protocol supported by most network devices. It comes handy to expose various metrics, like network interface counters, to be gathered for the purpose of monitoring. It can also be used to retrieve and modify devices’ configuration. Variables exposed by SNMP agents (servers) are organized inside a Management Information Base (MIB) which is a hie
*** NOTE *** I do not maintain this anymore. I highly suggest using bettercap instead for ARP and MITM needs. Automatically find the most active WLAN users then spy on one of them and/or inject arbitrary HTML/JS into pages they visit. Individually poisons the ARP tables of the target box, the router and the DNS server if necessary. Does not poison anyone else on the network. Displays all most the
October 31, 2013 Today Jari and Brian explained a whole bunch of things to me about networks! It was fantastic. It’s amazing to have people with so much experience to ask questions. At the end they mentioned that I should look up how traceroute works and that it’s a pretty popular networking-job-interview question. And I’d just discovered this super cool Python networking library called Scapy whic
Tools for the Network Warriors (formerly Python for Network Engineers) I recently joined A10 Networks as Professional Services Engineer based in the Pacific Northwest. Of course, the first thing I looked for is how to use Python to automate configuration tasks on A10. A quick search shows that A10 has an aXAPI interface that utilizes REST Web services calls to make configuration changes. More info
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く