Tag: debian
-
How to set up a crossover ethernet connection between two Sun Solaris machines:
- Connect both machines using a crossover ethernet cable.
- root@solaris-machine-1# ifconfig plumb
- root@solaris-machine-1# ifconfig netmask
- root@solaris-machine-1# ifconfig up
- On each machine, ping the other. If both are reported as being alive, you're golden.
It would look something like this on a live setup:
root@igg# ifconfig ce1 plumb
root@ook# ifconfig ce1 plumb
root@igg# ifconfig ce1 10.0.0.1 netmask 255.255.255.0
root@ook# ifconfig ce1 10.0.0.2 netmask 255.255.255.0
root@igg# ifconfig ce1 up
root …
Read more...
-
You're getting old if you consider sleeping until 0900 'sleeping in'.
When configuring a firewall with
IPTables you have to specify the protocol before the port number(s) in each command. Do this:
iptables -A INPUT -s 1.2.3.4 -p tcp --dport 22 -j ACCEPT and not this
iptables -A INPUT -s 1.2.3.4 --dport 22 -p tcp -j ACCEPT If you don't, you'll see error messages to the effect of "Unknown arg '--dport'"
When writing
Snort rules, there are a few things to keep in mind. First of all, rules come in two parts: the …
Read more...
-
The actions of a systems cracker trying to get a foothold in someone's network by social engineering the people in the NOC and someone hunting for a job who is trying to get hold of a human being in the HR department somewhere in a company are not that different.
When writing
Perl code, generally speaking the simplest code is what will do exactly what you need. If you overthink what you're working on, you won't get anywhere.. especially with the
reverse operator.
Perl gives you enough rope to not only hang yourself but your entire family, too. Don't make …
Read more...