Reputation
737
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 7
Newest
 Yearling
Impact
~77k people reached

Dec
31
revised Can't access web sites when running iptables script!
A links with some details on the NEW, no SYN thing
Dec
31
answered Can't access web sites when running iptables script!
Dec
31
comment Can't access web sites when running iptables script!
Using interface names on the rules means that you need to check the names... The iptables -vn -L output is a lot more useful if you actually try browsing before getting the output...
Dec
31
comment Can't access web sites when running iptables script!
In general, having a RELATED,ESTABLISHED rules in INPUT,OUTPUT(and FORWARD in needed) might simplify the rules to only concert themselves with NEW connections. (RELATED mainly seems to involve secondary connections, like FTP file transfers and ICMP packets related to the connection).
Dec
31
comment Setup ssh tunnelling to browse using the IP of a computer inside a private network
Another note: On the slow ssh -X - using compression (ssh -C -X) might help a bit... VNC (if it is available on gate) over a tunnel is another option, but I still prefer my tunnel in the answers...
Dec
30
comment Get and set IEEe 802.11 wifi protocol (a/b/g/n …)
Which OS? If GNU/Linux, which distro? Which version of the OS?
Dec
30
comment MySQL Workbench warning when connecting to MariaDB
It does make sense that Oracle doesn't bother supporting a fork competing with their product... But the warning says that already...
Dec
30
comment Sendmail says it has sent, but doesn't actually send
Try with a -v flag added to mail, it tend to give much more useful info for you and anyone trying to assist... The destination server might also be sending the mail directly to spam... (This can be reduced with black magic, reverse DNS matching forward DNS and other types of config changes...)
Dec
30
revised Angstrom on beaglebone black, no output on LCD7 module
Changed output to code formatting, fixed some typos
Dec
30
reviewed Reviewed Angstrom on beaglebone black, no output on LCD7 module
Dec
30
suggested approved edit on Angstrom on beaglebone black, no output on LCD7 module
Dec
30
comment Is there ever a reason to use scp instead of rsync?
The other combination that I sometimes use, mostly with lots of small files, is ssh user@source "cd /source/dir; tar -cf - stuff i want to send" | { cd /dest/dir; tar -xf -; }. (Sometimes adding a gzip (mostly -1, I tend to do it over LAN connections) to the pipeline, depending on the data). It mainly handles large amount of small files better than most methods, if you have a reliable connection.
Nov
29
awarded  Yearling
Nov
23
revised CentOS 7 add new user with root privileges
Mention that using vi with visudo is not necessary
Nov
23
comment No delay between ssh login attempts
In the PAM configs, including the filenames might be useful as well... for f in /etc/pam.d/*; do echo $f; cat $f; echo; done
Nov
23
suggested approved edit on CentOS 7 add new user with root privileges
Oct
26
comment How to use option from manual for netflow?
The man page has engine-id instead of engine_id. Try that, and also quote your filter on the command line, which means that the shell passes it to nfdump as a single parameters, instead of one per word. So try nfdump -r "/path/to/file.ext" "engine-id 10"
Oct
23
comment Why do I have to use sudo for almost everything?
And even if a root password is configured, it allows you to give a user access to commands requiring root priviledges without giving them the root password, which means that if it is a company server and they get fired, you only need to disable their user, without having to change the root password.
Oct
23
comment Why do I have to use sudo for almost everything?
Usually steps that need to be run as root is shown with a root prompt e.g. # vi /etc/hosts instead of a unprivileged prompt $ vi /etc/hosts (Bash will follow the convention if you use \$ in PS1)
Sep
23
comment Linux: How to auto-configure IP routing based upon ping results
Cisco routers can do that using ip-sla tracking, where you set up a probe to a remote device (usually a ping to an IP) to determine whether a route is available (you set the route to track an ip sla test)... I'm not sure if that is currently possible on Linux, possibly using routing software like quagga or similar...