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

  1. 1
    16 commands to check hardware information on Linux
    3 people · 35 points · first shared 2015 · discussion on HN
  2. 2
    Fun Linux commands
    2 people · 25 points · first shared 2014 · 3 comments on HN
  3. 3
    Python socket programming tutorial
    1 people · 88 points · first shared 2012 · 20 comments on HN
  4. 4
    Make a simple HTML5 game using Box2d in JavaScript
    1 people · 38 points · first shared 2012 · 10 comments on HN
  5. 5
    C code to perform IP whois
    1 people · 5 points · first shared 2012 · discussion on HN
  6. 6
    C Packet Sniffer Code with libpcap and linux sockets
    1 people · 3 points · first shared 2016 · discussion on HN
  7. 7
  8. 8
    10+ tips to localise your php application
    1 people · 3 points · first shared 2012 · discussion on HN
  9. 9
    ICMP ping flood code using sockets in C – Linux
    1 people · 3 points · first shared 2013 · discussion on HN
  10. 10
    Java socket programming tutorial
    1 people · 2 points · first shared 2012 · discussion on HN
  11. 11
    35+ Techniques to enhance your php code
    1 people · 2 points · first shared 2012 · 1 comments on HN
  12. 12
    Raw socket programming in python (Linux)
    1 people · 2 points · first shared 2012 · discussion on HN
  13. 13
    40+ Techniques to enhance your php code – Part 2
    1 people · 2 points · first shared 2012 · discussion on HN
  14. 14
    PHP Socket programming tutorial
    1 people · 2 points · first shared 2012 · discussion on HN
  15. 15
    Socket programming in C on Linux – Quick tutorial
    1 people · 2 points · first shared 2019 · discussion on HN

What HN people wrote when they linked it

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…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close