nmap find all alive hostnames and IPs in LAN

nmap versions lower than 5.30BETA1: nmap -sP 192.168.1.* newer nmap versions: nmap -sn 192.168.1.* This gives me hostnames along with IP adresses, and only pings the hosts to discover them. This will only give you the hostnames if you run it as root. EDIT: As of Nmap 5.30BETA1 [2010-03-29] -sP has been replaced with -sn … Read more

Should a wildcard SSL certificate secure both the root domain as well as the sub-domains?

There’s some inconsistency between SSL implementations on how they match wildcards, however you’ll need the root as an alternate name for that to work with most clients. For a *.example.com cert, a.example.com should pass www.example.com should pass example.com should not pass a.b.example.com may pass depending on implementation (but probably not). Essentially, the standards say that … Read more

IPTABLES – Limit rate of a specific incoming IP

IPTables isn’t made for this kind of work, where lots and lots of packets need to be analyzed to make these decisions. IPTables is partly the answer though! The real answer to this is the awesome and underused traffic control facilities in Linux. Note that mucking around with this without knowing what is going on … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)