inet_aton wins again Here I was waiting for output on a Thanks inet_aton!
tcpdump -ni any host 3306... that should have been port 3306, but of course in the world of inet_aton "3306" is a valid IP address of 0.0.12.234!
hisold@toot.io
replied 07 Apr 2026 13:36 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/b769k69Q7SCmBL1J2P
benjojo
replied 07 Apr 2026 13:57 +0000
in reply to: https://toot.io/users/hisold/statuses/116363687499422688
yup
[14:57:14] ben@metropolis:~$ ping 2130706433
PING 2130706433 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.084 ms
^C
--- 2130706433 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.084/0.084/0.084/0.000 ms
wolf480pl@mstdn.io
replied 07 Apr 2026 11:17 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/b769k69Q7SCmBL1J2P
arjjra@mastodon.nl
replied 07 Apr 2026 11:20 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/b769k69Q7SCmBL1J2P
@benjojo had something similar recently, where a optargs mistake ate a letter and all of a sudden buffer size integer was interpreted as “target IP”
dch@bsd.network
replied 07 Apr 2026 12:04 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/b769k69Q7SCmBL1J2P