BinaryTides
binarytides.com · Personal blog · on HN since 2011
BinaryTides publishes Linux, networking, and Python tutorials with C socket programming examples, packet sniffers, and command-line tool guides.
What HN saysCommenters point to it for Linux network monitoring and SMTP command-line help, though one says its socket code is too generic for raw UDP spoofing.
15HN people shared it
4linked it in comments
31stories submitted
234story points
7 years agolast shared
2011people per year2026
Most-shared posts
- 116 commands to check hardware information on Linux3 people · 35 points · first shared 2015 · discussion on HN
- 2Fun Linux commands2 people · 25 points · first shared 2014 · 3 comments on HN
- 3Python socket programming tutorial1 people · 88 points · first shared 2012 · 20 comments on HN
- 4Make a simple HTML5 game using Box2d in JavaScript1 people · 38 points · first shared 2012 · 10 comments on HN
- 5C code to perform IP whois1 people · 5 points · first shared 2012 · discussion on HN
- 6C Packet Sniffer Code with libpcap and linux sockets1 people · 3 points · first shared 2016 · discussion on HN
- 7Turbotrace - A visual traceroute application for linux and windows1 people · 3 points · first shared 2012 · discussion on HN
- 810+ tips to localise your php application1 people · 3 points · first shared 2012 · discussion on HN
- 9ICMP ping flood code using sockets in C – Linux1 people · 3 points · first shared 2013 · discussion on HN
- 10Java socket programming tutorial1 people · 2 points · first shared 2012 · discussion on HN
- 1135+ Techniques to enhance your php code1 people · 2 points · first shared 2012 · 1 comments on HN
- 12Raw socket programming in python (Linux)1 people · 2 points · first shared 2012 · discussion on HN
- 1340+ Techniques to enhance your php code – Part 21 people · 2 points · first shared 2012 · discussion on HN
- 14PHP Socket programming tutorial1 people · 2 points · first shared 2012 · discussion on HN
- 15Socket programming in C on Linux – Quick tutorial1 people · 2 points · first shared 2019 · discussion on HN
What HN people wrote when they linked it
avinassh · 2015-01-15
not really 'small', but some of the Python related blogs I follow are:
- http://pycon.blogspot.in/
- http://lucumr.pocoo.org/
- http://inventwithpython.com/blog/
- http://www.blog.pythonlibrary.org/
- http://www.ianbicking.org/blog/
- http://www.binarytides.com/
- http://www.peterbe.com/
- http://viksalgorithms.blogspot.com/
- http://rz.scale-it.pl
- http://packetforger.wordpress.com/
- http://blog.pythonisito.com/
TwoNineFive · 2019-12-31
I immediately thought if iftop and iptraf
https://www.binarytides.com/linux-commands-monitor-network/
There's already a ton of tools that do this. It's a nice show-off project but I doubt OP is in for the long haul.
Jaruzel · 2017-07-19
As GMail uses SMTP/S for sending from an email client, a cursory google search for 'linux send smtp/s command line' gets you something like this:
http://www.binarytides.com/linux-mail-with-smtp/
As for listing your inbox and folders, searching for a command line IMAP client should net you something as well.
nineteen999 · 2019-08-16
Sorry, not to be rude but in this case is sounds like you don't understand the problem domain. Perhaps I should have just said "UDP spoofing".
There is a huge difference between creating a generic UDP endpoint like the code you have shown, and crafting a raw UDP socket, where the source IP address is "spoofed", and UDP checksums generated to ensure that the packet looks like a valid UDP packet so that the intermediate network infrastructure like routers, switches and firewalls will pass the forged packet rather than discarding it.
The latter requires quite a bit of extra code. A good example is here:
https://www.binarytides.com/raw-udp-sockets-c-linux/
and last time I looked (month or so ago?) I could not
find an equivalent example for Rust. It may be out there
but I was unable to locate it. I'm not asking you to do my homework for me, just stating that learning what I need to know in Rust to do the above would take more time than I have available right now. That's not to say I won't figure it out in the future when I have more time.
> If you don't know how to do it because you don't know Rust, then fine, that's reasonable. (Albeit a strange criticism to lodge from my perspective.)
It's not a criticism of the language; what I'm asking may be very possible, I don't know yet. I just know that finding C examples is trivial, Rust examples not so much, so when I had a need for this kind of code recently, I turned to the language where I know it can be done and I could…