Reputation
324
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 12
Impact
~20k people reached

  • 0 posts edited
  • 0 helpful flags
  • 32 votes cast
Mar
8
comment Forwarding IP address using pf
The address the connection will b NATed to can be found in the macro $ext_if:0 as it is the first IP address of this Interface (i have 3 aliases on this interface for example, so 0 is the first one
Feb
11
comment pf - redirect rule does not work
or try sockstat to display listening sockets; ~]sockstat -4l | grep ssh
Feb
10
comment amavis cronjob throwing an error out of nowhere
Thank you for the response, so i will wait for now :)
May
28
comment Add group/user on OpenLDAP
This error message does not directly mens what you would first interpret (as described on this site) could you post the complete debug output (on pastebin for example?) Be aware of passwords, or clear text names you don't want anybody to show!! (search an replace them with bogus, but don't mess up the Logfile :)
May
26
comment Add group/user on OpenLDAP
It seems like your initial config is wrong. dc=corp.f7 seems not a correct name for OpenLDAP. (but i never tried). I would have used something like dc=corp,dc=f7 and just start over with the setup. (and you got two Warguments in your ldapadd command, maybee a problem?) btw.: the FreeBSD Handbook helped me a lot with the understanding of OpenLDAP (i got both, a Debian and a FreeBSD OpenLDAP Server)
May
26
comment Add group/user on OpenLDAP
what does ldapsearch -x print out?
Oct
4
comment How to check my website is working in saudi arabia?
assuming that some firewalls from governments and Providers dnt just block a basic IP but use there own kind of Proxy or IDS to monitor, track and filter the web, a simple traceroute could not work out as expectet. You Would always have to try something that talks http(s) to be sure. In fact, enableing (temprary/permanently) https on your server could solve the problem.
Aug
26
comment Solaris 10 sendmail won't execute my program in /etc/aliases without setuid root
I have never used Solaris before, but I think sudo is something that can be handy for your problem unprivileged_user ALL=(root) NOPASSWD: privileged_command
Aug
24
comment debian bash/sh string execution
That's also my problem... :( As you can see it works if its commented out, so there should be no syntax problem inside the script. But thanks anyway! As I don't have much time this weekend, I will search again next Monday.
Aug
24
comment debian bash/sh string execution
No there is no space. This is somethign I would have recognized. (I updated my original post to show you what i have done
Aug
24
comment debian bash/sh string execution
Now i get a Syntax error: "(" unexpected (expecting "fi") on your line remote_cmd=(/usr/bin/ssh "$BACKUP_USER@$HOST_TO" "$RENAME_STRING")
Aug
24
comment debian bash/sh string execution
IS working on the command line directly, but not inside a script. remote_cmd="(/usr/bin/ssh $BACKUP_USER@$HOST_TO $RENAME_STRING)" and in the next line "${remote_cmd[@]}" I get a "Bad substitution" Error for the last line... (so eval is still in use...)
Aug
23
comment debian bash/sh string execution
@DennisWilliamson you mean especially point 3 ? as i have some trouble executing ssh someuser@somehost < $TEST inside shell script? And <<< as suggested in one answer also doesn't work...
Aug
23
comment debian bash/sh string execution
Thanks for the response, but I understanding the script is not the problem. In fact Security an manageability IS one goal t archive. I know its not one of the best scripts, but thats why I'm here ;) I just thought of to create just one script, which could be easily ported to other/new hosts. Maybe you are right an I should over think the concept. So you mean that I should create script and call it with all necessary variables like $DATASTORE_NAME and $MAX_SNAPSHOTS would also be ok, now as I think of it. Any other suggestion why this would be good/bad?
Aug
23
comment debian bash/sh string execution
@val0x00ff I just updated my Post. How do you mean I should solve it to be "correct"?
Aug
23
comment debian bash/sh string execution
@val0x00ff Your suggestion didn't work, or did you mean something else? eval actualy worked (like in the answer from dsumsky)
Aug
23
comment debian bash/sh string execution
Thanks! I rely never stumbled upon this problem till now. Thanks again!
Aug
23
comment SSH timeouts between hosts which are connected via multiple routes
@StefanZimmermann Additional: Is there any good reason for this setup? I just cant figure out a way why SSH could not just listen ob both IPs?
Aug
23
comment SSH timeouts between hosts which are connected via multiple routes
@StefanZimmermann could you also provide the routing Information from Host A? I think of something similar as user Dru. After the arp timeout the connection tries or finds another way, and is not longer matching on one side of the connection. So we would neet to figure out WHERE this happens.
Aug
23
comment Linux set routing based on MAC address + failover
pfSense would meet all these requirements (DNS,DHCP,VPN,Proxy(extra package), LDAP Auth). I just could not figure out at home if you could create user based routing FW policy as I don't use any kind of authentication at home :) (sry). But I'd suggest to just give it a try or wait for another (real) answer.