Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Member Avatar for shwick

I'm not sure if I set this up properly. I want to start Eclipse CDT on my Ubuntu 8.04 install using X11 through VNC. When I try to run eclipse through vnc viewer command line using ./eclipse it hangs for a few seconds then fails. No error message is output …

Member Avatar for pomme
0
472
Member Avatar for shwick

I have a question similar to this, [url]http://stackoverflow.com/questions/457050/how-to-display-text-in-system-tray-icon-with-win32-api[/url] I tried his solution but it's not working for me. I get a small 4x16 white image as the system icon instead of text and I can't understand why. I'm not using MFC/.NET just win32 api. [CODE] void UpdateIcon(HWND hWnd){ NOTIFYICONDATA nid; …

0
121
Member Avatar for shwick

1) I was following a guide to setup bind again after I formatted to Ubuntu 10.04.2 LTS. [url]http://doc.ubuntu.com/ubuntu/serverguide/C/dns-configuration.html#dns-primarymaster-configuration[/url] I can get my domain example.com to resolve but I want "www.example.com" to resolve to the actual domain on the web. I don't have a webserver setup on my domain at the …

Member Avatar for JeoSaurus
0
228
Member Avatar for shwick

I recently installed vsftpd and can't see any files I put in the nopriv_user folder. I want to be able to login anonymously without a password, see files to download and upload files to a pub folder. After installing and configuring vsftpd I created the ftp_priv user by doing "sudo …

Member Avatar for shwick
0
285
Member Avatar for b1izzard

Does enabling all the sysctl.conf settings impact the performance(speed) of my network connection? #ubuntu. I had enabled few to prevent some spoofing and MIM attack even though I experience none. Any suggestion regarding this? [CODE] # # /etc/sysctl.conf - Configuration file for setting system variables # See /etc/sysctl.d/ for additional …

Member Avatar for shwick
0
391
Member Avatar for shwick

I want to start some C++ development on my 3 year old, un-updated 8.04 ubuntu desktop machine. I tried, sudo apt-get install build-essential and got, [CODE] sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean …

Member Avatar for shwick
0
178
Member Avatar for shwick

I've been trying to match some incoming strings from a mud(text based rpg) and I'm having some trouble. I need a regex that will match the <mob> tag in these strings. You can have a separate regex per sentence to match the surrounding text. You would stomp <mob> into the …

Member Avatar for TrustyTony
0
108
Member Avatar for shwick

When I share a new folder on my XP box it isn't picked up by samba after a while. If I immediately connect to the network and share a folder samba picks it up. After about 10 minutes if I share another folder samba won't pick it up. I notice …

Member Avatar for shwick
0
147
Member Avatar for shwick

I was monitoring some ftp browsing and noticed that for each directory I clicked a new pasv command was sent to the ftp server. This meant that a new tcp connection was created on a new port every time I requested a directory. To ensure smooth browsing I have to …

Member Avatar for blud
0
116
Member Avatar for shwick

I'm trying to run multiple instances of squid and I've followed the available directions. The second instance of squid throws an error when it tries to open it's access log file. [CODE] Jan 1 10:32:12 desktop squid[15527]: Squid Parent: child process 15529 started Jan 1 10:32:12 desktop (squid): Cannot open …

0
72
Member Avatar for shwick

There is a squid process listening on a random port with protocol udp each time I start squid and I'm not sure what it does. I do a "ps -ef | grep squid" and get [CODE] root 22110 1 0 18:24 ? 00:00:00 /usr/sbin/squid3 -D -sYC proxy 22113 22110 0 …

0
77
Member Avatar for shwick

My iptables script is getting bloated, redundant, and there's code duplication everywhere, how can I clean it up? Use shell script functions? Develop it in a different language, like python?

Member Avatar for Comatose
0
545
Member Avatar for shwick

I'm running fully update Ubuntu 8.04 (as of today). I did a "users" out of the blue and saw "root shwick shwick" and I only had two ssh sessions open to my gateway. I checked if there was an additional ssh client running, as that is the only thing that …

Member Avatar for TheOgre
0
148
Member Avatar for shwick

I'm running ubuntu 8.04 with vnc4server. I'm trying to get my vnc server to listen on a specific interface. I don't want it listening on localhost, I want it listening on a virtual tun interface I setup, tun0, ip 10.6.7.0. I tried adding the "-interface" option to the vnc4server script …

Member Avatar for TheOgre
0
340
Member Avatar for shwick

I'm going with connection level authentication, so as soon as the ssl connection is established the user is authenticated. As a result I want to disable csrs(certificate signing requests) from the client. Otherwise any client could just submit a csr and be able to connect. How do I disable certificate …

Member Avatar for TheOgre
0
169
Member Avatar for shwick

I have openvpn 2.1_rc7 running on ubuntu 8.04. I set up a user that has all traffic and dns pushed through the vpn. On windows the vpn client works just fine, all traffic and dns requests are pushed through the vpn. When I boot the windows pc with a live …

0
117
Member Avatar for shwick

I created a new user, l4d1, then logged into it with "su l4d1". What is with the new shell? It's just a question mark "?", no command completion or command history. The l4d1 user doesn't have a password and can only be logged into with "su l4d1".

Member Avatar for Salem
0
89
Member Avatar for shwick

I'm having many little problems with my gigabit network. My hard drive reads at 85 MB/s, so why am I downloading from the ftp server at 68 MB/s? How could I diagnose what is eating those 17 MB/s? Why does my windows machine have a slow 326 Mbit/s transmit speed …

Member Avatar for shwick
0
524
Member Avatar for shwick

Ubuntu 8.04 + OpenVpn 2.1_rc7 I noticed in my syslog when I start OpenVpn that it still recognizes my original "test" users, client1 and sysadmin1. I created/signed certificates for those users, but I deleted the certificates for them. Why are they still being allotted ips from the pool? Can I …

0
72
Member Avatar for shwick

I'm running ubuntu 8.04 and x11vnc 0.9.3. I'm having trouble getting it running. When I run "x11vnc" with no arguments, it tries to open :0 but fails: [CODE] 08/12/2008 20:51:56 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. [/CODE] When I …

0
63
Member Avatar for shwick

I'm going through the openvpn howto, section "Configuring client-specific rules and access policies", [url]http://openvpn.net/index.php/documentation/howto.html#policy[/url]. I understand how the network is segregated, different subnets for employees, sys admins and contractors. I don't understand how openvpn identifies a user as either an employee, sys admin or contractor. Is that what the next …

Member Avatar for williebens
0
112
Member Avatar for shwick

I'm on a network with one gateway and one windows pc on the lan. I wanted to test OpenVPN so I VPNed to the gateway, using default server.conf. This works fine. Then I configured server.conf to push the LAN subnet to the client. After vpning in a second time I …

0
75
Member Avatar for shwick

I have a home network set up with ubuntu 8.04 as the gateway pc and a windows pc on the lan. When I try to upload a file to ubuntu I get slow speeds. smbget from linux: 200kb/s sftp put from windows: 100kb/s pscp put from windows: 35 kb/s ftp …

Member Avatar for shwick
0
654
Member Avatar for shwick

I have an install script that sets some environment variables. To run the script I have to use the source command. The script has to be run as sudo because the environment variables need to be set for the root account. The problem is you can't execute "sudo source installScript". …

Member Avatar for jbennet
0
3K
Member Avatar for shwick

I'm running ubuntu 8.04 and openVPN 2.1_rc7. I'm stuck on running the vars script in the openVPN setup, [url]http://openvpn.net/index.php/documentation/howto.html#pki[/url]. I've run the vars script a number of ways, but it never creates the keys directory. I've tried, sudo sh vars sudo sh ./vars source vars source ./vars sudo /bin/bash ./vars …

0
65
Member Avatar for shwick

Running ubuntu 8.04 and Samba version 3.0.28a. I'm trying to restrict the number of directories users can share with the "usershare max shares" option. I set it to 3 but I can still share directories with 10 files in them from my windows machine (XP). Here is smb.conf. [CODE] [global] …

Member Avatar for shwick
0
199
Member Avatar for shwick

Running ubuntu 8.04. Recently I was making some iptables rules to allow samba services. As a proof of concept: [CODE] iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth1 -p udp -m udp --dport 137 -m state --state NEW -j ACCEPT iptables -A INPUT -i …

0
63
Member Avatar for shwick

Running ubuntu 8.04. I'm using the recent module in two different chains SSH_PROTECT and FTP_PROTECT. What I want is for an ip to be allowed to make a new connection to SSH port 22 once every 60 seconds and FTP port 21 once every 30 seconds. [CODE]iptables -N SSH_PROTECT iptables …

0
78
Member Avatar for shwick

I'm trying to set up a secure ftp transfer between my linux machine and my internet gateway running ubuntu 8.04. I have vsftpd installed but I can't get PASV connection to work with putty. My ubuntu firewall blocks everything except ssh. From my windows XP machine I establish a connection …

Member Avatar for gaowei
0
261
Member Avatar for shwick

Running ubuntu 8.04 I wanted to separate the cron logs from the auth logs, so in /etc/syslog.conf I uncommented the line "cron.* /var/log/cron.log". I also wanted to cleanse the auth logs, so I deleted all of them. I then restarted and tried to login via ssh, but there were no …

Member Avatar for shwick
0
110