5,080 reputation
11028
bio website
location Tennessee
age 36
visits member for 3 years, 7 months
seen yesterday

:)


1d
comment real scenario about tc command and mangle table of iptables
tc is used to implement QoS, so one suggestion is to do something like make it so all non-HTTP traffic is capped at 128kbit/sec. The mangle table is used to modify packets, and it relates to tc in that you can use the CLASSIFY target and tell traffic to go into specific tc queues.
Aug
18
comment Why doesn't the sudo command need the root password?
sudo has the "setuid" bit set. So it runs as the user who owns it (which is root on all standard systems if I'm not mistaken), not the user who launches it. sudo then loads the /etc/sudoers file and checks what is allowed based upon who launched it.
Aug
9
awarded  Revival
Aug
8
awarded  Custodian
Aug
8
reviewed Approve suggested edit on How to understand the command awk '{for(x=1;$x;++x)print $x}'?
Jul
21
awarded  Necromancer
Jul
16
comment What is kernel ip forwarding?
Typically NAT will work from the LAN to the WAN, so if NIC 2 has a private IP, and NIC 1 has a public 1, you do need NAT; specifically, the internet-facing interface (NIC 1 per above) needs a MASQUERADE rule in iptables's POSTROUTING on a chain to do that. See revsys.com/writings/quicktips/nat.html and i.stack.imgur.com/rzz83.png.
Jul
13
comment What is kernel ip forwarding?
Right, you'll want to do NAT if NIC 2 is a private IP. Linux can do NAT as well and iptables is the way to set it up.
Jul
13
awarded  Enlightened
Jul
13
awarded  Nice Answer
Jun
19
revised What's the difference of the Userland vs the Kernel?
some clarification
Jun
19
answered What's the difference of the Userland vs the Kernel?
Jun
16
comment Does Android really use the same kernel as Linux?
I said "the kernel is generally just one component in a stack of software ultimately responsible for a user-facing experience" - means not that the kernel's responsible for it entirely but is just playing a part.
Jun
11
comment What are pid and lock files for?
This is correct, unless the lock file is manually deleted. VMWare Player exhibits this behaivor, for example, if VMWare Player crashes, you have to delete a .lck file in the VM's directory otherwise it will tell you it's in use when you try to start it.
Jun
9
answered What are the advantages / disadvantages Linux file hierarchy has in compare to other OSs?
Jun
9
awarded  Caucus
Jun
9
comment How to mount a dd-image which was created via fmem (memory dump tool)
The bit from hexdump really looks like the original BIOS/UEFI IDT vectors (before switch to protected mode, seems to all point to 0x00f0XXXX addresses which would be consistent with real-mode environment) anyway.
May
24
answered Why does “cat ttyUSB0” not produce output?
May
18
answered Can TCP provide more than 65535 ports?
May
6
comment Why is the unit separator (ASCII 31) invisible in terminal output?
ASCII codes under 31, and 127, are intended to cause a terminal or device to do something (hence why they are called control codes), or stand for something in a protocol (like EOT or SOH), as opposed to displaying something. It hearkens back when terminals were typewriter-like devices and things like telling a teletype to carriage-return were physically needed. Editors may choose to render them using "^" notation since you are editing something and don't want to terminal to actually do what the control codes are asking.