-
as seen on Server Fault
- Search for 'Server Fault'
It does not happen often, but sometimes after running the below script, checking the iptables with service iptables status shows that they weren't updated and the script doesn't output any error.
The iptables is structured as look-up tree (long repeated sections snipped):
#!/bin/sh
iptables -t…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
sudo chkconfig iptables off
/etc/init.d/iptables on
### Clear/flush iptables
sudo iptables -F
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
### Allow SSH
iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi all,
I'm setting up port forwarding for an L2TP VPN connection to the local Windows 2003 VPN server. The router is a simpel Debian machine with iptables. The VPN server works perfect. But I cannot log in from the WAN. I'm missing something.
The VPN server is using a pre-shared key (L2TP) and…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have three computers, linked like this:
box1 (ubuntu) box2 router & gateway (debian) box3 (opensuse)
[10.0.1.1] ---- [10.0.1.18,10.0.2.18,10.0.3.18] ---- [10.0.3.15]
|
box4, www
[10.0.2.1]
Among other…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I was thinking initially needing to do a reverse proxy or something so I could get some SSL/TLS traffic look like it is being terminated at a server and IP address in the AWS cloud, and then that traffic is forwarded onto our actual web servers that aren't in the cloud...
I've not done much iptables…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to debug a segfault in PHP/Apache running on RHEL4.
This is a production server, so I'm trying to install a separate copy of apache and php, and run apache through gdb.
When I load httpd through gdb and then do run -X, I get the error (no debugging symbols found)...Error while reading…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
HI,
I am normally a C programmer.
I do regularly debug C programs on unix environment using tools like gdb,dbx.
i have never done debugging of big applications of C++.
Is that much different from how we debug in C.
theoretically i am quite good in C++ but have never got a chance to debug C++ programs…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Hello all.
I'm working on a 3d music visualizer using Ogre3d, basically it's a spectrum analizer, a lot like the old xmms plugin:
(http)://www.youtube.com/watch?v=_6NKBiwYN24
It works well, the bars are drawn and updated, there are no framerate issues, but it crashes randomly. Sometimes it can run…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
On a Cisco device, I know that enabling debugging can incur a performance hit since debugging has such a high priority on the CPU. I know that to log debugging, you have to set logging up to the debugging level (logging buffered 4096 debugging, for example) and also enable debugging on some feature…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
The .NET 3.5 application I am working on consists of bunch of different solutions. Some of these solutions consist of managed code(C#) and others have unmanaged code(C++). Methods written in C# communicate with the ones written in C++. I am trying to trace the dependencies between these various…
>>> More